@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary: #008751;
    --primary-dark: #006b3e;
    --primary-light: #e8f5ee;
    --secondary: #00b25c;
    --secondary-light: #e8f5ee;
    --accent: #fbbf24;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 28px rgba(0, 48, 135, 0.06);
    --shadow-lg: 0 16px 40px rgba(0, 48, 135, 0.12);
    --shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.25);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --top-strip-height: 44px;
}

/* ── SCROLL MARGIN ── */
section[id],
div[id] {
    scroll-margin-top: calc(90px + var(--top-strip-height));
}

/* ── RESET ── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    animation: pageEnter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.top-strip {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    min-height: var(--top-strip-height);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 16px;
    background: linear-gradient(90deg, #047857, #0f766e);
    color: #fff;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 500;
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── CUSTOM SCROLLBAR ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ── TEXT SELECTION ── */
::selection {
    background: var(--primary);
    color: white;
}

::-moz-selection {
    background: var(--primary);
    color: white;
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    color: var(--dark);
    font-family: var(--font-display);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e8f5ee;
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.15;
}

.section-title em {
    font-style: normal;
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 580px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e8f5ee;
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* ── VERSION SWITCHER ── */
.version-bar {
    position: fixed;
    top: var(--top-strip-height);
    right: 16px;
    z-index: 1200;
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 4px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.version-bar a {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    color: var(--gray-500);
    transition: 0.25s ease;
}

.version-bar a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.version-bar a.active {
    background: var(--primary);
    color: #fff;
}

/* ── BUTTONS ── */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), #006b3e);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 135, 81, 0.25);
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--secondary), #008751);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 169, 80, 0.35);
}

.btn-secondary-custom {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-secondary-custom:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-1px);
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

/* ── FORM STYLES ── */
.form-label {
    font-weight: 700;
    font-size: 11px;
    color: var(--gray-500);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-control {
    border: 1.5px solid var(--gray-200);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    background: var(--gray-50);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 135, 81, 0.12);
}

/* ── NAVBAR ── */
.portal-nav {
    position: fixed;
    top: var(--top-strip-height);
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
}

.portal-nav .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.portal-nav .nav-brand img {
    height: 42px;
}

.portal-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.portal-nav .nav-links>li {
    position: relative;
}

.portal-nav .nav-links>li>a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition);
    white-space: nowrap;
}

.portal-nav .nav-links>li>a:hover,
.portal-nav .nav-links>li>a.active {
    color: var(--primary);
    background: #e8f5ee;
}

.portal-nav .nav-links>li>a .arrow {
    font-size: 10px;
    transition: var(--transition);
}

.portal-nav .nav-links>li:hover>a .arrow {
    transform: rotate(180deg);
}

.portal-nav .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--gray-100);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 1040;
}

.portal-nav .nav-links>li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.portal-nav .dropdown a {
    display: block;
    padding: 10px 14px;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 10px;
    transition: var(--transition);
}

.portal-nav .dropdown a:hover {
    background: #e8f5ee;
    color: var(--primary);
}

.portal-nav .dropdown .divider {
    height: 1px;
    background: var(--gray-100);
    margin: 4px 0;
}

.portal-nav .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.portal-nav .nav-actions a {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
}

.portal-nav .nav-actions .btn-login {
    border: 1.5px solid var(--gray-300);
    color: var(--gray-600);
    background: transparent;
}

.portal-nav .nav-actions .btn-login:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #e8f5ee;
}

.portal-nav .nav-actions .btn-signup {
    background: var(--primary);
    color: white;
    border: 1.5px solid var(--primary);
}

.portal-nav .nav-actions .btn-signup:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 4px 16px rgba(0, 135, 81, 0.3);
}

.portal-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}

.portal-nav.scrolled .nav-inner {
    padding: 10px 0;
}

.portal-nav .nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--gray-600);
    font-size: 24px;
}

