/* --- PRE-EXISTING STYLES (Your Code) --- */
.Inter-black,
.Inter-bold,
.Inter-light,
.Inter-medium,
.Inter-regular,
.Inter-thin {
  font-family: Inter, sans-serif;
  font-style: normal
}

li,
nav ul,
ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.bg-img-career::before,
.bg-img::before {
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0
}

.bg-img-career::before,
.bg-img::before,
.bg-wires::before {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(50%)
}

#successMessage,
input,
textarea {
  padding-left: 10px
}

.Inter-thin {
  font-weight: 100
}

.Inter-light {
  font-weight: 300
}

.Inter-regular {
  font-weight: 400
}

.Inter-medium {
  font-weight: 500
}

.Inter-bold {
  font-weight: 700
}

.Inter-black {
  font-weight: 900
}

.Inter-black-italic,
.Inter-bold-italic,
.Inter-light-italic,
.Inter-medium-italic,
.Inter-regular-italic,
.Inter-thin-italic {
  font-family: Inter, sans-serif;
  font-style: italic
}

.Inter-thin-italic {
  font-weight: 100
}

.Inter-light-italic {
  font-weight: 300
}

.Inter-regular-italic {
  font-weight: 400
}

.Inter-medium-italic {
  font-weight: 500
}

.Inter-bold-italic {
  font-weight: 700
}

.Inter-black-italic {
  font-weight: 900
}

:root {
  --ff-brand: "Inter", sans-serif;
  --ff-heading: "Inter", sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --clr-black: #000000;
  --clr-white: #ffffff;
  --clr-primary: #2A276C;
  /* Dark Blue */
  --clr-secondary: #F4C15A;
  /* Yellow/Gold */
  --clr-light-bg: #F9FAFB;
  /* Light Grey BG */
  --clr-text: #4B5563;
  /* Body Text */
  --clr-heading: #0F1729;
  /* Heading Text */

  --container-padding-inline: 200px;
  --container-padding-block: 80px
}

@media (max-width:1470px) {
  :root {
    --container-padding-inline: 65px;
    --container-padding-block: 60px
  }
}

@media (max-width:768px) {
  :root {
    --container-padding-inline: 30px;
    --container-padding-block: 50px
  }
}

@media (max-width:600px) {
  :root {
    --container-padding-inline: 20px;
  }
}

*,
::after,
::before {
  box-sizing: border-box;
  margin: 0;
  scroll-behavior: smooth
}

body {
  font-family: var(--ff-brand);
  font-weight: var(--fw-regular);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--clr-text);
  -webkit-font-smoothing: antialiased;
  background-color: var(--clr-white);
}

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--container-padding-inline);
}

section {
  padding-block: var(--container-padding-block);
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-heading);
  color: var(--clr-heading);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Navigation --- */
.navigation {
  position: fixed;
  z-index: 11;
  width: 100%;
  transition: background-color .3s;
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(6px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-MIC_Logo {
  max-height: 55px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav ul li a {
  color: var(--clr-black);
  font-weight: var(--fw-medium);
  padding: 10px 15px;
  transition: color 0.3s;
  border-radius: 6px;
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--clr-secondary);
}

.nav-consultation-btn {
  display: flex;
  justify-content: center;
}

.nav-consultation-btn a {
  color: var(--clr-white);
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  border-radius: 10px;
  background: linear-gradient(90deg, #1A2666 0%, rgba(26, 38, 102, 0.00) 100%), #2A276C;
  width: fit-content;
}

.nav-consultation-btn a:hover {
  color: #fff;
}

/* --- Mobile Navigation (Your Code) --- */
.nav-mobile {
  display: none;
}

@media only screen and (max-width:1099px) {
  .nav-mobile {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    height: 70px;
    width: 70px;
  }

  .center-align-nav {
    width: 100%;
    padding-top: 70px;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background: var(--clr-white);
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
  }

  nav ul li {
    float: none;
    width: 100%;
    text-align: center;
  }

  nav ul li a {
    display: block;
    padding: 15px;
  }
}

@media screen and (min-width:1100px) {
  .nav-list {
    display: flex !important;
  }
}

#navbar-toggle {
  position: absolute;
  left: 18px;
  top: 20px;
  cursor: pointer;
  padding: 10px 35px 16px 0;
}

#navbar-toggle span,
#navbar-toggle span:after,
#navbar-toggle span:before {
  cursor: pointer;
  border-radius: 2px;
  height: 4px;
  width: 35px;
  background: var(--clr-primary);
  position: absolute;
  display: block;
  content: '';
  transition: all .3s ease-in-out;
}

#navbar-toggle span:before {
  top: -10px;
}

#navbar-toggle span:after {
  bottom: -10px;
}

#navbar-toggle.active span {
  background-color: transparent;
}

#navbar-toggle.active span:before {
  transform: rotate(45deg);
  top: 0;
}

#navbar-toggle.active span:after {
  transform: rotate(-45deg);
  top: 0;
}


/* --- NEW STYLES START HERE --- */

/* --- General & Utility Classes --- */
main {
  padding-top: 70px;
  /* Offset for fixed navbar */
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-primary {
  border-radius: 10px;
  border: 1px solid rgba(248, 250, 252, 0.30);
  background: #FFF;
  color: #1A2666;
  display: flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  cursor: pointer;
  font-size: 14px;
  min-width: 200px;
  justify-content: center;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--clr-heading);
}

.section-subtitle {
  font-size: 1.1rem;
  color: #65758B;
}

.highlight-text {
  color: #FFD11A;
}

.section-title-light,
.section-subtitle-light {
  color: var(--clr-white);
}

.section-title-light {
  margin-block: 20px;
  font-size: 50px;
  font-weight: 500;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/assets/images/MIC_NewImage.jpeg");
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 0.4; /* Adjust this value between 0.0 and 1.0 */
}
.hero-section-services {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0);
}

.hero-section-services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/assets/images/services-background.svg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-section-contact {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0);
}

.hero-section-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/assets/images/contact-us-background.svg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-section-terms {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0);
}

.hero-section-terms::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/assets/images/terms-bg.svg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}


.hero-container {
  display: grid;
  align-items: center;
  gap: 4rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;

}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-subtitle {
  margin-bottom: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(26, 38, 102, 0.30);
  background: #FFF;
  width: fit-content;
  padding: 10px;
  font-size: 13px;
  padding-block: 5px;
  color: #2A276C;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: #0F1729;
}


