/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
  --primary-color: #023566;
  --text-color: #000;
  --white: #fff;
  --font-main: "Outfit", serif;
  --heading-weight: 700;
  --heading-line-height: 35px;
}

* {
  box-sizing: border-box;
}

body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
a {
  font-family: var(--font-main);
}

body {
  margin: 0;
  overflow-x: hidden;
}

/* =========================================
   2. LAYOUT SYSTEM
   ========================================= */
.page-container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .page-container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .page-container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .page-container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .page-container {
    max-width: 1140px;
  }
}

.content-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.full-width {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

section {
  padding-left: 10px;
  padding-right: 10px;
}

/* =========================================
   3. HEADER & BANNER
   ========================================= */
section#section01 {
  padding-bottom: 8px;
  padding-top: 8px;
  background: var(--primary-color);
}

section#section01 p {
  color: var(--white);
  text-transform: uppercase;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0px;
  margin-bottom: 0px;
}

#section01 a {
  color: var(--white);
  text-decoration: none;
}

#section01 .full-width {
  padding-left: 0px;
  padding-right: 0px;
}

section#section0 {
  padding-bottom: 15px;
  padding-top: 15px;
}

#section0 .icons {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 999;
  display: flex;
  gap: 10px;
}

.whats img,
.phon img {
  width: 45px;
  background: none;
  border: none;
  display: block;
}

/* Responsive Banner Switching */
.desktop {
  display: block;
}

@media screen and (max-width: 768px) {
  #section1 .desktop {
    display: none;
  }

  #section11 .mobile {
    display: block;
  }
}

@media screen and (min-width: 769px) {
  #section11 .mobile {
    display: none;
  }

  #section1 .desktop {
    display: block;
  }
}

/* =========================================
   4. GLOBAL COMPONENTS & TYPOGRAPHY
   ========================================= */
.listitem1 a {
  text-decoration: none;
  font-size: 23px;
}

/* Global Reusable Typography */
h1 {
  color: var(--primary-color);
  text-align: center;
  font-size: 23px;
  /* Default h1 size */
  font-weight: var(--heading-weight);
  line-height: var(--heading-line-height);
  margin-bottom: 15px;
  margin-top: 15px;
  text-transform: uppercase;
}

h2 {
  color: var(--primary-color);
  text-align: center;
  font-size: 25px;
  /* Default h2 size */
  font-weight: var(--heading-weight);
  line-height: var(--heading-line-height);
  margin-bottom: 15px;
  margin-top: 15px;
}

h3 {
  color: var(--primary-color);
  text-align: center;
  font-size: 22px;
  font-weight: var(--heading-weight);
  line-height: 30px;
  margin-bottom: 15px;
}

p {
  color: var(--text-color);
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  padding: 10px 0px;
}

/* Sub-heading style */
h6.sub {
  background: var(--primary-color);
  display: inline-block;
  padding: 10px 20px;
  border-radius: 100px;
  margin: 0 auto;
  text-align: center;
  float: none;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}

/* Helper Class for Text Width Control */
.text-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 5px 20px;
}

/* Typography Responsive Adjustments */
@media screen and (max-width: 612px) {
  p {
    font-size: 17px;
    line-height: 30px;
    padding: 0px;
    text-align: center;
    /* Default center, specific overrides can be added */
  }

  .text-left-mobile {
    text-align: left;
  }
}

/* =========================================
   5. SECTIONS: WHY CHOOSE US
   ========================================= */
why-container {
  background: #e6e9ff;
  padding: 25px 20px;
  display: block;
  text-align: center;
}

why-title {
  font-size: 25px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 40px;
  display: block;
}

why-features {
  display: grid;
  max-width: 1100px;
  margin: 0 auto 40px auto;
  gap: 22px;
  grid-template-columns: repeat(5, 1fr);
}