/* ── HERO ── */
.portal-hero {
    padding: calc(120px + var(--top-strip-height)) 0 80px;
    background: linear-gradient(135deg, #002a10 0%, #005022 50%, #008033 100%);
    position: relative;
    overflow: hidden;
}

.portal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 500px at 20% 35%, rgba(0, 169, 80, 0.25) 0%, transparent 70%),
        linear-gradient(135deg,
            rgba(0, 20, 8, 0.94) 0%,
            rgba(0, 80, 34, 0.82) 30%,
            rgba(0, 128, 51, 0.6) 55%,
            rgba(0, 169, 80, 0.15) 100%);
    z-index: 1;
}

.portal-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px;
    z-index: 1;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 169, 80, 0.12) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    z-index: 1;
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 50px;
    color: white;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero-badge i {
    color: #4ade80;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    font-family: var(--font-display);
}

.hero-title span.green {
    color: #4ade80;
}

.hero-title span.gold {
    color: #fbbf24;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 580px;
    margin-bottom: 28px;
    line-height: 1.7;
}

.hero-search {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-xl);
    max-width: 800px;
}

.hero-search .search-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 12px;
}

.hero-search .search-tab {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-search .search-tab.active {
    background: var(--primary);
    color: white;
}

.hero-search .search-tab:hover:not(.active) {
    background: var(--gray-100);
}

.hero-search .search-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-search .search-row .form-control,
.hero-search .search-row .form-select {
    border-radius: 12px;
    border: 1.5px solid var(--gray-200);
    padding: 12px 16px;
    font-size: 14px;
    flex: 1;
    min-width: 160px;
}

.hero-search .search-row .form-control:focus,
.hero-search .search-row .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 135, 81, 0.12);
}

.hero-stats-row {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.hero-stat-item .stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.hero-stat-item .stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.3;
}

/* ── STATS/COUNTERS ── */
.counters-section {
    padding: 50px 0;
    background: var(--white);
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    text-align: center;
}

.counter-item {
    padding: 20px;
}

.counter-val {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
    font-family: var(--font-display);
}

.counter-label {
    font-weight: 600;
    color: var(--gray-500);
    font-size: 14px;
}

/* ── FEATURED DOCTORS ── */
.doctor-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 48, 135, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #eef2f7;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.doctor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
}

.doctor-card:hover::before {
    opacity: 1;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 135, 81, 0.13);
    border-color: var(--secondary);
}

.doctor-card .doc-img-wrap {
    position: relative;
    overflow: hidden;
}

.doctor-card .doc-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    object-position: top center;
}

.doctor-card:hover .doc-img {
    transform: scale(1.08);
}

.doctor-card .doc-available {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: 20px;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.doctor-card .doc-available::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.6);
}

.doctor-card .doc-specialty-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 6px 14px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: white;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, var(--primary), #006b3e);
    z-index: 2;
}

.doctor-card .img-wrap img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    object-position: top center;
}

.doctor-card:hover .img-wrap img {
    transform: scale(1.08);
}

.doctor-card .doc-body {
    padding: 18px 20px 14px;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.doctor-card .doc-name {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 2px;
    font-family: var(--font-display);
    color: var(--dark);
    line-height: 1.3;
}

.doctor-card .doc-qual {
    font-size: 11px;
    color: var(--gray-500);
    margin-bottom: 10px;
    font-weight: 500;
}

.doctor-card .doc-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.doctor-card .doc-rating .stars {
    color: var(--accent);
    font-size: 12px;
    display: flex;
    gap: 1px;
}

.doctor-card .doc-rating .num {
    font-weight: 700;
    font-size: 13px;
    color: var(--dark);
}

.doctor-card .doc-rating .count {
    font-size: 11px;
    color: var(--gray-400);
}

.doctor-card .doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
    font-size: 12px;
    color: var(--gray-500);
    padding: 8px 0;
    border-top: 1px solid var(--gray-100);
    margin-top: auto;
}

.doctor-card .doc-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
}

.doctor-card .doc-meta i {
    color: var(--primary);
    font-size: 11px;
}

