/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    background: url('hero111.jpeg') no-repeat center center/cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
}



.navbar ul {
    display: flex;
    list-style: none;
    padding: 0;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: url('hero111.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

/* Text Styling */
.taglines {
    font-family: "Marcellus", serif;
    font-weight: 500;
    color: #fff;
    max-width: 900px;
    margin-top: 125px;
}

.taglines h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.taglines p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Button */
.appointment-btn {
    padding: 12px 30px;
    background-color: #ffcc00;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.appointment-btn:hover {
    background-color: ffcc00;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .taglines h1 {
        font-size: 2.2rem;
    }

    .taglines p {
        font-size: 1rem;
    }

    .appointment-btn {
        font-size: 0.95rem;
        padding: 10px 24px;
    }
}

@media (max-width: 480px) {
    .taglines h1 {
        font-size: 1.8rem;
    }

    .taglines p {
        font-size: 0.95rem;
    }

    .appointment-btn {
        width: 37%;
        padding: 12px;
    }
}





/* Exceptional Experience Section */
.experience {
    background-color: #0b1f40;
    /* Green background as per the screenshot */
    text-align: center;
    padding: 40px 20px;
}

.experience h2 {
    margin-bottom: 20px;
    color: white;
    font-size: 40px;
    font-weight: normal;
}

/* Carousel Styling */
.carousel {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
    /* Ensures carousel adapts to the screen size */
}

.carousel-container {
    display: flex;
    width: calc(200px * 12);
    /* Total width of all cards */
    animation: slideCarousel 20s linear infinite;
    /* Smooth continuous scrolling */
}

@keyframes slideCarousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 12));
        /* Shift the width of all cards */
    }
}

.card {
    flex: 0 0 200px;
    /* Card width */
    margin: 10px;
    text-align: center;
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 100%;
    height: auto;
}

/* Responsive Adjustments for Smaller Screens */
@media (max-width: 768px) {
    .carousel-container {
        width: calc(150px * 12);
        /* Adjust for smaller card widths */
        animation: slideCarousel 20s linear infinite;
        /* Keep scrolling consistent */
    }

    .card {
        flex: 0 0 150px;
        /* Reduce card width */
        padding: 10px;
    }

    .card img {
        width: 100%;
        height: auto;
    }


    .unique-slider-title2 {
        font-size: 2rem;
        font-weight: normal;
        margin-bottom: 10px;
        margin-right: 54%;
        font-family: "Marcellus", serif;
    }

    .unique-slider-description {
        font-size: 1rem;
        color: #666;
        /* margin-bottom: 19px; */
        margin-top: -60px;
        text-align: left;
        margin-left: 15%;
    }
}
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */

/* Experience Section */
.experience-section {
    padding: 60px 20px;
    text-align: center;
    /* background-color: #f0f8ff; */
}

.experience-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #003e85;
    margin-bottom: 40px;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    position: relative;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 150px;
    position: relative;
}

.stat-icon {
    font-size: 3rem;
    color: #003e85;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: #ffcc00;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1rem;
    color: #333;
}

/* Line and Circle Container */
.stat-line-container {
    position: relative;
    width: 80%;
    margin: auto;
    margin-top: 30px;
}

/* The Line (Goes Behind the Circles) */
.stat-line {
    width: 100%;
    height: 5px;
    background-color: #0056b3;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 1; /* Puts it behind the circles */
}

/* Circles */
.circle-container {
    display: flex;
    justify-content: space-around;
    width: 100%;
    position: relative;
    z-index: 2; /* Brings circles on top of the line */
}

.circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ffcc00;
    position: relative;
}

/* Responsive */
@media (max-width: 1000px) {
    .stats-container {
        flex-wrap: wrap;
        gap: 20px;
    }
    .stat-line-container {
        width: 90%;
    }
}

/* Our servies styling */
.services-section-bg {
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e'); /* Replace with your chosen image URL */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
}

/* 8 Sections */
.section-container {
    padding: 60px 20px;
    text-align: center;
}

.section-container .container {
    /* max-width: 1200px; */
    margin: 0 auto;
}

.section-container h2 {
    font-size: 2.8rem;
    font-weight: bold;
    color: #003e85; /* Heading color */
    margin-bottom: 20px;
}

.section-container p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

