/* =====================================================================
   Serene Path Care - Brand Stylesheet
   Applies brand guidelines v1.0 on top of the base theme.
   Always loaded AFTER style.css and responsive.css.
   ===================================================================== */

/* ----- Google Fonts ------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ----- CSS Custom Properties (Design Tokens) ------------------------ */
:root {
  /* Brand Colors */
  --color-primary:         #653F91;
  --color-primary-dark:    #4D336B;
  --color-primary-deeper:  #331C4D;
  --color-deep:            #331C4D;
  --color-lavender:        #AEA0BB;
  --color-dusk:            #594C66;

  /* Neutrals */
  --color-canvas:          #F7F7F7;
  --color-white:           #FFFFFF;
  --color-charcoal:        #2F2D30;
  --color-ash:             #41403E;

  /* Semantic */
  --color-success:         #2E7D57;
  --color-warning:         #B5600A;
  --color-error:           #C0392B;
  --color-info:            #1A73A7;

  /* Typography */
  --font-display:          'Playfair Display', Georgia, serif;
  --font-body:             'Inter', system-ui, sans-serif;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  /* Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-pill: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card:       0 2px 8px rgba(51, 28, 77, 0.08);
  --shadow-card-hover: 0 6px 20px rgba(101, 63, 145, 0.15);
  --shadow-nav:        0 2px 12px rgba(51, 28, 77, 0.10);
  --shadow-focus:      0 0 0 3px rgba(101, 63, 145, 0.25);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease-out;
}

/* ----- Base Typography ---------------------------------------------- */
body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background-color: var(--color-white);
  line-height: 1.65;
}

/* Display / H1 / H2 → Playfair Display */
h1, h2 {
  font-family: var(--font-display);
  color: var(--color-primary-deeper);
  line-height: 1.15;
}

h1 { font-size: 40px; }
h2 { font-size: 32px; line-height: 1.25; }

/* H3–H6 → Inter */
h3, h4, h5, h6 {
  font-family: var(--font-body);
  color: var(--color-primary-deeper);
}

h3 { font-size: 24px; line-height: 1.25; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 15px; }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  font-family: inherit;
  color: inherit;
}

p {
  color: var(--color-charcoal);
  line-height: 1.65;
  margin-bottom: 1em;
}

/* ----- Links -------------------------------------------------------- */
a,
a:visited {
  color: var(--color-primary);
  transition: color var(--transition-fast);
}
a:hover,
button:hover {
  color: var(--color-primary-dark);
  text-decoration: none;
}

/* ----- Buttons ------------------------------------------------------ */
.theme-btn,
.default-btn,
.btn-theme,
.view-doctors,
.btn-primary-brand {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  background: var(--color-primary) !important;
  background-image: none !important;
  color: var(--color-white) !important;
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  line-height: 1.5;
  min-height: 46px;
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}
.theme-btn:hover,
.default-btn:hover,
.btn-theme:hover,
.view-doctors:hover {
  background: var(--color-primary-dark) !important;
  background-image: none !important;
  color: var(--color-white) !important;
  box-shadow: var(--shadow-card-hover);
}

/* ----- Default background used on sections & banners --------------- */
.default-bg,
.bg-theme,
.section-bg {
  background: var(--color-primary) !important;
  background-image: none !important;
  color: var(--color-white);
}
.default-bg h1, .default-bg h2, .default-bg h3,
.default-bg h4, .default-bg h5, .default-bg h6,
.default-bg p, .default-bg a,
.bg-theme h1, .bg-theme h2, .bg-theme h3,
.bg-theme h4, .bg-theme h5, .bg-theme h6,
.bg-theme p, .bg-theme a {
  color: var(--color-white);
}

/* ----- Navigation --------------------------------------------------- */
.site-header,
.navbar,
.bsnav {
  background-color: #F4F3F4;
  box-shadow: var(--shadow-nav);
}

.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-charcoal);
  transition: color var(--transition-fast);
}

.navbar-nav .nav-item.activee > .nav-link,
.navbar-nav .nav-item:active > .nav-link,
.navbar-nav .nav-item:focus > .nav-link,
.navbar-nav .nav-item:hover > .nav-link {
  color: var(--color-primary) !important;
}

#header-one .navbar-brand img {
  max-width: 100px;
  height: auto;
}

/* Mobile nav drawer */
@media (max-width: 991px) {
  .navbar-collapse,
  .navbar-mobile {
    background-color: var(--color-primary-deeper);
  }
  .navbar-collapse .nav-link,
  .navbar-mobile .nav-link {
    color: var(--color-white) !important;
  }
  .navbar-collapse .nav-item.activee > .nav-link,
  .navbar-mobile .nav-item:hover > .nav-link {
    color: var(--color-lavender) !important;
  }
}

/* Toggler icon lines */
.navbar-toggler-icon {
  filter: invert(1);
}
.navbar-toggler {
  border-color: var(--color-primary);
}

/* ----- Top bar ------------------------------------------------------- */
.top-bar {
  background-color: var(--color-primary-deeper);
  color: var(--color-white);
  padding: 10px 0;
  font-size: 13px;
}
.top-bar p,
.top-bar a,
.top-bar i {
  color: var(--color-white) !important;
}
.top-bar .social-media li a {
  color: var(--color-lavender) !important;
  transition: color var(--transition-fast);
}
.top-bar .social-media li a:hover {
  color: var(--color-white) !important;
}

@media (max-width: 768px) {
  .top-bar {
    padding: 6px 0;
    font-size: 12px;
  }

  .top-bar p {
    margin-bottom: 5px;
  }

  .top-bar .social-media {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 575px) {
  .top-bar {
    padding: 5px 0;
    font-size: 11px;
  }

  .top-bar .float-left,
  .top-bar .float-right {
    width: 100%;
    text-align: center;
  }

  .top-bar .float-right {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .top-bar .social-media {
    justify-content: center;
    gap: 8px;
  }

  .top-bar .social-media li a {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .top-bar {
    padding: 4px 0;
    font-size: 10px;
  }

  .top-bar p,
  .top-bar a {
    font-size: 9px;
  }

  .top-bar .social-media li a {
    font-size: 9px;
  }
}

/* ----- Scrollbar (sbar_color_one / brand) --------------------------- */
body::-webkit-scrollbar { width: 8px; }
body::-webkit-scrollbar-track {
  background: var(--color-canvas);
  box-shadow: inset 0 0 6px var(--color-lavender);
}
body::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  box-shadow: inset 0 0 6px var(--color-primary);
}
body::-webkit-scrollbar-thumb:window-inactive {
  background: var(--color-primary-dark);
}

/* Back-to-top button */
#scroll {
  background: var(--color-primary) !important;
  border-radius: var(--radius-md);
  width: 60px;
  height: 60px;
  right: 10px;
  bottom: 52px;
}

#whatsapp-float {
  position: fixed;
  right: 10px;
  bottom: 124px;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-success);
  color: var(--color-white) !important;
  box-shadow: var(--shadow-card);
  z-index: 999;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

#whatsapp-float i {
  font-size: 28px;
  line-height: 1;
  color: var(--color-white) !important;
}

#whatsapp-float .wa-label {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: var(--color-primary-deeper);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

#whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

#whatsapp-float:hover .wa-label {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 767px) {
  #scroll {
    width: 44px;
    height: 44px;
    right: 10px;
    bottom: 45px;
  }

  #whatsapp-float {
    width: 44px;
    height: 44px;
    right: 10px;
    bottom: 97px;
  }

  #whatsapp-float i {
    font-size: 23px;
  }

  #whatsapp-float .wa-label {
    display: none;
  }
}