.doctor-card .doc-meta .doc-meta-divider {
    width: 1px;
    background: var(--gray-200);
}

.doctor-card .doc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 18px;
    gap: 8px;
}

.doctor-card .doc-footer .doc-fee {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-display);
    line-height: 1;
}

.doctor-card .doc-footer .doc-fee small {
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-400);
    font-family: var(--font-body);
}

.doctor-card .doc-footer .doc-fee .doc-fee-label {
    display: block;
    font-size: 9px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-body);
}

.doctor-card .doc-footer .d-flex {
    gap: 6px;
}

.doctor-card .doc-footer .doc-card-book {
    background: linear-gradient(135deg, var(--primary), #006b3e);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 135, 81, 0.2);
}

.doctor-card .doc-footer .doc-card-book:hover {
    background: linear-gradient(135deg, var(--secondary), #008751);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 169, 80, 0.35);
}

.doctor-card .doc-footer .btn-outline-custom {
    padding: 7px 12px;
    font-size: 11px;
    white-space: nowrap;
}

.doctor-card .btn-doc-book {
    width: 100%;
    margin-top: auto;
    background: var(--primary);
    border: none;
    color: white;
    padding: 10px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.doctor-card .btn-doc-book:hover {
    background: var(--secondary);
    color: white;
}

/* ── HOSPITAL CARDS ── */
.hospital-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    height: 100%;
}

.hospital-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.hospital-card .hosp-cover {
    height: 170px;
    position: relative;
    overflow: hidden;
}

.hospital-card .hosp-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hospital-card:hover .hosp-cover img {
    transform: scale(1.07);
}

.hospital-card .hosp-body {
    padding: 20px;
}

.hospital-card .hosp-name {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
    font-family: var(--font-display);
}

.hospital-card .hosp-city {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hospital-card .hosp-city i {
    color: var(--primary);
}

.hospital-card .hosp-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.hospital-card .hosp-stats span {
    font-size: 12px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 4px;
}

.hospital-card .hosp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.hospital-card .hosp-badges .badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
}

/* ── SPECIALTY CARDS ── */
.specialty-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    height: 100%;
}

.specialty-card:hover {
    background: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.specialty-card .spec-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
}

.specialty-card h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
}

.specialty-card p {
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 0;
}

/* ── SERVICE CARDS ── */
.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
    height: 100%;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.service-card .serv-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 26px;
}

.service-card h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
}

.service-card p {
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 0;
    margin-top: 8px;
}

/* ── WHY CHOOSE US ── */
.why-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
    height: 100%;
}

.why-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.why-card .why-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
}

.why-card h6 {
    font-size: 15px;
    font-weight: 600;
}

.why-card p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* ── TESTIMONIALS ── */
.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.testimonial-card .quote {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card .author .name {
    font-weight: 700;
    font-size: 14px;
    font-family: var(--font-display);
}

.testimonial-card .author .detail {
    font-size: 12px;
    color: var(--gray-400);
}

.testimonial-card .rating-stars {
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 12px;
}

/* ── BLOG CARDS ── */
.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    height: 100%;
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.blog-card .blog-img {
    height: 200px;
    overflow: hidden;
    background: var(--gray-200);
}

.blog-card .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-img img {
    transform: scale(1.08);
}

.blog-card .blog-body {
    padding: 20px;
}

.blog-card .blog-category {
    display: inline-block;
    background: #e8f5ee;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-card .blog-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--font-display);
    line-height: 1.35;
}

.blog-card .blog-excerpt {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 14px;
    line-height: 1.6;
}

.blog-card .blog-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--gray-400);
}

