:root {
    --primary: #1a5492;
    --primary-dark: #1a5492;
    --accent: #d83a75;
    --white: #ffffff;
    --primary-rgb: 26, 84, 146;
    --accent-rgb: 216, 58, 117;
    --shadow: 0 18px 45px rgba(var(--primary-rgb), .18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
    background: var(--white);
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
p, li, span, small, label, .lead, .small, .text-muted, .card-text, .footer-text, .accordion-body { color: var(--primary) !important; }
strong, b, h1, h2, h3, h4, h5, h6 { color: var(--primary); }
.topbar {
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
    padding: 9px 0;
    border-bottom: 4px solid var(--accent);
}
.topbar, .topbar *, .topbar a { color: var(--white) !important; }
.site-navbar { padding: 10px 0; z-index: 1030; border-bottom: 2px solid rgba(var(--primary-rgb), .18); }
.bg-white, .text-bg-light { background-color: var(--white) !important; }
.shadow-sm { box-shadow: 0 8px 28px rgba(var(--primary-rgb), .10) !important; }
.site-logo {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), .18);
}
.brand-text { line-height: 1.1; color: var(--primary); font-size: 17px; }
.brand-text small { display: block; color: var(--accent) !important; font-weight: 700; letter-spacing: .5px; }
.navbar .nav-link {
    font-weight: 700;
    color: var(--primary) !important;
    padding: 10px 12px !important;
    position: relative;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--accent) !important; }
