/* Gener3l Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
    /* background-color:#204454; */
  }

  
  /* Header */
  /* .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #388876;
  } */
  .logo {
    font-size: 24px;
    font-weight: bold;
    color: #84B5BC;
    margin-left: 10px;
  }
  .logo span {
    color:#D8EAF2;
  }
  /* .nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
  }
  .nav a:hover {
    text-decoration: underline;
  } */
  
  /* Hero Section */
  .hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    background-color: #84B5BC;
  }
  .hero-text {
    max-width: 600px;
  }
  .hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
  }
  .hero-text h1 .tooth-icon {
    color: #a8e6cf;
  }
  .hero-text p {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .features {
    display: flex;
    margin-top: 20px;
  }
  .feature {
    text-align: center;
    margin-right: 20px;
  }
  .feature img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }

  .btn-scroll {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #FFA726;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 25px;
    animation: slideDown 1s ease-in-out;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-scroll:hover {
    background-color: #FF5722;
    transition: background-color 0.3s ease;
}
@media (max-width: 375px) {
  .btn-scroll {
      display: none;
  }
}

@keyframes slideDown {
  from {
      transform: translateY(-10px);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}
  
  /* Hero Image */
  .hero-image img {
    width: 500px;
    height: auto;
    margin-right: 50px;
  }
  .orbit-container {
    position: relative;
    display: inline-block;
  }
  
  .orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px; /* Adjust size */
    height: 200px; /* Adjust size */
    border: 2px dashed black; /* Dashed orbit outline */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: orbit-rotate 5s linear infinite;
  }
  
  .orbit-container img {
    position: relative;
    z-index: 1; /* Ensures the image is above the orbit */
  }


  
  @keyframes orbit-rotate {
    from {
      transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }

  .whatsapp-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25D366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.whatsapp-icon a {
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}
    
    /* General Styles for the Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color:#204454;
  }
  
  .nav {
    display: flex;
    align-items: center;
  }
  
  .nav ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  
  .nav ul li {
    margin: 0 10px;
  }
  
  .nav ul li a {
    text-decoration: none;
    padding: 10px 15px;
    background-color: white; /* White background */
    border-radius: 30px; /* Rounded corners */
    color:black; /* Match the theme */
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .nav ul li a:hover {
    background-color:#327887; /* Hover effect */
    color: white;
  }
  
  /* Hamburger Menu */
  .hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    .nav ul {
      display: none;
      flex-direction: column;
      background-color: white;
      position: absolute;
      top: 60px;
      right: 20px;
      width: 150px;
      border-radius: 10px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
  
    .nav ul.active {
      display: flex;
    }
  
    .nav ul li {
      margin: 10px 0;
    }
  
    .nav ul li a {
      color:#2B7483 ;
    }
  
    .hamburger {
      display: block;
    }
  }

  @media (max-width: 375px) {
    .nav ul {
      display: none;
      flex-direction: column;
      background-color: white;
      position: absolute;
      top: 60px;
      right: 20px;
      width: 150px;
      border-radius: 10px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
  
    .nav ul.active {
      display: flex;
    }
  
    .nav ul li {
      margin: 10px 0;
    }
  
    .nav ul li a {
      color: #4caf50;
    }
  
    .hamburger {
      display: block;
    }
  }
  
  
  @media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-image img {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-image img {
        width: 200px;
    }

    .features {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .btn-scroll {
        font-size: 14px;
        padding: 8px 16px;
    }

    .whatsapp-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* //scroll down */

/* ABOUT US */

  /* General Styles */
 /* General Section Styles */
#about-us {
  background-color: #a989ce;
  padding: 50px 20px; /* Reduced padding for smaller screens */
  color: #fff;
}

/* Layout */
.container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.text-content {
  max-width: 50%;
  flex: 1 1 100%; /* Allow full-width on smaller screens */
  padding: 10px;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  border:4px solid black;
  border-radius:3.5rex;
}


.responsive-image {
  width: 100%; /* Allow the image to take full width of its container */
  max-width: 500px; /* Set a reasonable maximum width */
  height: auto; /* Maintain aspect ratio */
  border-radius: 20px; /* Rounded corners */
  transition: all 0.3s ease; /* Smooth transitions for hover effects */
}


.btn {
  background-color: orange;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
}

/* Text Content */
#about-us h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#about-us p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Responsive Design */

/* Tablets and Small Screens (768px to 480px) */
@media (max-width: 768px) {
  .container {
    flex-direction: column; /* Stack elements vertically */
  }

  .text-content,
  .image-container {
    max-width: 100%; /* Full-width */
    text-align: center;
  }

  #about-us h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  #about-us p {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}

/* Small Phones (480px to 425px) */
@media (max-width: 480px) {
  .text-content,
  .image-container {
    padding: 10px;
  }

  .responsive-image {
    max-width: 100%;
    border-radius: 15px;
  }

  #about-us h1 {
    font-size: 2rem;
  }

  #about-us p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .btn {
    font-size: 0.85rem;
    padding: 8px 14px;
  }
}

/* Extra Small Phones (425px to 375px) */
@media (max-width: 425px) {
  #about-us h1 {
    font-size: 1.8rem;
  }

  #about-us p {
    font-size: 0.85rem;
    text-align: justify; /* Align text neatly */
    line-height: 1.3;
  }

  .btn {
    font-size: 0.8rem;
    padding: 7px 12px;
  }
}

/* Tiny Devices (Below 375px) */
@media (max-width: 375px) {
  #about-us h1 {
    font-size: 1.6rem;
    text-align: center;
  }

  #about-us p {
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 10px;
    text-align: justify;
  }

  .btn {
    font-size: 0.75rem;
    padding: 6px 10px;
  }
}


  /* Mouse Scroll Button */
  .container_mouse {
    display: flex;
    flex-direction: column;
    margin-left: 11rem;
    margin-top: 20px;
  }

  .mouse-btn {
    width: 50px;
    height: 100px;
    border: 4px solid #FFF;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0 auto;
    margin-left: 15px;
  }

  .mouse-scroll {
    width: 5px;
    height: 10px;
    background-color: #D8EAF2;
    border-radius: 50%;
    animation: scrolling 1s linear infinite;
  }

  @keyframes scrolling {
    0% {
      opacity: 0;
      transform: translateY(-20px);
    }

    100% {
      opacity: 1;
      transform: translateY(20px);
    }
  }

  .container_mouse span:last-child {
    margin-top: 10px;
    font-size: 14px;
    color: #fff;
    text-align: center;
  }

  .Scroll-dwn {
    margin-left: -20rem;
  }

  @media (max-width: 425px) {
    .container_mouse {
      margin-left: 3rem;
      margin-top: 15px;
      align-items: center;
    }

    .mouse-btn {
      width: 45px;
      height: 90px;
    }

    .Scroll-dwn {
      margin-left: -10px;
    }
  }

  @media (max-width: 375px) {
    .container_mouse {

      display: none;
      margin-left: 2rem;
      margin-top: 10px;
      align-items: center;
    }

    .mouse-btn {
      width: 40px;
      height: 80px;
    }

    .Scroll-dwn {
      margin-left: 0;
      text-align: center;
    }
  }

  @media (max-width: 320px) {
    .container_mouse {
      display: none;
      margin-left: 1rem;
      margin-top: 5px;
      align-items: center;
    }

    .mouse-btn {
      width: 35px;
      height: 70px;
    }

    .Scroll-dwn {
      margin-left: 0;
      text-align: center;
    }
  }