/* ----- Cards -------------------------------------------------------- */
.card,
.service-block,
.doctor-block,
.blog-block,
.department-block {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-lavender);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  background: var(--color-white);
}
.card:hover,
.service-block:hover,
.doctor-block:hover,
.blog-block:hover,
.department-block:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

/* ----- Form Inputs -------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="password"],
select,
textarea,
.form-control {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-charcoal);
  background: var(--color-white);
  border: 1.5px solid var(--color-lavender);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus,
.form-control:focus {
  border-color: var(--color-primary) !important;
  outline: none !important;
  box-shadow: var(--shadow-focus) !important;
}
::-webkit-input-placeholder { color: var(--color-dusk) !important; font-weight: 400; }
::-moz-placeholder           { color: var(--color-dusk) !important; font-weight: 400; }
:-ms-input-placeholder       { color: var(--color-dusk) !important; font-weight: 400; }

/* ----- Footer ------------------------------------------------------- */
footer,
.site-footer,
.footer-section {
  background-color: var(--color-primary-deeper) !important;
  color: var(--color-white);
}
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
.site-footer h1, .site-footer h2, .site-footer h3,
.site-footer h4, .site-footer h5, .site-footer h6 {
  color: var(--color-white);
  font-family: var(--font-display);
}
footer p, footer a,
.site-footer p, .site-footer a {
  color: var(--color-lavender);
}
footer a:hover,
.site-footer a:hover {
  color: var(--color-white);
}
/* ----- Hero / Banner sections --------------------------------------- */
.main-slider {
  position: relative;
}

/* ----- Accordion / FAQs -------------------------------------------- */
.accordion .card-header button,
.faq-title {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-primary-deeper);
}
.accordion .card-header button:hover,
.faq-title:hover {
  color: var(--color-primary);
}

/* ----- Preloader ---------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--color-primary-deeper), var(--color-primary));
  background-image: none !important;
  z-index: 999999999999;
}

.preloader::before {
  content: '';
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.22);
  border-top-color: var(--color-white);
  animation: serene-preloader-spin 1.1s linear infinite;
}

.preloader::after {
  content: '';
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  animation: serene-preloader-pulse 1.25s ease-out infinite;
}

@keyframes serene-preloader-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes serene-preloader-pulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* ----- Breadcrumb --------------------------------------------------- */
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--color-lavender);
}
.breadcrumb-item a {
  color: var(--color-primary);
}
.breadcrumb-item.active {
  color: var(--color-dusk);
}

@media (max-width: 768px) {
  .breadcrumb {
    font-size: 13px;
    padding: 8px 0;
  }

  .breadcrumb-item {
    margin-bottom: 4px;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    padding: 0 6px;
  }
}

@media (max-width: 575px) {
  .breadcrumb {
    font-size: 12px;
    padding: 6px 0;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    padding: 0 4px;
  }
}

@media (max-width: 480px) {
  .breadcrumb {
    font-size: 11px;
  }

  .breadcrumb-item {
    display: inline-block;
    padding-right: 4px;
  }
}

/* ----- Timetable / Tables ------------------------------------------ */
.timetable thead,
table thead {
  background: var(--color-primary);
  color: var(--color-white);
}
.timetable thead th,
table thead th {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-white);
}
.timetable tbody tr:hover,
table tbody tr:hover {
  background: rgba(101, 63, 145, 0.06);
}

/* ----- About section mission & vision cards ------------------------ */
.about_us .mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.about_us .mv-card {
  background: linear-gradient(180deg, rgba(101, 63, 145, 0.06), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(101, 63, 145, 0.18);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.about_us .mv-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-primary-deeper);
}

.about_us .mv-card p {
  margin-bottom: 0;
  color: var(--color-charcoal);
  font-size: 14px;
  line-height: 1.65;
}

.about_us .mv-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(101, 63, 145, 0.35);
}

.about_us .mission-card {
  border-left-color: var(--color-primary);
}

.about_us .vision-card {
  border-left-color: var(--color-primary-dark);
}

@media (max-width: 991px) {
  .about_us .mission-vision-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- Reduced-motion accessibility -------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ----- Services page redesign -------------------------------------- */
.serene-services-page {
  padding: 70px 0 80px;
  background: #F7F7F7;
}

.serene-services-heading {
  margin-bottom: 32px;
}

.serene-services-heading p {
  max-width: 760px;
  margin: 10px auto 0;
}

.serene-service-card {
  background: #FFFFFF;
  border: 1px solid rgba(101, 63, 145, 0.16);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(51, 28, 77, 0.08);
  padding: 24px 18px;
  margin-bottom: 24px;
  min-height: 245px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.serene-services-page .col-lg-3.col-md-6.col-sm-6 {
  display: flex;
  margin-bottom: 24px;
}

.serene-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(101, 63, 145, 0.16);
  border-color: rgba(101, 63, 145, 0.32);
}

.serene-service-card .service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #653F91;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.serene-service-card .service-icon-wrap i {
  font-size: 22px;
}

.serene-service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.serene-service-card p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.7;
}

.serene-service-process {
  margin-top: 16px;
}

.serene-service-process .heading {
  margin-bottom: 14px;
}

.serene-service-process .process-step {
  background: #FFFFFF;
  border: 1px solid rgba(101, 63, 145, 0.15);
  border-radius: 12px;
  padding: 22px 18px;
  margin-bottom: 20px;
  text-align: center;
  min-height: 196px;
}

.serene-service-process .process-step span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #4D336B;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.serene-service-process .process-step h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.serene-service-process .process-step p {
  margin-bottom: 0;
  font-size: 14px;
}

.serene-services-cta {
  margin-top: 16px;
  padding: 32px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #653F91, #4D336B);
  color: #FFFFFF;
}

.serene-services-cta h3,
.serene-services-cta p {
  color: #FFFFFF;
}

.serene-services-cta p {
  margin: 8px 0 18px;
}

.serene-services-cta .theme-btn {
  background: #FFFFFF !important;
  color: #653F91 !important;
}

.serene-services-cta .theme-btn:hover {
  background: #F4F3F4 !important;
  color: #4D336B !important;
}