.navbar .nav-link:after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    transform: scaleX(0);
    background: var(--accent);
    transition: .3s ease;
}
.navbar .nav-link:hover:after,
.navbar .nav-link.active:after { transform: scaleX(1); }
.navbar-toggler { border: 2px solid var(--primary); }
.navbar-toggler:focus { box-shadow: 0 0 0 .18rem rgba(var(--accent-rgb), .22); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a5492' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important; }
.dropdown-menu {
    border: 2px solid var(--primary);
    border-top: 4px solid var(--accent);
    box-shadow: var(--shadow);
    border-radius: 0 0 18px 18px;
    padding: 12px;
    background: var(--white);
}
@media (min-width: 1200px) {
    .dropdown:hover .dropdown-menu { display: block; margin-top: 0; }
    .mega-menu-wide { min-width: 560px; columns: 2; }
}
.dropdown-item {
    border-radius: 10px;
    padding: 9px 12px;
    color: var(--primary) !important;
    font-weight: 600;
}
.dropdown-item:hover { background: var(--accent); color: var(--white) !important; }
.btn-appointment,
.btn-custom,
.btn-send,
.btn-primary,
.btn-secondary {
    background: var(--accent) !important;
    color: var(--white) !important;
    border: 2px solid var(--accent) !important;
    border-radius: 50px;
    padding: 11px 22px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(var(--accent-rgb), .25);
    transition: .3s ease;
}
.btn-appointment:hover,
.btn-custom:hover,
.btn-send:hover,
.btn-primary:hover,
.btn-secondary:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(var(--primary-rgb), .22);
}
.site-main { min-height: 55vh; }
section { position: relative; background: var(--white); }
#hero-slider,
.hero-slider { background: var(--white); border-bottom: 4px solid var(--primary); }
.carousel-inner { overflow: hidden; }
.carousel-item img { width: 100%; height: auto; display: block; }
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    background-size: 55%;
}
.carousel-indicators [data-bs-target] { width: 12px; height: 12px; border-radius: 50%; background-color: var(--accent); }
.section-title,
section h2,
.page-container h1 {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -.5px;
}
.highlight-text,
.text-primary,
.text-secondary { color: var(--accent) !important; }
.underline {
    width: 72px;
    height: 4px;
    background: var(--accent);
    margin: 14px auto 0;
    border-radius: 10px;
}
.custom-card,
.service-card,
.doctor-card,
.contact-card,
.card {
    border: 2px solid rgba(var(--primary-rgb), .18) !important;
    border-radius: 22px !important;
    box-shadow: var(--shadow) !important;
    transition: .35s ease;
    overflow: hidden;
    background: var(--white) !important;
    color: var(--primary) !important;
}
.custom-card,
.contact-card { border-left: 6px solid var(--accent) !important; }
.card:hover,
.custom-card:hover,
.service-card:hover,
.doctor-card:hover,
.contact-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent) !important;
    box-shadow: 0 24px 55px rgba(var(--accent-rgb), .20) !important;
}
.service-card { height: 100%; }
.service-card .card-body { display: flex; flex-direction: column; }
.card-title { color: var(--primary) !important; font-weight: 800; white-space: normal; }
.card-text { color: var(--primary) !important; }
.card-img-top { height: 215px; object-fit: cover; transition: .45s ease; }
.service-card:hover .card-img-top { transform: scale(1.05); }
.doctor-card { background: var(--white) !important; padding: 24px; border-top: 6px solid var(--accent) !important; }
.doctor-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 18px;
    border: 3px solid var(--primary);
    box-shadow: 0 14px 32px rgba(var(--primary-rgb), .15);
    object-position: center;
}
.content-img { max-width: 100%; border-radius: 24px; border: 3px solid var(--primary); box-shadow: var(--shadow); }
.section-container { background: var(--white); }
.form-control,
.form-select,
textarea {
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    background-color: var(--white) !important;
    padding: 13px 14px;
    border-radius: 14px;
}
.form-control::placeholder,
textarea::placeholder { color: var(--primary) !important; opacity: .8; }
.form-control:focus,
.form-select:focus,
textarea:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 .2rem rgba(var(--accent-rgb), .16) !important; }
.accordion-item {
    background-color: var(--white) !important;
    border: 2px solid rgba(var(--primary-rgb), .18) !important;
    border-radius: 18px !important;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.accordion-button {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    font-weight: 700;
    border: 0 !important;
}
.accordion-button::after { filter: brightness(0) invert(1); }
.accordion-button:not(.collapsed) { background: var(--accent) !important; color: var(--white) !important; }
.accordion-body { background: var(--white); color: var(--primary) !important; }
.bg-dark, .bg-secondary, .bg-primary { background: var(--primary) !important; }
.text-white, .text-white *, .bg-dark, .bg-dark *, .bg-secondary, .bg-secondary *, .bg-primary, .bg-primary * { color: var(--white) !important; }
.border, .border-theme { border-color: rgba(var(--primary-rgb), .30) !important; }
.page-container {
    background: var(--white);
    padding: clamp(24px, 4vw, 52px);
    max-width: 1050px;
    margin: 55px auto;
    border-radius: 28px;
    box-shadow: var(--shadow);
    border: 2px solid rgba(var(--primary-rgb), .18);
}
.page-container h1 { color: var(--primary) !important; text-transform: uppercase; }
.page-container h3 { color: var(--accent) !important; font-weight: 700; }
.page-container h4,
.page-container h5 { color: var(--primary) !important; font-weight: 800; margin-top: 18px; }
.page-container ul li,
.page-container ol li { margin-bottom: 8px; color: var(--primary) !important; }
.page-container img.img-fluid,
.page-container img { border-radius: 18px; border: 3px solid var(--primary) !important; box-shadow: 0 12px 32px rgba(var(--primary-rgb), .12); }
.gallery-img {
    height: 230px;
    object-fit: cover;
    width: 100%;
    border-radius: 18px;
    transition: .35s ease;
    border: 3px solid var(--primary);
    box-shadow: var(--shadow);
}
.gallery-img:hover { transform: scale(1.04); border-color: var(--accent); }
.gallery-item { margin-bottom: 24px; }
.testimonial-card,
.swiper-slide {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 24px;
    border-radius: 20px;
    min-height: 160px;
    box-shadow: var(--shadow);
    border: 3px solid var(--accent);
}
.testimonial-card *,
.swiper-slide * { color: var(--white) !important; }
.site-footer {
    background: var(--primary);
    color: var(--white);
    padding: 70px 0 25px;
    position: relative;
    overflow: hidden;
    border-top: 7px solid var(--accent);
}
.footer-wave { display: none; }
.footer-logo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--white); }
.footer-subtitle { color: var(--white) !important; font-weight: 700; }
.site-footer h4,
.site-footer h5,
.site-footer p,
.site-footer span,
.site-footer small,
.site-footer li,
.footer-text { color: var(--white) !important; }
.site-footer h5 { font-weight: 800; margin-bottom: 16px; color: var(--white) !important; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a,
.site-footer a { color: var(--white) !important; }
.footer-links a:hover,
.site-footer a:hover { color: var(--accent) !important; padding-left: 4px; }
.footer-line { border-color: var(--accent); opacity: 1; margin: 35px 0 18px; }
.social-icon,
.floating-whatsapp,
.scroll-top {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent) !important;
    color: var(--white) !important;
    border: 2px solid var(--accent) !important;
    transition: .3s ease;
}
.social-icon:hover,
.floating-whatsapp:hover,
.scroll-top:hover { background: var(--primary) !important; border-color: var(--white) !important; transform: translateY(-4px); }
.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 88px;
    width: 56px;
    height: 56px;
    font-size: 26px;
    z-index: 1040;
    box-shadow: 0 12px 30px rgba(var(--accent-rgb), .35);
}
.scroll-top {
    position: fixed;
    right: 26px;
    bottom: 24px;
    opacity: 0;
    pointer-events: none;
    z-index: 1040;
}
.scroll-top.show { opacity: 1; pointer-events: auto; }
.py-5 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.badge, .rounded-pill { color: var(--primary) !important; background: var(--white) !important; border: 2px solid var(--accent) !important; }
.table, .table * { color: var(--primary) !important; }
::selection { background: var(--accent); color: var(--white); }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}
.page-container,
.service-card,
.custom-card,
.doctor-card,
.contact-card,
.gallery-item { animation: fadeInUp .75s ease both; }
@media (max-width: 1199px) {
    .brand-text { font-size: 14px; }
    .site-logo { width: 52px; height: 52px; }
    .navbar .nav-link:after { display: none; }
}
@media (max-width: 767px) {
    .page-container { margin: 28px 12px; padding: 22px; border-radius: 20px; }
    .doctor-img { height: 340px; }
    .card-img-top { height: 190px; }
    .gallery-img { height: 190px; }
    .floating-whatsapp { right: 16px; bottom: 82px; }
    .scroll-top { right: 20px; }
}

