:root {
    --primary: #ff1f5a;
    --secondary: #8a1fd3;
    --gradient: linear-gradient(90deg, #ff1f5a 0%, #8a1fd3 100%);
    --light-bg: #f7f7f9;
    --text-dark: #1a1a1a;
    --border-color: #e6e6e6;    
    --radius:24px;   
    --gradient-brand: linear-gradient(135deg, oklch(0.62 0.22 22) 0%, oklch(0.55 0.27 5) 35%, oklch(0.45 0.21 320) 70%, oklch(0.55 0.27 305) 100%);
  --gradient-brand-soft: linear-gradient(135deg, oklch(0.62 0.22 22 / 0.12), oklch(0.55 0.27 305 / 0.12));
  --gradient-text: linear-gradient(90deg, oklch(0.55 0.24 18), oklch(0.45 0.24 320)); 
    --brand-purple: #7b1fa2;
            --brand-purple-dark: #4a148c;
            --brand-pink: #e91e63;
            --brand-pink-dark: #c2185b;
            --text-dark: #212529;
            --text-muted: #6c757d;
            --bg-light: #fffcfd;
            --bg-gradient: linear-gradient(135deg, #d81b60 0%, #8e24aa 50%, #6a1b9a 100%);
            --bg-gradient-soft: linear-gradient(180deg, #fff5f8 0%, #ffffff 100%);
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--light-bg);
    color: var(--text-dark);
}

hr {
    border: 0;
    height: 2px;
    /* margin: 2.5rem 0; */
    background-image: var(--gradient-brand);
    background-size: 100% 100%;
}

hr.brand-hr {
    height: 3px;
    margin: 2rem 0;
    border-radius: 8px;
    background-image: var(--gradient-brand);
}

/* Navbar */
.navbar {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.navbar .dropdown-menu {
    min-width: 230px;
    border: 1px solid rgba(124, 58, 237, 0.14);
    /* border-radius: 18px; */
    padding: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 45px rgba(75, 22, 125, 0.12);
    backdrop-filter: blur(10px);
}

.navbar .dropdown-item {
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: background 0.25s ease, color 0.25s ease;
    font-size: 14px;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: var(--gradient);
    color: #fff;
}

.navbar .dropdown-divider {
    margin: 0.35rem 0;
    border-color: rgba(124, 58, 237, 0.12);
}

.navbar .nav-link.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

@media (max-width: 991px) {
    .navbar .dropdown-menu {
        position: static;
        float: none;
        transform: none;
        width: 100%;
        margin-top: 0.5rem;
    }
}

.navbar-brand img {
    height: 55px;
}

.btn-gradient {
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-gradient:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(138,31,211,0.3);
}

/* Hero */
.hero {
    background: var(--gradient);
    color: #fff;
    padding: 60px 0;
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 700;
}

/* Appointment Card */
.appointment-card {
    margin-top: -70px;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.appointment-left {
    background: var(--gradient);
    color: #fff;
    padding: 50px 40px;
    height: 100%;
}

.appointment-left h3 {
    font-weight: 700;
    margin: 20px 0 25px;
}

.appointment-left ul {
    list-style: none;
    padding: 0;
}

.appointment-left li {
    margin-bottom: 14px;
}

.appointment-left li i {
    margin-right: 10px;
}

.three-col-checks {
    list-style: none;
    padding-left: 0;
    columns: 3;
    column-gap: 2rem;
}

.three-col-checks li {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 1.75rem;
    break-inside: avoid-column;
}

.three-col-checks li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-pink);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
}

@media (max-width: 991px) {
    .three-col-checks {
        columns: 1;
    }
}

.appointment-right {
    padding: 50px;
}

.form-control,
.form-select {
    border-radius: 14px;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.form-control:focus,
.form-select:focus {
    border-color: #8a1fd3;
    box-shadow: 0 0 0 0.2rem rgba(138,31,211,0.15);
}

.invalid-feedback {
    display: none;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-select:invalid ~ .invalid-feedback {
    display: block;
}

/* Brand bullet styling */
ul,
ol {
    margin: 0 0 1rem 1.35rem;
    padding: 0;
}

ul li,
ol li {
    line-height: 1.8;
}

ul li::marker {
    color: var(--brand-pink);
    font-size: 1rem;
}

ol li::marker {
    color: var(--brand-purple);
    font-weight: 700;
}

/* Carousel arrows with brand colors */
.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.25s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.05);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
    width: 22px;
    height: 22px;
    position: relative;
}

.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--brand-pink);
    border-right: 2px solid var(--brand-pink);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.carousel-control-prev-icon::before {
    transform: translate(-50%, -50%) rotate(-135deg);
}

.carousel-control-next-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}


