/* assets/css/style.css */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Primary & Neutral Palette */
    --primary: #163A5F;
    --primary-light: #1F4E79;
    --primary-dark: #0F2843;
    
    --secondary: #0B7A75;
    --secondary-light: #129c95;
    
    /* Warm & Inviting Accent (Amber/Gold) */
    --accent: #F4A340;
    --accent-hover: #E67E22;
    --accent-gradient: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    
    --dark: #0F172A;
    --white: #FFFFFF;
    --bg-color: #F8FAFC;
    --bg-alt: #F1F5F9;
    --card-bg: #FFFFFF;
    
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    
    --success: #10B981;
    --danger: #EF4444;

    /* Shadows & Radii */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.12);
    --shadow-hover: 0 16px 32px rgba(22, 58, 95, 0.15);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-pill: 9999px;

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.25;
    font-weight: 700;
}

/* Page Hero Banner & Dark Sections */
.page-hero {
    background: linear-gradient(135deg, #0A192F 0%, #163A5F 100%);
    color: #FFFFFF !important;
    padding: 70px 0;
    text-align: center;
    position: relative;
}

.page-hero h1,
.page-hero h2,
.page-hero h3,
.hero h1,
.hero h2,
.uni-hero h1,
.uni-hero h2,
.course-hero h1,
.course-hero h2,
.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
[style*="background: linear-gradient"] h1,
[style*="background: linear-gradient"] h2,
[style*="background: var(--dark)"] h1,
[style*="background: var(--dark)"] h2,
[style*="background: var(--primary)"] h1,
[style*="background: var(--primary)"] h2 {
    color: #FFFFFF !important;
}

.page-hero p,
.dark-section p {
    color: rgba(255, 255, 255, 0.9) !important;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Helper Utilities */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.flex-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Typography & Titles */
.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white) !important;
    box-shadow: 0 2px 8px rgba(22, 58, 95, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 58, 95, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--white) !important;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(11, 122, 117, 0.3);
}

@keyframes btnGrowEffect {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 6px 20px rgba(225, 29, 72, 0.55);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
    }
}

.btn-accent,
.btn-apply,
.header-apply-btn,
.btn-red-cta {
    background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35) !important;
    border: none !important;
    font-weight: 700 !important;
    animation: btnGrowEffect 2.5s ease-in-out infinite;
    transition: all 0.25s ease !important;
}

.btn-accent:hover,
.btn-apply:hover,
.header-apply-btn:hover,
.btn-red-cta:hover {
    background: linear-gradient(135deg, #F43F5E 0%, #9F1239 100%) !important;
    color: #FFFFFF !important;
    transform: scale(1.07) translateY(-1px) !important;
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.65) !important;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white) !important;
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    color: var(--white) !important;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    color: var(--white) !important;
}

.btn-sm {
    padding: 7px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 13px 30px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
    display: flex;
}

/* Announcement Bar */
.announcement-bar {
    background: #0B1E33;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.announcement-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.announcement-link:hover {
    color: #fff;
}

/* Header & Navigation */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
    gap: 20px;
}

/* Brand Text Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 80px;
    object-fit: contain;
}

.brand-text-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.brand-names {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Nav Links */
.nav-container {
    display: flex;
    align-items: center;
}

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

.nav-links a {
    color: var(--text-main);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 0.98rem;
    position: relative;
    padding: 6px 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.mobile-only-nav {
    display: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header-phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
}

.phone-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(244, 163, 64, 0.15);
    color: #D97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.phone-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.phone-text-wrapper small {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.phone-text-wrapper strong {
    font-size: 0.92rem;
    font-weight: 700;
}

.header-apply-btn {
    padding: 9px 20px;
    font-size: 0.92rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--primary);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
}

/* Hero Section with Zooming Background */
.hero {
    position: relative;
    padding: 90px 0;
    color: var(--white);
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-bg-zoom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: heroKenBurns 18s ease-in-out infinite alternate;
    z-index: 1;
    transform-origin: center center;
}