/* //why do you choose us */

/* .why-choose-us {
  display: flex;
  flex-wrap: wrap;
  height: 70vh;
  background-color: #fffbe9; 
}

.left-section, .right-section {
  flex: 1;
  min-width: 50%; 
  padding: 20px;
  box-sizing: border-box; 
}

.left-section {
  background-color: #fffbe9;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  text-align: left;
}

.left-section h1 {
  font-size: 3rem;
  color: #ff9900;
  margin-bottom: 20px;
  position: relative;
  top: -10px;
}

.left-section p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-top: 10px;
}
.choousimg{
  
  width: 50%;
  height: 50%;
  justify-content: center;
  align-items: center;
  margin-left: 100px;
  border-radius: 30px;
}


.right-section {
  background-color: #003d33;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  height: 100%;
}

.scrollable-content {
  max-height: 80%;
  overflow-y: auto;
}

.right-section .item {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center; 
}

.right-section img {
  width: 140px;
  height: 100px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.right-section h3 {
  font-size: 1.5rem;
  color: #00cc99;
  margin-bottom: 10px;
}

.right-section p {
  font-size: 1rem;
  color: #cfcfcf;
}

@media (max-width: 768px) {
  .why-choose-us {
    flex-direction: column; 
  }
  .circle-center{
    display: none;
  }

  .left-section, .right-section {
    min-width: 100%; 
    height: auto;
  }

  .left-section h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
  }

  .left-section p {
    font-size: 1rem;
    text-align: center;
  }

  .circle-center {
    width: 100px;
    height: 100px;
    font-size: 0.9rem;
  }

  .right-section img {
    width: 70px;
    height: 70px;
  }

  .right-section h3 {
    font-size: 1.3rem;
  }

  .right-section p {
    font-size: 0.9rem;
  }
}

@media (max-width: 425px) {
  .left-section h1 {
    font-size: 2rem;
  }

  .left-section p {
    font-size: 0.9rem;
  }

  .circle-center {
    width: 80px;
    height: 80px;
    font-size: 0.8rem;
  }

  .right-section img {
    display: none;
    width: 60px;
    height: 60px;
  }

  .right-section h3 {
    font-size: 1.2rem;
  }

  .right-section p {
    font-size: 0.85rem;
  }
}

@media (max-width: 375px) {
  .left-section h1 {
    font-size: 2 rem;
  }

  .left-section p {
    font-size: 1.0rem;
    line-height: 1.4;
  }

  .right-section img {
    width: 40px;
    height: 40px;
  }

  .right-section h3 {
    font-size: 1rem;
  }

  .right-section p {
    font-size: 0.75rem;
  }
}

@media (max-width: 320px) {
  .left-section h1 {
    font-size: 1.5rem;
  }

  .left-section p {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .right-section img {
    width: 40px;
    height: 40px;
  }

  .right-section h3 {
    font-size: 1rem;
  }

  .right-section p {
    font-size: 0.75rem;
  }
} */


