/* Active Skills Career - Ultra-Clean Modern Professional Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --bg-subtle: #f1f5f9;
    --bg-soft-blue: #eff6ff;
    --bg-soft-emerald: #ecfdf5;
    --bg-soft-amber: #fffbeb;
    --bg-soft-purple: #faf5ff;
    
    --border-color: #e2e8f0;
    --border-subtle: #f1f5f9;
    --border-highlight: #6366f1;

    --primary: #4338ca;
    --primary-light: #6366f1;
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --primary-glow: rgba(99, 102, 241, 0.25);
    
    --accent: #059669;
    --accent-light: #10b981;
    --accent-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --accent-glow: rgba(16, 185, 129, 0.2);
    
    --gold: #d97706;
    --gold-light: #f59e0b;
    --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    
    --danger: #dc2626;
    --danger-light: #ef4444;

    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-sub: #94a3b8;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
    --shadow-float: 0 15px 35px rgba(99, 102, 241, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.25s ease;
}

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   TOP FLASH TRUST BAR (SINCE 2016)
   ========================================================================== */
.top-flash-bar {
    background: linear-gradient(90deg, #090d16 0%, #171738 50%, #090d16 100%);
    color: #ffffff;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 105;
}

.top-flash-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.top-flash-inner::-webkit-scrollbar {
    display: none;
}

.flash-left {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.flash-badge-pulse {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f59e0b;
    color: #0f172a;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.4px;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
    flex-shrink: 0;
    white-space: nowrap;
    animation: flashPulse 2s infinite;
}

@keyframes flashPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.flash-company-text {
    font-weight: 600;
    color: #f1f5f9;
    font-size: 11.5px;
    letter-spacing: 0.2px;
}

.flash-regd-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #93c5fd;
    font-size: 10.5px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    white-space: nowrap;
}

.flash-contact-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.flash-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.flash-action-pill.call-pill {
    background: rgba(255, 255, 255, 0.07);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.flash-action-pill.call-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.flash-action-pill.wa-pill {
    background: rgba(37, 211, 102, 0.15);
    color: #4ade80;
    border: 1px solid rgba(37, 211, 102, 0.35);
}

.flash-action-pill.wa-pill:hover {
    background: rgba(37, 211, 102, 0.28);
    color: #ffffff;
}

/* ==========================================================================
   PREMIUM FLOATING CAPSULE HEADER & NAVBAR
   ========================================================================== */
.header-wrapper {
    position: sticky;
    top: 12px;
    z-index: 1000;
    padding: 0 12px;
    margin-bottom: 22px;
}

.header-wrapper .container {
    max-width: 1400px;
    padding: 0 8px;
}

.navbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-full);
    box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 0 16px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Brand Logo */
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-badge {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 17px;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
    transition: transform 0.25s ease;
}

.brand-logo:hover .logo-badge {
    transform: scale(1.06) rotate(-3deg);
}

.brand-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.brand-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16.5px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.brand-tag {
    font-size: 8.5px;
    font-weight: 800;
    color: #4f46e5;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 1px;
    white-space: nowrap;
}

/* Desktop Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-link {
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    border-radius: var(--radius-full);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    white-space: nowrap;
}

.nav-link i {
    font-size: 11.5px;
    color: #64748b;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #4338ca;
    background: #f1f5f9;
}

.nav-link:hover i {
    color: #4338ca;
}

.nav-link.active {
    color: #4338ca;
    background: rgba(99, 102, 241, 0.08);
    font-weight: 700;
}

.nav-link.active i {
    color: #4338ca;
}

.nav-link-highlight {
    background: rgba(99, 102, 241, 0.08);
    color: #4f46e5 !important;
    font-weight: 700;
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 5px 10px;
}

.nav-link-highlight i {
    color: #4f46e5 !important;
}

.nav-link-highlight:hover {
    background: rgba(99, 102, 241, 0.15) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

/* Right Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.btn-icon-cart {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    position: relative;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-icon-cart:hover {
    background: #f1f5f9;
    color: #4f46e5;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.cart-count-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.btn-nav-login {
    color: #334155 !important;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 13px;
    border-radius: var(--radius-full);
    border: 1px solid #e2e8f0;
    background: #ffffff;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-nav-login:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a !important;
}

.btn-nav-cta {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 15px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.45);
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    align-items: center;
    justify-content: center;
    color: #334155;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-nav-toggle:hover {
    background: #f1f5f9;
    color: #4f46e5;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    display: none;
    position: absolute;
    top: 76px;
    left: 12px;
    right: 12px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.15);
    padding: 20px;
    z-index: 999;
}

.mobile-nav-drawer.open {
    display: block;
    animation: slideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    color: #334155;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s;
}

.mobile-menu-link i {
    width: 20px;
    color: #64748b;
}

.mobile-menu-link:hover, .mobile-menu-link.active {
    background: #f1f5f9;
    color: #4f46e5;
}

.mobile-menu-link:hover i, .mobile-menu-link.active i {
    color: #4f46e5;
}

.mobile-link-highlight {
    background: rgba(99, 102, 241, 0.08);
    color: #4f46e5;
    font-weight: 700;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}

.btn-accent {
    background: var(--accent-gradient);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.btn-outline {
    background: #ffffff;
    color: #334155 !important;
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-subtle);
    border-color: #cbd5e1;
    color: var(--text-main) !important;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.btn-lg {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* ==========================================================================
   HERO CAROUSEL BANNER SECTION
   ========================================================================== */
.hero-slider-section {
    position: relative;
    margin-bottom: 24px;
    width: 100%;
}

.slider-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #ffffff;
    min-height: 400px;
    width: 100%;
}

