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

:root {
    /* Color Palette */
    --primary: #1e40af;       /* Premium Blue */
    --primary-light: #3b82f6; /* Modern Blue */
    --secondary: #d97706;     /* Deep Gold/Amber */
    --secondary-light: #f59e0b; /* Amber */
    --dark: #0f172a;          /* Slate 900 */
    --dark-soft: #1e293b;     /* Slate 800 */
    --light: #f8fafc;         /* Slate 50 */
    --light-soft: #f1f5f9;    /* Slate 100 */
    --gray: #64748b;          /* Slate 500 */
    --gray-light: #cbd5e1;    /* Slate 300 */
    --border: #e2e8f0;        /* Slate 200 */
    --white: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);

    /* Fonts */
    --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Layout Tokens */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 12px 20px -8px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--light);
    color: var(--dark-soft);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
}

p {
    color: var(--gray);
}

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

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

ul, ol {
    list-style: none;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Spacing */
.section-padding {
    padding: 100px 0;
}

.section-alt {
    background-color: var(--light-soft);
}

/* Global Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
    color: var(--white);
}

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

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

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
}

/* Header & Navigation Bar */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition-slow);
    padding: 20px 0;
}

.main-header.scrolled {
    background-color: var(--glass-bg);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.brand-logo img {
    height: 48px;
    width: 48px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark-soft);
    padding: 8px 0;
    position: relative;
}

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

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
}

.nav-cta {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background-color: var(--primary-light);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Page Banner (Subpages) */
.page-banner {
    position: relative;
    padding: 160px 0 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.page-banner h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.custom-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.custom-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.custom-breadcrumb a:hover {
    color: var(--white);
}

.custom-breadcrumb li::after {
    content: '/';
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.4);
}

.custom-breadcrumb li:last-child::after {
    display: none;
}

.custom-breadcrumb li.active {
    color: var(--white);
    font-weight: 700;
}

/* Scrolling News Ticker */
.news-ticker {
    background-color: var(--dark);
    color: var(--white);
    height: 48px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 10;
    border-bottom: 2px solid var(--secondary);
}

.ticker-title {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    z-index: 12;
    box-shadow: 4px 0 12px rgba(0,0,0,0.25);
    white-space: nowrap;
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    height: 100%;
    position: relative;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    position: absolute;
    align-items: center;
    height: 100%;
    animation: tickerLoop 30s linear infinite;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    padding-right: 120px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e8f0;
}

.ticker-item a {
    color: var(--secondary-light);
    margin-left: 8px;
    text-decoration: underline;
    font-weight: 700;
}

@keyframes tickerLoop {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: var(--dark);
}

.slider-wrapper {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide-item {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.slide-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.05);
    transform: scale(1.05);
    transition: transform 8s ease;
}

.slide-item.active .slide-image-wrapper img {
    transform: scale(1);
}

.slide-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    color: var(--white);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.4s;
}

.slide-item.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-badge {
    display: inline-block;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    color: var(--secondary-light);
}

.slide-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.slide-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slider-arrow:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.05);
}

.arrow-prev { left: 40px; }
.arrow-next { right: 40px; }

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 32px;
    height: 6px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--secondary-light);
    width: 48px;
}

/* Double Board Grid (Events & Messages) */
.board-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.board-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 12px;
}

.board-column-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
}

.board-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

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

.card-top {
    margin-bottom: 16px;
}

.card-header-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.card-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
}

.card-tag.academics { background-color: rgba(59, 130, 246, 0.1); color: var(--primary-light); }
.card-tag.ptm { background-color: rgba(217, 119, 6, 0.1); color: var(--secondary); }
.card-tag.sports { background-color: rgba(16, 185, 129, 0.1); color: var(--success); }
.card-tag.celebrations { background-color: rgba(236, 72, 153, 0.1); color: #ec4899; }
.card-tag.activities { background-color: rgba(139, 92, 246, 0.1); color: #8b5cf6; }

.card-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray);
}

.board-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.board-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray);
}

.card-bottom-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--light-soft);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray);
}

.priority-badge {
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.priority-badge.high { background-color: rgba(239, 68, 68, 0.1); color: var(--danger); }
.priority-badge.normal { background-color: rgba(59, 130, 246, 0.1); color: var(--primary-light); }
.priority-badge.low { background-color: rgba(100, 116, 139, 0.1); color: var(--gray); }

/* Welcome Section */
.welcome-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.welcome-info h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.welcome-info h2 span {
    color: var(--primary);
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-info p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.video-card {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
    background-color: var(--dark);
}

.video-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Quote/Director Card */
.director-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.director-img-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.director-abstract-graphics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
                      radial-gradient(circle at 10% 80%, rgba(217, 119, 6, 0.1) 0%, transparent 60%);
}

.director-quote-text {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.director-quote-text h4 {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 800;
}

.director-quote-text p {
    color: var(--secondary-light);
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 4px;
}

.quote-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border-left: 8px solid var(--primary);
    position: relative;
}

.quote-card::before {
    content: '“';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 120px;
    color: rgba(30, 64, 175, 0.05);
    font-family: serif;
    line-height: 1;
}

.quote-card blockquote {
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--dark-soft);
    margin-bottom: 24px;
    font-weight: 500;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--dark);
}