.why-choose-us {
  display: flex;
  flex-wrap: wrap; /* Allow sections to stack on smaller screens */
  min-height: 70vh;
  background-color:#eeefef; /* Consistent background color */
  padding: 20px;
}

.left-section, .right-section {
  flex: 1; /* Equal flex-basis for both sections */
  min-width: 50%; /* Ensure sections are at least 50% of the container width */
  padding: 20px;
  box-sizing: border-box; /* Ensure padding doesn't affect width */
}

/* Left Section */
.left-section {
  background-color: #D8EAF2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}

.left-section h1 {
  font-size: 2.5rem; /* Adjust for better responsiveness */
  margin-bottom: 20px;
}

.left-section p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-top: 10px;
}

.choousimg {
  width: 100%; /* Make the image responsive */
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  border-radius: 30px;
  display: block;
}

.choouslog {
  width: 100%; /* Make the image responsive */
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  border-radius: 30px;
  display: block;
  

}

/* Right Section */
.right-section {
  background-color:  #84B5BC;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  height: auto; /* Allow height to adjust dynamically */
}

.scrollable-content {
  max-height: calc(100% - 40px); /* Dynamic height calculation */
  overflow-y: auto;
}

.right-section .item {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #000;
}

.right-section img {
  width: 120px;
  height: 100px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.right-section h3 {
  font-size: 1.5rem;
  color: #000;
  margin-bottom: 10px;
}

.right-section p {
  font-size: 1rem;
  color: #000000;
}

/* Media Queries */
@media (max-width: 768px) {
  .why-choose-us {
    flex-direction: column;
  }

  .left-section, .right-section {
    min-width: 100%; /* Full width for stacked layout */
  }

  .left-section h1 {
    font-size: 2rem;
    text-align: center;
  }

  .choousimg {
    width: 80%; /* Adjust width for smaller screens */
  }

  .right-section img {
    width: 90px;
    height: 80px;
  }

  .right-section h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 425px) {
  .left-section h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .left-section p {
    font-size: 0.9rem;
  }

  .choousimg {
    width: 70%;
  }

  .right-section img {
    width: 70px;
    height: 60px;
  }

  .right-section h3 {
    font-size: 1.2rem;
  }

  .right-section p {
    font-size: 0.9rem;
  }
}

@media (max-width: 375px) {
  .left-section h1 {
    font-size: 1.5rem;
  }

  .choousimg {
    width: 60%;
  }

  .right-section img {
    width: 60px;
    height: 50px;
  }

  .right-section h3 {
    font-size: 1rem;
  }

  .right-section p {
    font-size: 0.8rem;
  }
}

/* Default for Larger Screens (Above 1024px) */
.quote {
  font-size: 23px;
  padding: 15px 25px;
  margin: 30px 0;
  color: #ff9900 ;
font-weight: bold;
}

/* Medium Screens (1024px to 768px) */
@media (max-width: 1024px) {
  .quote {
    font-size: 1.4rem;
    padding: 12px 22px;
    margin: 25px 0;
  }
  .right-section .quote {
    margin: 20px 10px;
  }
}

/* Tablets (768px to 600px) */
@media (max-width: 768px) {
  .quote {
    font-size: 1.2rem;
    padding: 10px 20px;
    margin: 20px 0;
  }
  .right-section .quote {
    margin: 15px 8px;
  }
}

/* Small Tablets and Large Phones (600px to 425px) */
@media (max-width: 600px) {
  .quote {
    font-size: 1.1rem;
    padding: 8px 18px;
    margin: 18px 0;
  }
}

/* Phones (425px to 375px) */
@media (max-width: 425px) {
  .quote {
    font-size: 1rem;
    padding: 6px 16px;
    margin: 15px 0;
  }
}

/* Small Phones (375px to 320px) */
@media (max-width: 375px) {
  .quote {
    font-size: 0.9rem;
    padding: 5px 14px;
    margin: 12px 0;
  }
}

/* Extra Small Phones (Below 320px) */
@media (max-width: 320px) {
  .quote {
    font-size: 0.85rem;
    padding: 4px 12px;
    margin: 10px 0;
  }
}




.horizontal-scroll {
  font-family: 'Arial', sans-serif;
  background-color:#327887;
  padding: 40px 20px;
  overflow: hidden; 
}

.horizontal-scroll h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.horizontal-scroll h2 .highlight {
  color: #1D5882;
}

.scroll-container {
  display: flex;
  gap: 20px;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  position: relative;
  animation: auto-scroll 10s linear infinite; /* Auto-scrolling animation */
  animation-play-state: running; /* Ensure it runs by default */
}

.scroll-container:hover {
  animation-play-state: paused; /* Pause scrolling on hover */
}

/* Card Styling */
.scroll-container .card {
  position: relative;
  min-width: 300px;
  flex: 0 0 auto;
  border-radius: 10px;
  overflow: hidden;
  scroll-snap-align: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.scroll-container .card:hover {
  transform: scale(1.1);
  z-index: 10; /* Bring to the front */
}

.scroll-container .card img {
  width: 100%; /* Ensure the image spans the card's width */
  height: 220px; /* Consistent height */
  object-fit: cover; /* Prevent distortion */
  position: relative;
  z-index: 0; /* Below content overlay */
}

.scroll-container .card .content {
  position: absolute;
  z-index: 2; /* Above overlay */
  color: #fff;
  padding: 20px;
  bottom: 20px;
  left: 20px;
}

.scroll-container .card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.scroll-container .card h4 {
 color:black;
}

/* Stats Section */
.stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 40px;
  flex-wrap: wrap; /* Makes stats responsive */
  gap: 20px;
}

.stats div {
  text-align: center;
  flex: 1 1 150px; /* Ensures items adjust dynamically */
}

.stats i.icon {
  font-size: 2rem;
  color: #00c676;
}

.stats p {
  font-size: 1rem;
  margin-top: 5px;
}


@keyframes auto-scroll {
  0% {
    transform: translateX(0); 
  }
  100% {
    transform: translateX(-100%); 
  }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .scroll-container .card {
    min-width: 240px;
  }
  .scroll-container .card img {
    height: 180px;
  }
}

@media screen and (max-width: 425px) {
  .scroll-container .card {
    min-width: 200px;
  }
  .scroll-container .card img {
    height: 150px;
  }
}
@media screen and (max-width: 320px) {
  .scroll-container .card {
    display: none;
    min-width: 200px;
  }
  .scroll-container .card img {
    display: none;
    height: 150px;
  }
}

@media screen and (max-width: 375px) {
  .scroll-container .card {
    display: none;
    min-width: 200px;
  }
  .scroll-container .card img {
    display: none;
    height: 150px;
  }
}

@media (min-width: 1024px) {
  .scroll-container {
    gap: 30px;
  }

  .scroll-container .card img {
    height: 180px;
    min-width: 100px;
  }
}

/* meet our team and testimonials section */
.dot-btn {
  width: 15px;
  height: 15px;
  margin: 0 5px;
  background-color: #D8EAF2;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.dot-btn.active {
  opacity: 1;
  background-color:#204454;
}

.dot-btn:hover {
  opacity: 0.8;
}


.meet-our-team {
  background-color: #84B5BC;
  padding: 40px 20px;
  text-align: center;
  border: 2px solid #ccc; /* Adds a box border */
  border-radius: 10px;
  margin: 20px auto; /* Center the box on the page */
  width: 90%;
  max-width: 1200px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.meet-our-team h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.meet-our-team h2 .highlight {
  color: #204454;
}

.team-container {
  display: flex;
  flex-wrap: wrap; /* Ensures cards wrap properly on smaller screens */
  justify-content: space-around; /* Distribute cards evenly with space around */
  gap: 20px; /* Adds space between the cards */
}

.team-member {
  width: 250px; /* Set a fixed width for better card alignment */
  height: 150px; /* Height adjusts based on content */
  margin: 10px 0; /* Adds some vertical space between cards */
}

.flip-container {
  perspective: 1000px; /* 3D flip effect */
}

.team-member {
  width: 220px; /* Fixed card width */
  height: 150px; /* Fixed card height */
  transition: transform 0.6s ease-in-out;
  transform-style: preserve-3d;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 150px;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.team-member:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  backface-visibility: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.card-front {
  background-color: #fff;
  padding: 20px;
  text-align: center;
}

.card-front img {
  width: 100px;
  height: 150px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 10px;
}

.card-front h3 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 5px;
}

.card-front p {
  font-size: 0.9rem;
  color: #666;
}

.card-back {
  background-color: #8080F8;
  color: white;
  padding: 20px;
  text-align: center;
  transform: rotateY(180deg);
}

.card-back p {
  font-size: 0.9rem;
  margin: 0;
  color: #fff;
}


/* For screens 320px, 375px, and 425px */
@media (max-width: 425px) {
  .show-team-button {
    display: block;  /* Button will be visible */
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #204454;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
  }

  .meet-our-team {
    display: none;  /* Hide team section */
  }
}

/* Hide the "Show More" button for screen sizes 768px and 1024px */
@media (max-width: 1024px) {
  .show-more-button {
    display: none !important;  /* Force hide the Show More button */
  }
}

@media (max-width: 768px) {
  .show-more-button {
    display: none !important;  /* Force hide the Show More button */
  }
}

/* Ensure the button is visible by default for larger screen sizes */
.show-more-button {
  display: block;  /* Visible by default */
}

/* Optional: If you want the "Show Team" button to be visible on larger screens as well */
@media (min-width: 426px) {
  .show-team-button {
    display: none;  /* Hide on screens larger than 425px */
  }
}




/* General Styling */
.appointment-section {
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  width: fit-content; /* or set a specific width */
  margin: 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.appointment-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap; /* Ensures responsiveness for smaller screens */
}

.appointment-image {
  flex: 1; /* Allows the image to take up equal space */
  min-width: 300px; /* Ensures the image doesn't shrink too small */
}

.appointment-image img {
  width: 100%; /* Set full width for better scaling */
  max-width: 300px; /* Restricts overly large images */
  height: auto;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.appointment-form {
  flex: 1; /* Allows the form to take up equal space */
  min-width: 300px; /* Ensures the form doesn't shrink too small */
}

.appointment-form h2 {
  font-size: 20px; /* Slightly smaller font size */
  font-weight: 600;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-wrap: wrap; /* Allows inputs to stack if they don’t fit */
  gap: 15px;
  margin-bottom: 15px;
}

.form-group input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px; /* Smaller input text for smaller screens */
}

.form-group input:focus {
  border-color: #007bff;
  outline: none;
}

.btn-submit {
  display: inline-block;
  background-color: #1D5882;
  color: #fff;
  border: none;
  padding: 10px 20px; /* Smaller button padding */
  font-size: 14px; /* Smaller button text */
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-submit span {
  margin-left: 10px;
}

.btn-submit:hover {
  background-color:#16c5ed;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 425px) {
  .appointment-wrapper {
    flex-direction: column; /* Stack image and form vertically */
    text-align: center; /* Center-align content */
  }

  .appointment-image {
    min-width: 100%; /* Full width for the image */
    margin-bottom: 20px; /* Adds spacing between image and form */
  }

  .appointment-image img {
    width: 100%; /* Ensures image scales properly */
    max-width: 100%; /* Removes the max-width constraint for smaller screens */
  }

  .appointment-form {
    min-width: 100%; /* Full width for the form */
  }

  .form-group {
    flex-direction: column; /* Stack inputs vertically */
    gap: 10px; /* Adjust spacing between inputs */
  }

  .btn-submit {
    width: 100%; /* Full-width button for smaller screens */
  }
}

@media (max-width: 375px) {
  .appointment-section {
    padding: 20px 15px; /* Reduce padding for smaller screens */
  }

  .appointment-form h2 {
    font-size: 18px; /* Slightly smaller title */
  }

  .form-group input {
    font-size: 13px; /* Smaller input text */
  }

  .btn-submit {
    font-size: 13px; /* Smaller button text */
    padding: 10px 15px; /* Adjust padding for smaller buttons */
  }
}

@media (max-width: 320px) {
  .appointment-section {
    padding: 15px 10px; /* Further reduce padding */
  }

  .appointment-form h2 {
    font-size: 16px;
  }

  .form-group input {
    font-size: 12px;
  }

  .btn-submit {
    font-size: 12px;
    padding: 8px 12px;
  }
}



.footer-section {
  background-color:#204454;
  color: #ffffff;
  padding: 40px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-logo img {
  max-width: 100px;
  margin-bottom: 10px;
  height: 40px;
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-column address,
.footer-column p,
.footer-column ul {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.footer-column a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #ff7d26;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.social-icons a img:hover {
  transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    min-width: 100%;
    margin-bottom: 20px;
  }

  .social-icons {
    justify-content: center;
  }
}
.docedu ul li{
  font-size: 13px;
}