/* Responsive Improvements for Services Page */
@media (max-width: 1199px) {
  .serene-service-card {
    padding: 20px 16px;
  }

  .serene-service-card h3 {
    font-size: 18px;
  }

  .serene-service-card p {
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  .serene-services-page {
    padding: 55px 0 65px;
  }

  .serene-services-heading {
    margin-bottom: 24px;
  }

  .serene-services-heading h1 {
    font-size: 32px;
  }

  .serene-services-heading p {
    font-size: 15px;
    max-width: 620px;
  }

  .serene-service-card {
    min-height: 220px;
    padding: 20px 16px;
    margin-bottom: 20px;
  }

  .serene-service-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .serene-service-card p {
    font-size: 14px;
  }

  .serene-service-process {
    margin-top: 12px;
  }

  .serene-service-process .heading h2 {
    font-size: 28px;
  }

  .serene-service-process .process-step {
    min-height: 170px;
    padding: 18px 16px;
    margin-bottom: 18px;
  }

  .serene-service-process .process-step h4 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .serene-service-process .process-step p {
    font-size: 13px;
  }

  .serene-services-cta {
    padding: 28px 20px;
    margin-top: 12px;
  }

  .serene-services-cta h3 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .serene-services-cta p {
    font-size: 14px;
    margin: 6px 0 16px;
  }

  .serene-services-cta .theme-btn {
    padding: 11px 24px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .serene-services-page {
    padding: 48px 0 56px;
  }

  .serene-services-heading {
    margin-bottom: 20px;
  }

  .serene-services-heading h1 {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .serene-services-heading p {
    font-size: 14px;
    max-width: 550px;
  }

  .serene-services-page .col-lg-3.col-md-6.col-sm-6 {
    margin-bottom: 18px;
  }

  .serene-service-card {
    min-height: auto;
    padding: 18px 14px;
    margin-bottom: 16px;
  }

  .serene-service-card .service-icon-wrap {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }

  .serene-service-card .service-icon-wrap i {
    font-size: 20px;
  }

  .serene-service-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .serene-service-card p {
    font-size: 13px;
    line-height: 1.6;
  }

  .serene-service-process .heading {
    margin-bottom: 12px;
  }

  .serene-service-process .heading h2 {
    font-size: 26px;
  }

  .serene-service-process .process-step {
    min-height: auto;
    padding: 16px 14px;
    margin-bottom: 16px;
    border-radius: 10px;
  }

  .serene-service-process .process-step span {
    width: 32px;
    height: 32px;
    font-size: 12px;
    margin-bottom: 8px;
  }

  .serene-service-process .process-step h4 {
    font-size: 15px;
    margin-bottom: 5px;
  }

  .serene-service-process .process-step p {
    font-size: 12px;
    line-height: 1.6;
  }

  .serene-services-cta {
    padding: 24px 18px;
    border-radius: 12px;
    text-align: center;
  }

  .serene-services-cta h3 {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .serene-services-cta p {
    font-size: 13px;
    margin: 4px 0 14px;
  }

  .serene-services-cta .theme-btn {
    padding: 10px 22px;
    font-size: 13px;
    min-height: 42px;
  }
}

@media (max-width: 575px) {
  .serene-services-page {
    padding: 40px 0 48px;
  }

  .serene-services-heading {
    margin-bottom: 16px;
  }

  .serene-services-heading h1 {
    font-size: 24px;
    margin-bottom: 6px;
  }

  .serene-services-heading p {
    font-size: 13px;
    max-width: 100%;
  }

  .serene-service-card {
    min-height: auto;
    padding: 16px 12px;
    margin-bottom: 14px;
    border-radius: 10px;
  }

  .serene-service-card .service-icon-wrap {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
  }

  .serene-service-card .service-icon-wrap i {
    font-size: 18px;
  }

  .serene-service-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
  }

  .serene-service-card p {
    font-size: 12px;
    line-height: 1.55;
  }

  .serene-service-process .heading h2 {
    font-size: 22px;
  }

  .serene-service-process .process-step {
    min-height: auto;
    padding: 14px 12px;
    margin-bottom: 14px;
    text-align: center;
  }

  .serene-service-process .process-step span {
    width: 28px;
    height: 28px;
    font-size: 11px;
    margin-bottom: 6px;
  }

  .serene-service-process .process-step h4 {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .serene-service-process .process-step p {
    font-size: 11px;
    line-height: 1.5;
  }

  .serene-services-cta {
    padding: 20px 16px;
    margin-top: 12px;
  }

  .serene-services-cta h3 {
    font-size: 18px;
    margin-bottom: 5px;
  }

  .serene-services-cta p {
    font-size: 12px;
    margin: 4px 0 12px;
  }

  .serene-services-cta .theme-btn {
    width: 100%;
    padding: 10px 18px;
    font-size: 12px;
    min-height: 40px;
  }
}

@media (max-width: 480px) {
  .serene-services-page {
    padding: 32px 0 40px;
  }

  .serene-services-heading h1 {
    font-size: 22px;
  }

  .serene-services-heading p {
    font-size: 12px;
  }

  .serene-service-card {
    padding: 14px 10px;
    margin-bottom: 12px;
  }

  .serene-service-card .service-icon-wrap {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
  }

  .serene-service-card .service-icon-wrap i {
    font-size: 16px;
  }

  .serene-service-card h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .serene-service-card p {
    font-size: 11px;
  }

  .serene-service-process .heading h2 {
    font-size: 20px;
  }

  .serene-service-process .process-step {
    padding: 12px 10px;
    margin-bottom: 12px;
  }

  .serene-service-process .process-step span {
    width: 26px;
    height: 26px;
    font-size: 10px;
    margin-bottom: 4px;
  }

  .serene-service-process .process-step h4 {
    font-size: 13px;
    margin-bottom: 3px;
  }

  .serene-service-process .process-step p {
    font-size: 10px;
  }

  .serene-services-cta {
    padding: 18px 14px;
  }

  .serene-services-cta h3 {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .serene-services-cta p {
    font-size: 11px;
    margin: 3px 0 10px;
  }

  .serene-services-cta .theme-btn {
    padding: 8px 16px;
    font-size: 11px;
    min-height: 38px;
  }
}

/* =====================================================================
   About Page - Welcome / Intro Section
   ===================================================================== */

.about-intro-section {
  padding: 88px 0 96px;
  background: var(--color-white);
  overflow: hidden;
}

/* --- Text column --- */
.about-intro-content {
  padding-right: 40px;
}

.about-intro-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: 6px 16px;
  background: rgba(101, 63, 145, 0.08);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 22px;
}

.about-intro-heading {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.12;
  color: var(--color-primary-deeper);
  margin-bottom: 22px;
}

.about-intro-heading span {
  color: var(--color-primary);
}

.about-intro-lead {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--color-charcoal);
  margin-bottom: 16px;
}

.about-intro-body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-ash);
  margin-bottom: 36px;
}

/* Stats row */
.about-intro-stats {
  display: flex;
  gap: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--color-lavender);
  border-bottom: 1px solid var(--color-lavender);
  margin-bottom: 36px;
}

.about-intro-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-intro-stat__number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.about-intro-stat__label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dusk);
}

/* CTA row */
.about-intro-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.about-intro-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 200ms ease, color 200ms ease;
}

.about-intro-link:hover {
  color: var(--color-primary-dark);
  gap: 14px;
}

/* --- Image column --- */
.about-intro-visual {
  position: relative;
  padding: 0 0 24px 24px;
}

.about-intro-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 80%;
  background: rgba(101, 63, 145, 0.06);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.about-intro-img-wrap {
  position: relative;
  z-index: 1;
}

.about-intro-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(51, 28, 77, 0.14);
  display: block;
}

/* Floating badge */
.about-intro-badge {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: var(--color-primary-deeper);
  color: #FFFFFF;
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 28px rgba(51, 28, 77, 0.30);
  max-width: 260px;
  z-index: 2;
}

.about-intro-badge__icon {
  font-size: 30px;
  color: var(--color-lavender);
  flex-shrink: 0;
}

.about-intro-badge strong {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 3px;
}

.about-intro-badge p {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-lavender);
  margin: 0;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 1199px) {
  .about-intro-section {
    padding: 70px 0 80px;
  }

  .about-intro-heading {
    font-size: 48px;
    line-height: 1.15;
  }

  .about-intro-lead {
    font-size: 17px;
  }

  .about-intro-stats {
    gap: 36px;
  }

  .about-intro-stat__number {
    font-size: 32px;
  }

  .about-intro-badge {
    bottom: -24px;
    left: -12px;
  }
}

