/* =============================================================================
   THEME: GOVERNMENT-TECH CLEAN
   Clean, Modern, Premium Government-Tech design system
   Loaded AFTER style.css & modern-design.css (public pages only) so these
   rules take priority and re-skin the existing Bootstrap-based markup
   without needing to rewrite every page's HTML.
   ============================================================================= */

:root {
    --primary:       #1565C0;
    --primary-light: #1E88E5;
    --primary-pale:  #E3F2FD;
    --primary-dark:  #0D47A1;
    --accent:        #00ACC1;
    --accent-light:  #E0F7FA;
    --success:       #2E7D32;
    --success-light: #E8F5E9;
    --warning:       #F57F17;
    --warning-light: #FFFDE7;
    --danger:        #C62828;
    --danger-light:  #FFEBEE;
    --info:          #01579B;
    --info-light:    #E1F5FE;

    --white:   #FFFFFF;
    --gray-50: #F8FAFF;  --gray-100: #EEF2F7; --gray-200: #DDE3EE;
    --gray-300:#C4CEDF;  --gray-400: #9AABC4; --gray-500: #6B82A0;
    --gray-600:#4A617E;  --gray-700: #334159; --gray-800: #1E2D42; --gray-900: #0F1B2D;

    --body-bg: #F4F8FE;
    --card-bg: #FFFFFF;
    --border:  #DDE3EE;

    --shadow-xs: 0 1px 3px rgba(21,101,192,.06);
    --shadow-sm: 0 2px 8px rgba(21,101,192,.10);
    --shadow-md: 0 4px 20px rgba(21,101,192,.14);
    --shadow-lg: 0 8px 40px rgba(21,101,192,.18);
    --shadow-xl: 0 20px 60px rgba(21,101,192,.22);

    --radius-sm: 6px;  --radius-md: 12px; --radius-lg: 20px;
    --radius-xl: 28px; --radius-full: 9999px;

    --font-body:    'Plus Jakarta Sans', sans-serif;
    --font-display: 'DM Serif Display', serif;

    --nav-h: 76px;
    --transition: all .25s cubic-bezier(.4,0,.2,1);
}

/* =============================================================================
   BASE
   ============================================================================= */
body {
    font-family: var(--font-body);
    background: var(--body-bg);
    color: var(--gray-700);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { color: var(--gray-900); font-weight: 700; }
em, i.dm-serif { font-family: var(--font-display); font-style: italic; font-weight: 400; }
h1 em, h2 em, h3 em, .highlight {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

a { color: var(--primary); }
a:hover { color: var(--primary-dark); }

::selection { background: var(--primary-pale); color: var(--primary-dark); }

/* =============================================================================
   NAVBAR — glass, fixed, brand icon box
   ============================================================================= */
.navbar {
    background: rgba(255,255,255,.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: .85rem 0;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.navbar.scrolled {
    background: rgba(255,255,255,.98) !important;
    box-shadow: var(--shadow-md);
    padding: .6rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: var(--gray-900) !important;
    font-size: 1.2rem;
}

.navbar-brand img {
    height: 46px;
    width: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xs);
}

.navbar-nav .nav-link {
    color: var(--gray-700) !important;
    font-weight: 600;
    padding: .55rem 1rem !important;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-pale);
}

.navbar .dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: .5rem;
    margin-top: .5rem;
}

.navbar .dropdown-item {
    border-radius: var(--radius-sm);
    padding: .6rem .9rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}

.navbar .dropdown-item:hover {
    background: var(--primary-pale);
    color: var(--primary-dark) !important;
    padding-left: 1.1rem;
}

.navbar .nav-link.btn {
    color: var(--white) !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
    box-shadow: 0 4px 14px rgba(21,101,192,.3);
    border-radius: var(--radius-full) !important;
}

.navbar .nav-link.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21,101,192,.4);
}

/* =============================================================================
   BUTTONS — pill, shadow tint, lift on hover
   ============================================================================= */
.btn {
    border-radius: var(--radius-full);
    font-weight: 600;
    padding: .65rem 1.6rem;
    transition: var(--transition);
    letter-spacing: .01em;
    text-transform: none;
    border: none;
}

.btn:focus { box-shadow: none; }

.btn-lg { padding: .9rem 2.1rem; font-size: 1.05rem; }
.btn-sm { padding: .4rem 1.1rem; font-size: .85rem; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 6px 18px rgba(21,101,192,.28);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(21,101,192,.4);
    color: var(--white);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21,101,192,.25);
}