why-item {
  background: var(--white);
  padding: 20px 15px;
  border-radius: 12px;
  display: block;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

why-item:hover {
  transform: translateY(-4px);
}

why-item-icon {
  display: block;
  margin-bottom: 12px;
}

why-item-icon img {
  width: 50px;
  display: block;
  margin: 0 auto;
}

why-item-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 4px;
}

why-item-text {
  font-size: 17px;
  color: #555;
  display: block;
}

@media (max-width: 1024px) {
  why-features {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

@media (max-width: 768px) {
  why-title {
    font-size: 25px;
  }
}

@media (max-width: 600px) {
  why-features {
    grid-template-columns: repeat(2, 1fr);
  }

  why-item {
    grid-column: span 1 !important;
  }

  why-item:last-child {
    grid-column: span 2 !important;
  }
}

/* =========================================
   6. SECTIONS: EXPERT DOCTORS
   ========================================= */
.expert-title {
  text-align: center;
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.expert-card {
  background: var(--white);
  max-width: 850px;
  margin: 0 auto;
  padding: 30px;
}

.expert-header {
  text-align: center;
  margin-bottom: 25px;
}

.expert-photo {
  width: 125px;
  height: 125px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
}

.expert-name {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--primary-color);
}

.expert-role {
  font-size: 17px;
  margin: 5px 0 15px;
  color: #333;
}

.expert-tag {
  display: inline-block;
  font-size: 17px;
  background: var(--primary-color);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 6px;
}

.expert-details {
  font-size: 17px;
  line-height: 1.7;
  color: #222;
}

.expert-details ul {
  margin: 15px 0;
  padding-left: 20px;
}

.expert-details ul li {
  margin-bottom: 8px;
}

@media (min-width: 820px) {
  .expert-card {
    padding: 40px 50px;
  }

  .expert-name {
    font-size: 24px;
  }

  .expert-photo {
    width: 130px;
    height: 130px;
  }
}

/* =========================================
   7. SECTIONS: APPOINTMENT FORM
   ========================================= */
#section3 {
  margin-top: 20px;
}

.appointment-box,
.appointment-boxx {
  max-width: 1300px;
  margin: 10px auto;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--white);
  margin-top: 10px;
}

.appointment-box {
  margin-bottom: 15px;
}

.appointment-boxx {
  margin-bottom: 60px;
}

.appointment-header h2 {
  background: var(--primary-color);
  text-align: center;
  color: var(--white);
  padding: 15px 20px;
  font-size: 23px;
  font-weight: 700;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin-bottom: 0px;
}

.appointment-content {
  background-color: var(--white);
  text-align: center;
  padding: 14px 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border: 1px solid var(--primary-color);
}

.appointment-content p {
  font-size: 13px;
  color: #030303;
  margin-top: 0.5rem;
}