.hero-title span {
  font-size: 4rem;
  background: linear-gradient(90deg, #1A2666 0%, #FFD11A 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
  font-weight: 600;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #000;
  width: 530px;
}

.hero-features {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: var(--fw-medium);
  color: var(--clr-heading);
  flex-direction: column;
}

.feature-item p {
  text-align: center;
  color: #000;
  font-size: 17px;
}

.feature-item p span {
  font-size: 14px;
  color: #000;
}

.feature-item i {
  color: var(--clr-primary);
}

.hero-image-wrapper {
  flex: 1;
  max-width: 550px;
}

/* --- Services Section --- */
.services-grid {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
}

.service-card-parent {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-card {
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  width: fit-content;
  border-radius: 12px;
  border: 1px solid rgba(26, 38, 102, 0.10);
  background: linear-gradient(135deg, #FFF 0%, rgba(241, 245, 249, 0.20) 100%), #FFF;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.service-card-inner-parent {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  padding: 15px;
  width: 500px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
}

.service-card img {
  border-radius: 8px;
}

.service-card h3 {
  font-size: 1.5rem;
}

.learn-more-link {
  color: #0F1729;
  margin-top: 1rem;
  display: inline-block;
  border-radius: 10px;
  border: 1px solid rgba(26, 38, 102, 0.30);
  background: #FFF;
  display: flex;
  align-items: center;
  padding: 7px;
  padding-inline: 10px;
  gap: 10px;
}

.learn-more-link i {
  transition: transform 0.3s;
}

.learn-more-link:hover i {
  transform: translateX(5px);
}

/* --- Excellence Section --- */
.excellence-section {
  background-color: var(--clr-primary);
  position: relative;
  z-index: 1;
}

.excellence-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.excellence-content {
  flex: 1;
}

.section-tag {
  color: var(--clr-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.excellence-list {
  margin: 2rem 0;
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.excellence-list li {
  color: var(--clr-white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
}

.excellence-list i {
  color: var(--clr-secondary);
  font-size: 1.2rem;
}

.excellence-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Testimonials Section --- */
.testimonials-section {
  background: linear-gradient(180deg, #FFF 0%, rgba(241, 245, 249, 0.20) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(26, 38, 102, 0.10);
  background: linear-gradient(135deg, #FFF 0%, rgba(255, 219, 77, 0.05) 100%), #FFF;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.testimonial-card .stars {
  color: var(--clr-secondary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-card .quote {
  font-style: italic;
  color: #65758B;
  margin-bottom: 1rem;
}

.testimonial-card .author {
  color: var(--clr-primary);
}

/* --- CTA Section --- */
.cta-section {
  background: #2A276C;
}

.cta-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.cta-content {
  flex: 1.2;
}

.appointment-form {
  display: flex;
  margin-top: 2rem;
  border-radius: 8px;
  max-width: 500px;
  gap: 15px;
}

.appointment-form input {
  flex-grow: 1;
  border: none;
  padding: 15px;
  font-size: 1rem;
  outline: none;
}

.cta-steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(248, 250, 252, 0.20);
  background: rgba(248, 250, 252, 0.10);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(2px);
  padding: 15px;
}

.step-item-white {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(26, 38, 102, 0.05);
  background: rgba(26, 38, 102, 0.05);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(2px);
  padding: 15px;
}

.step-icon {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--clr-secondary);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.step-text h4 {
  color: #F8FAFC;
  margin-bottom: 0.25rem;
}

.step-text p {
  color: rgba(248, 250, 252, 0.70);
  line-height: 1.4;
}

/* --- Responsive Adjustments for New Sections --- */
@media (max-width: 992px) {

  .hero-container,
  .excellence-container,
  .cta-container {
    flex-direction: column;
  }
  .section-title{
    text-align: center;
  }
  .transform-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero-image-wrapper,
  .excellence-image-wrapper {
    margin-top: 2rem;
  }

  .hero-features {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-title span {
    font-size: 2.8rem;
  }

  .excellence-container,
  .cta-container {
    text-align: left;
  }

  .cta-container {
    gap: 3rem;
  }

  .appointment-form {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-title span {
    font-size: 2.2rem;
  }
}


/* --- Footer Styles (Your Code) --- */
.footer {
  background: #0F1729;
  color: #D1D5DB;
  /* Light grey text for readability */
  padding: 80px 0 20px 0;
  font-size: 15px;
}

.footer-content-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col {
  flex: 1;
  min-width: 280px;
  /* Ensures columns don't get too squished before wrapping */
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 25px;
  font-weight: 600;
}

/* --- Column 1: Brand Info --- */
.footer-brand-info .brand-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo-img {
  max-width: 70px;
}

.brand-text h4 {
  margin: 0;
  font-size: 1.4rem;
}

.brand-text p {
  margin: 0;
  font-size: 0.8rem;
  color: #9CA3AF;
  /* Subtler color for tagline */
}

.brand-description {
  line-height: 1.6;
  margin-bottom: 25px;
}

.brand-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.nabh-accredited .fa-circle-check {
  color: #DC2626;
  /* Red color for the icon */
}

/* --- Column 2: Services --- */
.footer-services .service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-services .service-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-services .service-list a {
  color: #D1D5DB;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-services .service-list a:hover {
  color: #FFFFFF;
}

.footer-services .service-list .fa-arrow-right {
  font-size: 12px;
}

/* --- Column 3: Contact Info --- */
.contact-items-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item-card {
  padding: 16px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 0.5fr 4fr;
  align-items: flex-start;
  gap: 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
  width:350px;
}

.contact-item-card i {
  font-size: 20px;
  color: #FFFFFF;
  width: 25px;
  /* Ensures consistent alignment */
  text-align: center;
}

.contact-item-card span {
  line-height: 1.5;
}

/* --- Footer Bottom Bar --- */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.20);
  padding-top: 25px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 14px;
  color: #9CA3AF;
}

.footer-legal-links {
  display: flex;
  gap: 25px;
}

.footer-legal-links a {
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .footer-content-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
}

/* --- STYLES UNIQUE TO THE CONTACT PAGE --- */

/* --- Connection Options Section --- */
.connect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.connect-card {
  padding: 2rem;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(26, 38, 102, 0.10);
  background: linear-gradient(135deg, #FFF 0%, rgba(241, 245, 249, 0.20) 100%), #FFF;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.connect-icon {
  font-size: 2.5rem;
  color: var(--clr-primary);
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.connect-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.connect-card p {
  margin-bottom: 1rem;
}

.connect-link {
  color: var(--clr-primary);
  display: block;
}

.connect-link.inactive {
  color: var(--clr-text);
  cursor: default;
}

/* --- Contact Form Section --- */
.contact-form-section {
  background-color: var(--clr-primary);
  position: relative;
  z-index: 1;
}

.contact-form-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.contact-form-wrapper {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  border: 1px solid rgba(248, 250, 252, 0.20);
  background: rgba(248, 250, 252, 0.10);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(6px);
}

.contact-form-wrapper>div:first-child {
  text-align: center;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

.contact-form-wrapper img {
  height: 60px;
  margin-bottom: 15px;
}

.contact-form-wrapper h3 {
  color: #F8FAFC;
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-form-wrapper p {
  color: rgba(248, 250, 252, 0.90);
  font-size: 14px;
  line-height: 1.5;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 5px;
  color: #F8FAFC;
  font-size: 14px;
}

label.required::after {
  content: '*';
  color: #e22;
  margin-left: 3px;
}

input,
select,
textarea {
  padding: 12px 15px;
  font-size: 14px;
  transition: border-color 0.3s;
  border-radius: 10px;
  border: 1px solid rgba(248, 250, 252, 0.30);
  background: rgba(248, 250, 252, 0.20);
  color: rgba(248, 250, 252, 0.60);
}

input:focus,
select:focus,
textarea:focus {
  border-color: #F8FAFC4D;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: rgba(248, 250, 252, 0.60);
}

select option{
  color: #2A276C;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  background-color: #FFDB4D;
  color: #0F173D;
  border: none;
  border-radius: 4px;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  border-radius: 10px;
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 20px;
  }
}

/* --- Location Section --- */
.location-section {
  background-color: var(--clr-light-bg);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.location-card {
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid rgba(26, 38, 102, 0.10);
  background: linear-gradient(0deg, #FFF 0%, #FFF 100%), #FFF;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.map-card {
  text-align: center;
  border: 1px solid #E5E7EB;
}

.map-icon {
  font-size: 3rem;
  color: var(--clr-primary);
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.map-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.map-card p {
  margin-bottom: 2rem;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.directions-card {
  border-radius: 12px;
  border: 1px solid #FFDB4D;
  opacity: 0.68;
  background: linear-gradient(0deg, #FFF9E3 0%, #FFF9E3 100%), #FFF;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.directions-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.direction-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.direction-item:not(:last-child) {
  margin-bottom: 1.5rem;
}

.direction-icon {
  font-size: 1.8rem;
  color: var(--clr-primary);
  margin-top: 5px;
}

.direction-text h4 {
  color: var(--clr-heading);
  margin-bottom: 0.25rem;
}

/* --- Unique Responsive Adjustments --- */
@media (max-width: 992px) {

  .contact-form-container,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-info {
    text-align: left;
  }
}

/* --- STYLES UNIQUE TO THE ABOUT US PAGE --- */

/* --- Hero Section Stats --- */
.hero-stats {
  margin-top: 2.5rem;
  display: flex;
  gap: 2rem;
  border-top: 1px solid #E5E7EB;
  padding-top: 1.5rem;
}

.stat-block {
  text-align: left;
}

.stat-block h4 {
  font-size: 1.1rem;
  color: var(--clr-heading);
  margin-bottom: 0.25rem;
}

.stat-block p {
  font-size: 0.9rem;
  color: var(--clr-text);
}

/* --- Transforming Healthcare Section --- */
.transform-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.transform-image-wrapper {
  max-width: 500px;
  justify-self: center;
}

.transform-features {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.transform-features li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.transform-features i {
  font-size: 1.5rem;
  color: var(--clr-secondary);
  background-color: #FFFBEB;
  padding: 12px;
  border-radius: 8px;
  margin-top: 5px;
}

.transform-features h4 {
  font-size: 1.2rem;
  color: var(--clr-heading);
  margin-bottom: 0.25rem;
}

/* --- Milestones Section --- */
.milestones-section {
  background-color: #fff;
}

.milestones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.milestone-card {
  background-color: var(--clr-white);
  padding: 2rem;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.milestone-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.milestone-icon {
  font-size: 2rem;
  color: var(--clr-primary);
  margin-bottom: 1rem;
}

.milestone-card h3 {
  font-size: 1.5rem;
  color: var(--clr-heading);
  margin-bottom: 0.5rem;
}

.milestone-card p {
  color: var(--clr-text);
}

/* --- Specialists Section --- */
.specialists-section {
  background-color: var(--clr-light-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.specialists-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
}

/* Individual Specialist Card */
.specialist-card {
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border-radius: 12px;
  border: 1px solid rgba(225, 231, 239, 0.50);
  background: rgba(255, 255, 255, 0.60);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(2px);
}

.specialist-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Avatar with Initials */
.specialist-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #2c3e50;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: 600;
  flex-shrink: 0;
}

/* Container for all textual information */
.specialist-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Text Styling */
.specialist-info .name {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: #0F1729;
}

.specialist-info .qualification {
  font-size: 15px;
  color: #1A2666;
  margin: 0;
}

.specialist-info .title {
  font-size: 15px;
  color: #65758B;
  margin: 0;
}

/* Experience Tag */
.experience {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  margin-top: 12px;
  width: fit-content;
  border-radius: 9999px;
  border: 1px solid rgba(26, 38, 102, 0.20);
  background: rgba(26, 38, 102, 0.10);
  color: #1A2666;
}

.experience svg {
  stroke: #495057;
}

/* Expertise Section */
.expertise-area {
  margin-top: 16px;
}

.expertise-area h4 {
  font-size: 15px;
  font-weight: 500;
  color: #0F1729;
  letter-spacing: 0.5px;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.expertise-area h4 svg {
  stroke: #868e96;
}

/* Tags for Expertise */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #65758B;
  border-radius: 9999px;
  border: 1px solid rgba(225, 231, 239, 0.60);
  background: rgba(255, 255, 255, 0.50);
}

/* Responsive Design for smaller screens */
@media (max-width: 992px) {
  .specialists-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {

  .specialist-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .specialist-info {
    align-items: center;
  }
}

/* --- New Alternative Footer --- */
.footer-alt {
  background-color: #1C202B;
  color: #D1D5DB;
  padding-top: 4rem;
  border-top: 5px solid var(--clr-secondary);
}

.footer-alt-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-alt-logo {
  max-width: 60px;
  margin-bottom: 1rem;
}

.footer-alt .footer-col p {
  font-size: 0.9rem;
  max-width: 300px;
  line-height: 1.6;
}

.footer-alt .footer-col h4 {
  color: var(--clr-white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-alt .footer-col i {
  margin-right: 0.5rem;
  color: var(--clr-secondary);
}

.footer-alt .footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-alt .footer-col li a {
  color: #D1D5DB;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-alt .footer-col li a:hover {
  color: var(--clr-white);
}

.footer-alt-bottom-bar {
  background-color: #111827;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #9CA3AF;
}

/* --- Unique Responsive Adjustments for About Page --- */
@media (max-width: 992px) {
  .transform-section {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .footer-alt-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-alt .footer-col p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-alt-logo {
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- STYLES UNIQUE TO THE PRIVACY POLICY PAGE --- */

/* --- Policy Hero Section --- */
.policy-hero {
  padding-top: var(--container-padding-block);
  padding-bottom: calc(var(--container-padding-block) / 2);
  background-color: var(--clr-light-bg);
}

.policy-hero .section-header {
  margin-bottom: 2rem;
}

.policy-hero-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.policy-hero-card {
  background: var(--clr-white);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
}

.card-icon-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.card-icon-title i {
  color: var(--clr-primary);
  font-size: 1.5rem;
}

.card-icon-title h4 {
  font-size: 1.2rem;
  color: var(--clr-heading);
}

/* --- Health Information Protection Section --- */
.info-protection-section {
  background-color: var(--clr-light-bg);
  padding-top: calc(var(--container-padding-block) / 2);
}

.info-protection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(400px, 1fr));
  gap: 2rem;
}

.policy-detail-card {
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(26, 38, 102, 0.10);
  background: linear-gradient(135deg, #FFF 0%, rgba(241, 245, 249, 0.20) 100%), #FFF;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.policy-detail-card ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 1rem;
  color: var(--clr-text);
}

.policy-detail-card li {
  margin-bottom: 0.5rem;
}

/* --- Cookies & Website Data Section --- */
.cookies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.cookie-card {
  background-color: #FFFBEB;
  border: 1px solid var(--clr-secondary);
  padding: 2rem;
  border-radius: 12px;
}

.cookie-card p {
  margin-top: 1rem;
}

/* --- Questions Section --- */
.questions-section {
  background-color: var(--clr-primary);
}

.questions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.question-card {
  background-color: #374A5E;
  color: var(--clr-white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

.question-card i {
  font-size: 2.5rem;
  color: var(--clr-secondary);
  margin-bottom: 1rem;
}

.question-card h4 {
  color: var(--clr-white);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.question-card p {
  color: #D1D5DB;
  margin-bottom: 1rem;
}

.question-card a {
  color: var(--clr-secondary);
  text-decoration: none;
  word-break: break-all;
}

.complaint-info {
  text-align: center;
  color: #D1D5DB;
  margin-top: 3rem;
}

.complaint-info a {
  color: var(--clr-white);
  text-decoration: underline;
}

/* --- Unique Responsive Adjustments for Privacy Page --- */
@media (max-width: 992px) {

  .info-protection-grid,
  .cookies-grid {
    grid-template-columns: 1fr;
  }
}

.excellence {
  border-radius: 9999px;
  border: 1px solid rgba(248, 250, 252, 0.30);
  background: rgba(248, 250, 252, 0.20);
  padding: 5px;
  display: flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  color: #F8FAFC;
  padding-inline: 10px;
  font-size: 13px;
}

/* --- STYLES UNIQUE TO THE TERMS OF SERVICE PAGE --- */

/* --- Specialized & Emergency Terms Sections --- */
.specialized-terms-section,
.emergency-terms-section {
  background-color: #F3F4F6;
  /* A slightly darker grey background */
}

/* Padding adjustment for consecutive sections with the same background */
.emergency-terms-section {
  padding-top: 0;
}

.specialized-terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.emergency-terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.verified-review {
  color: #65758B;
  font-size: 13px;
}

.testimonial-parent {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding-top: 15px;

}

.patient-initials {
  padding: 10px;
  border-radius: 9999px;
  background: #FFDB4D;
  padding-inline: 14px;
}

.patient-stories {
  border-radius: 9999px;
  border: 1px solid rgba(255, 219, 77, 0.30);
  background: rgba(255, 219, 77, 0.10);
  padding: 5px;
  display: flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  color: #C68F00;
  padding-inline: 10px;
  font-size: 13px;
  margin-bottom: 10px;
}

.expert-team {
  border-radius: 9999px;
  border: 1px solid rgba(26, 38, 102, 0.20);
  background: rgba(26, 38, 102, 0.05);
  padding: 5px;
  display: flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  color: #1A2666;
  padding-inline: 10px;
  font-size: 13px;
  margin-bottom: 5px;
}

.choose-title {
  font-size: 18px;
  color: #F8FAFC;
}

.choose-description {
  font-size: 16px;
  color: rgba(248, 250, 252, 0.80);
}

.landing-buttons-parent {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
  margin-bottom: 32px;
}

.landing-primary-button {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 28px;
  border: 1px solid rgba(26, 38, 102, 0.30);
  border-radius: 10px;
  background: linear-gradient(90deg, #1A2666 0%, rgba(26, 38, 102, 0.00) 100%), #2A276C;
  color: #fff;
  font-size: 14px;
  justify-content: center;
  cursor: pointer;
  min-width: 200px;
}

.landing-secondry-button {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 28px;
  border-radius: 10px;
  border: 1px solid rgba(26, 38, 102, 0.30);
  background: #FFF;
  color: #2A276C;
  font-size: 14px;
  justify-content: center;
  cursor: pointer;
  min-width: 200px;
}

.Plus-white-up {
  position: absolute;
  top: 10%;
  z-index: -1;
}

.Plus-white-down {
  position: absolute;
  bottom: 30%;
  right: 5%;
  z-index: -1;
}

.services-section {
  position: relative;
  z-index: 1;
}

.Plus-purple-down {
  position: absolute;
  bottom: 0px;
  right: 10%;
  z-index: -1;

}

.Plus-purple-up {
  position: absolute;
  top: 0px;
  left: 30%;
  z-index: -1;
}

.about-us-points {
  width: 500px;
}

.connect-section {
  position: relative;
  z-index: 1;
}

.nav-list a.active {
  color: #FFD11A;
}

.nav-consultation-btn a.active {
  color: #fff;
}

.message {
  padding: 15px;
  margin: 20px 0;
  border-radius: 6px;
  text-align: center;
  display: none;
}

.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error {
  color: #FF3333;
  font-size: 12px;
}

/* ========== Medical Services Section ========== */
.medical-services-section {
  padding: 80px 0;
  background-color: #F9FAFB;
}

.medical-services-section .section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.medical-services-section .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  font-size: 14px;
  color: #1A2666;
  margin-bottom: 16px;
}

.medical-services-section .section-title {
  font-size: 40px;
  color: #111827;
  margin-bottom: 16px;
}

.medical-services-section .section-title span {
  color: #FBBF24;
  /* Highlight color */
}

.medical-services-section .section-subtitle {
  font-size: 18px;
  color: #4B5563;
  line-height: 1.6;
}

/* Services Grid */
.services-grid2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  /* Allows content to fill space */
  align-items: flex-start;
  gap: 15px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.service-card p {
  font-size: 15px;
  color: #4B5563;
  line-height: 1.5;
  flex-grow: 1;
  /* Pushes button to bottom */
  text-align: left;
}

.learn-more {
  color: #1A2666;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  /* Aligns to bottom */
}

/* Specific Card Layouts */
.mri-card {
  grid-column: span 2;
  flex-direction: row;
}

.mri-card .service-card-image {
  width: 45%;
  height: auto;
  /* Auto height */
}

.mri-card .service-card-content {
  width: 55%;
}

.breast-imaging-card {
  grid-row: span 2;
}

.small-card .service-card-image.small {
  height: 150px;
}

/* Meta Info (time, features) */
.service-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  margin-top: -8px;
}

.service-meta span,
.service-meta-single {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #4B5563;
}

.service-meta-single {
  margin-bottom: 12px;
  color: #65758B;
  font-weight: 500;
}

/* Tags (Featured) */
.service-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: #FFFFFF;
  color: #1A2666;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #E5E7EB;
}

.service-tag.featured {
  top: 16px;
  left: 16px;
  right: auto;
}

/* Buttons */
.btn-secondary {
  /* For "Book CT Scan" */
  background-color: #FFFFFF;
  color: #1A2666;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  border: 1px solid #D1D5DB;
  transition: background-color 0.2s;
}

.btn-secondary:hover {
  background-color: #F3F4F6;
}

.btn-primary-yellow {
  /* For "Book Now" */
  background-color: #FBBF24;
  color: #1A2666;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.2s;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #FBBF24;
  cursor: pointer;
  justify-content: center;
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
  .services-grid2 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Unset complex grid positioning */
  .mri-card,
  .breast-imaging-card {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  .medical-services-section .section-title {
    font-size: 32px;
  }

  .services-grid2 {
    grid-template-columns: 1fr;
    /* Stack all cards */
  }

  .mri-card,
  .breast-imaging-card {
    grid-column: span 1;
    /* Reset span for single column */
  }

  .mri-card {
    flex-direction: column;
    /* Stack image and content in MRI card */
  }

  .mri-card .service-card-image,
  .mri-card .service-card-content {
    width: 100%;
  }
}

.terms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.term-card {
  background: white;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-radius: 12px;
  border: 1px solid rgba(26, 38, 102, 0.10);
  background: linear-gradient(135deg, #FFF 0%, rgba(241, 245, 249, 0.20) 100%), #FFF;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #2A276C, #4338ca);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon i {
  color: white;
  font-size: 1.2rem;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  line-height: 1.3;
}

.card-content {
  color: #4b5563;
  line-height: 1.6;
}

.card-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.card-content li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding-left: 0;
}

.card-content li:before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.card-content2 {
  color: #4b5563;
  line-height: 1.6;
}

.card-content2 ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.card-content2 li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding-left: 0;
}

.card-content2 li:before {
  content: "•";
  color: #FFD11A;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Specialized Terms Section */
.specialized-section {
  background: white;
  padding: 80px 0;
}

.specialized-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.specialized-card {
  padding: 2rem;
  transition: all 0.3s ease;
  border-radius: 12px;
  border: 1px solid rgba(255, 209, 26, 0.10);
  background: linear-gradient(0deg, rgba(255, 219, 77, 0.07) 0%, rgba(255, 219, 77, 0.07) 100%), #FFF;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border-top: 5px solid #FFD11A
}

/* Questions Section */
.questions-section {
  background: linear-gradient(135deg, #2A276C, #1e1b5a);
  color: white;
  padding: 80px 0;
}

.section-title-light {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.section-subtitle-light {
  color: #e8f0fe;
  font-size: 1.1rem;
  margin: 0 0;
  line-height: 1.6;
  width: 500px;
}

.questions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.questions-card {
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border-radius: 12px;
  border: 1px solid rgba(248, 250, 252, 0.20);
  background: rgba(248, 250, 252, 0.10);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 15px
}

.questions-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.questions-card i {
  font-size: 2rem;
  color: #FBBF24;
  margin-bottom: 1rem;
}

.questions-card h4 {
  font-size: 1.3rem;
  color: #F8FAFC;
}

.questions-card p {
  color: rgba(248, 250, 252, 0.80);
}

.questions-card a {
  color: #F8FAFC;
  text-decoration: none;
}

.questions-card a:hover {
  text-decoration: underline;
}

.section-title span {
  background: linear-gradient(90deg, #1A2666 0%, #FFD11A 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.important-notice {
  border-radius: 12px;
  border-top: 1px solid #E1E7EF;
  background: linear-gradient(90deg, rgba(26, 38, 102, 0.05) 0%, rgba(255, 209, 26, 0.05) 100%);
  padding: 15px;
}

.notice-content {
  display: flex;
  flex-direction: row;
  gap: 10px
}

.specialized-grid-parent {
  border-radius: 12px;
  border: 1px solid rgba(255, 219, 77, 0.20);
  background: linear-gradient(0deg, #FFF 0%, #FFF 100%), #FFF;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(2px);
  padding: 20px;
  border-top: 7px solid #2A276C;
}

.specialized-card2 {
  margin-block: 15px;
}

.card-header2 {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1rem;
}

.card-content2 ul li {
  color: #65758B;
}

.legal-parent {
  display: flex;
  gap: 15px;
  justify-content: center;
  border-radius: 12px;
  border: 2px solid rgba(26, 38, 102, 0.10);
  background: linear-gradient(135deg, #FFF 0%, rgba(241, 245, 249, 0.10) 100%), #FFF;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  padding: 15px;
}

.leagl-div {
  width: 600px;
}

.leagl-div h3 {
  margin-bottom: 17px;
  margin-top: 8px;
}

.leagl-div p {
  color: #65758B;
}

.terms-effective {
  border-radius: 12px;
  border: 1px solid rgba(255, 219, 77, 0.20);
  background: rgba(255, 219, 77, 0.10);
  padding: 15px;
  color: #65758B;
  font-size: 13px;
}

.terms-right-div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.patient-rights-card {
  padding: 32px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  max-width: 400px;
  width: 100%;
  border-radius: 7.576px;
  border: 1.263px solid #D1D4E0;
  background: #FFF;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.rights-icon {
  width: 56px;
  height: 56px;
  background-color: #4f46e5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.rights-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
  text-align: left;
}

.rights-content p {
  font-size: 14px;
  color: #6b7280;
  text-align: left;
}

.rights-list {
  list-style: none;
  padding: 0;
}

.rights-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  color: #4b5563;
}

.milestones-section {
  background: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.milestones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.milestone-card {
  background: white;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.milestone-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.milestone-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  gap: 10px;
}

.milestone-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 24px;
  color: white;
  flex-shrink: 0;
}

.milestone-year {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2c3e87;
}

.milestone-title {
  font-size: 1.4rem;
  font-weight: 500;
  color: #0F1729;
  margin-bottom: 15px;
  line-height: 1.3;
}

.milestone-description {
  color: #65758B;
  line-height: 1.6;
  margin-bottom: 25px;
}

.milestone-progress {
  position: relative;
  height: 6px;
  background: #f0f0f0;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.milestone-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.05);
  color: #897218;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 9999px;
  background: rgba(255, 219, 77, 0.20);
}

/* Individual card styling */
.milestone-card:nth-child(1) .milestone-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.milestone-card:nth-child(1) .progress-bar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.milestone-card:nth-child(2) .milestone-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.milestone-card:nth-child(2) .progress-bar {
  background: linear-gradient(90deg, #FFD11A 0%, #FFDB4D 100%);
}

.milestone-card:nth-child(3) .milestone-icon {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.milestone-card:nth-child(3) .progress-bar {
  background: linear-gradient(90deg, #FFD11A 0%, #FFDB4D 100%);
}

.milestone-card:nth-child(4) .milestone-icon {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.milestone-card:nth-child(4) .progress-bar {
  background: #1A2666;
}

.milestone-card:nth-child(5) .milestone-icon {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.milestone-card:nth-child(5) .progress-bar {
  background: linear-gradient(90deg, #FFD11A 0%, #FFDB4D 100%);
}

.milestone-card:nth-child(6) .milestone-icon {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.milestone-card:nth-child(6) .progress-bar {
  background: linear-gradient(90deg, #FFD11A 0%, #FFDB4D 100%);
}

/* Decorative elements */
.milestone-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
  border: 1px solid rgba(255, 219, 77, 0.20);
  background: linear-gradient(135deg, rgba(255, 219, 77, 0.05) 0%, rgba(255, 219, 77, 0.00) 100%), #FFF;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.milestone-card:hover::before {
  opacity: 1;
}

/* Responsive design */
@media (max-width: 768px) {
  .milestones-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-title-light {
    font-size: 2.2rem;
  }

  .milestone-card {
    padding: 25px;
  }

  .milestone-year {
    font-size: 1.8rem;
  }

  .milestone-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .milestone-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .milestones-section {
    padding: 60px 0;
  }

  .milestone-card {
    padding: 20px;
  }
}

/* Modal Overlay & Animation */
.modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 50;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.visible {
  visibility: visible;
  opacity: 1;
}

/* Modal Content Area & Animation */
.modal-content-area {
  background-color: white;
  width: 100%;
  max-width: 60vw;
  /* max-w-5xl */
  border-radius: 1rem;
  /* rounded-2xl */
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  position: relative;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal.visible .modal-content-area {
  transform: scale(1);
  opacity: 1;
}

/* Close button */
.modal-close-btn {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  background-color: white;
  border-radius: 9999px;
  padding: 0.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  z-index: 10;
  transition: background-color 0.2s;
}

.modal-close-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gray-600);
}


.modal-image-side {
  position: relative;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  height: 400px;
}

.modal-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-gradient-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent, rgba(0, 0, 0, 0.2));
}

.image-info-box {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 0.75rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 17.089px;
  border: 1.424px solid rgba(26, 38, 102, 0.20);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(2.8482143878936768px);
}

.image-info-box .duration {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.image-info-box .duration svg {
  width: 1.25rem;
  height: 1.25rem;
}

.image-info-box .duration .text-xs {
  font-size: 0.75rem;
  font-weight: 300;
  color: #0F1729;
}

.image-info-box .duration .text-sm {
  font-size: 0.875rem;
  font-weight: 500;
  color: #65758B;
}

.image-info-box .tech-badge {
  background-color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border-radius: 14239.647px;
  background: rgba(26, 38, 102, 0.20);
  color: #1A2666;
}

/* Right Side: Details Section */
.modal-details-side {
  padding: 2rem;
  overflow-y: auto;
  max-height: 90vh;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-details-side::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

/* Custom scrollbar for details section */
.modal-details-side::-webkit-scrollbar {
  width: 6px;
}

.modal-details-side::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.modal-details-side::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.modal-details-side::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.modal-details-side h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0;
}

.title-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.775rem;
  font-weight: 500;
  margin: 1rem 0;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  border-radius: 14239.647px;
  border: 1.424px solid rgba(255, 209, 26, 0.30);
  background: rgba(255, 209, 26, 0.10);
  color: #967D1A;
}

.title-badge svg {
  height: 1rem;
  width: 1rem;
  margin-right: 0.5rem;
}

.modal-details-side p {
  color: var(--gray-600);
}

.modal-details-side h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--gray-800);
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--gray-600);
}

.features-list li {
  display: flex;
  align-items: flex-start;
}

.features-list li span {
  color: var(--indigo-600);
  margin-right: 0.75rem;
}

.guidelines-box {
  margin-top: 1.5rem;
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  border-radius: 17.089px;
  border: 1.424px solid rgba(255, 209, 26, 0.20);
  background: linear-gradient(0deg, #FFF 0%, #FFF 100%), #FFF;
  box-shadow: 0 1.424px 2.848px 0 rgba(0, 0, 0, 0.05);
}

.guidelines-box svg {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--amber-600);
  margin-right: 0.75rem;
}

.guidelines-box h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0;
}

.guidelines-box p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  text-align: center;
}

.info-card {
  border-radius: 0.5rem;
  padding: 0.5rem;
}

.info-card.radiologists {
  background-color: var(--indigo-50);
  border: 1px solid var(--indigo-200);
  border-radius: 17.089px;
  border: 1.424px solid rgba(26, 38, 102, 0.20);
  background: #DEE2FB;
}

.info-card.safe,
.info-card.reports {
  background-color: var(--amber-50);
  border: 1px solid var(--amber-200);
  border-radius: 17.089px;
  border: 1.424px solid rgba(255, 209, 26, 0.20);
  background: linear-gradient(135deg, rgba(255, 209, 26, 0.10) 0%, #FFF 100%);
}

.info-card svg {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.5rem auto;
}

.info-card.radiologists svg {
  color: var(--indigo-600);
}

.info-card.safe svg,
.info-card.reports svg {
  color: var(--amber-600);
}

.info-card span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}

.action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.btns {
  width: 100%;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btns svg {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-book {
  background-color: var(--indigo-700);
  color: white;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.btn-book:hover {
  background-color: var(--indigo-800);
}

.btn-call {
  background-color: white;
  color: var(--gray-800);
  border: 2px solid var(--gray-300);
}

.btn-call:hover {
  background-color: var(--gray-100);
  border-color: var(--gray-400);
}

/* Responsive Design */
@media (min-width: 576px) {
  .info-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .action-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .modal-image-side {
    padding: 0;
  }
}

.modal-details-child {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

/* Slider Styles */
.slider-container {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  gap: 20px;
}

.testimonial-card {
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 1rem;
}

.card-content {
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars-container {
  display: flex;
  gap: 0.25rem;
}

.star-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #facc15;
}

.quote {
  color: #4b5563;
  margin-top: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.author-initials {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  margin-right: 1rem;
}

.initials-rk {
  background-color: #3b82f6;
}

.initials-kk {
  background-color: #8b5cf6;
}

.initials-sg {
  background-color: #14b8a6;
}

.author-name {
  font-weight: 600;
}

.verified-review {
  font-size: 0.875rem;
  color: #22c55e;
}

/* Slider Navigation */
.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffff;
  border-radius: 9999px;
  padding: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  z-index: 10;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.slider-button:hover {
  background-color: #f0f0f0;
}

.slider-button:disabled {
  opacity: 0.5;
  cursor: default;
}

.slider-button-prev {
  left: 0;
}

.slider-button-next {
  right: 0;
}

.nav-icon {
  height: 1.5rem;
  width: 1.5rem;
  color: #4b5563;
}

/* Dots Navigation */
.dots-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 0.5rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  background-color: #d1d5db;
  border-radius: 9999px;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #3b82f6;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .testimonial-section-container {
    padding: 2rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .testimonial-card {
    width: 50%;
  }
}

@media (min-width: 1024px) {
  .testimonial-card {
    width: 33.3333%;
  }
}

@media(min-width:992px) and (max-width:1170px) {
  .contact-form-container {
    gap: 1rem
  }

  .contact-form-wrapper {
    width: 350px;
  }

  .form-row {
    display: flex;
    gap: 20px;
    flex-direction: column;
  }
}


@media(max-width:768px) {
  .excellence-container {
    grid-template-columns: 1fr;
  }

  .services-grid {
    flex-direction: column;
  }

  .service-card-parent {
    align-items: center;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-title{
    text-align: center;
  }

  .cta-container {
    align-items: flex-start;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .term-card {
    padding: 1rem;
  }

  .card-content {
    padding: 0.5rem;
  }

  .leagl-div {
    width: auto;
  }

  .legal-parent {
    flex-direction: column;
  }

  .terms-grid {
    grid-template-columns: 1fr;
  }

  .specialized-grid {
    gap: 1rem;
  }

  .hero-container {
    gap: 1rem;
  }

  .contact-form-container {
    gap: 1rem;
  }

  .modal-content-area {
    max-width: 100vw;
  }

  .modal-details-child {
    grid-template-columns: 1fr;
  }

  .action-buttons {
    grid-template-columns: 1fr;
  }

  .modal-details-side {
    padding: 1.5rem;
  }

  .image-info-box {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .service-card-inner-parent {
    width: 350px;
  }
}

@media(max-width:566px) {
  .contact-form-wrapper {
    width: 450px;
  }

  .about-us-points {
    width: 300px;
  }
}


@media(max-width:480px) {
  .appointment-form {
    flex-direction: column;
  }

  .hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-image {
    max-width: 380px;
  }

  .terms-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .term-card {
    padding: 1rem;
  }

  .specialized-grid {
    gap: 15px;
  }

  .landing-buttons-parent {
    flex-direction: column;
  }

  .location-card {
    padding: 1.5rem;
  }

  .contact-form-wrapper {
    width: 380px;
    padding: 20px;
  }

  .contact-form-container {
    gap: 1rem;
  }

  .excellence-container {
    gap: 1rem
  }
}

@media(max-width:410px) {
  .contact-form-wrapper {
    width: 340px;
    padding: 20px;
  }

}

@media(max-width:1265px) {
  .services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
  }

  .service-card-parent {
    align-items: center;
  }
}

@media(max-width:415px) {
  .hero-image {
    width: 350px;
  }
}
@media(min-width:1600px){
  .hero-image{
    max-width: 700px;
  }
}
@media(max-width:536px){
  .section-subtitle-light{
    width: 330px;
  }
  .hero-description{
    width: 330px;
    text-align: center;
  }
}

/* --- Search Results --- */
.search-results-container {
    margin-top: 24px;
    background-color: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: left;
    max-height: 320px;
    overflow-y: auto;
}

.service-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #F1F5F9;
    transition: background-color 0.2s ease;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item:hover {
    background-color: #F8FAFC;
}

.service-name {
    color: #0F1729;
    font-weight: 500;
}

.service-price {
    color: #2A276C;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.no-results-message {
    padding: 16px 20px;
    color: #64748B;
    text-align: center;
}

/* --- Search Section --- */
.search-section {
    padding: 60px 0;
    background-color: #F8FAFC; /* A light background to stand out */
    text-align: center;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.search-section .section-title {
    margin-bottom: 12px;
    font-size: 2.25rem; /* 36px */
    color: #0F1729;
}

.search-section .section-subtitle {
    margin-bottom: 30px;
    font-size: 1.125rem; /* 18px */
    color: #65758B;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    align-items: center;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background-color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden; /* Ensures the button fits nicely */
}

.search-input {
    flex-grow: 1;
    padding: 16px 20px;
    font-size: 1rem; /* 16px */
    color: #334155;
    background-color: transparent;
    outline: none;
}

.search-input::placeholder {
    color: #94A3B8;
}

.search-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    background-color: #2A276C; /* Using your brand's primary color */
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #1A2666; /* A slightly darker shade on hover */
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .search-section {
        padding: 40px 0;
    }

    .search-section .section-title {
        font-size: 1.75rem; /* 28px */
    }

    .search-section .section-subtitle {
        font-size: 1rem; /* 16px */
    }

    .search-form {
        flex-direction: column;
        border-radius: 8px;
    }

    .search-input {
        width: 100%;
        text-align: center;
        padding: 14px;
        border-bottom: 1px solid #E2E8F0;
    }

    .search-button {
        width: 100%;
        justify-content: center;
        padding: 14px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
}

/* --- Search Section (More Specific Fix) --- */

/* Targets the form directly by its class inside the search wrapper */
.search-wrapper > .search-form {
    display: flex;
    align-items: center;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background-color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 15px;
}

/* Targets the input specifically by its ID and CLASS */
input#service-search.search-input {
    flex-grow: 1;
    padding: 16px 20px;
    font-size: 1rem; /* 16px */
    color: #334155;
    background-color: transparent;
    outline: none;
    /* Adding these just in case */
    display: block; /* Make sure it's not set to 'none' */
    visibility: visible; /* Make sure it's not 'hidden' */
    width: 100%; /* Allow flex-grow to work */
}

input#service-search.search-input::placeholder {
    color: #94A3B8;
}

/* --- Milestone Timeline Section --- */
.timeline-container {
    width: 100%;
    padding: 0 0 50px 0;
}

.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 35px; /* Vertically aligns the line with the center of the icons */
    left: 5%;
    right: 5%;
    height: 3px;
    background-color: #E5E7EB; /* Light gray line */
    z-index: -1;
    background: linear-gradient(90deg, rgba(26, 38, 102, 0.20) 0%, rgba(255, 209, 26, 0.40) 50%, rgba(255, 219, 77, 0.20) 100%);
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 13%; /* Distributes items across the timeline */
    position: relative;
    border-radius: 13.386px;
    border: 1.116px solid rgba(26, 38, 102, 0.10);
    background: rgba(255, 255, 255, 0.50);
    box-shadow: 0 1.116px 2.231px 0 rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(2.2310569286346436px);
  padding: 15px;
}

.timeline-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    border: 3px solid; /* Border color is set inline */
    background-color: #fff; /* Ensures icon background sits on top of the line */
}

.timeline-icon img {
    width: 32px;
    height: 32px;
}

.timeline-content {
    padding: 0 5px;
}

.timeline-year {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1A2666;
    margin-bottom: 8px;
}

.timeline-title {
    font-weight: 600;
    font-size: 1rem;
    color: #0F1729;
    margin-bottom: 8px;
}

.timeline-description {
    font-size: 0.875rem;
    color: #65758B;
    line-height: 1.5;
    margin-bottom: 12px;
    min-height: 58px; /* Ensures alignment */
}

.timeline-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
}

/* --- Stats Section --- */
.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 50px 20px;
    border-top: 1px solid #F3F4F6;
    padding-bottom: 0px;
}

.stat-box {
    text-align: center;
    width: 20%;
    padding: 10px;
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1A2666;
    margin-bottom: 5px;
}

.stat-box p {
    font-size: 1rem;
    color: #475569;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .timeline {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .timeline::before {
        left: 50%;
        top: 0;
        bottom: 0;
        width: 2px;
        height: 100%;
        transform: translateX(-50%);
    }
    .timeline-item {
        width: 100%;
        max-width: 400px;
    }
     .timeline-description {
        min-height: auto;
    }
    .stats-container {
        gap: 20px;
    }
    .stat-box {
        width: 45%;
    }
}

@media (max-width: 576px) {
    .stat-box {
        width: 100%;
    }
}

/* WhatsApp Section Styles */
.whatsapp-section {
    background-color: #FCFBF8;
    padding: 60px 0;
}

.whatsapp-header-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.need-help-tag {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #EFE1B3;
    background-color: #FEF9E8;
    border-radius: 999px;
    color: #D5A92E;
    font-weight: 500;
    margin-bottom: 1rem;
}

.whatsapp-title {
    font-size: 2.5rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 1rem;
}

.whatsapp-title span {
    color: #D5A92E;
}

.whatsapp-subtitle {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.whatsapp-card-container {
    max-width: 900px;
    margin: 40px auto;
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    border-radius: 15px;
    border: 1px solid #BEBABA;
    background: #FFF;
    margin-bottom: 0px;
}

/* Left Side */
.whatsapp-info {
    flex: 1;
    min-width: 300px;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.whatsapp-icon-bg {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #000000;
    font-weight: 600;
}

.info-header p {
    margin: 5px 0 0;
    color: #65758B;
}

.whatsapp-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.whatsapp-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #1A2666;
}

/* Right Side */
.whatsapp-action {
    flex-shrink: 0;
    text-align: center;
}

.whatsapp-button {
    display: block;
    background-color: #2A276C;
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: background-color 0.3s ease;
    border-radius: 10px;
    background: linear-gradient(90deg, #1A2666 0%, rgba(26, 38, 102, 0.00) 100%), #2A276C;
}

.whatsapp-button:hover {
    background-color: #1A2666; /* A slightly darker shade for hover */
}

.whatsapp-phone {
    color: #444;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Responsive Styles */
@media (max-width: 820px) {
    .whatsapp-card-container {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .info-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .whatsapp-info ul {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .whatsapp-title {
        font-size: 2rem;
    }
    
    .info-header h3 {
        font-size: 1.25rem;
    }

    .whatsapp-info li {
        font-size: 1rem;
    }

    .whatsapp-card-container {
        padding: 20px;
    }
}
.building-sec-parent{
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.modern-artitecture-card1{
  border-radius: 12px;
  border: 1px solid #E1E7EF;
  background: #FFF;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap:15px;
  margin-block: 20px;
  width: 600px;
}
@media(max-width:1250px){
  .building-sec-parent{
    flex-direction: column;
    align-items: center;
  }
}
@media(max-width:768px){
  .MIC-building-image{
    width: 400px;
  }
  .modern-artitecture-card1{
    width: 400px;
  }
}

@media(max-width:500px){
  .MIC-building-image{
    width: 350px;
  }
  .modern-artitecture-card1{
    width: 350px;
  }
}
.whatsapp-card-container-parent{
  border-radius: 13.168px;
  border: 1.097px solid rgba(26, 38, 102, 0.20);
  background: rgba(255, 255, 255, 0.50);
  box-shadow: 0 1.097px 2.195px 0 rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(2.194711446762085px);
  padding: 25px;
}
.features-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}


.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}
.feature-icon.blue { background-color: #DBEAFE; }
.feature-icon.purple { background-color: #F3E8FF; }
.feature-icon.green { background-color: #D1FAE5; }

.feature-item h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 4px;
}

@media(max-width:768px){
  .features-grid {
    flex-direction: column;
}
}

.gallery-section {
    padding: 80px 0;
    text-align: center;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 40px;
}

.grid-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.specialist-avatar {
  width: 100px; /* Adjust size as needed */
  height: 100px;
  border-radius: 50%; /* Makes it circular */
  overflow: hidden;
  margin: 0 auto 1rem;
}

.specialist-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* Ensures image fills the circle */
  object-position: top; /* FOCUSES ON THE TOP (HEAD) INSTEAD OF CENTER */
}