.btn-secondary, .btn-outline-secondary {
    background: var(--white);
    color: var(--gray-600);
    border: 1.5px solid var(--gray-300);
}
.btn-secondary:hover, .btn-outline-secondary:hover {
    background: var(--gray-100);
    color: var(--gray-800);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #43A047);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(46,125,50,.28);
}
.btn-success:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(46,125,50,.4); color: var(--white); }

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #E53935);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(198,40,40,.28);
}
.btn-danger:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(198,40,40,.4); color: var(--white); }

.btn-warning {
    background: linear-gradient(135deg, var(--warning), #FBC02D);
    color: var(--gray-900);
    box-shadow: 0 6px 18px rgba(245,127,23,.28);
}
.btn-warning:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(245,127,23,.4); color: var(--gray-900); }

.btn-info {
    background: linear-gradient(135deg, var(--accent), #26C6DA);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(0,172,193,.28);
}
.btn-info:hover { transform: translateY(-2px); color: var(--white); }

.btn-light, .btn-white {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}
.btn-light:hover, .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--primary-dark);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.6);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,.15);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

/* =============================================================================
   BADGES
   ============================================================================= */
.badge {
    border-radius: var(--radius-full);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .68rem;
    padding: .4em .85em;
}

.badge.bg-primary   { background: var(--primary-pale) !important; color: var(--primary-dark) !important; }
.badge.bg-success   { background: var(--success-light) !important; color: var(--success) !important; }
.badge.bg-warning   { background: var(--warning-light) !important; color: var(--warning) !important; }
.badge.bg-danger    { background: var(--danger-light) !important; color: var(--danger) !important; }
.badge.bg-info      { background: var(--info-light) !important; color: var(--info) !important; }
.badge.bg-secondary { background: var(--gray-100) !important; color: var(--gray-600) !important; }

/* =============================================================================
   CARDS
   ============================================================================= */
.card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
    background: var(--card-bg);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-pale);
}

.card-title { color: var(--gray-900); font-weight: 700; }
.card-body { padding: 1.5rem; }

/* Feature / service cards: accent top line reveal on hover */
.service-card, .tautan-card, .feature-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before, .tautan-card::before, .feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.service-card:hover::before, .tautan-card:hover::before, .feature-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover, .tautan-card:hover, .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    background: var(--card-bg);
    color: inherit;
}

.service-card i {
    font-size: 2.75rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.1rem;
    display: inline-block;
    transition: transform .3s ease;
}

.service-card:hover i { transform: scale(1.15) rotate(-6deg); }

.news-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card .badge { border-radius: var(--radius-full); }

.profile-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border);
}
.profile-card img {
    width: 150px; height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 5px solid var(--primary-pale);
    box-shadow: var(--shadow-sm);
}

.team-card { text-align: center; padding: 1.5rem; }
.team-card img {
    width: 150px; height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
    border: 3px solid var(--primary-pale);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.team-card:hover img { transform: scale(1.05); border-color: var(--primary-light); }

/* =============================================================================
   FORMS
   ============================================================================= */
.form-control, .form-select {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: .7rem 1rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-800);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(21,101,192,.10);
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: .4rem;
    font-size: .92rem;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}
.form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(21,101,192,.10);
}

@media (max-width: 768px) {
    .form-control, .form-select { font-size: 16px; }
}

/* =============================================================================
   TABLES
   ============================================================================= */
.table {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white) !important;
    font-weight: 700;
    border: none;
    padding: .9rem 1rem;
    white-space: nowrap;
}

.table tbody tr:nth-child(even) { background: var(--gray-50); }
.table-hover tbody tr:hover { background: var(--primary-pale) !important; }
.table td { vertical-align: middle; padding: .8rem 1rem; border-color: var(--border); }

.table-responsive {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--border);
}

/* =============================================================================
   ALERTS
   ============================================================================= */
.alert {
    border: none;
    border-left: 4px solid transparent;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    font-weight: 500;
}
.alert-primary { background: var(--primary-pale); color: var(--primary-dark); border-left-color: var(--primary); }
.alert-success { background: var(--success-light); color: var(--success); border-left-color: var(--success); }
.alert-warning { background: var(--warning-light); color: var(--warning); border-left-color: var(--warning); }
.alert-danger  { background: var(--danger-light); color: var(--danger); border-left-color: var(--danger); }
.alert-info    { background: var(--info-light); color: var(--info); border-left-color: var(--info); }

