:root {
    --primary: #0D6EFD;
    --primary-dark: #0a58ca;
    --secondary: #20C997;
    --secondary-dark: #1aae82;
    --dark: #0e1b2a;
    --dark-blue: #0f2137;
    --light-bg: #f5f9fc;
    --text-body: #555;
    --text-heading: #0e1b2a;
    --border-light: #e9ecef;
}

html {
    overflow-x: clip;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-body);
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    font-weight: 700;
}

a {
    transition: all 0.3s ease;
}

.topbar {
    background: var(--dark-blue) !important;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
}

.topbar a {
    opacity: 0.85;
}

.topbar a:hover {
    opacity: 1;
}

.navbar {
    padding: 0.8rem 0;
    transition: all 0.3s;
}

.navbar.scrolled {
    padding: 0.4rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.navbar-brand {
    font-size: 2rem;
    letter-spacing: -1px;
    font-weight: 800;
}

.navbar .nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1.1rem !important;
    position: relative;
    color: var(--text-heading);
    transition: color 0.3s;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 60%;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary) !important;
}

.navbar .btn-primary {
    border-radius: 30px;
    padding: 0.5rem 1.8rem;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-section {
    background: linear-gradient(110deg, #0f2b5c 0%, #0D6EFD 50%, #20C997 100%);
    min-height: 650px;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    animation: heroFloat 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    animation: heroFloat 10s ease-in-out infinite reverse;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.hero-section .hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    line-height: 1.7;
    max-width: 520px;
}

.hero-section .hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 30px;
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    backdrop-filter: blur(10px);
}

.hero-btn {
    padding: 0.9rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    text-transform: uppercase;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.hero-btn-light {
    background: white;
    color: var(--primary);
    border: none;
}

.hero-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.hero-btn-outline:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

.hero-icon-grid {
    position: relative;
    height: 400px;
}

.hero-floating-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    animation: floatIcon 6s ease-in-out infinite;
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-floating-icon:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.hero-floating-icon:nth-child(2) { top: 5%; right: 10%; animation-delay: 1s; }
.hero-floating-icon:nth-child(3) { top: 45%; left: 5%; animation-delay: 2s; }
.hero-floating-icon:nth-child(4) { top: 40%; right: 15%; animation-delay: 0.5s; }
.hero-floating-icon:nth-child(5) { bottom: 15%; left: 30%; animation-delay: 1.5s; }
.hero-floating-icon:nth-child(6) { bottom: 10%; right: 5%; animation-delay: 2.5s; }

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.info-strip {
    background: white;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    border-radius: 15px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.info-strip-item {
    padding: 1.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-right: 1px solid var(--border-light);
    transition: all 0.3s;
}

.info-strip-item:last-child {
    border-right: none;
}

.info-strip-item:hover {
    background: var(--light-bg);
}

.info-strip-item .strip-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
}

.info-strip-item h6 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.info-strip-item p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    position: relative;
    margin-bottom: 3.5rem;
    text-align: center;
}

.section-title .subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    position: relative;
    padding: 0 3rem;
}

.section-title .subtitle::before,
.section-title .subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.section-title .subtitle::before { left: 0; }
.section-title .subtitle::after { right: 0; }

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.section-title p {
    color: #777;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-title::after {
    display: none;
}

.dept-card {
    border: none;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    background: white;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.dept-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.dept-card:hover::before {
    transform: scaleX(1);
}

.dept-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(13,110,253,0.12);
}

.dept-card .icon-box {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(13,110,253,0.1), rgba(32,201,151,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem;
    color: var(--primary);
    transition: all 0.4s;
    border: 2px solid rgba(13,110,253,0.08);
}

.dept-card:hover .icon-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: scale(1.1) rotate(5deg);
    border-color: transparent;
}

.dept-card h5 {
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
}

.dept-card p {
    color: #777;
    font-size: 0.93rem;
    line-height: 1.6;
}

.dept-card .btn-outline-primary {
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 1.5rem;
}

.about-section {
    position: relative;
    overflow: hidden;
}

.about-img-wrapper {
    position: relative;
}

.about-img-wrapper img {
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.about-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 200px;
    height: 200px;
    border: 4px solid var(--primary);
    border-radius: 15px;
    z-index: -1;
    opacity: 0.3;
}