@keyframes heroKenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.12);
    }
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-text {
    max-width: 640px;
    background: linear-gradient(135deg, rgb(10 25 47 / 69%) 0%, rgb(15 35 60 / 35%) 100%);
    /* backdrop-filter: blur(1px); */
    -webkit-backdrop-filter: blur(14px);
    padding: 42px 38px;
    border-radius: 20px;
    border: 1px solid rgb(255 255 255 / 61%);
    box-shadow: 0 20px 45px rgb(0 0 0 / 36%);
}

.hero-text h1 {
    font-size: 3.1rem;
    color: #FFFFFF !important;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-text p {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.92) !important;
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 100%;
}

.hero-cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 28px;
}

.btn-hero-enquiry {
    background: linear-gradient(135deg, #163A5F 0%, #20548A 100%) !important;
    color: #FFFFFF !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    transition: all 0.25s ease !important;
}

.btn-hero-enquiry:hover {
    background: linear-gradient(135deg, #20548A 0%, #0F2A47 100%) !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px;
    margin-top: 12px;
    width: 100%;
}

.stat-item {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 12px 8px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.stat-item h3 {
    font-size: 1.65rem;
    color: var(--accent) !important;
    margin-bottom: 2px;
    font-weight: 800;
}

.stat-item p {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95) !important;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .hero-text {
        padding: 26px 18px;
        border-radius: 16px;
    }
    .hero-text h1 {
        font-size: 2.1rem;
    }
    .hero-cta-wrapper {
        flex-direction: column;
        width: 100%;
    }
    .hero-cta-wrapper .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-stats {
        gap: 8px !important;
    }
    .stat-item {
        padding: 10px 4px !important;
        border-radius: 10px !important;
    }
    .stat-item h3 {
        font-size: 1.25rem !important;
    }
    .stat-item p {
        font-size: 0.65rem !important;
        letter-spacing: 0 !important;
    }
}

/* Glassmorphism Hero Form */
.hero-form-container.glass-form {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.glass-form .form-title {
    color: var(--primary);
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.glass-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
    display: block;
}

.glass-form .form-control {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 0.94rem;
}

.glass-form .form-control:focus {
    background: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22, 58, 95, 0.15);
}

@media (max-width: 992px) {
    .hero {
        padding: 60px 0;
    }
    .hero-content {
        justify-content: center;
    }
    .hero-text {
        text-align: center;
        margin: 0 auto;
    }
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-cta-wrapper {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-form-container h3 {
    color: var(--primary);
    font-size: 1.45rem;
    margin-bottom: 6px;
}

.hero-form-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-main);
    background-color: #FFFFFF;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22, 58, 95, 0.12);
}

/* Cards & Grid System */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.card-image {
    position: relative;
    height: 190px;
    background: var(--bg-alt);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.card:hover .card-image img {
    transform: scale(1.04);
}

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

.card-badge {
    display: inline-block;
    background: rgba(22, 58, 95, 0.08);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    align-self: flex-start;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.35;
}

.card-title a {
    color: inherit;
}

.card-title a:hover {
    color: var(--accent-hover);
}

.card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-meta i {
    color: var(--accent);
}

.card-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.55;
    flex: 1;
}

.card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
    align-items: center;
}

.card-footer .btn {
    flex: 1;
    text-align: center;
    padding: 9px 12px;
    font-size: 0.88rem;
}

@media (max-width: 768px) {
    .card-image {
        height: 120px !important;
    }
    .card-image i {
        font-size: 1.8rem !important;
        margin-bottom: 4px !important;
    }
    .card-image span {
        font-size: 0.85rem !important;
    }
    .card-body {
        padding: 14px 10px !important;
    }
    .card-badge {
        font-size: 0.65rem !important;
        padding: 2px 6px !important;
        margin-bottom: 6px !important;
    }
    .card-title {
        font-size: 0.94rem !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
    }
    .card-meta {
        font-size: 0.72rem !important;
        gap: 6px !important;
        margin-bottom: 8px !important;
    }
    .card-text {
        font-size: 0.76rem !important;
        line-height: 1.35 !important;
        margin-bottom: 10px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .card-footer {
        flex-direction: column !important;
        gap: 5px !important;
        padding-top: 8px !important;
    }
    .card-footer .btn {
        width: 100% !important;
        padding: 6px 4px !important;
        font-size: 0.74rem !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .card-image {
        height: 105px !important;
    }
    .card-image i {
        font-size: 1.5rem !important;
    }
    .card-image span {
        font-size: 0.78rem !important;
    }
    .card-title {
        font-size: 0.88rem !important;
    }
}

/* Learning Mode Card */
.learning-mode-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 35px 22px;
    text-align: center;
    transition: var(--transition);
}

.learning-mode-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: var(--accent);
}

.learning-mode-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 18px;
    display: inline-block;
}