@media (max-width: 991px) {
  .about-intro-section {
    padding: 60px 0 72px;
  }

  .about-intro-content {
    padding-right: 0;
    margin-bottom: 56px;
  }

  .about-intro-heading {
    font-size: 38px;
  }

  .about-intro-lead {
    font-size: 16px;
  }

  .about-intro-body {
    font-size: 14px;
  }

  .about-intro-stats {
    gap: 28px;
    padding: 20px 0;
  }

  .about-intro-stat {
    gap: 2px;
  }

  .about-intro-stat__number {
    font-size: 28px;
  }

  .about-intro-stat__label {
    font-size: 11px;
  }

  .about-intro-badge {
    bottom: -20px;
    left: 8px;
  }

  .about-intro-actions {
    gap: 16px;
  }

  .about-intro-link {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .about-intro-section {
    padding: 52px 0 60px;
  }

  .about-intro-content {
    margin-bottom: 40px;
  }

  .about-intro-label {
    font-size: 12px;
    padding: 5px 14px;
    margin-bottom: 14px;
  }

  .about-intro-heading {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .about-intro-lead {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .about-intro-body {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .about-intro-stats {
    gap: 20px;
    padding: 16px 0;
    border-top: none;
    border-bottom: none;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .about-intro-stat {
    flex: 1;
    min-width: 140px;
  }

  .about-intro-stat__number {
    font-size: 24px;
  }

  .about-intro-stat__label {
    font-size: 10px;
  }

  .about-intro-visual {
    padding: 0;
  }

  .about-intro-badge {
    position: static;
    margin-top: 16px;
    max-width: 100%;
    border-radius: 10px;
    padding: 16px 18px;
    bottom: auto;
    left: auto;
  }

  .about-intro-accent {
    display: none;
  }

  .about-intro-actions {
    gap: 12px;
    flex-wrap: wrap;
  }

  .theme-btn {
    width: 100%;
  }

  .about-intro-link {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .about-intro-section {
    padding: 44px 0 48px;
  }

  .about-intro-content {
    margin-bottom: 32px;
  }

  .about-intro-label {
    font-size: 11px;
    padding: 4px 12px;
    margin-bottom: 10px;
  }

  .about-intro-heading {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .about-intro-heading br {
    display: none;
  }

  .about-intro-lead {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 12px;
  }

  .about-intro-body {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .about-intro-stats {
    gap: 12px;
    padding: 12px 0;
    margin-bottom: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .about-intro-stat {
    min-width: auto;
  }

  .about-intro-stat__number {
    font-size: 20px;
  }

  .about-intro-stat__label {
    font-size: 9px;
    gap: 1px;
  }

  .about-intro-badge {
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 8px;
  }

  .about-intro-badge__icon {
    font-size: 26px;
  }

  .about-intro-badge strong {
    font-size: 13px;
  }

  .about-intro-badge p {
    font-size: 11px;
  }

  .about-intro-actions {
    gap: 10px;
  }

  .about-intro-link {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .about-intro-section {
    padding: 36px 0 40px;
  }

  .about-intro-content {
    margin-bottom: 24px;
  }

  .about-intro-label {
    font-size: 10px;
    padding: 3px 10px;
    margin-bottom: 8px;
  }

  .about-intro-heading {
    font-size: 22px;
    margin-bottom: 6px;
  }

  .about-intro-lead {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .about-intro-body {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .about-intro-stats {
    gap: 8px;
    padding: 10px 0;
    margin-bottom: 12px;
  }

  .about-intro-stat__number {
    font-size: 18px;
  }

  .about-intro-stat__label {
    font-size: 8px;
  }

  .about-intro-badge {
    margin-top: 10px;
    padding: 12px 14px;
  }

  .about-intro-badge__icon {
    font-size: 22px;
  }

  .about-intro-badge strong {
    font-size: 12px;
  }

  .about-intro-badge p {
    font-size: 10px;
  }

  .theme-btn,
  .about-intro-link {
    padding: 8px 16px;
    font-size: 12px;
    min-height: 40px;
  }
}

/* =====================================================================
   About Page - Mission & Vision Redesign
   ===================================================================== */

.about-mv-section {
  padding: 72px 0 80px;
  background: var(--color-canvas);
}

.about-mv-header {
  margin-bottom: 48px;
}

.about-mv-header h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary-deeper);
  margin-bottom: 12px;
}

.about-mv-header h1 span {
  color: var(--color-primary);
}

.about-mv-header p {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--color-dusk);
  letter-spacing: 0.02em;
  margin: 0;
}

/* Mission & Vision twin cards */
.about-mv-cards {
  margin-bottom: 48px;
}

.about-mv-card {
  border-radius: 16px;
  padding: 52px 44px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 250ms ease, box-shadow 250ms ease;
  margin-bottom: 24px;
}

.about-mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(51, 28, 77, 0.25);
}

.about-mv-card--mission {
  background: var(--color-primary);
}

.about-mv-card--vision {
  background: var(--color-primary-deeper);
}

.about-mv-card__icon {
  width: 76px;
  height: 76px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-mv-card__icon span {
  font-size: 34px;
  color: #FFFFFF;
}

.about-mv-card h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: 0.01em;
}

.about-mv-card p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.90);
  margin: 0;
}

/* Values row */
.about-mv-values {
  border-top: 1px solid var(--color-lavender);
  padding-top: 48px;
}

.about-mv-value {
  background: var(--color-white);
  border-radius: 12px;
  border: 1px solid var(--color-lavender);
  padding: 36px 28px;
  height: 100%;
  text-align: center;
  transition: box-shadow 250ms ease, transform 250ms ease;
  margin-bottom: 24px;
}

.about-mv-value:hover {
  box-shadow: 0 6px 24px rgba(101, 63, 145, 0.13);
  transform: translateY(-3px);
}

.about-mv-value__icon {
  font-size: 42px;
  color: var(--color-primary);
  display: block;
  margin: 0 auto 18px;
}

.about-mv-value h4 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-primary-deeper);
  margin-bottom: 10px;
}

.about-mv-value p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-ash);
  margin: 0;
}

@media (max-width: 1199px) {
  .about-mv-section {
    padding: 64px 0 72px;
  }

  .about-mv-header {
    margin-bottom: 40px;
  }

  .about-mv-header h1 {
    font-size: 36px;
  }

  .about-mv-header p {
    font-size: 16px;
  }

  .about-mv-card {
    padding: 44px 36px;
  }

  .about-mv-card h2 {
    font-size: 26px;
  }

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

  .about-mv-values {
    padding-top: 40px;
  }

  .about-mv-value {
    padding: 32px 24px;
  }

  .about-mv-value h4 {
    font-size: 16px;
  }

  .about-mv-value p {
    font-size: 13px;
  }
}

@media (max-width: 991px) {
  .about-mv-section {
    padding: 56px 0 64px;
  }

  .about-mv-header {
    margin-bottom: 36px;
  }

  .about-mv-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
  }

  .about-mv-header p {
    font-size: 15px;
  }

  .about-mv-card {
    padding: 36px 28px;
    gap: 20px;
  }

  .about-mv-card h2 {
    font-size: 24px;
  }

  .about-mv-card p {
    font-size: 14px;
    line-height: 1.7;
  }

  .about-mv-card__icon {
    width: 68px;
    height: 68px;
  }

  .about-mv-card__icon span {
    font-size: 30px;
  }

  .about-mv-values {
    padding-top: 36px;
  }

  .about-mv-value {
    padding: 28px 20px;
    margin-bottom: 20px;
  }

  .about-mv-value__icon {
    font-size: 36px;
    margin-bottom: 14px;
  }

  .about-mv-value h4 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .about-mv-value p {
    font-size: 12px;
    line-height: 1.6;
  }
}

@media (max-width: 768px) {
  .about-mv-section {
    padding: 48px 0 56px;
  }

  .about-mv-header {
    margin-bottom: 32px;
  }

  .about-mv-header h1 {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .about-mv-header p {
    font-size: 14px;
  }

  .about-mv-card {
    padding: 30px 24px;
    margin-bottom: 18px;
    gap: 16px;
  }

  .about-mv-card h2 {
    font-size: 22px;
  }

  .about-mv-card p {
    font-size: 13px;
  }

  .about-mv-card__icon {
    width: 60px;
    height: 60px;
  }

  .about-mv-card__icon span {
    font-size: 26px;
  }

  .about-mv-values {
    padding-top: 28px;
    border-top: 1px solid rgba(174, 160, 187, 0.5);
  }

  .about-mv-value {
    padding: 24px 18px;
    margin-bottom: 16px;
    border-radius: 10px;
  }

  .about-mv-value__icon {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .about-mv-value h4 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .about-mv-value p {
    font-size: 11px;
  }
}

@media (max-width: 575px) {
  .about-mv-section {
    padding: 40px 0 48px;
  }

  .about-mv-header {
    margin-bottom: 24px;
  }

  .about-mv-header h1 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .about-mv-header p {
    font-size: 13px;
  }

  .about-mv-card {
    padding: 24px 18px;
    margin-bottom: 14px;
    gap: 12px;
    border-radius: 12px;
  }

  .about-mv-card h2 {
    font-size: 20px;
    margin: 0;
  }

  .about-mv-card p {
    font-size: 12px;
    line-height: 1.6;
  }

  .about-mv-card__icon {
    width: 52px;
    height: 52px;
  }

  .about-mv-card__icon span {
    font-size: 22px;
  }

  .about-mv-values {
    padding-top: 20px;
  }

  .about-mv-value {
    padding: 20px 16px;
    margin-bottom: 14px;
    border-radius: 10px;
  }

  .about-mv-value__icon {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .about-mv-value h4 {
    font-size: 13px;
    margin-bottom: 5px;
  }

  .about-mv-value p {
    font-size: 10px;
    line-height: 1.55;
  }
}

@media (max-width: 480px) {
  .about-mv-section {
    padding: 32px 0 40px;
  }

  .about-mv-header {
    margin-bottom: 20px;
  }

  .about-mv-header h1 {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .about-mv-header p {
    font-size: 12px;
  }

  .about-mv-card {
    padding: 20px 16px;
    margin-bottom: 12px;
    gap: 10px;
  }

  .about-mv-card h2 {
    font-size: 18px;
  }

  .about-mv-card p {
    font-size: 11px;
  }

  .about-mv-card__icon {
    width: 46px;
    height: 46px;
  }

  .about-mv-card__icon span {
    font-size: 20px;
  }

  .about-mv-values {
    padding-top: 16px;
  }

  .about-mv-value {
    padding: 16px 12px;
    margin-bottom: 12px;
  }

  .about-mv-value__icon {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .about-mv-value h4 {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .about-mv-value p {
    font-size: 9px;
  }
}

/* ============================================================
   ABOUT PAGE - Doc Community CTA Section Responsive
   ============================================================ */

@media (max-width: 1199px) {
  .doc_community h1 {
    font-size: 40px;
    line-height: 1.2;
  }

  .doc_community p {
    font-size: 16px;
  }

  .mak_appointment a {
    padding: 12px 32px;
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  .doc_community {
    padding: 56px 0;
  }

  .doc_community h1 {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .doc_community p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .mak_appointment a {
    padding: 11px 28px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .doc_community {
    padding: 48px 0;
  }

  .doc_community h1 {
    font-size: 26px;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .doc_community p {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .mak_appointment a {
    padding: 10px 24px;
    font-size: 12px;
    min-height: 42px;
  }
}

@media (max-width: 575px) {
  .doc_community {
    padding: 40px 0;
  }

  .doc_community h1 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .doc_community p {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .mak_appointment a {
    padding: 9px 20px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .doc_community {
    padding: 32px 0;
  }

  .doc_community h1 {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .doc_community p {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .mak_appointment a {
    padding: 8px 18px;
    font-size: 10px;
    letter-spacing: 0.3px;
  }
}

/* ============================================================
   ABOUT PAGE - Testimonials Section Responsive
   ============================================================ */

@media (max-width: 991px) {
  .testimonial-section.home_five {
    padding: 56px 0;
  }

  .testimonial-section.home_five .heading h1 {
    font-size: 32px;
    margin-bottom: 32px;
  }

  .testimonial-section.home_five .testi_content {
    padding: 24px 18px;
    margin-bottom: 18px;
  }

  .testimonial-section.home_five .testi_content .client_det h6 {
    font-size: 14px;
  }

  .testimonial-section.home_five .testi_content p {
    font-size: 13px;
    line-height: 1.6;
  }
}

@media (max-width: 768px) {
  .testimonial-section.home_five {
    padding: 48px 0;
  }

  .testimonial-section.home_five .heading {
    margin-bottom: 40px;
  }

  .testimonial-section.home_five .heading h1 {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .testimonial-section.home_five .testi_content {
    padding: 20px 16px;
    margin-bottom: 16px;
  }

  .testimonial-section.home_five .testi_content .client_det h6 {
    font-size: 13px;
  }

  .testimonial-section.home_five .testi_content .client_det i {
    font-size: 24px;
    top: 16px;
    right: 16px;
  }

  .testimonial-section.home_five .testi_content p {
    font-size: 12px;
    margin: 12px 0 0 0;
  }
}

@media (max-width: 575px) {
  .testimonial-section.home_five {
    padding: 40px 0;
  }

  .testimonial-section.home_five .heading h1 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .testimonial-section.home_five .testi_content {
    padding: 16px 14px;
    margin-bottom: 14px;
  }

  .testimonial-section.home_five .testi_content .client_det h6 {
    font-size: 12px;
  }

  .testimonial-section.home_five .testi_content .client_det h6 span {
    font-size: 10px;
  }

  .testimonial-section.home_five .testi_content .client_det i {
    font-size: 20px;
    top: 14px;
    right: 14px;
  }

  .testimonial-section.home_five .testi_content p {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .testimonial-section.home_five {
    padding: 32px 0;
  }

  .testimonial-section.home_five .heading h1 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .testimonial-section.home_five .testi_content {
    padding: 14px 12px;
    margin-bottom: 12px;
  }

  .testimonial-section.home_five .testi_content .client_det h6 {
    font-size: 11px;
  }

  .testimonial-section.home_five .testi_content .client_det h6 span {
    font-size: 9px;
  }

  .testimonial-section.home_five .testi_content .client_det i {
    font-size: 18px;
    top: 12px;
    right: 12px;
  }

  .testimonial-section.home_five .testi_content p {
    font-size: 10px;
    line-height: 1.5;
  }
}

/* ============================================================
   CAREERS PAGE - careers.html
   ============================================================ */

/* --- Hero --- */
.careers-hero {
  padding: 80px 0 72px;
  background: var(--color-canvas);
}
.careers-hero__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(101, 63, 145, 0.08);
  border-left: 3px solid var(--color-primary);
  padding: 5px 14px;
  margin-bottom: 20px;
}
.careers-hero__heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 46px;
  font-weight: 700;
  color: var(--color-deep);
  line-height: 1.18;
  margin-bottom: 20px;
}
.careers-hero__heading span {
  color: var(--color-primary);
}
.careers-hero__sub {
  font-size: 16px;
  color: #5a5a5a;
  line-height: 1.75;
  max-width: 560px;
}
.careers-hero__stats {
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: center;
  margin-top: 40px;
  border-top: 1px solid #e0d8ea;
  padding-top: 32px;
}
.careers-hero__stat {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid #e0d8ea;
}
.careers-hero__stat:first-child { padding-left: 0; }
.careers-hero__stat:last-child {
  border-right: none;
  padding-right: 0;
}
.careers-hero__stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.careers-hero__stat-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #888;
}

/* --- Listings + Filter --- */
.careers-listings {
  padding: 64px 0 56px;
  background: #fff;
}
.careers-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.careers-filter__btn {
  padding: 9px 22px;
  border-radius: 50px;
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s;
}
.careers-filter__btn:hover,
.careers-filter__btn.active {
  background: var(--color-primary);
  color: #fff;
}

/* --- Job Card --- */
.career-card {
  background: #fff;
  border: 1px solid #ebe3f5;
  border-radius: 12px;
  padding: 32px 28px 28px;
  margin-bottom: 28px;
  transition: box-shadow 0.22s, transform 0.22s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.career-card:hover {
  box-shadow: 0 8px 32px rgba(101, 63, 145, 0.13);
  transform: translateY(-3px);
}
.career-card--closed {
  opacity: 0.68;
  pointer-events: none;
}
.career-card--closed .career-card__cta--disabled {
  pointer-events: none;
  cursor: default;
}
.career-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.career-card__status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}
.career-card__status--open {
  background: rgba(39, 174, 96, 0.1);
  color: #27ae60;
}
.career-card__status--closed {
  background: rgba(180, 180, 180, 0.15);
  color: #999;
}
.career-card__meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: #888;
}
.career-card__meta i {
  color: var(--color-primary);
  margin-right: 3px;
}
.career-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(101, 63, 145, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.career-card__icon span {
  font-size: 24px;
  color: var(--color-primary);
}
.career-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-deep);
  margin-bottom: 10px;
}
.career-card__desc {
  font-size: 14px;
  color: #5a5a5a;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}
.career-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.career-card__tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(101, 63, 145, 0.07);
  border-radius: 50px;
  padding: 4px 12px;
}
.career-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
  border-top: 1px solid #f0eaf7;
  padding-top: 16px;
  margin-top: auto;
}
.career-card__cta:hover {
  color: var(--color-deep);
  gap: 11px;
}
.career-card__cta--disabled {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #aaa;
  border-top: 1px solid #f0eaf7;
  padding-top: 16px;
  margin-top: auto;
}

/* --- Why Join Us --- */
.careers-why {
  padding: 72px 0 64px;
  background: var(--color-canvas);
}
.careers-why__heading {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--color-deep);
  margin-bottom: 10px;
}
.careers-why__heading span {
  color: var(--color-primary);
}
.careers-why__sub {
  font-size: 16px;
  color: #6b6b6b;
  margin-bottom: 48px;
}
.careers-why__card {
  background: #fff;
  border-radius: 10px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid #ebe3f5;
  transition: box-shadow 0.22s, transform 0.22s;
  margin-bottom: 24px;
}
.careers-why__card:hover {
  box-shadow: 0 6px 24px rgba(101, 63, 145, 0.10);
  transform: translateY(-3px);
}
.careers-why__icon {
  font-size: 40px;
  color: var(--color-primary);
  display: block;
  margin-bottom: 18px;
}
.careers-why__card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--color-deep);
  margin-bottom: 10px;
}
.careers-why__card p {
  font-size: 14px;
  color: #5a5a5a;
  line-height: 1.7;
  margin: 0;
}

/* --- General Application CTA --- */
.careers-general-cta {
  padding: 72px 0;
  background: var(--color-deep);
  text-align: center;
}
.careers-general-cta__icon {
  font-size: 48px;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 20px;
}
.careers-general-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.careers-general-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ============================================================
   CAREER DETAILS PAGE - career-details.html
   ============================================================ */

/* --- Two-column layout --- */
.career-detail-section {
  padding: 64px 0 72px;
  background: #fff;
}

/* --- Main content block --- */
.career-detail-main {
  padding-right: 20px;
}
.career-detail-title-block {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 2px solid #f0eaf7;
}
.career-detail-title {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--color-deep);
  margin-bottom: 16px;
}
.career-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.career-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
  letter-spacing: 0.4px;
}
.career-badge--open {
  background: rgba(39,174,96,0.1);
  color: #27ae60;
}
.career-badge--type {
  background: rgba(101,63,145,0.09);
  color: var(--color-primary);
}
.career-badge--location,
.career-badge--date {
  background: #f4f4f4;
  color: #555;
}
.career-badge--location i,
.career-badge--date i {
  margin-right: 4px;
}

/* --- Content blocks --- */
.career-detail-section-block {
  margin-bottom: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid #f0eaf7;
}
.career-detail-section-block:last-of-type {
  border-bottom: none;
}
.career-detail-section-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-deep);
  margin-bottom: 16px;
}
.career-detail-section-block p {
  font-size: 15px;
  color: #5a5a5a;
  line-height: 1.8;
  margin-bottom: 12px;
}
.career-detail-list {
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.career-detail-list li {
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.7;
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px dotted #ebe3f5;
}
.career-detail-list li:last-child {
  border-bottom: none;
}
.career-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* --- What We Offer grid --- */
.career-detail-offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.career-detail-offer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-canvas);
  border-radius: 10px;
  padding: 20px 18px;
  border: 1px solid #ebe3f5;
}
.career-detail-offer__icon {
  font-size: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.career-detail-offer strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-deep);
  margin-bottom: 5px;
}
.career-detail-offer p {
  font-size: 13px;
  color: #6a6a6a;
  line-height: 1.6;
  margin: 0;
}

/* --- Back link --- */
.career-detail-back {
  margin-top: 16px;
}
.career-detail-back__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s, color 0.2s;
}
.career-detail-back__link:hover {
  color: var(--color-deep);
  gap: 12px;
}

/* --- Sidebar --- */
.career-sidebar {
  position: sticky;
  top: 90px;
}

/* How to Apply box */
.career-apply-box {
  background: var(--color-deep);
  border-radius: 12px;
  padding: 32px 28px;
  margin-bottom: 24px;
  color: #fff;
}
.career-apply-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.career-apply-box > p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin-bottom: 18px;
}
.career-apply-box__email {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 12px 16px;
  text-decoration: none;
  margin-bottom: 16px;
  word-break: break-all;
  transition: background 0.2s;
}
.career-apply-box__email:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.career-apply-box__email i {
  font-size: 16px;
  flex-shrink: 0;
}
.career-apply-box__subject {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 13px;
}
.career-apply-box__subject span {
  display: block;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.career-apply-box__subject strong {
  color: #fff;
  font-size: 13px;
}
.career-apply-box__note {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 20px;
}
.career-apply-box__btn {
  width: 100%;
  text-align: center;
  display: block;
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
}
.career-apply-box__btn:hover {
  background: #7b52a8 !important;
  border-color: #7b52a8 !important;
}

/* Job Overview card */
.career-overview-box {
  background: #fff;
  border: 1px solid #ebe3f5;
  border-radius: 12px;
  padding: 28px 24px;
  margin-bottom: 24px;
}
.career-overview-box h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-deep);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #f0eaf7;
}
.career-overview-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.career-overview-box li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dotted #ebe3f5;
  font-size: 14px;
}
.career-overview-box li:last-child {
  border-bottom: none;
}
.career-overview-box__label {
  color: #888;
  display: flex;
  align-items: center;
  gap: 7px;
}
.career-overview-box__label i {
  color: var(--color-primary);
  width: 14px;
}
.career-overview-box__value {
  font-weight: 600;
  color: var(--color-deep);
}
.career-overview-box__value--open {
  color: #27ae60;
}