/* ── FAQ ── */
.faq-item {
    background: white;
    border-radius: 14px;
    margin-bottom: 10px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-q {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: var(--dark);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-q i {
    transition: var(--transition);
    font-size: 18px;
    color: var(--primary);
}

.faq-item.open .faq-q i {
    transform: rotate(180deg);
}

.faq-a {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

.faq-item.open .faq-a {
    padding: 0 20px 18px;
    max-height: 300px;
}

/* ── FOOTER ── */
.portal-footer {
    background: #020617;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.portal-footer h5 {
    color: white;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 25px;
}

.portal-footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: block;
    padding: 4px 0;
    font-size: 14px;
    transition: var(--transition);
}

.portal-footer a:hover {
    color: white;
}

.portal-footer .social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.portal-footer .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    padding: 0;
    transition: var(--transition);
}

.portal-footer .social-links a:hover {
    background: var(--secondary);
    padding: 0;
}

.portal-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    margin-top: 40px;
    font-size: 12px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}

/* ── FILTER SIDEBAR ── */
.filter-sidebar {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.filter-sidebar .filter-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-100);
}

.filter-sidebar .filter-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-sidebar .filter-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

/* ── PAGE HEADER ── */
.page-header {
    padding: calc(120px + var(--top-strip-height)) 0 40px;
    background: linear-gradient(135deg, var(--gray-100), var(--white));
    border-bottom: 1px solid var(--gray-200);
}

.page-header h1 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
}

.page-header p {
    color: var(--gray-500);
    font-size: 1rem;
}

.breadcrumb-custom {
    background: transparent;
    padding: 12px 0;
    margin-bottom: 0;
}

.breadcrumb-custom .breadcrumb-item {
    font-size: 13px;
    font-weight: 500;
}

.breadcrumb-custom .breadcrumb-item a {
    color: var(--gray-400);
    text-decoration: none;
}

.breadcrumb-custom .breadcrumb-item.active {
    color: var(--primary);
}

.breadcrumb-custom .breadcrumb-item+.breadcrumb-item::before {
    color: var(--gray-300);
}

/* ── PROFILE SIDEBAR ── */
.profile-sidebar {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    position: sticky;
    top: 100px;
}

.profile-sidebar .profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    display: block;
    border: 4px solid var(--gray-100);
}

.profile-main-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    margin-bottom: 20px;
}

.profile-main-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}

/* ── AUTH PAGES ── */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #e8f5ee, var(--white));
    padding: calc(100px + var(--top-strip-height)) 0 60px;
}

.auth-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
}

.auth-card .auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-card .auth-header h3 {
    font-weight: 800;
}

.auth-card .auth-header p {
    color: var(--gray-500);
    font-size: 14px;
}

.auth-card .auth-tabs {
    display: flex;
    gap: 4px;
    background: var(--gray-100);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 24px;
}

.auth-card .auth-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.auth-card .auth-tab.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.auth-card .form-control {
    border-radius: 12px;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    font-size: 14px;
}

.auth-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 135, 81, 0.1);
}

.auth-card .btn-auth {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    background: var(--primary);
    color: white;
    border: none;
    transition: var(--transition);
}

.auth-card .btn-auth:hover {
    background: var(--secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 135, 81, 0.3);
}

.auth-card .divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    color: var(--gray-400);
    font-size: 13px;
}

.auth-card .divider::before,
.auth-card .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.auth-card .social-login {
    display: flex;
    gap: 12px;
}

.auth-card .social-login .btn {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    border: 1.5px solid var(--gray-200);
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ── CONTACT ── */
.contact-info-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    height: 100%;
}

.contact-info-card .contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-card h6 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* ── MOBILE BOTTOM NAV ── */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--gray-200);
    display: none;
    z-index: 1050;
    padding: 6px 0;
}

.mobile-bottom-nav a {
    flex: 1;
    text-align: center;
    color: var(--gray-500);
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    padding: 4px 0;
}

.mobile-bottom-nav a i {
    font-size: 20px;
    display: block;
    margin-bottom: 2px;
}

.mobile-bottom-nav a.active {
    color: var(--primary);
}

.mobile-bottom-nav .nav-book-btn {
    background: var(--primary);
    color: white;
    border-radius: 50px;
    padding: 8px 12px;
    margin: 0 4px;
}

.mobile-bottom-nav .nav-book-btn i {
    font-size: 18px;
}