/* Cards container */
.cards-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

/* Individual Service Card */
.service-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 18%;
    padding: 20px;
    text-align: left;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    animation: fadeInUp 0.7s ease-out forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.5s ease;
}

/* Hover Effect: Apply Your Gradient */
.service-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to top right, #63b9e1, #ffffff);
}

/* Ensure text is visible on hover */
.service-card:hover h3,
.service-card:hover p {
    color: #003d7a;
}

/* Image Styling */
.service-card img {
    width: 100%;
    height: 150px;
    border-radius: 8px;
}

/* Card Title */
.service-card h3 {
    font-size: 20px;
    margin-top: 15px;
    color: #003e85;
}

/* Card Text */
.service-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin-top: 10px;
}

/* Button Styling */
.service-card .btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #0056b3;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Button Hover */
.service-card .btn:hover {
    background: linear-gradient(to top right, #63b9e1, #ffffff);
    box-shadow: 0px 4px 15px rgba(99, 185, 225, 0.7);
    color: #003d7a;
}

/* Responsive Design */
@media (max-width: 1000px) {
    .section-container h2 {
        font-size: 2.5rem;
    }

    .cards-container {
        justify-content: center;
    }

    .service-card {
        width: 45%;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .section-container h2 {
        font-size: 2rem;
    }

    .service-card {
        width: 80%;
    }

    .service-card .btn {
        width: 100%;
    }
}

/* Fade-in and Scale-up Animation */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* Footer styling */

/* Footer styles */
.footer {
    width: 100%;
    color: #ffcc00;
    padding: 20px;
    background-color: #0b1f40;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Align from the start */
    /* max-width: 1400px; */
    margin: 0 auto;
    gap: 20px;
    /* background-color: blue; */
}

.footer-section1,
.footer-section3,
.footer-section4 {
    flex: 1;
    min-width: 250px;
    margin: 10px;
}

.footer-section1 h3,
.footer-section3 h3,
.footer-section4 h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #ffcc00;
    position: relative;
    text-align: left; /* Default alignment */
}

.footer-section1 h3::after,
.footer-section3 h3::after,
.footer-section4 h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 95px; /* Increased underline width */
    height: 1px;
    background-color: #b4c4d3;
}

.footer-section1 p,
.footer-section3 p,
.footer-section4 p {
    margin-bottom: 8px;
    line-height: 1.6;
    color: white;

}

.footer-bottom {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #cce0ff;
    /* max-width: 1400px; */
    margin: 0 auto;
}

/* Responsive styles */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center; /* Center the content */
    }

    .footer-section1,
    .footer-section3,
    .footer-section4 {
        text-align: center; /* Center text for small screens */
    }

    .footer-section1 h3,
    .footer-section3 h3,
    .footer-section4 h3 {
        text-align: center;
    }

    .footer-section1 h3::after,
    .footer-section3 h3::after,
    .footer-section4 h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .footer-section1 h3,
    .footer-section3 h3,
    .footer-section4 h3 {
        font-size: 1.2rem;
    }

    .footer-section1 p,
    .footer-section3 p,
    .footer-section4 p {
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.9rem;
    } 
}
/* Footer XL logo fix */
.footer-bottom .xl-logo {
  height: 24px !important;
  width: auto !important;
  margin-right: 6px;
  vertical-align: middle;
  max-height: 24px !important;
  max-width: 120px !important;
  object-fit: contain;
}

/* XL link */
.xl-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #ffcc00;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: 5px;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  position: relative; /* Important for ::after */
  padding-bottom: 4px; /* Add some space for the line */
}

.xl-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ffcc00;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.xl-link:hover {
  color: #ffffff;
  
}
.xl-link:hover::after {
  transform: scaleX(1); /* Show the line on hover */
  background-color: #ffffff; /* Optional: change line color on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .xl-link {
    font-size: 0.85rem;
  }
  .footer-bottom .xl-logo {
    height: 18px !important;
    max-height: 18px !important;
  }
}

@media (max-width: 480px) {
  .xl-link {
    font-size: 0.8rem;
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }
  .footer-bottom .xl-logo {
    height: 16px !important;
    max-height: 16px !important;
  }
}






/* Qick Links */
.quick-links {
  list-style: none;
  padding: 0;
}