/* Other Open Positions */
.career-other-jobs {
  background: var(--color-canvas);
  border: 1px solid #ebe3f5;
  border-radius: 12px;
  padding: 28px 24px;
}
.career-other-jobs h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-deep);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #ebe3f5;
}
.career-other-jobs__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px dotted #ddd;
  text-decoration: none;
  transition: color 0.2s;
}
.career-other-jobs__item:last-of-type {
  border-bottom: none;
}
.career-other-jobs__item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-deep);
  margin-bottom: 3px;
  transition: color 0.2s;
}
.career-other-jobs__item:hover strong {
  color: var(--color-primary);
}
.career-other-jobs__item span {
  font-size: 12px;
  color: #888;
}
.career-other-jobs__item i {
  color: var(--color-primary);
  font-size: 13px;
  flex-shrink: 0;
}
.career-other-jobs__browse {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  margin-top: 16px;
  transition: gap 0.2s;
}
.career-other-jobs__browse:hover {
  gap: 11px;
  color: var(--color-deep);
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .careers-hero             { padding: 56px 0 48px; }
  .careers-hero__heading    { font-size: 34px; }
  .careers-hero__stats      { margin-top: 28px; padding-top: 24px; }
  .careers-hero__stat       { padding: 0 12px; }
  .career-detail-main       { padding-right: 0; margin-bottom: 40px; }
  .career-sidebar           { position: static; }
  .career-detail-offers     { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .careers-hero__heading    { font-size: 28px; }
  .career-detail-title      { font-size: 28px; }
  .career-detail-badges     { gap: 7px; }
  .careers-why__heading     { font-size: 26px; }
  .careers-general-cta h2  { font-size: 26px; }
}

/* ============================================================
   CONTACT PAGE - contact.html
   Enhances the template's own .contact_address / .contact_pg_form
   classes with brand styling.
   ============================================================ */

/* --- Outer wrapper --- */
.contact_address {
  padding: 72px 0 64px;
  background: #fff;
}

/* --- Left info column --- */
.contact_address_inner {
  padding-right: 32px;
}
.contact_our_office h2,
.contact_get_in_touch h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-deep);
  margin-bottom: 10px;
}
.contact_our_office h2 span,
.contact_get_in_touch h2 span {
  color: var(--color-primary);
}
.contact_our_office {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #f0eaf7;
}
.contact_our_office p {
  font-size: 15px;
  color: #4a4a4a;
  margin-bottom: 4px;
  line-height: 1.65;
}
.contact_area_note {
  font-size: 12px !important;
  color: #aaa !important;
  font-style: italic;
  margin-top: 4px;
}
.contact_get_in_touch {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #f0eaf7;
}
.contact_get_in_touch .mail,
.contact_get_in_touch .phone {
  margin-bottom: 18px;
}
.contact_get_in_touch p {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 4px;
  line-height: 1.3;
}
.contact_get_in_touch p a,
.contact_get_in_touch p.phne,
.contact_get_in_touch .phne {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0;
  text-transform: none;
  transition: color 0.2s;
}
.contact_get_in_touch p a:hover,
.contact_get_in_touch .phne:hover {
  color: var(--color-deep);
}
.contact_get_in_touch p:not(:first-child) {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #5a5a5a;
}