.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    margin-right: 10px;
}

 /* Custom styles to match the exact image design */
        .custom-footer {
            background: linear-gradient(135deg, oklch(0.62 0.22 22) 0%, oklch(0.55 0.27 5) 35%, oklch(0.45 0.21 320) 70%, oklch(0.55 0.27 305) 100%);
            color: #ffffff;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            padding-top: 3rem;
        }

        .footer-logo-text h5 {
            font-weight: 700;
            letter-spacing: 0.5px;
            margin-bottom: 0;
            font-size: 1.15rem;
        }

        .footer-logo-text span {
            font-size: 0.75rem;
            letter-spacing: 1px;
            opacity: 1;
        }

        .footer-desc {
            font-size: 0.85rem;
            line-height: 1.5;
            opacity: 1;
        }

        .social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            background-color: #ffffff;
            color: #8e24aa; /* Matches the gradient theme */
            border-radius: 50%;
            text-decoration: none;
            transition: transform 0.2s ease;
        }

        .social-icons a:hover {
            transform: scale(1.1);
        }

        .footer-heading {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            position: relative;
        }

        .footer-links {
            list-style: none;
            padding-left: 0;
            margin-bottom: 0;
        }

        .footer-links li {
            margin-bottom: 0.65rem;
        }

        .footer-links a {
            color: #ffffff;
            text-decoration: none;
            font-size: 0.85rem;
            opacity: 1;
            transition: opacity 0.2s ease;
        }

        .footer-links a:hover {
            opacity: 1;
        }

        .contact-info p {
            font-size: 0.85rem;
            margin-bottom: 0.75rem;
            opacity: 1;
            display: flex;
            align-items: flex-start;
        }

        .contact-info i {
            margin-right: 10px;
            margin-top: 3px;
            font-size: 0.9rem;
        }

        .contact-info a {
            color: #ffffff;
            text-decoration: none;
        }

        .bottom-bar {
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            padding: 1.2rem 0;
            font-size: 0.75rem;
            opacity: 1;
        }

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-purple);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.2rem;
    line-height: 1.1;
    max-width: 750px;
}

.feature-card,
.info-card,
.service-card,
.profile-card,
.benefit-inline-card,
.value-box,
.profile-card,
.info-box {
    border: 1px solid rgba(138,31,211,0.12);
}

.hero {
    /* min-height: 400px; */
    display: flex;
    align-items: center;
}

.profile-hero {
    min-height: 420px;
    position: relative;
    overflow: hidden;
}

.profile-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.22);
}

.profile-hero .container {
    position: relative;
    z-index: 2;
}

.doctor-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

.doctor-img-holder {
    overflow: hidden;
}

.doctor-img-holder img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.doctor-details {
    padding: 24px;
}

.doctor-dept {
    color: var(--brand-purple);
    font-weight: 700;
    margin-bottom: 10px;
}

.doctor-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.doctor-exp {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.gallery-grid .gallery-item {
    overflow: hidden;
    border-radius: 24px;
}

.gallery-caption {
    border-top: 1px solid rgba(0,0,0,0.06);
}

@media (max-width: 991px) {
    .hero h1 {
        font-size: 2.6rem;
    }

    .appointment-right,
    .appointment-left {
        padding: 35px 25px;
    }
}

.contact-card{
    background:#fff;
    border-radius:var(--radius);
    box-shadow:0 20px 60px rgba(0,0,0,.06);
    padding:28px;
    height:100%;
}
.info-icon{
    width:54px;
    height:54px;
    border-radius:50%;
    background:var(--gradient);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    flex-shrink:0;
}
.form-control{
    border-radius:14px;
    padding:12px 16px;
    font-size: .875rem;
    font-weight:500;
}
.form-control:focus{
    box-shadow:0 0 0 .2rem rgba(139,31,211,.15);
    border-color:#8b1fd3;
}
.map-wrapper{
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.06);
}