.author-role {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 600;
}

/* Academic Facilities Grid */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.facility-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.facility-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.facility-card h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--dark);
}

.facility-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray);
}

/* Gallery Grid */
.gallery-filter-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    background-color: var(--white);
    border: 1px solid var(--border);
    color: var(--gray);
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item.hidden {
    display: none;
}

.gallery-img-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 0) 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover .gallery-img-container img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    background-color: var(--secondary-light);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.gallery-info-title {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.gallery-info-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.4;
}

.gallery-more-btn-wrap {
    text-align: center;
    margin-top: 48px;
}

.gallery-see-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 4px;
}

.gallery-see-more-btn:hover {
    color: var(--primary-light);
    border-color: var(--primary-light);
    gap: 12px;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 4px solid var(--white);
}

.lightbox-caption {
    color: var(--white);
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.1);
    color: var(--secondary-light);
}

/* FAQs and Careers Accordion */
.job-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.job-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 24px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.job-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.job-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.job-title-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.job-header .job-subject {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
}

.job-meta {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.job-meta-item {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.job-details {
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
    border-top: 0 solid var(--border);
    padding-top: 0;
}

.job-card.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.job-card.active .job-details {
    max-height: 800px;
    margin-top: 20px;
    border-top-width: 1px;
    padding-top: 20px;
}

.job-desc-block {
    margin-bottom: 16px;
}

.job-desc-block:last-child {
    margin-bottom: 0;
}

.job-desc-block h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark-soft);
    margin-bottom: 8px;
}

.job-desc-block ul {
    list-style-type: disc;
    padding-left: 20px;
}

.job-desc-block li {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 6px;
}

/* Forms (Contact & Careers) */
.feedback-form {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.feedback-form h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--light-soft);
    padding-bottom: 16px;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-soft);
    margin-bottom: 8px;
}

.form-control-custom {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    background-color: var(--light);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--dark);
    transition: var(--transition);
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--primary-light);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

select.form-control-custom {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 48px;
}

textarea.form-control-custom {
    resize: vertical;
}

.form-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    padding: 16px 28px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.alert {
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 16px;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Contact subpage layout */
.contact-row {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: rgba(30, 64, 175, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--dark);
}

.contact-details p, .contact-details a {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.5;
}

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

.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 450px;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--white);
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer Section */
.footer-wrap {
    background-color: var(--dark);
    color: #e2e8f0;
    padding: 80px 0 30px 0;
    border-top: 4px solid var(--primary-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-column h3 {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-light);
    border-radius: var(--radius-full);
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: #94a3b8;
}

.social-links-row {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background-color: var(--dark-soft);
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-btn:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
}

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

.footer-links a {
    color: #94a3b8;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    transition: var(--transition);
}

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

.footer-links a:hover::before {
    color: var(--secondary-light);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    gap: 16px;
}

.footer-contact-item i {
    color: var(--secondary-light);
    margin-top: 4px;
}

.footer-contact-item span {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
}

.footer-contact-item a {
    color: #94a3b8;
}

.footer-contact-item a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--dark-soft);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .section-padding { padding: 80px 0; }
    .page-banner h1 { font-size: 3rem; }
    .slide-title { font-size: 3.2rem; }
    .welcome-grid { grid-template-columns: 1fr; gap: 40px; }
    .director-grid { grid-template-columns: 1fr; gap: 40px; }
    .board-grid { grid-template-columns: 1fr; gap: 30px; }
    .contact-row { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1.2fr 0.8fr; gap: 40px; }
    .footer-column:last-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        padding: 40px 24px;
        align-items: flex-start;
        gap: 24px;
        transition: var(--transition-slow);
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        width: 100%;
        font-size: 1.2rem;
        border-bottom: 1px solid var(--light-soft);
        padding-bottom: 12px;
    }
    
    .nav-link::after { display: none; }
    
    .nav-cta {
        width: 100%;
        text-align: center;
    }
    
    .slide-title { font-size: 2.4rem; }
    .slide-desc { font-size: 1.1rem; }
    .slider-arrow { width: 48px; height: 48px; }
    .arrow-prev { left: 16px; }
    .arrow-next { right: 16px; }
    
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .page-banner h1 { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
    .slide-title { font-size: 1.8rem; }
    .slide-desc { font-size: 0.95rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .feedback-form { padding: 24px; }
    .contact-card { padding: 24px; }
    .quote-card { padding: 24px; }
}
