* {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
}

body {
  color: #fff;
  background: linear-gradient(rgba(0, 80, 90, 0.8), rgba(0, 50, 50, 0.9)),
              url('Images1/service.webp') no-repeat center center fixed;
  background-size: cover;
  overflow-x: hidden;
}

.navbar {
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links li {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 17px;
  padding: 10px;
  display: block;
}

.nav-links a:hover {
  color: #00b894;
}

.logo-text {
  font-size: 28px;
  margin-left: 40px;
  font-weight: bold;
  color: #00ffe0;
  text-decoration: none;
}

.btn-appointment {
  padding: 12px 28px;
  background-color: #20d6b5;
  border: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 30px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-appointment:hover {
  background-color: #18c1a3;
}

.divider {
  border: 0;
  height: 1px;
  background: #fff;
  margin: 0 60px;
  margin-top: 12px;
}


.dropdown-menu {
  display: none;
  position: absolute;
  top: 35px;
  left: 0;
  background-color: #033232;
  min-width: 120px;
  border-radius: 6px;
  z-index: 999;
  list-style: none;
}

.dropdown-menu li {
  width: 100%;
  margin-left: -10px;
}

.dropdown-menu a {
  padding: 10px 20px;
  color: #fff;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: #055a5a;
}

.arrow {
  font-size: 16px;
  margin-left: 5px;
  cursor: pointer;
  user-select: none;
}


.logo img {
  height: 60px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}


.menu-toggle {
  display: none;
  font-size: 26px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

@media screen and (max-width: 768px) {

  .navbar {
    width: 100%;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    position: relative;
  }

  /* LOGO ON LEFT SIDE */
  .logo {
    order: 1;
  }

  .logo img {
    height: 55px;
    margin-left: -100px;
  }

  /* HAMBURGER ON RIGHT SIDE */
  .menu-toggle {
    order: 2;
    display: block;
    font-size: 34px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 60px;
  }

  /* NAV DROPDOWN BELOW HEADER */
  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    text-align: center;
    background-color: rgba(0, 50, 50, 0.95);
    padding: 20px 0;
    border-radius: 6px;

    position: absolute;
    top: 100%;  /* BELOW HEADER */
    left: 0;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    padding: 12px 0;
    justify-content: center;
  }

  /* DROPDOWN */
  .arrow {
    margin-left: 6px;
    font-size: 20px;
    cursor: pointer;
  }

  .dropdown-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 6px;
  }

.dropdown.open .dropdown-menu {
    display: flex !important;
}


  .dropdown:hover .dropdown-menu {
    display: none !important;
}

}


.dropdown.open .dropdown-menu {
  display: flex !important;
}

@media screen and (max-width: 768px) {
  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .dropdown-menu li {
  background-color: #055a5a;   /* Your desired color */
  border-radius: 4px;
  height: 30px;
  margin-top: 10px;
  margin-bottom: 4px;
}
}

.hero {
  position: relative;
  height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2rem;
}

.hero-content a {
  color: #fff;
  text-decoration: none;
}

.hero-content span {
  color: #00c291;
}

.ourservices-section {
text-align: center;
margin-top: 70px;
background-color:#fffbe9;
padding-bottom: 30px;
 overflow: hidden;
}

.ourservices-section h5 {
  color: #00c39a;
  font-size: 24px;
  margin-top: 20px;

}

.ourservices-section h2 {
  font-size: 32px;
  margin: 10px 0;
  color: black;
}

.ourservices-section p {
  font-size: 16px;
  max-width: 600px;
  color: black;
  margin: 0 auto 40px;
}

.services-grid {
  margin-left: 100px;
  margin-Right: 80px;
  display: grid;
  grid-template-columns: repeat(3, 2fr);
  gap: 50px 30px;
  justify-items: center;
}


.ourservice-card {
  position: relative;
  background-color:lightslategrey;
  color: white;
  padding: 30px 20px;
  width: 100%;
  max-width: 300px;
  height: 300px;
  border-bottom-right-radius: 50px;
  overflow: hidden;
  transition: color 0.4s;
  z-index: 1;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.ourservice-card.fixed {
  background-color: #00c39a;
  color: white;
}

.ourservice-card.fixed a {
  color: white;
  text-decoration: none;
}

.ourservice-card.fixed .icon {
  font-size: 30px;
  margin-bottom: 15px;
}

.ourservice-card .icon {
  font-size: 30px;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.ourservice-card p {
  color: white;
  margin-top: 20px;
}

.ourservice-card h3,
.ourservice-card p,
.ourservice-card a {
  position: relative;
  z-index: 2;
}

.ourservice-card a {
  color: #00c39a;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
  transition: color 0.4s;
}

.ourservice-card .hover-bg {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0%;
  width: 100%;
  background-color: #00c39a;
  z-index: 0;
  transition: height 0.5s ease;
}

.ourservice-card:hover .hover-bg {
  height: 100%;
}

.ourservice-card:hover {
  color: white;
}

.ourservice-card:hover a {
  color: white;
}

.ourservice-card:hover p {
  color: white;
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 70px;
  height: 80px;
  margin: 0 auto;
}

.icon-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  transition: opacity 0.3s ease;
}


.default-icon {
  opacity: 1;
}

.hover-icon {
  opacity: 0;
}

.ourservice-card:not(.fixed):hover .default-icon {
  opacity: 0;
}

.ourservice-card:not(.fixed):hover .hover-icon {
  opacity: 1;
}

.icon-img.single-icon {
  position: relative;
  opacity: 1 !important;
  z-index: 1;
}


@media (max-width: 992px) {
  .services-grid {
    margin-left: 40px;
    margin-right: 40px;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }

  .ourservice-card {
    max-width: 100%;
    height: auto;
    padding: 25px 15px;
  }

  .ourservices-section h2 {
    font-size: 28px;
  }

  .ourservices-section p {
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  .services-grid {
    margin-left: 15px;
    margin-right: 15px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ourservice-card {
    padding: 20px 15px;
    height: auto;
  }

  .ourservices-section h2 {
    font-size: 24px;
  }

  .ourservices-section p {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .icon {
    width: 60px;
    height: 70px;
  }

  .icon-img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    margin-left: 40px;
    margin-right: 40px;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }

  .ourservice-card {
    max-width: 100%;
    height: auto;
    padding: 25px 15px;
  }

  .ourservices-section h2 {
    font-size: 28px;
  }

  .ourservices-section p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    margin-left: 15px;
    margin-right: 15px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ourservice-card {
    padding: 20px 15px;
    height: auto;
  }

  .ourservices-section h2 {
    font-size: 24px;
  }

  .ourservices-section p {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .icon {
    width: 60px;
    height: 70px;
  }

  .icon-img {
    width: 40px;
    height: 40px;
  }
}

@keyframes blinkBorderGrey {
  0% { border: 10px solid transparent; }
  50% { border: 10px solid grey; }
  100% { border: 10px solid transparent; }
}

@keyframes blinkBorderGreen {
  0% { border: 10px solid transparent; }
  50% { border: 10px solid #00c39a; }
  100% { border: 10px solid transparent; }
}

.ourservice-card.fixed {
  animation: blinkBorderGrey 1.2s infinite;
}

.ourservice-card:not(.fixed) {
  animation: blinkBorderGreen 1.2s infinite;
  border-radius: 0px 0px 20px 0;
}

.why-choose-us {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: linear-gradient(
    to right,
    #fffbe9 50%,   
    #00c39a 60%    
  );
  padding: 60px 40px;
  gap: 40px;
  overflow-x: hidden;
  align-items: center;
}

.content {
  flex: 1 1 500px;
  max-width: 600px;
}

.content h4 {
  color: #00c39a;
  font-size: 18px;
  margin-bottom: 10px;
}

.content h2 {
  font-size: 36px;
  line-height: 1.4;
  color: #000;
  margin-bottom: 20px;
}

.content p {
  font-size: 16px;
  line-height: 1.6;
  width: 80%;
  margin-bottom: 30px;
  color: #333;
}

.view-btn {
  background-color: #00c39a;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.images-and-features {
  flex: 1 1;
  display: flex;
  width: 500px;
  height: 600px;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.main-images {
  position: relative;
}

.main-img {
  width: 320px;
  height: 400px;
  border-radius: 10px;
  margin-right: 320px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  animation: slanting 3s ease-in-out infinite;
}

@keyframes slanting {
  0% {
    transform: skewX(0deg);
  }
  25% {
    transform: skewX(-5deg);
  }
  50% {
    transform: skewX(0deg);
  }
  75% {
    transform: skewX(5deg);
  }
  100% {
    transform: skewX(0deg);
  }
}


.overlay-img {
  position: absolute;
  width: 250px;
  height: 180px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);

  bottom: 225px;
  left: 400px;
  z-index: 2;

  animation: slanting 3s ease-in-out infinite;
}



.experience-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background-color: #0b1e20;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.features-list {
  position: absolute;
  top: 260px;
  right: 40px;
  list-style: none;
  padding: 20px;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3;
}

.feature-icon {
  width: 25px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
}
.features-list li {
  display: flex;
  align-items: center;
}


.main-images {
  position: relative;
  overflow: visible;
}

.main-img {
  width: 320px;
  height: 400px;
  border-radius: 10px;
  margin-top: 55px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: translateX(-60%);
  z-index: 1;
}

.section-title {
      color: #00aa84;
      font-weight: bold;
      text-align: center;
      font-size: 24px;
      margin-bottom: 8px;
    }

@media screen and (max-width: 992px) {
  .why-choose-us {
    flex-direction: column;
    padding: 50px 20px;
    gap: 30px;
  }

  .content {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .content p {
    width: 100%;
  }

  .images-and-features {
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: center;
    position: relative;
  }

  .main-img {
    width: 280px;
    height: 350px;
    margin: 0;
    transform: translateX(0);
  }

  .overlay-img {
    width: 200px;
    height: 140px;
    bottom: 180px;
    left: 220px;
  }

  .features-list {
    top: 200px;
    right: 20px;
  }

  .experience-badge {
    bottom: -15px;
    left: 10px;
    font-size: 14px;
    padding: 8px 15px;
  }
}


@media screen and (max-width: 768px) {
  .why-choose-us {
    flex-direction: column;
    padding: 40px 15px;
    gap: 20px;
  }

  .content h2 {
    font-size: 28px;
  }

  .content h4 {
    font-size: 16px;
  }

  .content p {
    font-size: 14px;
  }

  .images-and-features {
    width: 100%;
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  .main-img {
    width: 80%;
    height: auto;
    transform: translateX(0);
    margin-top: 20px;
  }

  .overlay-img {
    position: relative;
    width: 80%;
    height: auto;
    bottom: 0;
    left: 0;
    margin-top: -60px;
  }

  .features-list {
    position: relative;
    top: 0;
    right: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
  }

  .features-list li {
    font-size: 12px;
    margin: 5px;
    color: black;
  }

  .experience-badge {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 10px;
    font-size: 14px;
    padding: 8px 12px;
  }
}


.footer-section {
  background: url('Images1/footer-bg.webp') no-repeat center center;
  background-size: cover;
  color: #ffffff;
  padding: 60px 20px 30px;
  position: relative;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 220px;
}

.footer-logo {
  max-width: 160px;
  margin-bottom: 20px;
}

.footer-column h4 {
  color: #00c6a9;
  font-size: 22px;
  margin-bottom: 15px;
}

.footer-column p {
  font-size: 15px;
  line-height: 1.8;
  margin-top: 10px;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-column ul li i {
  margin-right: 10px;
  color: #00c6a9;
}

.footer-column ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #00c6a9;
}

.footer-socials a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #00c6a9;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  transition: background 0.3s;
}

.footer-socials a:hover {
  background: #ffffff;
  color: #00c6a9;
}

.newsletter-form {
  margin-top: 15px;
  display: flex;
  background: #fff6e5;
  border-radius: 4px;
  overflow: hidden;
  max-width: 100%;
}

.newsletter-form input {
  padding: 10px 15px;
  border: none;
  flex-grow: 1;
  outline: none;
  font-size: 15px;
}

.newsletter-form button {
  background: #00c6a9;
  border: none;
  color: white;
  padding: 0 15px;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #00a08a;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #ccc;
}

.logo-text1 {
  font-size: 28px;
  font-weight: bold;
  color: #00ffe0;
  text-decoration: none;
}


@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
  }

  .footer-column {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .footer-logo {
    margin: 0 auto 20px;
  }

  .footer-column h4 {
    font-size: 20px;
  }

  .footer-column p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .footer-column ul li {
    font-size: 16px;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-form input {
    width: 100%;
    margin-bottom: 10px;
  }

  .newsletter-form button {
    width: 100%;
    padding: 12px;
  }

  .footer-socials {
    margin-top: 10px;
  }

  .footer-socials a {
    margin-right: 8px;
  }

  .footer-bottom {
    font-size: 12px;
    margin-top: 30px;
  }
}

@media screen and (max-width: 768px) {
  body, html {
    overflow-x: hidden !important; /* Full-page fix */
  }
}