/* -----------------------------------------
           BADGE & STATS GRID COMPONENT
        ----------------------------------------- */
        .floating-badges-row {
            margin-top: -4rem;
            position: relative;
            z-index: 10;
        }
        .badge-pill-card {
            background: #ffffff;
            border: 1px solid #f3e5f5;
            border-radius: 12px;
            padding: 1.25rem;
            box-shadow: 0 10px 25px rgba(0,0,0,0.03);
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .badge-pill-icon {
            width: 46px;
            height: 46px;
            border-radius: 8px;
            background: var(--bg-gradient);
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            flex-shrink: 0;
        }
        .badge-pill-card h6 {
            font-size: 0.85rem;
            font-weight: 700;
            margin: 0;
            text-transform: uppercase;
            color: var(--brand-purple-dark);
        }
        .badge-pill-card p {
            font-size: 0.75rem;
            color: var(--text-muted);
            margin: 0;
        }

        /* Stats Component */
        .stats-section {
            border-bottom: 1px solid #f0f0f0;
            background-color: #ffffff;
        }
        .stat-box {
            text-align: center;
            padding: 1.5rem 0;
            border-right: 1px solid #f5f5f5;
        }
        .stat-box:last-child {
            border-right: none;
        }
        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--brand-pink);
            line-height: 1;
        }
        .stat-label {
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--brand-purple-dark);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-top: 0.5rem;
        }

        /* -----------------------------------------
           TYPOGRAPHY & UTILITY LAYOUTS
        ----------------------------------------- */
        .section-tag {
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--brand-pink);
            letter-spacing: 1.5px;
            display: block;
            margin-bottom: 0.5rem;
        }
        .section-title {
            font-size: 2.25rem;
            font-weight: 700;
            color: var(--brand-purple-dark);
            margin-bottom: 1.5rem;
        }
        .section-title span.highlight-pink { color: var(--brand-pink); }
        .section-title span.highlight-purple { color: var(--brand-purple); }

        /* -----------------------------------------
           SPECIALITIES CARDS
        ----------------------------------------- */
        .speciality-card {
            background: #ffffff;
            border: none;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.04);
            transition: transform 0.3s ease;
        }
        .speciality-card:hover {
            transform: translateY(-5px);
        }
        .speciality-card img {
            height: 220px;
            object-fit: cover;
        }
        .btn-learn {
            color: var(--brand-pink);
            font-size: 0.85rem;
            font-weight: 700;
            text-decoration: none;
        }
        .btn-learn i,
        .btn-learn .fa-arrow-right,
        .btn-learn .fa-arrow-right-long {
            color: var(--brand-purple);
            transition: color 0.2s ease, transform 0.2s ease;
        }
        .btn-learn:hover {
            color: var(--brand-purple-dark);
        }
        .btn-learn:hover i,
        .btn-learn:hover .fa-arrow-right,
        .btn-learn:hover .fa-arrow-right-long {
            color: var(--brand-pink);
            transform: translateX(2px);
        }

        /* -----------------------------------------
           DOCTORS PROFILE CARD
        ----------------------------------------- */
        .doctor-card {
            background: #ffffff;
            border: none;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.03);
            text-align: center;
        }
        .doctor-img-holder {
            background-color: #faf6fc;
            padding-top: 2rem;
        }
        .doctor-card img {
            height: 280px;
            object-fit: contain;
            width: 100%;
        }
        .doctor-details {
            padding: 1.5rem;
            border-top: 1px solid #f6f0f8;
        }
        .doctor-dept {
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--brand-pink);
            text-transform: uppercase;
        }
        .doctor-name {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--brand-purple-dark);
            margin: 0.25rem 0;
        }
        .doctor-exp {
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        /* -----------------------------------------
           BENEFITS ROW CONFIGURATION
        ----------------------------------------- */
        .benefit-inline-card {
            background: #ffffff;
            border-radius: 12px;
            padding: 1.25rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.02);
            display: flex;
            align-items: flex-start;
            gap: 15px;
            height: 100%;
        }
        .benefit-circle-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #fce4ec;
            color: var(--brand-pink);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.95rem;
            flex-shrink: 0;
        }
        .benefit-inline-card h6 {
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--brand-purple-dark);
            margin-bottom: 0.25rem;
        }
        .benefit-inline-card p {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin: 0;
        }

        /* -----------------------------------------
           CTA ACTION BANNER
        ----------------------------------------- */
        .cta-action-box {
            background: var(--bg-gradient);
            border-radius: 16px;
            padding: 2.5rem;
            color: #ffffff;
        }
        .btn-cta-light {
            background: #ffffff;
            color: var(--brand-purple-dark);
            font-size: 0.85rem;
            font-weight: 700;
            padding: 0.65rem 1.5rem;
            border: none;
            border-radius: 6px;
        }
        .btn-cta-light i,
        .btn-cta-light .fa-chevron-right,
        .btn-cta-light .fa-arrow-right {
            color: var(--brand-pink);
            transition: color 0.2s ease, transform 0.2s ease;
        }
        .btn-cta-light:hover {
            color: var(--brand-pink-dark);
        }
        .btn-cta-light:hover i,
        .btn-cta-light:hover .fa-chevron-right,
        .btn-cta-light:hover .fa-arrow-right {
            color: var(--brand-purple);
            transform: translateX(2px);
        }