/* =============================================================================
   SECTION / SECTION-TITLE
   ============================================================================= */
.section { padding: clamp(50px, 8vw, 90px) 0; }
.section.bg-light { background: var(--gray-50) !important; }

.section-title { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

.section-title h2 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--gray-900);
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 70px; height: 4px;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.section-title p { color: var(--gray-500); margin-top: 1rem; font-size: 1.05rem; max-width: 640px; margin-left: auto; margin-right: auto; }

/* =============================================================================
   PAGE HERO (auto-applied to the first section-title block on inner pages)
   ============================================================================= */
.page-hero,
.section:first-of-type:has(> .container > .section-title:first-child) {
    background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
    padding: clamp(70px, 12vw, 110px) 0 clamp(50px, 8vw, 80px);
}

.page-hero::before,
.section:first-of-type:has(> .container > .section-title:first-child)::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .5;
    background-image: radial-gradient(circle, rgba(255,255,255,.18) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
}

.page-hero .section-title h2,
.section:first-of-type:has(> .container > .section-title:first-child) .section-title h2,
.page-hero .section-title p,
.section:first-of-type:has(> .container > .section-title:first-child) .section-title p {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.page-hero .section-title p,
.section:first-of-type:has(> .container > .section-title:first-child) .section-title p {
    color: rgba(255,255,255,.85);
}

.page-hero .section-title h2::after,
.section:first-of-type:has(> .container > .section-title:first-child) .section-title h2::after {
    background: var(--white);
}

.breadcrumb-govtech {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.breadcrumb-govtech a { color: rgba(255,255,255,.75); text-decoration: none; font-size: .88rem; font-weight: 600; }
.breadcrumb-govtech a:hover { color: var(--white); }
.breadcrumb-govtech span { color: rgba(255,255,255,.5); }

/* =============================================================================
   HERO (Beranda) — full gradient, decorative blobs
   ============================================================================= */
.hero-slider { position: relative; overflow: hidden; }

.hero-slider::before, .hero-slider::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    z-index: 0;
    pointer-events: none;
}
.hero-slider::before {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(30,136,229,.35), transparent 70%);
    top: -140px; right: -100px;
}
.hero-slider::after {
    width: 340px; height: 340px;
    background: radial-gradient(circle, rgba(0,172,193,.3), transparent 70%);
    bottom: -120px; left: -80px;
}

.hero-slide::before {
    background: linear-gradient(115deg, rgba(13,71,161,.82), rgba(21,101,192,.35));
}

.hero-content { z-index: 1; }

.hero-content h1 {
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    font-weight: 800;
}

/* =============================================================================
   HERO STATS
   ============================================================================= */
.hero-stats {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: -60px;
    position: relative;
    z-index: 5;
    padding: 2rem 1rem;
}

.hero-stats .stat-item { text-align: center; padding: 1rem; }
.hero-stats .stat-item .num {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.hero-stats .stat-item .lbl {
    color: var(--gray-500);
    font-weight: 600;
    font-size: .88rem;
    margin-top: .5rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.hero-stats .stat-item i {
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: .5rem;
    display: inline-block;
}

/* =============================================================================
   CTA SECTION
   ============================================================================= */
.cta-section {
    background: linear-gradient(120deg, var(--primary), var(--accent));
    border-radius: var(--radius-xl);
    padding: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,.14) 0, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(255,255,255,.14) 0, transparent 40%);
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); }
.cta-section p { color: rgba(255,255,255,.9); }

/* =============================================================================
   FOOTER
   ============================================================================= */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 4rem 0 1.5rem;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.footer h5 { color: var(--white); font-weight: 700; margin-bottom: 1.4rem; }
.footer p { color: var(--gray-400); }
.footer a { color: var(--gray-400); text-decoration: none; transition: var(--transition); }
.footer a:hover { color: var(--white); padding-left: 3px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 1.5rem;
    margin-top: 2.5rem;
    text-align: center;
    color: var(--gray-500);
    font-size: .88rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    margin: 0 5px 0 0;
    transition: var(--transition);
    color: var(--white);
}
.social-links a:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* =============================================================================
   LOADING SCREEN
   ============================================================================= */
#loading-screen {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-pale) 100%);
}
.loading-title { color: var(--gray-900); }
.loading-text { color: var(--gray-500); }
.loading-credit strong { color: var(--primary); }

/* =============================================================================
   PAGINATION
   ============================================================================= */