.learning-mode-card h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.learning-mode-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Tabs */
.tabs-header {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.tab-btn {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--text-muted);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Universities Carousel / Marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 12px 0;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.marquee-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    padding: 12px 20px;
    min-width: 220px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.marquee-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(22, 58, 95, 0.12);
    border-color: var(--accent);
}

.marquee-item img {
    max-height: 48px;
    max-width: 160px;
    object-fit: contain;
}

.marquee-logo-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    width: 100%;
}

.marquee-logo-badge i {
    font-size: 1.5rem;
    color: var(--primary);
    background: rgba(22, 58, 95, 0.08);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.marquee-uni-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.marquee-uni-text strong {
    font-size: 0.92rem;
    color: var(--dark);
    font-weight: 700;
    white-space: nowrap;
}

.marquee-uni-text small {
    font-size: 0.74rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Director Spotlight Showcase */
.director-section {
    position: relative;
    overflow: hidden;
}

.director-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid #E2E8F0;
    display: grid;
    grid-template-columns: 0.95fr 1.35fr;
    overflow: hidden;
    position: relative;
}

.director-image-wrapper {
    background: linear-gradient(135deg, #0A192F 0%, #163A5F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    position: relative;
}

.director-image-frame {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.director-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.director-card:hover .director-img {
    transform: scale(1.03);
}

.director-badge-floating {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FCD34D;
    padding: 8px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.director-content {
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.director-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244, 163, 64, 0.12);
    color: #D97706;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.director-heading {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.director-divider {
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-bottom: 22px;
}

.director-quote-lead {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    padding-left: 18px;
    border-left: 3px solid var(--accent);
}

.director-body {
    font-size: 0.96rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 28px;
}

.director-body p {
    margin-bottom: 12px;
}

.director-body strong {
    color: #1E293B;
}

.director-signature-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 22px;
    flex-wrap: wrap;
    gap: 15px;
}

.director-details {
    display: flex;
    flex-direction: column;
}

.director-name {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 700;
    margin: 0 0 2px 0;
}

.director-title {
    font-size: 0.88rem;
    color: #D97706;
    font-weight: 600;
}

.director-org {
    font-size: 0.78rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .director-card {
        grid-template-columns: 1fr;
    }
    .director-image-wrapper {
        padding: 40px 20px 20px 20px;
    }
    .director-content {
        padding: 35px 25px;
    }
}

/* ========================================================
   Explore Top Categories Section (Modern Card Grid Matching Reference)
   ======================================================== */
.explore-top-categories-section {
    padding: 75px 0 85px 0;
    background: #FFFFFF;
}

.explore-cat-header {
    text-align: center;
    margin-bottom: 45px;
}

.explore-cat-subtitle {
    display: inline-block;
    color: #F58220;
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-bottom: 8px;
}

.explore-cat-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: #0F2B48;
    line-height: 1.2;
    margin-bottom: 12px;
}

.explore-cat-divider {
    width: 55px;
    height: 3.5px;
    background: #0F2B48;
    border-radius: 2px;
    margin: 0 auto;
}

/* 4-column Responsive Grid */
.explore-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

/* Individual Category Card */
.explore-cat-card {
    background: #FFFFFF;
    border: 2.5px solid #F58220;
    border-radius: 12px;
    padding: 34px 20px 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.explore-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(245, 130, 32, 0.18);
    border-color: #E67E22;
}

/* Category Title */
.explore-cat-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 20px 0;
    line-height: 1.35;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.explore-cat-name a {
    color: #0F2B48;
    text-decoration: none;
    transition: color 0.2s ease;
}

.explore-cat-name a:hover {
    color: #F58220;
}

/* Category Icon */
.explore-cat-icon {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.explore-cat-icon a.cat-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.explore-cat-icon i {
    font-size: 3.2rem;
    color: #0F2B48 !important;
    transition: transform 0.25s ease, color 0.25s ease;
}

.explore-cat-card:hover .explore-cat-icon i {
    transform: scale(1.1);
    color: #F58220 !important;
}

/* Highlight Courses Text with Pipes */
.explore-cat-courses {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F2B48;
    line-height: 1.55;
    text-align: center;
    margin-bottom: 28px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    word-break: break-word;
}

/* Apply Now Pill Button */
.explore-cat-action {
    width: 100%;
    display: flex;
    justify-content: center;
}

.explore-cat-btn {
    display: inline-block;
    width: 88%;
    background: #F58220;
    color: #FFFFFF !important;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.25);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.explore-cat-btn:hover {
    background: #E67E22;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 130, 32, 0.4);
    color: #FFFFFF !important;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .explore-categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
    .explore-cat-main-title {
        font-size: 2.2rem;
    }
    .explore-cat-card {
        padding: 28px 15px 22px 15px;
    }
    .explore-cat-btn {
        width: 95%;
        padding: 11px 18px;
    }
}

@media (max-width: 992px) {
    .explore-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
    .explore-top-categories-section {
        padding: 60px 0;
    }
    .explore-cat-main-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .explore-categories-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 380px;
        margin: 0 auto;
    }
    .explore-top-categories-section {
        padding: 45px 0;
    }
    .explore-cat-subtitle {
        font-size: 1.15rem;
    }
    .explore-cat-main-title {
        font-size: 1.75rem;
    }
    .explore-cat-card {
        padding: 26px 18px 22px 18px;
    }
    .explore-cat-btn {
        width: 85%;
    }
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
}

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

.cat-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    color: #FFFFFF !important;
    margin-bottom: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.cat-icon i {
    color: #FFFFFF !important;
}

.category-card:hover .cat-icon {
    transform: translateY(-4px) scale(1.08);
}

/* Category Multi-Color Gradients by Slug & Nth-Child */
.category-card.cat-computer-science .cat-icon,
.category-grid > .category-card:nth-child(1) .cat-icon {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.38) !important;
}