/* ── FILTER TOGGLE (Mobile) ── */
.filter-toggle-btn {
    display: none;
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 16px;
}

.filter-toggle-btn:hover {
    background: var(--primary-dark);
}

.filter-toggle-btn i {
    margin-right: 8px;
}

.filter-sidebar.collapsed {
    display: none;
}

.filter-sidebar.expanded {
    display: block;
}

@media (max-width: 991.98px) {
    .filter-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .filter-sidebar.collapsible {
        display: none;
    }

    .filter-sidebar.collapsible.expanded {
        display: block;
    }
}

/* ── BACK TO TOP ── */
#backToTop {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 44px;
    height: 44px;
    padding: 0;
    display: none;
    z-index: 999;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

/* ── ANIMATIONS ── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── UTILITY CLASSES ── */
.text-primary-custom {
    color: var(--primary) !important;
}

.text-secondary-custom {
    color: var(--secondary) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.bg-primary-custom {
    background: var(--primary) !important;
}

.bg-secondary-custom {
    background: var(--secondary) !important;
}

/* ── GRADIENT UTILITY ── */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #002a10 100%) !important;
}

/* ── CTA SECTION ── */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #001a4a 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-weight: 800;
    font-family: var(--font-display);
}

.cta-section p {
    color: rgba(255, 255, 255, .8);
    max-width: 520px;
    margin: 16px auto 18px;
    font-size: 14px;
}

.cta-section .btn-primary-custom {
    background: var(--secondary);
}

.cta-section .btn-primary-custom:hover {
    background: #009940;
}

.cta-section .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, .6);
    color: #fff;
    border-radius: 50px;
    padding: 14px 36px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
}

.cta-section .btn-outline-light:hover {
    background: white;
    color: var(--primary);
}

/* ── RATING STARS ── */
.stars {
    color: var(--accent);
    display: inline-flex;
    gap: 1px;
}

.stars i {
    font-size: 14px;
}

/* ── RESPONSIVE ── */
@media (max-width: 991.98px) {
    .portal-nav .nav-toggle {
        display: block;
    }

    .portal-nav .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 12px;
        gap: 2px;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--gray-100);
    }

    .portal-nav .nav-links.open {
        display: flex;
    }

    .portal-nav .nav-links>li>a {
        width: 100%;
    }

    .portal-nav .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        display: none;
        background: transparent;
    }

    .portal-nav .nav-links>li.open .dropdown {
        display: block;
    }

    .portal-nav .nav-actions {
        display: none;
    }

    .portal-nav .nav-actions.mobile-show {
        display: flex;
        padding: 12px 14px;
        border-top: 1px solid var(--gray-100);
    }

    .hero-search .search-row .form-control,
    .hero-search .search-row .form-select {
        min-width: 100%;
    }

    .hero-stats-row {
        gap: 16px;
    }

    .hero-stat-item .stat-num {
        font-size: 1.4rem;
    }

    .auth-card {
        padding: 24px;
    }

    .profile-sidebar {
        position: static;
    }

    .wizard-steps {
        flex-wrap: wrap;
        gap: 4px;
    }

    .wizard-step {
        padding: 6px 12px;
        font-size: 11px;
    }
}