.pagination .page-link {
    border: none;
    color: var(--gray-600);
    font-weight: 600;
    margin: 0 3px;
    border-radius: var(--radius-full) !important;
    transition: var(--transition);
}
.pagination .page-link:hover { background: var(--primary-pale); color: var(--primary-dark); }
.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 4px 12px rgba(21,101,192,.3);
}

/* =============================================================================
   MODAL
   ============================================================================= */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}
.modal-header {
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
}
.modal-header .modal-title { font-weight: 700; color: var(--gray-900); }
.modal-footer { border-top: 1px solid var(--border); padding: 1rem 1.5rem; }
.modal-backdrop.show { opacity: .55; backdrop-filter: blur(2px); }

/* =============================================================================
   CUSTOM TOAST (govtech-toast) — used by inline JS helper, see main.js
   ============================================================================= */
.govtech-toast-wrap {
    position: fixed;
    top: 20px; right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.govtech-toast {
    min-width: 280px;
    max-width: 340px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: .9rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    overflow: hidden;
    position: relative;
    animation: toastIn .35s cubic-bezier(.34,1.56,.64,1);
}
.govtech-toast.hide { animation: toastOut .3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }

.govtech-toast .icon {
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: var(--white); font-size: .95rem;
}
.govtech-toast.success .icon { background: var(--success); }
.govtech-toast.danger .icon  { background: var(--danger); }
.govtech-toast.warning .icon { background: var(--warning); }
.govtech-toast.info .icon    { background: var(--info); }

.govtech-toast .msg { font-size: .88rem; color: var(--gray-700); font-weight: 500; padding-top: 2px; }
.govtech-toast .bar {
    position: absolute; left: 0; bottom: 0; height: 3px;
    background: rgba(21,101,192,.35);
    animation: toastBar 4s linear forwards;
}
@keyframes toastBar { from { width: 100%; } to { width: 0%; } }

/* SweetAlert2 restyle to match govtech system (used for form submissions) */
.swal2-popup { border-radius: var(--radius-lg) !important; font-family: var(--font-body) !important; }
.swal2-title { color: var(--gray-900) !important; font-weight: 700 !important; }
.swal2-confirm { border-radius: var(--radius-full) !important; background: var(--primary) !important; box-shadow: 0 6px 18px rgba(21,101,192,.28) !important; }
.swal2-cancel { border-radius: var(--radius-full) !important; }

/* =============================================================================
   ANIMATIONS / SCROLL-REVEAL
   ============================================================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

.reveal.delay-1.in-view { transition-delay: .1s; }
.reveal.delay-2.in-view { transition-delay: .2s; }
.reveal.delay-3.in-view { transition-delay: .3s; }
.reveal.delay-4.in-view { transition-delay: .4s; }
.reveal.delay-5.in-view { transition-delay: .5s; }

/* =============================================================================
   LOGIN PAGE
   ============================================================================= */
.login-page-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--body-bg) 0%, var(--primary-pale) 100%);
    position: relative;
    overflow: hidden;
    padding: 2rem 1rem;
}
.login-page-wrap::before {
    content: '';
    position: absolute;
    width: 520px; height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(21,101,192,.14), transparent 70%);
    top: -160px; right: -160px;
}
.login-card {
    width: 100%;
    max-width: 440px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.login-card .login-head {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.login-card .login-head::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.16) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
}
.login-card .login-logo {
    width: 74px; height: 74px;
    border-radius: 50%;
    background: var(--white);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-md);
    position: relative; z-index: 1;
    overflow: hidden;
}
.login-card .login-logo img { width: 100%; height: 100%; object-fit: cover; }
.login-card .login-head h4 { color: var(--white); font-weight: 700; margin: 0; position: relative; z-index: 1; }
.login-card .login-head p { color: rgba(255,255,255,.8); margin: .3rem 0 0; font-size: .88rem; position: relative; z-index: 1; }
.login-card .login-body { padding: 2rem; }

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.4rem; }
}

@media (max-width: 768px) {
    .navbar-brand img { height: 38px; }
    .hero-stats { margin-top: -40px; border-radius: var(--radius-md); }
    .section { padding: 50px 0; }
}

@media (max-width: 480px) {
    .hero-stats .stat-item { padding: .6rem; }
    .btn-lg { padding: .75rem 1.5rem; font-size: .95rem; }
}

@media (max-width: 375px) {
    .section-title h2 { font-size: 1.6rem; }
}
