/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #266DB5;
    --primary-dark: #1E5BA8;
    --primary-light: #3E89D5;
    --secondary: #0B222E;
    --accent: #FF5A5A;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --off-white: #f8fafc;
    --gray-light: #e5e7eb;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

.section-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.programs-title-bold {
    color: var(--primary);
    font-weight: 700;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--gray-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(180deg, rgba(38, 109, 181, 0.9) 0%, rgba(38, 109, 181, 0.5) 50%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

/* Header Navigation */
.header-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
    width: 100%;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
    padding: 0 20px;
}

.header-logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo-section img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.header-logo-section img:hover {
    transform: scale(1.05);
}

.header-nav-content {
    flex: 1;
    max-width: 800px;
    margin-left: 20px;
}

.header-contact-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    margin-bottom: 10px;
}

.header-contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.header-contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.header-social {
    display: flex;
    gap: 15px;
}

/* Header Social Icons - Remove underline */
.header-social a {
    color: var(--white);
    transition: var(--transition);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.header-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    text-decoration: none;
}

.header-nav-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.header-nav-links a {
    color: var(--white);
    padding: 8px 12px;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    border-radius: 4px;
    position: relative;
}

.header-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
}

.header-nav-links a:hover::after,
.header-nav-links a.active::after {
    width: 80%;
}

.header-nav-links a.highlight-link {
    background: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
}

.header-nav-links a.highlight-link:hover {
    background: var(--primary-dark);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: var(--primary);
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 12px 16px;
    z-index: 100;
    border-radius: 8px;
    position: absolute;
    right: 20px;
    top: 20px;
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle:hover {
    background: var(--primary-dark);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 100px;
    width: 100%;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo img {
    height: 80px;
    width: auto;
    animation: fadeInDown 1s ease;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.2;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-title-bold {
    font-weight: 700;
    color: var(--primary-light);
}

.hero-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-register-btn,
.hero-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
}

.hero-register-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(41, 113, 183, 0.4);
    border: 2px solid transparent;
}

.hero-register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(41, 113, 183, 0.6);
}

.hero-login-btn {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.hero-login-btn:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.hero-institution-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
}

/* ===== MARQUEE ===== */
.marquee-wrapper {
    background: var(--primary);
    color: var(--white);
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 3px solid rgba(255, 255, 255, 0.1);
    z-index: 15;
    width: 100%;
    position: relative;
}

.marquee-content {
    display: inline-block;
    animation: marquee 40s linear infinite;
    white-space: nowrap;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    margin-right: 80px;
    font-weight: 500;
    font-size: 16px;
}

.marquee-icon {
    color: var(--accent);
    margin-right: 12px;
    font-size: 20px;
}

/* ===== NOTICE & EVENTS SECTION ===== */
.notice-events-section {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
    width: 100%;
}

.notice-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.section-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    width: 100%;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--gray-light);
    padding-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.view-all-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all-link:hover {
    color: var(--primary-dark);
    gap: 8px;
}

/* Events List */
.events-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-box {
    background: var(--off-white);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    cursor: pointer;
}

.event-box:hover {
    transform: translateX(5px);
    border-color: var(--primary);
}

.event-box.active {
    background: var(--primary);
    color: var(--white);
}

.event-box.active .event-meta-small {
    color: rgba(255, 255, 255, 0.9);
}

.event-name-small {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.event-meta-small {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.event-meta-small span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Notice Tabs */
.tab-navigation {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tab-selector {
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid var(--gray-light);
    background: var(--white);
    color: var(--text-light);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.tab-selector:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-selector.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.notice-pane {
    display: none;
}

.notice-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Notice Cards */
.notice-card {
    background: var(--off-white);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.notice-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.notice-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    padding-right: 60px;
}

.notice-text {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.notice-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.notice-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.notice-action-btn:hover {
    background: var(--primary-dark);
    gap: 12px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 48px;
    color: var(--gray-light);
    margin-bottom: 15px;
}

.empty-state.full-width {
    grid-column: 1 / -1;
}

/* ===== STUDENT REGISTRATION CTA ===== */
.student-registration-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 20px;
    width: 100%;
}

.registration-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.registration-container h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.registration-container p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.registration-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.register-primary,
.register-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
}

.register-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(41, 113, 183, 0.4);
}

.register-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(41, 113, 183, 0.5);
}

.register-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.register-secondary:hover {
    background: var(--off-white);
    transform: translateY(-3px);
}

/* ===== LOGIN BUTTONS SECTION ===== */
.login-buttons-section {
    background: var(--off-white);
    padding: 60px 20px;
    width: 100%;
}

.login-buttons-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.login-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.login-button-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    text-align: center;
    border: 2px solid var(--gray-light);
    transition: var(--transition);
}

.login-button-card i {
    font-size: 32px;
    color: var(--primary);
    transition: var(--transition);
}