.about-experience-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: var(--primary);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(13,110,253,0.3);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 10px 30px rgba(13,110,253,0.3); }
    50% { box-shadow: 0 10px 40px rgba(13,110,253,0.5); }
}

.about-experience-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.about-experience-badge small {
    font-size: 0.8rem;
    opacity: 0.9;
}

.about-feature-list {
    list-style: none;
    padding: 0;
}

.about-feature-list li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    color: var(--text-heading);
}

.about-feature-list li i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(32,201,151,0.15);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.doctor-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    height: 100%;
    background: white;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(13,110,253,0.12);
}

.doctor-card .doctor-img {
    height: 300px;
    background: linear-gradient(135deg, #e8f4fd, #d4f5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.doctor-card .doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.doctor-card:hover .doctor-img img {
    transform: scale(1.05);
}

.doctor-card .doctor-img .placeholder-icon {
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.3;
}

.doctor-card .doctor-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s;
}

.doctor-card:hover .doctor-overlay {
    opacity: 1;
    transform: translateY(0);
}

.doctor-overlay .social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
}

.doctor-overlay .social-icon:hover {
    background: var(--secondary);
    transform: scale(1.15);
}

.doctor-card .card-body {
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.doctor-card .card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.doctor-card h5 {
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.3rem;
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

.doctor-card .dept-badge {
    display: inline-block;
    background: rgba(13,110,253,0.08);
    color: var(--primary);
    padding: 0.25rem 0.9rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
}

/* ═══════════════════════════════════════
   APPOINTMENT SECTION — PRO REDESIGN
═══════════════════════════════════════ */
.appointment-section {
    background:
        radial-gradient(circle at 12% 18%, rgba(24, 203, 255, 0.18), transparent 32%),
        radial-gradient(circle at 88% 10%, rgba(99, 102, 241, 0.28), transparent 30%),
        radial-gradient(circle at 92% 88%, rgba(45, 212, 191, 0.24), transparent 34%),
        linear-gradient(124deg, #020f2b 0%, #06245b 46%, #083b6f 72%, #0a496e 100%);
    color: white;
    padding: 6.5rem 0;
    position: relative;
    overflow: hidden;
}

/* ── Decorative background shapes ── */
.appt-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.appt-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    filter: blur(2px);
}
.appt-shape-1 {
    width: 560px; height: 560px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.8), transparent 68%);
    top: -160px; right: -180px;
}
.appt-shape-2 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.58), transparent 72%);
    bottom: -130px; left: -120px;
}
.appt-shape-3 {
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.68), transparent 72%);
    top: 52%; left: 35%;
    opacity: 0.09;
}
.appt-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0.45));
}

/* ── Left info panel ── */
.appt-badge-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(56,189,248,0.16);
    border: 1px solid rgba(125,211,252,0.45);
    color: #bae6fd;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(12px);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 10px 25px rgba(0,0,0,0.18);
}
.appt-heading {
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.1rem;
    letter-spacing: -0.8px;
    text-shadow: 0 6px 30px rgba(0,0,0,0.4);
}
.appt-desc {
    color: rgba(255,255,255,0.78);
    line-height: 1.72;
    font-size: 1.02rem;
    margin-bottom: 1.5rem;
    max-width: 95%;
}
.appt-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.appt-checklist li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
}
.appt-checklist li i {
    color: #34d399;
    font-size: 1rem;
    flex-shrink: 0;
}
.appt-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.appt-contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(115deg, rgba(40, 94, 187, 0.35), rgba(22, 52, 129, 0.42));
    border: 1px solid rgba(148, 197, 255, 0.2);
    border-radius: 16px;
    padding: 1rem 1.2rem;
    backdrop-filter: blur(14px);
    transition: background 0.3s, transform 0.3s;
}
.appt-contact-card:hover {
    background: linear-gradient(115deg, rgba(59, 130, 246, 0.4), rgba(15, 23, 110, 0.5));
    transform: translateY(-2px);
}
.appt-contact-icon {
    position: relative;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e90ff, #3853ff);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.appt-contact-card small {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.68);
    margin-bottom: 0.1rem;
}
.appt-contact-card strong {
    font-size: 1.05rem;
    color: #fff;
    font-weight: 700;
}
/* Pulse ring on phone icon */
.appt-pulse-ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(14,165,233,0.5);
    animation: apptPulse 2s ease-out infinite;
}
@keyframes apptPulse {
    0%   { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ── Right form card ── */
.appt-form-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.82));
    border-radius: 30px;
    box-shadow: 0 35px 85px rgba(1, 9, 28, 0.55), 0 8px 30px rgba(13, 129, 217, 0.24);
    overflow: hidden;
    backdrop-filter: blur(18px);
    border: 1px solid rgba(207, 235, 255, 0.65);
    transform: translateY(-8px);
}
.appt-form-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 32px;
    border: 1px solid rgba(109, 219, 255, 0.48);
    box-shadow: 0 0 30px rgba(94, 234, 212, 0.35);
    pointer-events: none;
}
.appt-form-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    background:
        radial-gradient(circle at 88% 22%, rgba(103, 232, 249, 0.38), transparent 34%),
        linear-gradient(120deg, #103b8a 0%, #1f86d8 55%, #22d3ee 100%);
    padding: 1.25rem 1.75rem;
    color: #fff;
}
.appt-form-header-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(255,255,255,0.22);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.appt-form {
    padding: 1.65rem;
}