.category-card.cat-engineering .cat-icon,
.category-grid > .category-card:nth-child(2) .cat-icon {
    background: linear-gradient(135deg, #F97316 0%, #C2410C 100%) !important;
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.38) !important;
}

.category-card.cat-commerce-management .cat-icon,
.category-grid > .category-card:nth-child(3) .cat-icon {
    background: linear-gradient(135deg, #10B981 0%, #047857 100%) !important;
    box-shadow: 0 10px 22px rgba(16, 185, 129, 0.38) !important;
}

.category-card.cat-arts-humanities .cat-icon,
.category-grid > .category-card:nth-child(4) .cat-icon {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%) !important;
    box-shadow: 0 10px 22px rgba(139, 92, 246, 0.38) !important;
}

.category-card.cat-library-science .cat-icon,
.category-grid > .category-card:nth-child(5) .cat-icon {
    background: linear-gradient(135deg, #06B6D4 0%, #0E7490 100%) !important;
    box-shadow: 0 10px 22px rgba(6, 182, 212, 0.38) !important;
}

.category-card.cat-journalism-mass-comm .cat-icon,
.category-grid > .category-card:nth-child(6) .cat-icon {
    background: linear-gradient(135deg, #EC4899 0%, #BE185D 100%) !important;
    box-shadow: 0 10px 22px rgba(236, 72, 153, 0.38) !important;
}

.category-card.cat-science .cat-icon,
.category-grid > .category-card:nth-child(7) .cat-icon {
    background: linear-gradient(135deg, #14B8A6 0%, #0F766E 100%) !important;
    box-shadow: 0 10px 22px rgba(20, 184, 166, 0.38) !important;
}

.category-card.cat-law .cat-icon,
.category-grid > .category-card:nth-child(8) .cat-icon {
    background: linear-gradient(135deg, #F59E0B 0%, #B45309 100%) !important;
    box-shadow: 0 10px 22px rgba(245, 158, 11, 0.38) !important;
}

.category-card.cat-paramedical .cat-icon,
.category-grid > .category-card:nth-child(9) .cat-icon {
    background: linear-gradient(135deg, #F43F5E 0%, #BE123C 100%) !important;
    box-shadow: 0 10px 22px rgba(244, 63, 94, 0.38) !important;
}

.category-card.cat-pharmacy .cat-icon,
.category-grid > .category-card:nth-child(10) .cat-icon {
    background: linear-gradient(135deg, #6366F1 0%, #4338CA 100%) !important;
    box-shadow: 0 10px 22px rgba(99, 102, 241, 0.38) !important;
}

.category-card.cat-nursing .cat-icon,
.category-grid > .category-card:nth-child(11) .cat-icon {
    background: linear-gradient(135deg, #FB7185 0%, #E11D48 100%) !important;
    box-shadow: 0 10px 22px rgba(251, 113, 133, 0.38) !important;
}

.category-card.cat-doctoral-programmes .cat-icon,
.category-grid > .category-card:nth-child(12) .cat-icon {
    background: linear-gradient(135deg, #9333EA 0%, #6B21A8 100%) !important;
    box-shadow: 0 10px 22px rgba(147, 51, 234, 0.38) !important;
}

.category-card h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    line-height: 1.35;
}

/* Category Filter Tabs Bar */
.cat-filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 35px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.cat-filter-tabs::-webkit-scrollbar {
    height: 4px;
}

.cat-filter-tabs::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

.cat-filter-tabs .btn {
    white-space: nowrap;
    border-radius: var(--radius-pill);
    padding: 8px 18px;
    font-size: 0.88rem;
}

/* Content Layout (Sidebar & Main) */
.content-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 35px;
    align-items: start;
}

.main-content-area {
    min-width: 0;
}

.sidebar-area {
    position: sticky;
    top: 95px;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.fab {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-decoration: none;
}

.fab:hover {
    transform: scale(1.1);
    color: var(--white);
}

.fab.whatsapp {
    background-color: #25D366;
}

.fab.call {
    background-color: var(--primary);
}

/* Footer */
.footer {
    background: #0B1E33;
    color: rgba(255, 255, 255, 0.85);
    padding: 65px 0 25px 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 45px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    flex-wrap: wrap;
    gap: 15px;
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
    .header-phone-link {
        display: none;
    }
}

@media (max-width: 992px) {
    .header-wrapper {
        height: 70px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border-color);
        gap: 14px;
        align-items: flex-start;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-only-nav {
        display: block;
        width: 100%;
        margin-top: 10px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-apply-btn {
        display: none;
    }

    .hero-content {
        justify-content: center;
    }

    .hero-text {
        text-align: center;
        margin: 0 auto;
    }

    .hero-text p {
        margin: 0 auto 28px auto;
    }

    .hero-cta-wrapper {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        max-width: 500px;
        margin: 20px auto 0 auto;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.3rem;
    }
    
    .section-title {
        font-size: 1.85rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hero-stats {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}