.appointment-row {
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.appointment-row form {
  color: var(--text-color);
}

.appointment-row .control {
  margin-right: 10px;
}

.appointment-row input {
  min-width: 200px;
  padding: 10px;
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  font-size: 16px;
  margin-bottom: 15px;
  height: auto;
  font-weight: 600;
  line-height: normal;
}

.appointment-row input:last-of-type {
  padding-bottom: 10px;
}

.appointment-row button {
  background-color: var(--primary-color);
  font-size: 20px;
  color: var(--white);
  font-weight: bold;
  border: none;
  border-radius: 4px;
  padding: 13px 50px;
  cursor: pointer;
  margin-top: 5px;
  white-space: nowrap;
}

.appointment-row button:hover {
  background-color: #054775;
}

@media (max-width: 768px) {
  .appointment-row {
    flex-direction: column;
  }

  .appointment-row input,
  .appointment-row button {
    width: 100%;
  }

  .appointment-row input:last-of-type {
    margin-bottom: 1rem;
  }
}

/* =========================================
   8. FOOTER & MAP
   ========================================= */
.map {
  width: 100%;
  height: 300px;
  border: none;
  margin-top: 15px;
}

.map-container {
  background: #e6e9ff;
  color: rgb(57, 54, 55);
  padding: 10px;
  font-size: 18px;
  font-weight: bold;
  text-align: left;
  margin-top: -3px;
  width: 100%;
  max-width: 600px;
  height: 450px;
}

@media (max-width: 600px) {
  .map-container {
    font-size: 16px;
    padding: 10px;
  }
}

/* ===========================
   9. MOBILE BOTTOM MENU
   =========================== */

ul.bottom-menu {
  display: none;
}

@media only screen and (max-width:768px) {
  ul.bottom-menu {
    background: transparent;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55px;
    width: 100%;
    color: var(--white);
    z-index: 9999;
    display: flex !important;
    margin: 0;
    padding: 0;
  }

  ul.bottom-menu li {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  ul.bottom-menu li:nth-of-type(1) {
    background: rgb(155, 11, 11);
  }

  ul.bottom-menu li:nth-of-type(2) {
    background: rgb(22, 162, 75);
  }

  @keyframes shine {
    0% {
      left: -100%;
    }

    28.5714%,
    100% {
      left: 100%;
    }
  }

  ul.bottom-menu li:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent);
    animation: shine 2s ease-in-out infinite;
  }

  ul.bottom-menu li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--white);
    font-size: 18px;
    text-decoration: none;
  }

  ul.bottom-menu li i {
    font-size: 20px;
    margin-right: 8px;
  }

  ul.bottom-menu li i.fa.fa-phone {
    transform: rotate(90deg);
  }
}

/* =========================================
   10. TREATMENTS SECTION
   ========================================= */
.treatments-section {
  padding: 30px 0;
  background-color: #fff;
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.treatment-card {
  text-align: center;
  background: #fff;
  padding-bottom: 20px;
}

.treatment-card img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
  object-fit: cover;
  height: auto;
  display: block;
}

.treatment-card h3 {
  font-size: 21px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 10px;
  line-height: 1.4;
}

.treatment-card p {
  font-size: 17px;
  line-height: 1.4;
  color: #333;
  padding: 0 10px;
  margin: 0;
  text-align: left;
}

.treatment-card strong {
  font-weight: 600;
  color: #000;
}

/* Center the last item (7th) if it's the only one in the row */
.treatment-card:last-child {
  grid-column: auto;
}

@media (min-width: 993px) {

  /* If exactly 7 items, 7th item is in row 3, col 1. To center it: */
  /* .treatments-grid > :last-child { grid-column: 2; } */
  /* Or specifically for the 7th item */
  .treatments-grid> :nth-child(7) {
    grid-column: 2;
  }
}


/* Responsive Grid */
@media (max-width: 992px) {
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .treatments-grid> :nth-child(7) {
    grid-column: auto;
    /* Reset */
    grid-column: span 2;
    /* Full width on tablet */
  }
}

@media (max-width: 768px) {
  .treatments-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .treatments-grid> :nth-child(7) {
    grid-column: auto;
    /* Reset */
  }
}

/* =========================================
   11. CERTIFIED PROFESSIONALS SECTION
   ========================================= */
.certified-section {
  padding: 30px 0;
  background-color: #e6f4ff;
  /* Light blue based on image */
}

/* Page container usually has width, so grid inside it */
.doc-profile-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
  align-items: start;
}

.doc-image-col {
  text-align: center;
}

.doc-img-main {
  width: 100%;
  border-radius: 20px;
  border: 1px solid #d1d1d1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 5px;
  max-height: 400px;
  object-fit: cover;
  object-position: top;
}

.doc-name-main {
  color: #6a1b9a;
  /* Purple */
  font-size: 22px;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 5px;
  text-align: center;
}

.doc-info-col h3 {
  text-align: left;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  line-height: 1.4;
  margin-bottom: 20px;
  margin-top: 0;
}

.doc-info-col p {
  text-align: left;
  font-size: 17px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 15px;
  padding: 0;
}

.doc-info-col strong {
  font-weight: 700;
  color: #000;
}