/* Social row */
.contact_social_media .contact_social_label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 12px;
}
.contact_social_media ul {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact_social_media ul li a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #e0d8ea;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.contact_social_media ul li a:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* --- Right form column --- */
.contact_pg_form {
  background: var(--color-canvas);
  border: 1px solid #ebe3f5;
  border-radius: 14px;
  padding: 40px 36px;
}
.contact_form_heading {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-deep);
  margin-bottom: 8px;
}
.contact_form_heading span {
  color: var(--color-primary);
}
.contact_form_sub {
  font-size: 14px;
  color: #6b6b6b;
  margin-bottom: 28px;
  line-height: 1.65;
}

/* form inputs */
.contact_pg_form .form-group {
  margin-bottom: 0;
}
.contact_pg_form input[type="text"],
.contact_pg_form input[type="email"],
.contact_pg_form textarea,
.contact_pg_form .contact_select {
  width: 100%;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  color: #333;
  background: #fff;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
  margin-bottom: 18px;
}
.contact_pg_form input[type="text"]:focus,
.contact_pg_form input[type="email"]:focus,
.contact_pg_form textarea:focus,
.contact_pg_form .contact_select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(101, 63, 145, 0.08);
}
.contact_pg_form textarea {
  resize: vertical;
  min-height: 130px;
}
.contact_pg_form .contact_select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23653F91' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
  color: #888;
}
.contact_pg_form .btn-send {
  width: auto;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-top: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.contact_pg_form .btn-send:hover {
  transform: translateY(-1px);
}

/* --- Map strip --- */
.contact_map_strip {
  line-height: 0;
  border-top: 3px solid var(--color-primary);
}
.contact_map_strip iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .contact_address        { padding: 52px 0 48px; }
  .contact_address_inner  { padding-right: 0; margin-bottom: 40px; }
  .contact_pg_form        { padding: 32px 24px; }
  .contact_get_in_touch p a,
  .contact_get_in_touch .phne { word-break: break-word; }
  .contact_social_media ul { flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .contact-us .top-bar p {
    white-space: normal;
    line-height: 1.4;
  }
  .contact_address { padding: 44px 0 40px; }
  .contact_address_inner { margin-bottom: 28px; }
  .contact_our_office,
  .contact_get_in_touch {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }
  .contact_pg_form {
    padding: 26px 18px;
    border-radius: 12px;
  }
  .contact_form_sub { margin-bottom: 20px; }
  .contact_pg_form input[type="text"],
  .contact_pg_form input[type="email"],
  .contact_pg_form textarea,
  .contact_pg_form .contact_select {
    margin-bottom: 14px;
    padding: 10px 12px;
  }
  .contact_pg_form .btn-send {
    width: 100%;
    text-align: center;
  }
  .contact_map_strip iframe { height: 300px; }
}
@media (max-width: 575px) {
  .contact_form_heading   { font-size: 22px; }
  .contact_our_office h2,
  .contact_get_in_touch h2 { font-size: 20px; }
  .contact_form_sub { font-size: 13px; line-height: 1.55; }
  .contact_map_strip iframe { height: 260px; }
}
@media (max-width: 420px) {
  .contact_pg_form { padding: 22px 14px; }
  .contact_social_media ul { gap: 6px; }
  .contact_social_media ul li a {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
  .contact_map_strip iframe { height: 230px; }
}

/* ============================================================
   FAQS PAGE - faqs.html
   ============================================================ */

.faq_sub {
  font-size: 15px;
  color: #6b6b6b;
  margin-top: 10px;
  margin-bottom: 0;
  line-height: 1.7;
}
.faq_sub a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}
.faq_sub a:hover {
  color: var(--color-deep);
}

.faq_cta_row {
  padding: 40px 0 8px;
}
.faq_cta_text {
  font-size: 16px;
  color: #5a5a5a;
  margin-bottom: 18px;
}

/* ============================================================
   HOMEPAGE RESPONSIVE TUNING - index.html (home-page-five)
   ============================================================ */

@media (max-width: 1199px) {
  .home-page-five .main-slider .main-slider-five .content {
    width: 100%;
    max-width: 760px;
    padding: 0 12px;
  }

  .home-page-five .main-slider .link-box .theme-btn {
    min-width: 170px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .home-page-five .main-slider .main-slider-five h1 {
    font-size: 48px;
    line-height: 54px;
  }

  .home-page-five .main-slider .main-slider-five h4 {
    letter-spacing: 8px;
  }
}

@media (max-width: 991px) {
  .home-page-five .main-slider .main-slider-five .slide {
    min-height: 700px;
    height: auto;
    padding: 180px 0 80px;
  }

  .home-page-five .main-slider .main-slider-five h1 {
    font-size: 40px;
    line-height: 46px;
  }

  .home-page-five .main-slider .main-slider-five h4 {
    letter-spacing: 6px;
    line-height: 24px;
  }

  .home-page-five .main-slider .main-slider-five .text {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 28px;
  }

  .home-page-five .main-slider .link-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .home-page-five .main-slider .main-slider-five .theme-btn.btn-dark {
    margin-left: 0;
  }

  .home-page-five .main-slider .link-box .theme-btn {
    min-width: 0;
    width: calc(50% - 6px);
    max-width: 230px;
    line-height: 1.3;
    min-height: 44px;
    padding: 8px 12px;
  }

  .home-page-five .service_section.hme-five .col_hf {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    text-align: center;
  }

  .home-page-five .service_section.hme-five .tp-service-btn {
    float: none;
    display: inline-block;
    margin-top: 4px;
  }

  .home-page-five .request_consult.hme-five .request_consult_inner {
    text-align: center;
  }

  .home-page-five .request_consult.hme-five .request_consult_inner .theme-btn {
    float: none;
    display: inline-block;
  }
}

@media (max-width: 767px) {
  .home-page-five .main-slider .main-slider-five .slide {
    min-height: 560px;
    padding: 130px 0 70px;
  }

  .home-page-five .main-slider .main-slider-five h1 {
    font-size: 31px;
    line-height: 38px;
    padding-top: 12px;
  }

  .home-page-five .main-slider .main-slider-five h4 {
    font-size: 14px;
    letter-spacing: 3px;
    line-height: 20px;
  }

  .home-page-five .main-slider .main-slider-five .text {
    font-size: 14px;
    line-height: 24px;
  }

  .home-page-five .main-slider .link-box {
    flex-direction: column;
    align-items: center;
  }

  .home-page-five .main-slider .main-slider-five .theme-btn {
    width: 100%;
    max-width: 280px;
    min-width: 0;
    line-height: 1.3;
    min-height: 44px;
    padding: 8px 12px;
  }

  .home-page-five .testimonial-section.home_five .testi_content {
    margin: 24px 0 20px;
    padding: 26px 18px;
  }

  .home-page-five .testimonial-section.home_five .testi_content .client_det i {
    top: 24px;
    right: 18px;
  }
}

@media (max-width: 480px) {
  .home-page-five .main-slider .main-slider-five .slide {
    min-height: 500px;
    padding: 110px 0 56px;
  }

  .home-page-five .main-slider .main-slider-five h1 {
    font-size: 26px;
    line-height: 33px;
  }

  .home-page-five .main-slider .main-slider-five h4 {
    letter-spacing: 1.5px;
  }

  .home-page-five .main-slider .main-slider-five .content {
    padding: 0 8px;
  }

  .home-page-five .main-slider .main-slider-five .theme-btn {
    max-width: 100%;
    font-size: 12px;
    letter-spacing: 0;
  }

  .home-page-five .request_consult.hme-five .request_consult_left h2 {
    font-size: 24px;
    line-height: 32px;
  }
}

/* ============================================================
   FOOTER RESPONSIVE IMPROVEMENTS
   ============================================================ */

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 40px !important;
  }

  .footer h2 {
    font-size: 18px !important;
  }

  .footer-widget {
    margin-bottom: 30px;
  }

  .footer-widget ul li {
    font-size: 13px;
    line-height: 24px;
  }

  .footer-widget p {
    font-size: 13px;
    line-height: 1.6;
  }

  .social-media {
    margin-top: 12px;
  }

  .social-media li a {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .footer {
    padding: 48px 0 32px !important;
  }

  .footer h2 {
    font-size: 16px !important;
    margin-bottom: 12px;
  }

  .footer-widget {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .footer-widget ul li {
    font-size: 12px;
    line-height: 22px;
  }

  .footer-widget p {
    font-size: 12px;
    line-height: 1.55;
  }

  .footer-widget.first img {
    max-width: 80px;
    height: auto;
  }

  .social-media li a {
    font-size: 13px;
  }

  .footer-text p span {
    display: inline-block;
    margin-right: 6px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 40px 0 24px !important;
  }

  .footer h2 {
    font-size: 14px !important;
  }

  .footer-widget {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .footer-widget.first img {
    max-width: 70px;
  }

  .footer-widget ul li {
    font-size: 11px;
    line-height: 20px;
  }

  .footer-widget p {
    font-size: 11px;
  }
}

/* Footer Last / Copyright section */
@media (max-width: 768px) {
  .footer-last {
    padding: 20px 0 !important;
  }

  .footer-last p {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .footer-last .right ul li {
    display: inline-block;
    margin-right: 12px;
  }
}

@media (max-width: 575px) {
  .footer-last {
    padding: 16px 0 !important;
  }

  .footer-last p,
  .footer-last ul li a {
    font-size: 11px;
  }

  .footer-last .left,
  .footer-last .right {
    text-align: center;
  }

  .footer-last .right ul li {
    display: block;
    margin-right: 0;
    margin-bottom: 4px;
  }
}

/* ============================================================
   GENERAL MOBILE IMPROVEMENTS
   ============================================================ */

@media (max-width: 768px) {
  /* Improve touch targets */
  .theme-btn,
  .default-btn,
  .btn-theme {
    min-height: 44px;
    font-size: 13px;
    padding: 10px 22px;
  }

  /* Better spacing for sections */
  .container {
    max-width: 100%;
    padding: 0 15px;
  }

}

@media (max-width: 575px) {
  /* Extra small improvements */
  .theme-btn,
  .default-btn,
  .btn-theme {
    min-height: 42px;
    font-size: 12px;
    padding: 9px 18px;
  }

  .container {
    padding: 0 12px;
  }

  p {
    line-height: 1.6;
  }

  h1 {
    line-height: 1.2;
  }

  h2, h3 {
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .theme-btn,
  .default-btn,
  .btn-theme {
    min-height: 40px;
    font-size: 11px;
    padding: 8px 16px;
  }
}