.login-button-card span {
    font-size: 14px;
}

.login-button-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.login-button-card:hover i {
    transform: scale(1.1);
    color: var(--primary-dark);
}

.login-button-card.primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
}

.login-button-card.primary i {
    color: var(--white);
}

.login-button-card.outline {
    border: 2px dashed var(--primary);
    background: rgba(38, 109, 181, 0.05);
}

/* ===== MISSION SECTION ===== */
.mission-section {
    position: relative;
    min-height: 500px;
    background-image: url('../images/mission_kids_banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    width: 100%;
}

.mission-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    z-index: 1;
}

.mission-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    color: var(--white);
    width: 100%;
}

.mission-vector {
    width: 60px;
    height: 60px;
    margin-bottom: 30px;
}

.mission-vector img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mission-title {
    font-size: clamp(40px, 6vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.mission-highlight {
    display: inline-block;
    background: rgba(38, 109, 181, 0.9);
    padding: 5px 20px;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: var(--shadow-lg);
}

/* ===== STATISTICS SECTION ===== */
.statistics-section {
    background: linear-gradient(rgba(38, 109, 181, 0.9), rgba(38, 109, 181, 0.9)), url('../snec-ui-main/public/images/crowd_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 60px 20px;
    width: 100%;
}

.statistics-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    width: 100%;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../snec-ui-main/public/images/patterns.png');
    background-repeat: repeat;
    opacity: 0.1;
    z-index: 0;
}

.stat-number {
    position: relative;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    position: relative;
    color: var(--text-light);
    font-size: 16px;
    font-weight: 500;
}

/* ===== AFFILIATION PROCESS ===== */
.affiliation-section {
    padding: 80px 20px;
    background: var(--white);
    width: 100%;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.step-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.step-card.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.step-card.cta-card h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.btn-apply {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-apply:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

/* ===== CHAIRMAN SECTION ===== */
.chairman-section {
    padding: 60px 20px;
    background: var(--off-white);
    width: 100%;
}

.chairman-container {
    max-width: 1000px;
    margin: 0 auto;
}

.chairman-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.chairman-image:hover {
    transform: scale(1.02);
}

/* ===== VISIONS SECTION ===== */
.visions-section {
    padding: 80px 20px;
    background: var(--white);
    width: 100%;
}

.visions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.vision-card {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.vision-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    object-fit: contain;
    transition: var(--transition);
}

.vision-card:hover .vision-icon {
    transform: scale(1.1) rotate(5deg);
}

.vision-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.vision-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== PROGRAMS SECTION - MODIFIED ===== */
.programs-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../snec-ui-main/public/images/program-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 20px;
    width: 100%;
}

.programs-section .section-title,
.programs-section .section-subtitle {
    color: var(--white);
}

.programs-section .programs-title-bold {
    color: var(--primary-light);
}

.programs-scroll-container {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar for all browsers */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.programs-scroll-container::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.programs-scroll {
    display: flex;
    gap: 25px;
    padding: 10px 5px;
    width: max-content;
}

.program-card {
    width: 300px;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    flex-shrink: 0;
}

.program-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.program-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:hover .program-image {
    transform: scale(1.1);
}

.program-content {
    padding: 25px;
}

.program-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.program-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.program-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.program-link:hover {
    color: var(--primary-dark);
    gap: 10px;
}

/* ===== COLLEGES SECTION ===== */
.colleges-section {
    padding: 80px 20px;
    background: var(--off-white);
    width: 100%;
}

.colleges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.college-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.college-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.college-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.college-placeholder {
    width: 100%;
    height: 200px;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.college-placeholder i {
    font-size: 48px;
    color: var(--text-light);
}

.college-info {
    padding: 25px;
}

.college-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(38, 109, 181, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.college-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.college-address,
.college-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.college-address i,
.college-phone i {
    color: var(--primary);
    width: 16px;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-load-more:hover {
    background: var(--primary);
    color: var(--white);
    gap: 15px;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 80px 20px;
    background: var(--white);
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-content {
    max-width: 90%;
    max-height: 90%;
}

.gallery-modal-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-modal-caption {
    text-align: center;
    color: var(--white);
    padding: 15px;
    font-size: 16px;
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
    text-decoration: none;
}

.gallery-modal-close:hover {
    color: var(--accent);
    text-decoration: none;
}

/* ===== NEWS SECTION ===== */
.news-section {
    padding: 80px 20px;
    background: var(--off-white);
    width: 100%;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    margin-top: auto;
}

.read-more:hover {
    color: var(--primary-dark);
    gap: 10px;
    text-decoration: none;
}

/* News Modal */
.news-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    padding: 20px;
}

.news-modal.active {
    display: flex;
}

.news-modal-content {
    background: var(--white);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 15px;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
    z-index: 10;
    font-size: 18px;
    text-decoration: none;
}

.news-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.news-modal-image {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
}

.news-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-modal-body {
    padding: 40px;
}

.news-modal-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 20px;
    flex-wrap: wrap;
}

.news-modal-body h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-modal-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== EVENTS SECTION ===== */
.events-section {
    padding: 80px 20px;
    background: var(--white);
    width: 100%;
}

.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.view-more-btn:hover {
    background: var(--primary-dark);
    gap: 15px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-content {
    padding: 25px;
}

.event-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.event-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 13px;
    color: var(--text-light);
}

.event-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== CONNECT SECTION ===== */
.connect-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0fa 100%);
    width: 100%;
}

.connect-card {
    background: rgba(38, 109, 181, 0.1);
    border-radius: 32px;
    padding: 50px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    background-image: url('../snec-ui-main/public/images/connect_bg.png');
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
    transition: var(--transition);
}

.connect-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.connect-content h3 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.connect-content p {
    font-size: 16px;
    color: rgba(38, 109, 181, 0.8);
    line-height: 1.6;
}

.connect-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.connect-button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    gap: 15px;
    text-decoration: none;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 60px 20px 20px;
    position: relative;
    width: 100%;
}

.footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background-image: url('../snec-ui-main/public/images/footer_bg.png');
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 0.3;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-col {
    min-width: 200px;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-logo-section img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.footer-logo-section img:hover {
    transform: scale(1.05);
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none !important;
}

.footer-arabic-name {
    opacity: 0.8;
}

.footer-contact h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-contact address {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-style: normal;
}

/* Footer Social Icons - Remove underline */
.footer-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-social a {
    color: var(--white);
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    text-decoration: none;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 12px;
    color: var(--primary-light);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--secondary);
    z-index: 999;
    overflow-y: auto;
    padding: 20px;
    transition: left 0.3s ease;
    display: block;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-logo img {
    height: 40px;
    width: auto;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu-links a {
    color: var(--white);
    padding: 15px 20px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-links a i {
    width: 20px;
    color: var(--primary-light);
}

.mobile-menu-links a:hover {
    background: rgba(38, 109, 181, 0.5);
    border-color: var(--primary);
    transform: translateX(5px);
    text-decoration: none;
}

.mobile-menu-links a.highlight {
    background: var(--primary);
    border-color: var(--primary);
}

.mobile-menu-links a.highlight:hover {
    background: var(--primary-dark);
    text-decoration: none;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 99;
    text-decoration: none;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    text-decoration: none;
}

.back-to-top.visible {
    display: flex;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1200px) {
    .header-nav-links {
        justify-content: center;
    }

    .header-nav-links a {
        font-size: 13px;
        padding: 6px 10px;
    }
}

@media (max-width: 991px) {
    .header-nav-content {
        display: none;
    }

    .header-container {
        justify-content: space-between;
        padding: 0 60px 0 20px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-register-btn,
    .hero-login-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .connect-card {
        flex-direction: column;
        text-align: center;
    }

    .connect-button {
        width: 100%;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .header-logo-section {
        margin-left: 0;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-logo-section img {
        height: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .statistics-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .mission-title {
        font-size: 32px;
    }

    .event-box {
        padding: 15px;
    }

    .event-name-small {
        font-size: 16px;
    }

    .event-meta-small {
        flex-direction: column;
        gap: 5px;
    }

    .tab-navigation {
        flex-direction: column;
    }

    .tab-selector {
        width: 100%;
        justify-content: center;
    }

    .news-modal-body {
        padding: 20px;
    }

    .news-modal-body h2 {
        font-size: 22px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-container {
        padding: 0 70px 0 15px;
    }

    .header-logo-section img {
        height: 40px;
    }

    .mobile-menu-toggle {
        right: 15px;
        top: 15px;
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .header-logo-section img {
        height: 35px;
    }

    .hero-logo img {
        height: 60px;
    }

    .hero-register-btn,
    .hero-login-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .statistics-container {
        grid-template-columns: 1fr;
    }

    .login-buttons-grid {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-logo-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-logo-section img {
        height: 35px;
    }

    .registration-actions {
        flex-direction: column;
    }

    .register-primary,
    .register-secondary {
        width: 100%;
        justify-content: center;
    }

    .events-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .view-more-btn {
        width: 100%;
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .header-container {
        padding: 0 65px 0 10px;
    }

    .mobile-menu-toggle {
        padding: 8px 12px;
        font-size: 20px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {

    .hero-video,
    .mobile-menu-toggle,
    .back-to-top,
    .footer-social,
    .connect-section {
        display: none;
    }

    .hero-section {
        min-height: auto;
        background: none;
        color: black;
    }

    .hero-section::before {
        display: none;
    }

    .header-nav {
        position: static;
        background: none;
        color: black;
    }

    .header-nav-links a {
        color: black;
    }
}