/* ── Input wrapper with icon ── */
.appt-input-wrap {
    position: relative;
}
.appt-input-icon {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: #179ad8;
    font-size: 0.88rem;
    z-index: 2;
    pointer-events: none;
}
.appt-input-icon--ta {
    top: 1rem;
    transform: none;
}
.appt-form .form-control,
.appt-form .form-select {
    padding: 0.84rem 1rem 0.84rem 2.6rem;
    border: 1px solid #dbe8f5;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(250, 252, 255, 0.96), rgba(244, 248, 252, 0.94));
    color: #1e293b;
    font-size: 1rem;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.appt-form .form-control::placeholder { color: #94a3b8; }
.appt-form .form-control:focus,
.appt-form .form-select:focus {
    border-color: #38bdf8;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(56,189,248,0.14), 0 8px 20px rgba(56,189,248,0.18);
    outline: none;
    color: #0f172a;
}
.appt-form textarea.form-control { resize: vertical; min-height: 88px; }
.appt-form .form-select option { color: #1e293b; }

/* ── Submit button ── */
.appointment-section .btn-appointment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 0;
    background: linear-gradient(100deg, #163f9f 0%, #1f7fe3 48%, #23d7ea 100%);
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
}
.appointment-section .btn-appointment:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(35, 136, 224, 0.55);
}
.appointment-section .btn-appointment:active { transform: translateY(0); }
.btn-appt-inner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    font-weight: 800;
    font-size: 1.04rem;
    letter-spacing: 0.5px;
    color: #fff;
    position: relative;
    z-index: 1;
    width: 100%;
    justify-content: center;
    text-transform: uppercase;
}
.btn-appt-shine {
    position: absolute;
    top: 0; left: -75%;
    width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
}
.appointment-section .btn-appointment:hover .btn-appt-shine { left: 130%; }

/* ── Responsive ── */
@media (max-width: 767.98px) {
    .appt-form { padding: 1.2rem; }
    .appt-contact-cards { flex-direction: column; }
    .appt-form-card { transform: none; }
    /* Neutralise Bootstrap g-5 negative row margins on mobile to stop horizontal overflow */
    .appointment-section .row { --bs-gutter-x: 1.5rem; }
}

/* ── Prevent swiper section horizontal overflow ── */
.process-section, .section-padding {
    overflow-x: hidden;
}

.speciality-section {
    background: var(--light-bg);
    position: relative;
}

.speciality-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.4s;
}

.speciality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.speciality-card .speciality-img {
    height: 220px;
    overflow: hidden;
}

.speciality-card .speciality-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.speciality-card:hover .speciality-img img {
    transform: scale(1.1);
}

.speciality-card .speciality-body {
    padding: 1.8rem;
}

.speciality-card .speciality-body h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.process-section {
    background: white;
}

.process-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.process-card .process-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--primary);
    transition: all 0.4s;
    border: 3px dashed rgba(13,110,253,0.2);
    position: relative;
}

.process-card .process-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.process-card:hover .process-icon {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.05);
}

.process-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
}

.process-card p {
    font-size: 0.92rem;
    color: #777;
}