.slide-track {
    display: flex;
    width: 300%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-item {
    width: 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 50px 50px;
    box-sizing: border-box;
    min-height: 400px;
}

.slide-1 {
    background: linear-gradient(135deg, rgba(238, 242, 255, 0.95) 0%, rgba(224, 231, 255, 0.85) 100%), radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.25), transparent 50%);
}

.slide-2 {
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.95) 0%, rgba(209, 250, 229, 0.85) 100%), radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.25), transparent 50%);
}

.slide-3 {
    background: linear-gradient(135deg, rgba(255, 251, 235, 0.95) 0%, rgba(254, 243, 199, 0.85) 100%), radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.25), transparent 50%);
}

.slide-content {
    max-width: 650px;
    z-index: 2;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #ffffff;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 18px;
}

.slide-title {
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 14px;
    font-weight: 800;
    color: #0f172a;
}

.slide-desc {
    font-size: 15.5px;
    color: #475569;
    margin-bottom: 24px;
    line-height: 1.6;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    right: 30px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(15, 23, 42, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 28px;
    background: var(--primary);
}

/* ==========================================================================
   FLOATING PILL SEARCH BAR
   ========================================================================== */
.search-pill-wrapper {
    max-width: 820px;
    margin: 32px auto 36px;
    position: relative;
    z-index: 20;
    padding: 0 16px;
}

.search-pill-box {
    background: #ffffff;
    border-radius: var(--radius-full);
    padding: 8px 12px 8px 24px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 14px;
}

.search-pill-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    color: var(--text-main);
    background: transparent;
    font-weight: 500;
}

.search-pill-input::placeholder {
    color: #94a3b8;
}

.search-pill-submit {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-full);
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.search-pill-submit:hover {
    transform: scale(1.05);
}

/* ==========================================================================
   12-CATEGORY MATRIX GRID
   ========================================================================== */
.category-matrix {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.cat-item {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 18px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xs);
}

.cat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #c7d2fe;
}

.cat-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.2s;
}