.quick-links li {
  margin-bottom: 4px;
}

.quick-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.quick-links a:hover {
  color: #ffcc00;
}


/* first box footer styling */
.footer-section1 ul {
    list-style: none;
    padding: 0;
}

.footer-section1 ul li {
    margin-bottom: 8px;
    color: #fff; /* Change based on footer background */
    font-size: 14px;
}

.footer-section1 ul li i {
    color: #ffcc00;
    margin-right: 8px;
}


/* testimonials styling */

/* .testimonials {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f9f9;
  position: relative;
}

.testimonials h2 {
  font-size: 2.5rem;
  color: #003e85;
  margin-bottom: 40px;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: auto;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial {
  min-width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.testimonial p {
  font-size: 1.2rem;
  font-style: italic;
  color: #444;
}

.testimonial h4 {
  margin-top: 15px;
  font-weight: bold;
  color: #222;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #003e85;
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 8px 16px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
}

.slider-btn:hover {
  background-color: #003e85;
}

.prev {
  left: 0px;
}

.next {
  right: 0px;
} */

/* Responsive */
/* @media (max-width: 600px) {
  .testimonial p {
    font-size: 1rem;
  }

  .slider-btn {
    font-size: 1.5rem;
    padding: 6px 12px;
  }
} */


/* Qick Links */
/* .quick-links {
  list-style: none;
  padding: 0;
}

.quick-links li {
  margin-bottom: 4px;
}

.quick-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.quick-links a:hover {
  color: #ffcc00;
} */


/* first box footer styling */
/* .footer-section1 ul {
    list-style: none;
    padding: 0;
} */

/* .footer-section1 ul li {
    margin-bottom: 8px; */
   /* color: #fff;  Change based on footer background */
    /* font-size: 14px;
}

.footer-section1 ul li i {
    color: #ffcc00;
    margin-right: 8px;
} */
/* CSS */




/* testimonial styling */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  /* background-color: #002a5c;
  color: white; */
}

.testimonial-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #002a5c;
  color: white;
}

.testimonial-section h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

.testimonial-slider {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  width: calc(250%); /* enough for 8 testimonials (4 x 2) */
  animation: scrollLeft 40s linear infinite;
}

.testimonial {
  width: 10%;
  box-sizing: border-box;
  padding: 0 20px;
  text-align: left;
  flex-shrink: 0;
}

.testimonial img {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.testimonial h3 {
  font-size: 18px;
  margin: 10px 0 0;
  font-weight: bold;
}

.testimonial .title {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 10px;
}

.stars {
  color: #ffc107;
  font-size: 20px;
  margin-bottom: 10px;
}

.review {
  font-size: 15px;
  line-height: 1.6;
  color: #f1f1f1;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (max-width: 768px) {
  .testimonial-track {
    animation: scrollLeftMobile 20s linear infinite;
  }

  .testimonial {
    width: 35%;
    padding: 0 10px;
  }

  @keyframes scrollLeftMobile {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }
}
/* experience section styling which is redone */
.custom-stats-section {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: flex-start;
      gap: 2rem;
    }

    .custom-stats-text {
      flex: 1 1 300px;
      max-width: 500px;
    }

    .custom-stats-text h2 {
      font-size: 1.5rem;
      /* margin-bottom: 1rem; */
      margin-top: 80px;
      margin-left: 30px;
      color: #002a5c;
    }

    .custom-stats-text p {
      font-size: 0.9rem;
      color: #aaa;
    }

    .custom-stats-grid {
      flex: 1 1 300px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      margin: 29px 20px;
      
    }

    .custom-stat-box {
      background-color: #002a5c ;
      padding: 2rem;
      text-align: center;
      border: 1px solid #333;
    }

    .custom-stat-box h3 {
      font-size: 2rem;
      color: #ffc107;
      margin-bottom: 0.5rem;
    }

    .custom-stat-box p {
      font-size: 0.9rem;
      color: #aaa;
    }

    .custom-footer-text {
      margin-top: 3rem;
      font-size: 0.8rem;
      color: #888;
      max-width: 900px;
    }

    @media (max-width: 768px) {
      .custom-stats-section {
        flex-direction: column;
      }

      .custom-stats-text,
      .custom-stats-grid {
        max-width: 100%;
      }
    }