/* Doctor List Buttons Section */
.doc-list {
  margin-top: 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center everything */
}

.doc-list h4 {
  font-size: 24px;
  /* Title size from image */
  font-weight: 700;
  margin-top: 15px;
  margin-bottom: 20px;
  color: #000;
  text-align: center;
}

.btn-doc {
  display: block;
  width: 100%;
  max-width: 350px;
  /* Limit width */
  margin: 8px auto;
  /* Center horizontally */
  padding: 15px;
  background-color: #004080;
  /* Dark Blue from image */
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  text-align: center;
  border-radius: 0;
  /* Rectangular as per image */
  transition: 0.3s;
}

.btn-doc:hover {
  background-color: #003366;
}

.btn-learn-more {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  width: 200px;
  padding: 10px 0;
  border: 1px solid #004080;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  /* Rounded corners for Learn More */
  background: #fff;
  font-size: 18px;
}

.btn-learn-more:hover {
  background: #f0f8ff;
}

/* Responsive */
@media (max-width: 900px) {
  .doc-profile-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .doc-image-col {
    max-width: 400px;
    /* Limit image width on mobile */
    margin: 0 auto;
  }

  .doc-info-col h3 {
    text-align: center;
    font-size: 18px;
  }

  .doc-info-col p {
    text-align: left;
  }
}

/* =========================================
   12. WHO SHOULD TRY SECTION
   ========================================= */
.who-try-section {
  padding: 40px 0;
  background-color: #fff;
  text-align: center;
}

.who-try-section h2 {
  color: #0d47a1;
  /* Dark Blue */
  font-size: 25px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.4;
  margin-bottom: 30px;
}

.who-try-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.perfect-for-box {
  border: 2px solid #0d47a1;
  border-radius: 15px;
  padding: 25px;
  max-width: 600px;
  margin: 0 auto 30px;
  text-align: left;
  background-color: #fff;
}

.perfect-for-box h3 {
  color: #000;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  margin-top: 0;
  text-align: left;
}

.perfect-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.perfect-list li {
  display: flex;
  /* Flexbox for alignment */
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 17px;
  color: #333;
  line-height: 1.4;
  font-weight: 500;
}

.perfect-list li i.fa-check-circle {
  color: #0d47a1;
  /* Blue check */
  background: #fff;
  border-radius: 50%;
  font-size: 22px;
  margin-right: 12px;
  margin-top: 2px;
  /* Slight alignment adjustment */
}

.bottom-text {
  font-size: 17px;
  color: #333;
  margin-top: 20px;
  line-height: 1.5;
}

.bottom-text strong {
  font-weight: 700;
  color: #000;
}

@media (max-width: 600px) {
  .who-try-section {
    padding-bottom: 0px;
  }

  .who-try-section h2 {
    font-size: 22px;
  }

  .perfect-for-box h3 {
    font-size: 20px;
  }

  .perfect-list li {
    font-size: 16px;
  }
}

/* =========================================
   13. WHY CHOOSE SECTION
   ========================================= */
.why-choose-section {
  padding: 40px 0;
  background-color: #002b5c;
  /* Deep Dark Blue */
  text-align: center;
}

.why-choose-section h2 {
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.4;
  margin-bottom: 50px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

.why-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 200px;
  /* Taller cards like image */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.why-card:hover {
  transform: translateY(-5px);
}

.why-card i {
  font-size: 45px;
  color: #002b5c;
  /* Match bg blue */
  margin-bottom: 20px;
}

.why-card p {
  color: #002b5c;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  padding: 0;
  text-transform: capitalize;
}

.why-bottom-text {
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  margin-top: 50px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .why-choose-section {
    padding: 30px 0;
  }

  .why-choose-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .why-card {
    min-height: 160px;
    padding: 20px;
  }

  .why-card i {
    font-size: 35px;
  }

  .why-card p {
    font-size: 15px;
  }
}

/* =========================================
   14. REVIEWS SECTION
   ========================================= */
.reviews-section {
  padding: 50px 0;
  background-color: #fff;
  text-align: center;
}

.reviews-section h2 {
  color: #004080;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.reviews-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 20px 10px;
  max-width: 1000px;
  margin: 0 auto;
  scrollbar-width: none;
  /* Hide scrollbar Firefox */
}

.reviews-slider::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar Chrome/Safari */
}