.cat-icon-box.c-blue { background: #eff6ff; color: #2563eb; }
.cat-icon-box.c-emerald { background: #ecfdf5; color: #059669; }
.cat-icon-box.c-amber { background: #fffbeb; color: #d97706; }
.cat-icon-box.c-purple { background: #faf5ff; color: #7c3aed; }
.cat-icon-box.c-rose { background: #fff1f2; color: #e11d48; }
.cat-icon-box.c-indigo { background: #eef2ff; color: #4f46e5; }
.cat-icon-box.c-teal { background: #f0fdfa; color: #0d9488; }
.cat-icon-box.c-cyan { background: #ecfeff; color: #0891b2; }

.cat-title {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    line-height: 1.3;
}

.cat-item:hover .cat-title {
    color: var(--primary);
}

/* ==========================================================================
   CARDS & SECTIONS
   ========================================================================== */
.glass-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.glass-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    gap: 16px;
}

.section-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

.btn-section-action {
    padding: 11px 26px;
    font-size: 14.5px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border-radius: var(--radius-full);
    text-decoration: none;
    letter-spacing: 0.2px;
    transition: all 0.25s ease;
}

.btn-section-action.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-section-action.btn-accent {
    background: var(--accent-gradient);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-section-action:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

/* Tutor Cards Grid */
.tutor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.tutor-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.tutor-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #c7d2fe;
}

.tutor-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: #eef2ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border: 2px solid #c7d2fe;
}

.tag {
    font-size: 11px;
    padding: 4px 10px;
    background: #f1f5f9;
    border-radius: var(--radius-full);
    color: #475569;
    font-weight: 600;
}

.tutor-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
}

.badge-verified {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.badge-bv {
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
}

.badge-gold {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

/* Product Cards Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 18px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.product-icon-wrap {
    width: 100%;
    height: 160px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 14px;
    position: relative;
}

/* Plan Cards */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.plan-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.plan-card.featured {
    border-color: var(--primary-light);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.12);
}

.plan-price {
    font-size: 40px;
    font-weight: 900;
    color: #0f172a;
    margin: 12px 0 16px;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin: 20px 0 28px;
}

.plan-features li {
    padding: 9px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #475569;
}

.plan-features li i {
    color: var(--accent);
}

/* Feature 4-Boxes */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.why-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

/* Forms */
.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    color: #0f172a;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
    background: #ffffff;
}

.custom-table th {
    background: #f8fafc;
    padding: 14px 18px;
    color: #475569;
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
}

.custom-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    color: #1e293b;
}

.custom-table tr:hover td {
    background: #f8fafc;
}

/* Alerts */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* Footer */
.footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 50px 0 24px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 36px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #0f172a;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #64748b;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #94a3b8;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1280px) {
    .nav-link {
        font-size: 11.5px;
        padding: 5px 6px;
        gap: 3px;
    }
    .nav-link i {
        font-size: 10.5px;
    }
    .brand-title {
        font-size: 15.5px;
    }
    .btn-nav-login {
        font-size: 11.5px;
        padding: 5px 10px;
    }
    .btn-nav-cta {
        font-size: 11.5px;
        padding: 5px 12px;
    }
}

@media (max-width: 1160px) {
    .nav-link i {
        display: none; /* Hide icons so text labels fit cleanly without overflow */
    }
    .nav-link {
        font-size: 11.5px;
        padding: 5px 6px;
    }
}

@media (max-width: 1040px) {
    .nav-links {
        display: none;
    }
    .mobile-nav-toggle {
        display: inline-flex;
    }
    .category-matrix {
        grid-template-columns: repeat(4, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .slide-title {
        font-size: 34px;
    }
    .slide-item {
        padding: 40px 30px;
        min-height: 340px;
    }
}

@media (max-width: 768px) {
    .hide-mobile-word {
        display: none !important;
    }
    .top-flash-bar {
        padding: 5px 0;
        font-size: 11px;
    }
    .top-flash-inner {
        gap: 6px;
        padding: 0 8px;
    }
    .flash-company-text {
        display: none; /* Hide long text on mobile to avoid 4-line wrapping clutter */
    }
    .flash-left {
        gap: 6px;
        flex-shrink: 0;
        overflow: visible;
    }
    .flash-badge-pulse {
        font-size: 10px;
        padding: 2px 7px;
        flex-shrink: 0;
        white-space: nowrap;
    }
    .flash-regd-pill {
        font-size: 10px;
        padding: 2px 6px;
        flex-shrink: 0;
        white-space: nowrap;
    }
    .flash-contact-links {
        gap: 6px;
        flex-shrink: 0;
    }
    .flash-action-pill {
        padding: 2px 8px;
        font-size: 10.5px;
        flex-shrink: 0;
        white-space: nowrap;
    }
    .header-wrapper {
        top: 6px;
        padding: 0 8px;
        margin-bottom: 16px;
    }
    .navbar {
        height: 56px;
        padding: 0 12px;
        border-radius: 16px;
    }
    .logo-badge {
        width: 34px;
        height: 34px;
        font-size: 15px;
        border-radius: 10px;
    }
    .brand-title {
        font-size: 15px;
    }
    .brand-tag {
        font-size: 7.5px;
        letter-spacing: 0.03em;
    }
    .btn-icon-cart {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
    .btn-nav-login {
        display: none;
    }
    .btn-nav-cta {
        height: 34px;
        padding: 0 12px;
        font-size: 12px;
        border-radius: 10px;
    }
    .mobile-nav-toggle {
        width: 34px;
        height: 34px;
        font-size: 14px;
        border-radius: 10px;
    }
    .category-matrix {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-slider-section {
        margin-bottom: 20px;
    }
    .slide-title {
        font-size: 28px;
    }
    .slide-item {
        padding: 30px 20px;
        min-height: 300px;
    }
    .slide-desc {
        font-size: 14px;
    }
    .slider-dots {
        bottom: 14px;
        right: 20px;
    }
    .search-pill-wrapper {
        margin: 20px auto 28px;
        padding: 0 12px;
    }
    .search-pill-box {
        padding: 6px 10px 6px 18px;
    }
    .search-pill-submit {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 22px;
    }
    .btn-section-action {
        padding: 9px 20px;
        font-size: 13.5px;
        width: auto;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .top-flash-bar {
        padding: 4px 0;
    }
    .top-flash-inner {
        padding: 0 4px;
        gap: 4px;
    }
    .flash-left {
        gap: 4px;
        flex-shrink: 0;
    }
    .flash-badge-pulse {
        font-size: 9px;
        padding: 1.5px 5px;
        flex-shrink: 0;
        white-space: nowrap;
    }
    .flash-regd-pill {
        font-size: 9px;
        padding: 1.5px 5px;
        flex-shrink: 0;
        white-space: nowrap;
    }
    .flash-contact-links {
        gap: 4px;
        flex-shrink: 0;
    }
    .flash-action-pill {
        padding: 1.5px 5px;
        font-size: 9.5px;
        flex-shrink: 0;
        white-space: nowrap;
    }
    .navbar {
        padding: 0 10px;
    }
    .brand-title {
        font-size: 14.5px;
    }
    .brand-tag {
        font-size: 7px;
        letter-spacing: 0.02em;
    }
    .nav-actions {
        gap: 6px;
    }
    .category-matrix {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 20px;
    }
    .btn-section-action {
        width: auto;
        align-self: flex-start;
        padding: 9px 20px;
        font-size: 13.5px;
    }
    .btn-nav-cta {
        padding: 0 10px;
        font-size: 11.5px;
        height: 32px;
    }
    .search-pill-wrapper {
        margin: 18px auto 24px;
        padding: 0 8px;
    }
    .search-pill-input {
        font-size: 13.5px;
    }
}

/* ==========================================================================
   PHOTO GALLERY & LIGHTBOX STYLES
   ========================================================================== */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.gallery-filter-btn {
    padding: 9px 20px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gallery-filter-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.gallery-filter-btn.active {
    background: var(--primary-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 26px;
    margin-bottom: 40px;
}

.gallery-item-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #c7d2fe;
}

.gallery-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    cursor: pointer;
    background: #f1f5f9;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-img-wrapper:hover .gallery-img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.75) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 14px;
    color: #ffffff;
}

.gallery-zoom-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.gallery-img-wrapper:hover .gallery-zoom-icon {
    transform: scale(1.1);
}

.gallery-badge {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-creative-wrap {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    color: #ffffff;
}

.creative-content .creative-icon {
    font-size: 38px;
    margin-bottom: 12px;
}

.creative-content h4 {
    font-size: 18px;
    margin: 0 0 6px;
    color: #ffffff;
}

.creative-content p {
    font-size: 12.5px;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
}

.gallery-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gallery-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.tuition-tag { color: #4f46e5; }
.seminar-tag { color: #d97706; }
.kit-tag { color: #059669; }
.community-tag { color: #2563eb; }

.gallery-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
    line-height: 1.4;
}

.gallery-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}

.gallery-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

/* Lightbox Modal */
.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-content {
    position: relative;
    max-width: 860px;
    width: 100%;
    background: #0f172a;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: zoomModal 0.3s ease;
}

@keyframes zoomModal {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.gallery-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
    font-size: 26px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}

.gallery-modal-close:hover {
    background: #ef4444;
    color: #ffffff;
}

.gallery-modal-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.gallery-modal-caption {
    padding: 20px 24px;
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   LEGAL DOCUMENTS & CERTIFICATES STYLES
   ========================================================================== */
.cert-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

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

.cert-header {
    padding: 22px 20px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.cert-stamp {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 70px;
    opacity: 0.12;
    transform: rotate(-15deg);
}

.cert-emblem {
    font-size: 24px;
    margin-bottom: 8px;
    color: #fbbf24;
}

.cert-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #ffffff;
}

.cert-authority {
    font-size: 11.5px;
    color: #cbd5e1;
    display: block;
}

.cert-body {
    padding: 20px;
    flex: 1;
    background: #ffffff;
}

.cert-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f8fafc;
    font-size: 13px;
}

.cert-info-row:last-child {
    border-bottom: none;
}

.cert-info-row .info-label {
    color: #64748b;
    font-weight: 500;
}

.cert-info-row .info-val {
    color: #0f172a;
    font-weight: 600;
    text-align: right;
}

.cert-footer {
    padding: 14px 20px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

/* ==========================================================================
   NEWS & MEDIA COVERAGE STYLES
   ========================================================================== */
.news-clipping-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.news-clipping-card:hover .clipping-hover-overlay {
    opacity: 1 !important;
}

.news-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #c7d2fe;
}

.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 11.5px;
}

.news-tag-media {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-date {
    color: #94a3b8;
    font-weight: 500;
}

.news-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin: 0 0 10px;
}

.news-card-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 18px;
    flex: 1;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 12px;
}

.news-source {
    color: #64748b;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.news-link:hover {
    color: var(--primary-light);
}

/* ==========================================================================
   ADMISSION GUIDANCE & CAREER COUNSELING SECTION
   ========================================================================== */
.admission-banner-section {
    background: linear-gradient(135deg, #091e3a 0%, #102a4e 50%, #06192e 100%);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    color: #ffffff;
    box-shadow: 0 20px 45px -10px rgba(10, 30, 60, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.admission-banner-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.admission-banner-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
}

@media (max-width: 992px) {
    .admission-banner-grid {
        grid-template-columns: 1fr;
    }
}

.admission-badge-pulse {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.admission-streams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
}

@media (max-width: 640px) {
    .admission-streams-grid {
        grid-template-columns: 1fr;
    }
}

.stream-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 16px 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.stream-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.stream-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 8px;
}

.stream-card.medical .stream-icon-box {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.stream-card.management .stream-icon-box {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.stream-card.engineering .stream-icon-box {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.stream-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    color: #ffffff;
}

.stream-courses {
    font-size: 11.5px;
    color: #cbd5e1;
    line-height: 1.4;
}

.admission-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    margin-bottom: 24px;
}

@media (max-width: 500px) {
    .admission-features-list {
        grid-template-columns: 1fr;
    }
}

.admission-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #e2e8f0;
}

.admission-feature-item i {
    color: #34d399;
    font-size: 14px;
}

.admission-poster-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: #000;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admission-poster-card:hover {
    transform: scale(1.02);
    border-color: #34d399;
    box-shadow: 0 20px 45px rgba(16, 185, 129, 0.3);
}

.admission-poster-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.admission-poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admission-poster-card:hover .admission-poster-overlay {
    opacity: 1;
}

.admission-contact-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   8 MASTER PORTALS GRID (CUSTOMER SPECIFICATION)
   ========================================================================== */
.master-portals-section {
    margin-bottom: 45px;
}

.master-portals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1024px) {
    .master-portals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .master-portals-grid {
        grid-template-columns: 1fr;
    }
}

.portal-box-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.portal-box-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-light);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.12);
}

.portal-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.portal-box-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.portal-box-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}

.portal-box-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 14px;
    flex-grow: 1;
}

.portal-box-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    border-top: 1px dashed #e2e8f0;
    padding-top: 12px;
}

.portal-action-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.portal-action-btn.parent-btn {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.portal-action-btn.parent-btn:hover {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

.portal-action-btn.teacher-btn {
    background: rgba(16, 185, 129, 0.08);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.portal-action-btn.teacher-btn:hover {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
}