.testimonial-section {
  background: #ffffff;
}

.section-subtitle {
  color: #d83a75;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
}

.section-title {
  color: #1a5492;
  font-weight: 800;
  margin-top: 8px;
}

.section-desc {
  color: #1a5492;
  margin: 0;
}

.testimonial-card {
  position: relative;
  background: #ffffff;
  border: 2px solid #1a5492;
  border-radius: 18px;
  padding: 35px 25px 28px;
  min-height: 300px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 22px rgba(26, 84, 146, 0.12);
}

.testimonial-card:hover {
  border-color: #d83a75;
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(216, 58, 117, 0.18);
}

.quote-icon {
  position: absolute;
  top: 5px;
  right: 22px;
  font-size: 70px;
  line-height: 1;
  color: #d83a75;
  font-family: Georgia, serif;
}

.testimonial-card p {
  color: #1a5492;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.rating {
  color: #d83a75;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonial-card h5 {
  color: #1a5492;
  font-weight: 700;
  margin-bottom: 4px;
}

.testimonial-card span {
  color: #d83a75;
  font-weight: 600;
  font-size: 14px;
}

.swiper-pagination-bullet {
  background: #1a5492;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #d83a75;
}




.pain-about-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0 90px;
    background: #f2f9fd;
}

.pain-about-section .container {
    position: relative;
    z-index: 2;
}

/* Heading */

.pain-about-heading {
    max-width: 1050px;
    margin: 0 auto 40px;
}

.pain-about-label {
    display: block;
    margin-bottom: 14px;
    color: #e83e78;
    font-size: 21px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1px;
}

.pain-about-heading h2 {
    margin: 0;
    color: #0873aa;
    font-size: 55px;
    line-height: 1.16;
    font-weight: 700;
    letter-spacing: -1px;
}

.pain-about-heading h2 span {
    display: block;
    color: #245b9b;
}

/* Content */

.pain-about-content {
    max-width: 1040px;
    margin: 0 auto;
}

.pain-about-content p {
    margin: 0 auto 24px;
    color: #26394d;
    font-size: 20px;
    line-height: 1.78;
    font-weight: 400;
}

.pain-about-content p:last-child {
    margin-bottom: 0;
}

.pain-about-content strong {
    color: #e83e78;
    font-weight: 700;
}

/* Background Shapes */

.pain-about-shape {
    position: absolute;
    display: block;
    border-radius: 50%;
    pointer-events: none;
}

.pain-shape-left {
    top: 105px;
    left: -100px;
    width: 225px;
    height: 225px;
    border: 42px solid rgba(8, 115, 170, 0.05);
}

.pain-shape-right {
    right: -120px;
    bottom: -115px;
    width: 330px;
    height: 330px;
    background: rgba(232, 62, 120, 0.07);
}

/* Laptop */

@media (max-width: 1199px) {
    .pain-about-section {
        padding: 65px 0 75px;
    }

    .pain-about-heading {
        max-width: 900px;
        margin-bottom: 32px;
    }

    .pain-about-heading h2 {
        font-size: 46px;
    }

    .pain-about-content {
        max-width: 900px;
    }

    .pain-about-content p {
        font-size: 18px;
        line-height: 1.72;
    }
}

/* Tablet */

@media (max-width: 991px) {
    .pain-about-heading h2 {
        font-size: 41px;
    }

    .pain-about-content p {
        font-size: 17px;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .pain-about-section {
        padding: 50px 0 60px;
    }

    .pain-about-heading {
        margin-bottom: 28px;
    }

    .pain-about-label {
        font-size: 18px;
    }

    .pain-about-heading h2 {
        font-size: 35px;
        line-height: 1.2;
        letter-spacing: -0.5px;
    }

    .pain-about-content p {
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 1.68;
    }

    .pain-shape-left {
        width: 160px;
        height: 160px;
        border-width: 30px;
    }
}

/* Small Mobile */

@media (max-width: 480px) {
    .pain-about-heading h2 {
        font-size: 31px;
    }

    .pain-about-heading h2 span {
        display: inline;
    }
}

.mobile-break {
    display: none;
}

@media (max-width: 768px) {
    .mobile-break {
        display: block;
    }
}