.review-card {
  flex: 0 0 100%;
  max-width: 400px;
  /* Card width */
  scroll-snap-align: center;
  background: #fff;
  border: 1px solid #004080;
  border-radius: 15px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.review-text {
  font-size: 16px;
  color: #000;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
}

.review-author {
  font-size: 16px;
  font-weight: 700;
  color: #004080;
  text-transform: uppercase;
  text-align: right;
}

/* Dots */
.review-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.review-dot {
  width: 12px;
  height: 12px;
  background-color: #004080;
  border-radius: 50%;
  opacity: 0.5;
}

.review-dot.active {
  opacity: 1;
}


/* =========================================
   15. FAQ SECTION
   ========================================= */
.faq-section {
  padding: 50px 0;
  background-color: #e6f4ff;
  /* Light Blue */
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  gap: 15px;
}

.faq-header i {
  font-size: 30px;
  color: #004080;
}

.faq-section h2 {
  color: #004080;
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid #aaccff;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: #004080;
  background: #fff;
  transition: background 0.3s;
}

.faq-question:hover {
  background-color: #f9f9ff;
}

.faq-question i {
  transition: transform 0.3s;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 20px;
  background: #fff;
}

.faq-item.active .faq-answer {
  border-top: 1px solid #f0f0f0;
  padding: 15px 20px;
  max-height: 200px;
  /* Limit expansion */
}

.faq-answer p {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

.review-card {
  flex: 0 0 90%;
}


/* =========================================
   16. FOOTER CONTACT SECTION
   ========================================= */
.custom-footer {
  background-color: #002b5c;
  /* Deep Dark Blue matching Why Choose */
  padding: 40px 10px;
  text-align: center;
  color: #fff;
  /* Explicitly set font */
  margin-top: 0;
}

.custom-footer h2 {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #fff;
  text-transform: capitalize;
}

.custom-footer h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #e6f4ff;
  letter-spacing: 0.5px;
}

.footer-highlight {
  font-size: 17px;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
  color: #ffffff;
}

.footer-highlight i {
  color: #ffd700;
  /* Gold star */
  margin-right: 10px;
}

.footer-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Align left for text readability */
  gap: 20px;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile: Center the container items by default, but text remains left aligned inside item */
@media (max-width: 899px) {
  .footer-details {
    align-items: center;
  }
}

.footer-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  text-align: left;
  width: 100%;
  font-size: 17px;
  line-height: 1.5;
  color: #fff;
}

.footer-detail-item i {
  font-size: 22px;
  color: #fff;
  min-width: 30px;
  /* Fixed width for alignment */
  text-align: center;
  margin-top: 3px;
}

.footer-detail-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: 17px;
  font-weight: 700;
}

.footer-detail-item a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
}

.footer-detail-item a:hover {
  text-decoration: underline;
}

/* CTA Button */
.footer-cta {
  background-color: #fff;
  color: #002b5c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: transform 0.3s, box-shadow 0.3s;
  max-width: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
  margin-bottom: 35px;
}

.footer-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-arrow-circle {
  width: 40px;
  height: 40px;
  background-color: #002b5c;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

/* Responsive Desktop Tweaks */
@media (min-width: 900px) {
  .footer-details {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    /* Spread slightly */
    align-items: flex-start;
    gap: 40px;
  }

  .footer-detail-item {
    flex: 0 1 45%;
    /* Two columns */
  }

  /* Center the last 2 items if needed, or just keep grid */

  .custom-footer h2 {
    font-size: 25px;
  }

  .footer-cta {
    padding: 15px 40px;
    font-size: 20px;
  }
}