@media (max-width: 767.98px) {
    :root {
        --top-strip-height: 52px;
    }

    .top-strip {
        font-size: 11px;
        padding: 8px 12px;
    }

    .portal-hero {
        padding: calc(100px + var(--top-strip-height)) 0 60px;
    }

    .hero-search {
        padding: 16px;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 60px;
    }

    .page-header {
        padding: calc(80px + var(--top-strip-height)) 0 24px;
    }

    .profile-main-card {
        padding: 16px;
    }

    .filter-sidebar {
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stat-item .stat-num {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-section {
        padding: 50px 0;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    /* Doctor card mobile consistency */
    .doctor-card .doc-img {
        height: 180px;
    }

    .doctor-card .img-wrap img {
        height: 180px;
    }

    .doctor-card .doc-qual {
        font-size: 11px;
    }

    .doctor-card .doc-name {
        font-size: 0.85rem;
    }

    .doctor-card .doc-meta {
        font-size: 11px;
    }

    .doctor-card .doc-fee {
        font-size: 16px;
    }

    .doctor-card .doc-footer {
        flex-wrap: wrap;
        justify-content: center;
    }

    .doctor-card .doc-footer .d-flex {
        width: 100%;
        justify-content: center;
    }

    /* Footer spacing for mobile nav */
    .portal-footer {
        padding-bottom: 60px;
    }

    footer {
        padding-bottom: 60px;
    }
}

/* ── TOC SIDEBAR ── */
.toc-sidebar-widget .toc-item {
    display: block;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--gray-500);
    text-decoration: none;
    border-left: 2px solid var(--gray-200);
    transition: all 0.25s;
    margin-bottom: 2px;
    border-radius: 0 6px 6px 0;
    line-height: 1.4;
}

.toc-sidebar-widget .toc-item:hover,
.toc-sidebar-widget .toc-item.active {
    color: var(--primary);
    border-left-color: var(--primary);
    background: #e8f5ee;
}

/* ── BLOG CATEGORY BTN ── */
.blog-category-btn {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-category-btn.active {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(0, 135, 81, 0.25);
}

/* ── BLOG FEATURED CARD ── */
.blog-card-featured {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
}

.blog-card-featured .bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card-featured:hover .bg-img {
    transform: scale(1.07);
}

.blog-card-featured .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.blog-card-featured .content {
    position: relative;
    z-index: 2;
    padding: 40px;
    color: white;
}

.blog-card-featured .content .blog-cat {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-card-featured .content h3 {
    color: white;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 10px;
    font-family: var(--font-display);
}

.blog-card-featured .content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    max-width: 500px;
}

@media (max-width: 767.98px) {
    .blog-card-featured {
        min-height: 280px;
    }

    .blog-card-featured .content {
        padding: 24px;
    }

    .blog-card-featured .content h3 {
        font-size: 1.25rem;
    }
}

/* ── PAGINATION ── */
.portal-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.portal-pagination-info {
    font-size: 13px;
    color: var(--gray-500);
    text-align: center;
}

.portal-pagination-info strong {
    color: var(--dark);
    font-weight: 700;
}

.portal-pagination .pagination-custom {
    gap: 6px;
    flex-wrap: wrap;
    margin: 0;
}

.portal-pagination .page-item {
    margin: 0;
}

.portal-pagination .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 50px;
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: none;
    gap: 6px;
}

.portal-pagination .page-item .page-link:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.portal-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary), #006b3e);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 135, 81, 0.25);
    cursor: default;
}

.portal-pagination .page-item.active .page-link:hover {
    background: linear-gradient(135deg, var(--primary), #006b3e);
    border-color: var(--primary);
    color: var(--white);
    transform: none;
}

.portal-pagination .page-item.disabled .page-link {
    background: var(--gray-100);
    border-color: var(--gray-200);
    color: var(--gray-400);
    cursor: not-allowed;
    opacity: 0.6;
}

.portal-pagination .page-item:first-child .page-link,
.portal-pagination .page-item:last-child .page-link {
    font-size: 16px;
    padding: 0 14px;
}

.portal-pagination .page-item:first-child .page-link:hover i,
.portal-pagination .page-item:last-child .page-link:hover i {
    transform: scale(1.15);
}

.portal-pagination .page-item:first-child .page-link i,
.portal-pagination .page-item:last-child .page-link i {
    transition: transform 0.2s ease;
}

.pagination-custom {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 32px;
}

.pagination-custom .page-item {
    list-style: none;
}

.pagination-custom .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    background: white;
}

.pagination-custom .page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.pagination-custom .page-item.active .page-link {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination-custom .page-item.disabled .page-link {
    opacity: 0.4;
    pointer-events: none;
}

@media (max-width: 575.98px) {
    .portal-pagination-info {
        font-size: 12px;
    }

    .portal-pagination .page-item .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}