.stats-section {
    background: linear-gradient(110deg, #0f2b5c, #0D6EFD 60%, #20C997 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    top: -100px;
    left: -50px;
}

.stat-item {
    text-align: center;
    color: white;
    padding: 1.5rem;
}

.stat-item .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-item .stat-label {
    font-size: 0.95rem;
    opacity: 0.8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    margin: 10px;
    position: relative;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.08;
}

.testimonial-card .stars {
    color: #ffc107;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.testimonial-card blockquote {
    font-style: italic;
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
}

.testimonial-card .patient-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card .patient-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-card .patient-name {
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0;
    font-size: 1.05rem;
}

.testimonial-card .patient-title {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

.blog-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    height: 100%;
    background: white;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(13,110,253,0.1);
}

.blog-card .blog-img {
    height: 220px;
    background: linear-gradient(135deg, #e8f4fd, #d4f5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.blog-card .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-img img {
    transform: scale(1.08);
}

.blog-card .blog-img .placeholder-icon {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.25;
}

.blog-card .blog-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.blog-card .card-body {
    padding: 1.8rem;
}

.blog-card .blog-meta {
    font-size: 0.82rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.blog-card .blog-meta i {
    color: var(--primary);
    margin-right: 3px;
}

.blog-card h5 {
    font-weight: 700;
    color: var(--text-heading);
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.blog-card:hover h5 {
    color: var(--primary);
}

.blog-card .read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.blog-card .read-more:hover {
    gap: 0.8rem;
}

.cta-section {
    background: linear-gradient(110deg, #0f2b5c, #0D6EFD);
    padding: 5rem 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

.cta-section::before {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
}

.cta-section::after {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -50px;
}

.cta-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.85;
}

.cta-section .btn {
    border-radius: 30px;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-header {
    background: linear-gradient(110deg, #0f2b5c, #0D6EFD 60%, #20C997 100%);
    padding: 5rem 0 4rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    top: -200px;
    right: -100px;
}

.page-header h1 {
    font-weight: 800;
    font-size: 2.8rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-header .breadcrumb {
    justify-content: center;
}

.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.page-header .breadcrumb-item a:hover {
    color: white;
}

.page-header .breadcrumb-item.active {
    color: var(--secondary);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

.footer {
    background: var(--dark-blue) !important;
    padding-top: 4rem;
}

.footer h5, .footer h6 {
    color: white;
    font-weight: 700;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #99aabb;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.93rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-links a:hover::before {
    transform: translateX(3px);
}

.footer .social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #aabbcc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    margin-right: 0.5rem;
}

.footer .social-icons a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.2rem 0;
    margin-top: 2rem;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13,110,253,0.3);
}

.btn-success {
    background: var(--secondary);
    border-color: var(--secondary);
    border-radius: 8px;
}

.form-control, .form-select {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-light);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,110,253,0.1);
}

.badge-pending { background: #ffc107; color: #333; }
.badge-approved { background: #20c997; }
.badge-cancelled { background: #dc3545; }

.profile-page .doctor-info {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.profile-page .doctor-photo {
    width: 100%;
    max-width: 350px;
    border-radius: 15px;
    overflow: hidden;
}

.profile-page .info-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.profile-page .info-list li i {
    width: 35px;
    color: var(--primary);
}

.swiper {
    padding: 20px 0 50px;
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
}

/* ═══════════════════════════════════════════════
   MOBILE-ONLY SECTION SWIPERS
   On desktop: CSS overrides restore the grid layout.
   On mobile: Swiper takes over with peek + dots.
═══════════════════════════════════════════════ */

/* ── Shared mobile swiper token styles ── */
.mob-swiper {
    padding-bottom: 2.8rem !important;
}
.mob-swiper-pagination .swiper-pagination-bullet {
    width: 8px; height: 8px;
    background: #cbd5e1;
    opacity: 1;
    transition: background 0.3s, width 0.3s;
}
.mob-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--primary) !important;
    width: 22px;
    border-radius: 4px;
}

/* ── Mobile: clip section overflow to prevent horizontal page scroll ── */
@media (max-width: 767.98px) {
    .mob-swiper {
        overflow: hidden;
        padding-bottom: 2.8rem !important;
    }
    .mob-swiper .swiper-slide {
        height: auto;
    }
    /* Section containers must not clip the swiper peeking slides */
    .dept-swiper,
    .team-swiper,
    .process-swiper,
    .articles-swiper {
        overflow: hidden;
    }
}

/* ══════════════════════════════════════════════════════════
   DESKTOP/TABLET GRID OVERRIDE FOR MOB-SWIPER SECTIONS
   Uses display:grid to fully bypass Swiper's inline width/
   transform, ensuring a proper multi-column layout.
══════════════════════════════════════════════════════════ */

/* ── Departments: 3-col ≥992px, 2-col 768-991px ── */
@media (min-width: 992px) {
    .dept-swiper { overflow: visible !important; padding-bottom: 0 !important; }
    .dept-swiper .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.5rem !important;
        width: 100% !important;
        transform: none !important;
        transition: none !important;
    }
    .dept-swiper .swiper-slide { width: auto !important; margin: 0 !important; }
    .dept-swiper .dept-pagination { display: none !important; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .dept-swiper { overflow: visible !important; padding-bottom: 2.5rem !important; }
    .dept-swiper .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
        width: 100% !important;
        transform: none !important;
        transition: none !important;
    }
    .dept-swiper .swiper-slide { width: auto !important; margin: 0 !important; }
}

/* ── Team (Doctors): 4-col ≥992px, 2-col 768-991px ── */
@media (min-width: 992px) {
    .team-swiper { overflow: visible !important; padding-bottom: 0 !important; }
    .team-swiper .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 1.5rem !important;
        width: 100% !important;
        transform: none !important;
        transition: none !important;
    }
    .team-swiper .swiper-slide { width: auto !important; margin: 0 !important; }
    .team-swiper .team-pagination { display: none !important; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .team-swiper { overflow: visible !important; padding-bottom: 2.5rem !important; }
    .team-swiper .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
        width: 100% !important;
        transform: none !important;
        transition: none !important;
    }
    .team-swiper .swiper-slide { width: auto !important; margin: 0 !important; }
}

/* ── Process: 4-col ≥992px, 2-col 768-991px ── */
@media (min-width: 992px) {
    .process-swiper { overflow: visible !important; padding-bottom: 0 !important; }
    .process-swiper .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 1.5rem !important;
        width: 100% !important;
        transform: none !important;
        transition: none !important;
    }
    .process-swiper .swiper-slide { width: auto !important; margin: 0 !important; }
    .process-swiper .process-pagination { display: none !important; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .process-swiper { overflow: visible !important; padding-bottom: 2.5rem !important; }
    .process-swiper .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
        width: 100% !important;
        transform: none !important;
        transition: none !important;
    }
    .process-swiper .swiper-slide { width: auto !important; margin: 0 !important; }
}

/* ── Articles: 3-col ≥992px, 2-col 768-991px ── */
@media (min-width: 992px) {
    .articles-swiper { overflow: visible !important; padding-bottom: 0 !important; }
    .articles-swiper .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.5rem !important;
        width: 100% !important;
        transform: none !important;
        transition: none !important;
    }
    .articles-swiper .swiper-slide { width: auto !important; margin: 0 !important; }
    .articles-swiper .articles-pagination { display: none !important; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .articles-swiper { overflow: visible !important; padding-bottom: 2.5rem !important; }
    .articles-swiper .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
        width: 100% !important;
        transform: none !important;
        transition: none !important;
    }
    .articles-swiper .swiper-slide { width: auto !important; margin: 0 !important; }
}

/* ── Testimonials: improve mobile peek ── */
@media (max-width: 767.98px) {
    .testimonial-swiper { overflow: visible; }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

@media (max-width: 991px) {
    .info-strip-item {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
    .info-strip-item:last-child {
        border-bottom: none;
    }
}

.location-section {
    position: relative;
    overflow: hidden;
}
.location-info-panel {
    background: linear-gradient(135deg, #0f2137 0%, #1a3a5c 100%);
    color: #fff;
    padding: 60px 50px;
    height: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.location-info-panel .subtitle {
    color: var(--secondary);
}
.location-desc {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.location-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.location-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.location-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--secondary);
    flex-shrink: 0;
}
.location-item h6 {
    margin-bottom: 2px;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.location-item p {
    margin-bottom: 0;
    color: #fff;
    font-size: 0.95rem;
}
.location-map-wrapper {
    height: 100%;
    min-height: 500px;
    position: relative;
    background: #e8f0fe;
}
.location-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
}
.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 500px;
    color: #6c757d;
    text-align: center;
    padding: 2rem;
}
.map-placeholder i {
    font-size: 5rem;
    opacity: 0.2;
    margin-bottom: 1rem;
}
.map-placeholder p {
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .location-info-panel {
        padding: 40px 30px;
        min-height: auto;
    }
    .location-map-wrapper {
        min-height: 350px;
    }
    .location-map-wrapper iframe {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 450px;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .info-strip {
        margin-top: -30px;
        border-radius: 10px;
    }
    .cta-section h2 {
        font-size: 2rem;
    }
    .stat-item .stat-number {
        font-size: 2.2rem;
    }
    .location-info-panel {
        padding: 30px 20px;
    }
}

/* ===== MOBILE NAV HAMBURGER ===== */
.mob-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1100;
    position: relative;
}
.ham-bar {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--text-heading);
    border-radius: 4px;
    transition: transform 0.35s cubic-bezier(.77,0,.18,1), opacity 0.25s, width 0.3s;
    transform-origin: center;
}
.mob-hamburger.is-open .ham-bar:nth-child(1) { transform: translateY(8.75px) rotate(45deg); }
.mob-hamburger.is-open .ham-bar:nth-child(2) { opacity: 0; width: 0; }
.mob-hamburger.is-open .ham-bar:nth-child(3) { transform: translateY(-8.75px) rotate(-45deg); }

/* ===== MOBILE NAV DRAWER ===== */
.mobile-nav-drawer {
    width: 300px !important;
    background: linear-gradient(160deg, #0f2b5c 0%, #0D6EFD 100%) !important;
    border: none !important;
    display: flex;
    flex-direction: column;
}
.mob-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 1.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mob-drawer-close {
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.mob-drawer-close:hover { background: rgba(255,255,255,0.22); }
.mob-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.4rem 1.2rem;
    display: flex;
    flex-direction: column;
}
.mob-nav-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 1.5rem; }
.mob-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: background 0.22s, color 0.22s, transform 0.22s;
    animation: mobLinkSlide 0.4s ease both;
    animation-delay: calc(var(--i, 0) * 0.07s + 0.1s);
    opacity: 0;
}
@keyframes mobLinkSlide {
    from { opacity: 0; transform: translateX(28px); }
    to   { opacity: 1; transform: translateX(0); }
}
.offcanvas.show .mob-nav-link { opacity: 1; }
.mob-nav-link:hover, .mob-nav-link.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
    transform: translateX(4px);
}
.mob-nav-link.active { background: rgba(255,255,255,0.2); color: #fff; }
.mob-link-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.mob-nav-link.active .mob-link-icon,
.mob-nav-link:hover .mob-link-icon { background: rgba(255,255,255,0.28); }
.mob-drawer-cta { margin-top: auto; padding-top: 1rem; }
.mob-appt-btn {
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem;
    transition: background 0.2s, transform 0.2s;
}
.mob-appt-btn:hover { background: var(--secondary-dark); color: #fff; transform: translateY(-2px); }
.mob-login-btn {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.7rem;
    transition: background 0.2s;
}
.mob-login-btn:hover { background: rgba(255,255,255,0.22); color: #fff; }
.mob-drawer-footer {
    padding: 1.2rem 1.6rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.mob-footer-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s;
}
.mob-footer-item:hover { color: #fff; }
.mob-footer-item i {
    width: 18px;
    text-align: center;
    color: var(--secondary);
}
.mobile-nav-drawer .offcanvas-backdrop { background: rgba(15,27,42,0.65); }

/* ═══════════════════════════════════════════
   PREMIUM HEADER LOGIN MODAL
═══════════════════════════════════════════ */
.site-login-modal .modal-dialog {
    max-width: 980px;
}
.site-login-modal .modal-content.login-modal-card {
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15,27,42,0.28);
}
.site-login-modal .modal-backdrop,
.modal-backdrop.show {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.login-modal-shell {
    display: grid;
    grid-template-columns: 340px 1fr;
    min-height: 660px;
}
.login-modal-aside {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.15), transparent 28%),
        radial-gradient(circle at bottom left, rgba(32,201,151,0.18), transparent 24%),
        linear-gradient(155deg, #0d2f5e 0%, #0f4da6 48%, #11a58c 100%);
    color: #fff;
    padding: 2rem 1.85rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.login-modal-aside::before,
.login-modal-aside::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}
.login-modal-aside::before {
    width: 220px;
    height: 220px;
    top: -70px;
    right: -60px;
}
.login-modal-aside::after {
    width: 140px;
    height: 140px;
    bottom: 38px;
    left: -42px;
}
.login-modal-brand,
.login-modal-aside-copy,
.login-modal-feature-list,
.login-modal-trust-strip {
    position: relative;
    z-index: 1;
}
.login-modal-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.login-modal-brand-logo {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.login-modal-brand-name {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
}
.login-modal-brand small {
    color: rgba(255,255,255,0.72);
    font-size: 0.76rem;
}
.login-modal-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.42rem 0.88rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 1rem;
}
.login-modal-aside-copy h3 {
    color: #fff;
    font-size: 2rem;
    line-height: 1.18;
    margin-bottom: 0.85rem;
}
.login-modal-aside-copy p {
    color: rgba(255,255,255,0.8);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 0;
}
.login-modal-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1.5rem;
}
.login-modal-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.85rem 0.95rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
}
.login-modal-feature-item i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255,255,255,0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.login-modal-feature-item strong {
    display: block;
    color: #fff;
    font-size: 0.88rem;
    margin-bottom: 0.1rem;
}
.login-modal-feature-item span {
    display: block;
    color: rgba(255,255,255,0.72);
    font-size: 0.75rem;
    line-height: 1.45;
}
.login-modal-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.4rem;
}
.login-modal-trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.88);
    font-size: 0.72rem;
    font-weight: 600;
}
.login-modal-main {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}
.login-modal-header {
    padding: 1.7rem 1.8rem 0.9rem;
    align-items: flex-start;
}
.login-modal-header .modal-title {
    color: #0f172a;
    font-size: 1.35rem;
}
.login-modal-header .modal-title i {
    color: var(--primary);
}
.login-modal-header p {
    color: #64748b;
    font-size: 0.88rem;
}
.login-modal-header .btn-close {
    background-size: 0.9rem;
    opacity: 0.75;
}
.login-modal-body {
    padding: 0 1.8rem 1.7rem;
}
.login-modal-switch-wrap {
    margin-bottom: 1.25rem;
}
.login-role-switch {
    background: #edf5ff;
    border-radius: 18px;
    padding: 0.35rem;
    gap: 0.35rem;
    display: flex;
}
.login-role-switch .nav-item {
    flex: 1 1 0;
}
.login-role-switch .nav-link {
    border: none !important;
    border-radius: 14px;
    color: #64748b;
    font-size: 0.94rem;
    font-weight: 700;
    padding: 0.9rem 0.85rem;
    background: transparent;
    transition: all 0.25s ease;
}
.login-role-switch .nav-link.active {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 10px 24px rgba(13,110,253,0.12);
}
.login-modal-role-copy {
    padding: 0.65rem 0.2rem 0;
    color: #64748b;
    font-size: 0.78rem;
}
.login-modal-tab-content {
    padding: 0.2rem 0 0;
}
.login-modal-alert {
    border-radius: 14px;
    font-size: 0.84rem;
    border: none;
}
.login-modal-label {
    color: #334155;
    font-size: 0.84rem;
}
.login-modal-helper {
    color: #94a3b8;
    font-size: 0.74rem;
    font-weight: 600;
}
.login-modal-input-group {
    border: 1.5px solid #dbe5f0;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.login-modal-input-group:focus-within {
    border-color: rgba(13,110,253,0.48);
    box-shadow: 0 0 0 4px rgba(13,110,253,0.08);
    transform: translateY(-1px);
}
.login-modal-input-group .input-group-text,
.login-modal-input-group .form-control,
.login-modal-eye {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}
.login-modal-input-group .input-group-text {
    color: #94a3b8;
    padding: 0 0.95rem;
}
.login-modal-input-group .form-control {
    min-height: 52px;
    padding: 0.85rem 0.2rem 0.85rem 0;
    color: #0f172a;
    font-size: 0.92rem;
}
.login-modal-input-group .form-control::placeholder {
    color: #a3b0c0;
}
.login-modal-eye {
    padding: 0 0.95rem;
    color: #94a3b8;
}
.login-modal-eye:hover {
    color: var(--primary);
}
.login-modal-input-group.is-valid {
    border-color: rgba(25, 135, 84, 0.5);
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.08);
}
.login-modal-input-group.is-invalid {
    border-color: rgba(220, 53, 69, 0.48);
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.08);
}
.login-field-feedback {
    margin-top: 0.55rem;
    font-size: 0.76rem;
    line-height: 1.45;
    color: #94a3b8;
    min-height: 1.1rem;
}
.login-field-feedback.is-valid {
    color: #198754;
}
.login-field-feedback.is-invalid {
    color: #dc3545;
}
.login-modal-support-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 1.2rem;
}
.login-caps-warning {
    color: #f59e0b;
    font-size: 0.76rem;
    font-weight: 700;
}
.login-modal-help-link {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}
.login-modal-help-link:hover {
    color: var(--secondary);
}
.login-password-meter {
    width: 100%;
    height: 7px;
    border-radius: 999px;
    background: #eaf1f8;
    overflow: hidden;
}
.login-password-meter-bar {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: transparent;
    transition: width 0.25s ease, background 0.25s ease;
}
.login-password-meter-bar.is-weak {
    background: linear-gradient(90deg, #ef4444, #f97316);
}
.login-password-meter-bar.is-medium {
    background: linear-gradient(90deg, #f59e0b, #facc15);
}
.login-password-meter-bar.is-strong {
    background: linear-gradient(90deg, #10b981, #22c55e);
}
.login-submit-btn {
    border: none;
    border-radius: 14px;
    min-height: 54px;
    background: linear-gradient(135deg, var(--primary) 0%, #0a58ca 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 18px 32px rgba(13,110,253,0.2);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}
.login-submit-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 22px 38px rgba(13,110,253,0.28);
    filter: brightness(1.02);
}
.login-submit-btn:disabled {
    transform: none;
    filter: none;
    box-shadow: 0 12px 20px rgba(13,110,253,0.14);
}
.login-submit-btn-success {
    background: linear-gradient(135deg, var(--secondary) 0%, #11a58c 100%);
    box-shadow: 0 18px 32px rgba(32,201,151,0.2);
}
.login-submit-btn-success:hover {
    box-shadow: 0 22px 38px rgba(32,201,151,0.28);
}
.login-modal-alt-link {
    color: #64748b;
    font-size: 0.82rem;
}
.login-modal-alt-link a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    margin-left: 0.2rem;
}
.login-modal-alt-link a:hover {
    color: var(--secondary);
}

@media (max-width: 991px) {
    .login-modal-shell {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .login-modal-header {
        padding: 1.35rem 1.2rem 0.85rem;
    }
    .login-modal-body {
        padding: 0 1.2rem 1.2rem;
    }
}
@media (max-width: 575.98px) {
    .site-login-modal .modal-dialog {
        margin: 0.85rem;
    }
    .site-login-modal .modal-content.login-modal-card {
        border-radius: 22px;
    }
    .login-modal-header .modal-title {
        font-size: 1.18rem;
    }
    .login-role-switch .nav-link {
        font-size: 0.86rem;
        padding: 0.82rem 0.5rem;
    }
    .login-modal-input-group .form-control {
        min-height: 48px;
        font-size: 0.88rem;
    }
    .login-modal-support-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .login-submit-btn {
        min-height: 50px;
        font-size: 0.9rem;
    }
}

/* ═══════════════════════════════════════════
   MOBILE BUTTON FIXES
═══════════════════════════════════════════ */

/* ── CTA "Ready to Get Started?" buttons ── */
.cta-ready-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.cta-ready-btn {
    padding: 0.75rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
}
@media (max-width: 575.98px) {
    .cta-ready-btns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem;
        padding: 0 0.35rem;
        align-items: stretch;
    }
    .cta-ready-btn {
        padding: 0.62rem 0.6rem;
        font-size: 0.78rem;
        min-width: 0;
        min-height: 46px;
        letter-spacing: 0;
        text-transform: none;
        white-space: normal;
        word-break: break-word;
        line-height: 1.2;
        text-align: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .cta-ready-btn i { display: none; }
}

/* ── Hero section buttons ── */
@media (max-width: 575.98px) {
    .hero-btn {
        padding: 0.65rem 1.4rem;
        font-size: 0.82rem;
        letter-spacing: 0;
    }
    .hero-section .d-flex {
        gap: 0.6rem !important;
    }
}