/* Root Variables */
:root {
    --primary: #1a1a1a;
    --secondary: #c31432;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-800: #343a40;
    --primary-color: #FF4B6E;
    --secondary-color: #1E1E1E;
    --accent-color: #6E44FF;
    --light-bg: #f8f9fa;
    --text-color: #2C3E50;
    --gradient-1: linear-gradient(135deg, #FF4B6E 0%, #FF8F6E 100%);
    --gradient-2: linear-gradient(135deg, #6E44FF 0%, #FF4B6E 100%);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --nav-height: 4.5rem;
    --top-bar-height: 4rem;
    --penn-blue: #011F5B;
    --red: #990000;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--primary);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.korean-symbol {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: pulse 1.5s infinite;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: #eee;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: var(--primary-color);
    animation: loading 1s infinite;
}

/* 3D Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

/* Top Bar Styles */
.top-bar {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
    height: var(--top-bar-height);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo .korean {
    font-size: 2rem;
    color: var(--secondary);
    font-weight: 700;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.search-box {
    background: var(--light-bg);
    border-radius: 30px;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 0 0 2px var(--primary-color);
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    width: 200px;
    color: var(--text-color);
    font-size: 0.9rem;
}

.top-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.top-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.enroll-btn {
    background: var(--gradient-1);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 75, 110, 0.3);
}

.enroll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 75, 110, 0.4);
}

/* Main Navigation */
.main-nav {
    background: var(--white);
    padding: 0;
    position: fixed;
    width: 100%;
    top: var(--top-bar-height);
    z-index: 999;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    height: var(--nav-height);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
    padding: 0.5rem 0;
}

.nav-item > a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    height: 100%;
}

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

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    width: 600px;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.menu-column.featured {
    grid-column: span 1;
}

.featured-card {
    background: var(--light-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
}

.featured-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.featured-card h4 {
    padding: 1rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin: 0;
}

.featured-card p {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&q=100&w=3840') center/cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-content {
    display: none;
}

/* Remove all other hero-related styles */
.hero-badge,
.animate-text,
.text-rotate,
.achievement-icon,
.decorative-circles,
.circle,
.achievement-cards,
.achievement-card,
.cta-buttons,
.cta-primary,
.cta-secondary {
    display: none;
}

/* Hero Badge */
.hero-badge {
    background: var(--gradient-1);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    display: inline-block;
    font-weight: 500;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 75, 110, 0.3);
}

.animate-text {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.text-rotate {
    display: inline-block;
    position: relative;
    color: var(--primary-color);
    min-width: 200px;
}

.text-rotate span {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    display: none;
}

.text-rotate span:first-child {
    position: relative;
    opacity: 1;
    display: inline-block;
}

.achievement-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.achievement-icon::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 75, 110, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.decorative-circles {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255,75,110,0.1) 0%, rgba(110,68,255,0.1) 100%);
}

.circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: 50px;
    right: 50px;
    animation: float 6s ease-in-out infinite reverse;
}

.circle:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: -20px;
    right: 20%;
    animation: float 4s ease-in-out infinite;
}

/* Achievement Cards */
.achievement-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.achievement-card {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    transition: all 0.3s ease;
}

.achievement-card:hover::before {
    height: 100%;
    opacity: 0.1;
}

.achievement-card .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
    display: block;
}

.achievement-card .label {
    color: var(--text-color);
    font-size: 1rem;
}

/* Featured Programs Section */
.featured-programs {
    padding: 8rem 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.featured-programs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,75,110,0.1) 0%, rgba(110,68,255,0.1) 100%);
    z-index: 0;
}

.program-cards {
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem;
    color: #011F5B;
    margin-bottom: 2rem;
    position: relative;
    font-weight: 400;
    text-align: left;
    padding-left: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 2rem;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background-color: #011F5B;
}

.program-card {
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,75,110,0.1) 0%, rgba(110,68,255,0.1) 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.program-card:hover::before {
    opacity: 1;
}

.program-card .learn-more i {
    transition: transform 0.3s ease;
}

.program-card:hover .learn-more i {
    transform: translateX(5px);
}

.card-image {
    position: relative;
    height: 250px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.level-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-1);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.features {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    transition: gap 0.3s ease;
}

.learn-more:hover {
    gap: 1rem;
}

/* Why Choose Us */
.why-choose-us {
    padding: 8rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(250%); }
}

@keyframes rotateWords {
    0%, 33% { opacity: 1; transform: translateY(0); }
    34%, 66% { opacity: 0; transform: translateY(20px); }
    67%, 100% { opacity: 0; transform: translateY(-20px); }
}

/* Enhanced CTA Buttons */
.cta-button {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--gradient-1);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 75, 110, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 75, 110, 0.4);
}

.cta-button.primary i {
    transition: transform 0.3s ease;
}

.cta-button.primary:hover i {
    transform: translateX(5px);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

.cta-button.secondary:hover {
    background: var(--text-color);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        margin-top: 2rem;
    }

    .float-img {
        width: 60%;
    }

    .korean-characters {
        display: none;
    }

    .cta-group {
        justify-content: center;
    }

    .achievement-cards {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --top-bar-height: 6rem;
        --nav-height: auto;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .top-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .search-box {
        width: 100%;
    }

    .nav-links {
        flex-direction: column;
        padding: 1rem 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item > a {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .mega-menu {
        width: 90%;
        left: 5%;
        transform: translateX(0) translateY(10px);
    }

    .nav-item:hover .mega-menu {
        transform: translateX(0) translateY(0);
    }

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

    .achievement-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .program-cards {
        grid-template-columns: 1fr;
    }

    .hero-badge {
        font-size: 1rem;
        padding: 0.4rem 1.2rem;
    }

    .animate-text {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .cta-group {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .circle {
        display: none;
    }
}

/* Navigation Styles */
.navbar {
    background-color: var(--penn-blue);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    color: var(--penn-blue);
    text-decoration: none;
    padding: 0.5rem 0;
}

/* Enhanced Mobile Navigation */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 1rem;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
        align-items: flex-start;
    }

    .nav-item {
        width: 100%;
        padding: 0.75rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-item:last-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0.5rem 0 0.5rem 1rem;
        border-left: 2px solid rgba(255, 255, 255, 0.2);
        min-width: auto;
        margin-top: 0.5rem;
    }

    .dropdown-item {
        color: rgba(255, 255, 255, 0.8);
        padding: 0.5rem 0;
    }

    .dropdown-item:hover {
        color: white;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2rem;
    }

    .nav-item {
        font-size: 0.9rem;
    }

    .dropdown-item {
        font-size: 0.85rem;
    }
}

/* News Section */
.news-section {
    position: absolute;
    bottom: 60px;
    left: 60px;
    z-index: 2;
    max-width: 700px;
}

.news-category {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.news-title {
    font-family: 'Times New Roman', serif;
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive News Section */
@media (max-width: 1024px) {
    .news-section {
        bottom: 40px;
        left: 40px;
        max-width: 600px;
    }

    .news-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .news-section {
        bottom: 30px;
        left: 30px;
        max-width: calc(100% - 60px);
    }

    .news-title {
        font-size: 2rem;
    }

    .news-category {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
}

/* News Grid Section */
.news-grid {
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 4rem 0;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.news-header h1 {
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem;
    color: #011F5B;
    font-weight: 500;
}

.topics-dropdown {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    color: #333;
    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='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* News Layout */
.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Featured News (Left) */
.featured-news {
    position: relative;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.featured-news:hover {
    transform: translateY(-3px);
}

.featured-news img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.featured-news .news-content {
    padding: 1.5rem 0;
    background: #fff;
}

.featured-news h2 {
    font-family: 'Times New Roman', serif;
    font-size: 1.8rem;
    line-height: 1.3;
    color: #011F5B;
    margin: 0.5rem 0 0;
    font-weight: 500;
}

/* Small News Grid (Right) */
.small-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
}

.news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-3px);
}

.news-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.news-content {
    padding: 1rem 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #AA0000;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.news-card h3 {
    font-family: 'Times New Roman', serif;
    font-size: 1.1rem;
    line-height: 1.3;
    color: #011F5B;
    margin: 0;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .news-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .featured-news img {
        height: 300px;
    }

    .featured-news h2 {
        font-size: 1.6rem;
    }
}

/* Featured Article Section */
.featured-article {
    background-color: #011F5B;
    padding: 0;
    color: #fff;
}

.featured-article-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1400px;
    margin: 0 auto;
}

.featured-article-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-category {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.article-title {
    font-family: 'Times New Roman', serif;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.article-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.featured-article-image {
    height: 100%;
    min-height: 500px;
}

.featured-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design for Featured Article */
@media (max-width: 1024px) {
    .featured-article-container {
        grid-template-columns: 1fr;
    }

    .featured-article-content {
        padding: 3rem;
    }

    .article-title {
        font-size: 2.2rem;
    }

    .featured-article-image {
        height: 400px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .featured-article-content {
        padding: 2rem;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .article-description {
        font-size: 1rem;
    }

    .featured-article-image {
        height: 300px;
    }
}

.learn-more-btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.learn-more-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.learn-more-btn:hover::after {
    width: 0;
}

/* Upcoming Events Section */
.upcoming-events {
    padding: 4rem 0;
    background-color: #f8f8f8;
}

.upcoming-events .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem;
    color: #011F5B;
    margin-bottom: 2rem;
    position: relative;
    font-weight: 400;
    text-align: left;
    padding-left: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 2rem;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background-color: #011F5B;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.event-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    padding: 0.5rem;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.event-date .month {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #AA0000;
    text-transform: uppercase;
}

.event-date .day {
    display: block;
    font-family: 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #011F5B;
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-content {
    padding: 1.5rem;
}

.event-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #AA0000;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.event-content h3 {
    font-family: 'Times New Roman', serif;
    font-size: 1.3rem;
    color: #011F5B;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.event-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Responsive Design for Events Section */
@media (max-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .upcoming-events .container {
        padding: 0 1rem;
    }
}

/* Statistics Section */
.statistics {
    padding: 6rem 0;
    background: linear-gradient(135deg, #011F5B 0%, #001233 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.stats-title {
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 400;
    position: relative;
    padding-bottom: 1rem;
}

.stats-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #AA0000;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-family: 'Times New Roman', serif;
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

.student-types {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.student-type {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.type-number {
    display: block;
    font-family: 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #AA0000;
}

.type-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    opacity: 0.9;
}

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

/* Responsive Design for Statistics */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .student-types {
        gap: 2rem;
    }

    .stats-title {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Add animation delay for each stat card */
.stat-card:nth-child(1) .stat-number {
    animation-delay: 0.2s;
}

.stat-card:nth-child(2) .stat-number {
    animation-delay: 0.4s;
}

.stat-card:nth-child(3) .stat-number {
    animation-delay: 0.6s;
}

.stat-card:nth-child(4) .stat-number {
    animation-delay: 0.8s;
}

/* Add animation delay for each student type */
.student-type:nth-child(1) {
    animation-delay: 1s;
}

.student-type:nth-child(2) {
    animation-delay: 1.2s;
}
/* Root Variables */
:root {
    --primary: #1a1a1a;
    --secondary: #c31432;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-800: #343a40;
    --primary-color: #FF4B6E;
    --secondary-color: #1E1E1E;
    --accent-color: #6E44FF;
    --light-bg: #f8f9fa;
    --text-color: #2C3E50;
    --gradient-1: linear-gradient(135deg, #FF4B6E 0%, #FF8F6E 100%);
    --gradient-2: linear-gradient(135deg, #6E44FF 0%, #FF4B6E 100%);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --nav-height: 4.5rem;
    --top-bar-height: 4rem;
    --penn-blue: #011F5B;
    --red: #990000;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--primary);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.korean-symbol {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: pulse 1.5s infinite;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: #eee;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: var(--primary-color);
    animation: loading 1s infinite;
}

/* 3D Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

/* Top Bar Styles */
.top-bar {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
    height: var(--top-bar-height);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo .korean {
    font-size: 2rem;
    color: var(--secondary);
    font-weight: 700;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.search-box {
    background: var(--light-bg);
    border-radius: 30px;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 0 0 2px var(--primary-color);
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    width: 200px;
    color: var(--text-color);
    font-size: 0.9rem;
}

.top-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.top-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.enroll-btn {
    background: var(--gradient-1);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 75, 110, 0.3);
}

.enroll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 75, 110, 0.4);
}

/* Main Navigation */
.main-nav {
    background: var(--white);
    padding: 0;
    position: fixed;
    width: 100%;
    top: var(--top-bar-height);
    z-index: 999;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    height: var(--nav-height);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
    padding: 0.5rem 0;
}

.nav-item > a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    height: 100%;
}

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

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    width: 600px;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.menu-column.featured {
    grid-column: span 1;
}

.featured-card {
    background: var(--light-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
}

.featured-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.featured-card h4 {
    padding: 1rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin: 0;
}

.featured-card p {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&q=100&w=3840') center/cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-content {
    display: none;
}

/* Remove all other hero-related styles */
.hero-badge,
.animate-text,
.text-rotate,
.achievement-icon,
.decorative-circles,
.circle,
.achievement-cards,
.achievement-card,
.cta-buttons,
.cta-primary,
.cta-secondary {
    display: none;
}

/* Hero Badge */
.hero-badge {
    background: var(--gradient-1);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    display: inline-block;
    font-weight: 500;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 75, 110, 0.3);
}

.animate-text {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.text-rotate {
    display: inline-block;
    position: relative;
    color: var(--primary-color);
    min-width: 200px;
}

.text-rotate span {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    display: none;
}

.text-rotate span:first-child {
    position: relative;
    opacity: 1;
    display: inline-block;
}

.achievement-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.achievement-icon::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 75, 110, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.decorative-circles {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255,75,110,0.1) 0%, rgba(110,68,255,0.1) 100%);
}

.circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: 50px;
    right: 50px;
    animation: float 6s ease-in-out infinite reverse;
}

.circle:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: -20px;
    right: 20%;
    animation: float 4s ease-in-out infinite;
}

/* Achievement Cards */
.achievement-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.achievement-card {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    transition: all 0.3s ease;
}

.achievement-card:hover::before {
    height: 100%;
    opacity: 0.1;
}

.achievement-card .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
    display: block;
}

.achievement-card .label {
    color: var(--text-color);
    font-size: 1rem;
}

/* Featured Programs Section */
.featured-programs {
    padding: 8rem 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.featured-programs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,75,110,0.1) 0%, rgba(110,68,255,0.1) 100%);
    z-index: 0;
}

.program-cards {
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem;
    color: #011F5B;
    margin-bottom: 2rem;
    position: relative;
    font-weight: 400;
    text-align: left;
    padding-left: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 2rem;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background-color: #011F5B;
}

.program-card {
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,75,110,0.1) 0%, rgba(110,68,255,0.1) 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.program-card:hover::before {
    opacity: 1;
}

.program-card .learn-more i {
    transition: transform 0.3s ease;
}

.program-card:hover .learn-more i {
    transform: translateX(5px);
}

.card-image {
    position: relative;
    height: 250px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.level-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-1);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.features {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    transition: gap 0.3s ease;
}

.learn-more:hover {
    gap: 1rem;
}

/* Why Choose Us */
.why-choose-us {
    padding: 8rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(250%); }
}

@keyframes rotateWords {
    0%, 33% { opacity: 1; transform: translateY(0); }
    34%, 66% { opacity: 0; transform: translateY(20px); }
    67%, 100% { opacity: 0; transform: translateY(-20px); }
}

/* Enhanced CTA Buttons */
.cta-button {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--gradient-1);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 75, 110, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 75, 110, 0.4);
}

.cta-button.primary i {
    transition: transform 0.3s ease;
}

.cta-button.primary:hover i {
    transform: translateX(5px);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

.cta-button.secondary:hover {
    background: var(--text-color);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        margin-top: 2rem;
    }

    .float-img {
        width: 60%;
    }

    .korean-characters {
        display: none;
    }

    .cta-group {
        justify-content: center;
    }

    .achievement-cards {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --top-bar-height: 6rem;
        --nav-height: auto;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .top-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .search-box {
        width: 100%;
    }

    .nav-links {
        flex-direction: column;
        padding: 1rem 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item > a {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .mega-menu {
        width: 90%;
        left: 5%;
        transform: translateX(0) translateY(10px);
    }

    .nav-item:hover .mega-menu {
        transform: translateX(0) translateY(0);
    }

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

    .achievement-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .program-cards {
        grid-template-columns: 1fr;
    }

    .hero-badge {
        font-size: 1rem;
        padding: 0.4rem 1.2rem;
    }

    .animate-text {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .cta-group {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .circle {
        display: none;
    }
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar.scrolled .nav-item {
    color: #011F5B;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-item::after {
    background: #011F5B;
}

.nav-item:hover {
    color: rgba(255, 255, 255, 0.9);
}

.navbar.scrolled .nav-item:hover {
    color: #AA0000;
}

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

/* Remove logo-related styles */
.logo-text,
.logo-text:hover,
.logo-text::after,
.logo-text:hover::after {
    display: none;
}

/* News Section */
.news-section {
    position: absolute;
    bottom: 60px;
    left: 60px;
    z-index: 2;
    max-width: 700px;
}

.news-category {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.news-title {
    font-family: 'Times New Roman', serif;
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive News Section */
@media (max-width: 1024px) {
    .news-section {
        bottom: 40px;
        left: 40px;
        max-width: 600px;
    }

    .news-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .news-section {
        bottom: 30px;
        left: 30px;
        max-width: calc(100% - 60px);
    }

    .news-title {
        font-size: 2rem;
    }

    .news-category {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
}

/* News Grid Section */
.news-grid {
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 4rem 0;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.news-header h1 {
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem;
    color: #011F5B;
    font-weight: 500;
}

.topics-dropdown {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    color: #333;
    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='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* News Layout */
.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Featured News (Left) */
.featured-news {
    position: relative;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.featured-news:hover {
    transform: translateY(-3px);
}

.featured-news img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.featured-news .news-content {
    padding: 1.5rem 0;
    background: #fff;
}

.featured-news h2 {
    font-family: 'Times New Roman', serif;
    font-size: 1.8rem;
    line-height: 1.3;
    color: #011F5B;
    margin: 0.5rem 0 0;
    font-weight: 500;
}

/* Small News Grid (Right) */
.small-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
}

.news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-3px);
}

.news-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.news-content {
    padding: 1rem 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #AA0000;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.news-card h3 {
    font-family: 'Times New Roman', serif;
    font-size: 1.1rem;
    line-height: 1.3;
    color: #011F5B;
    margin: 0;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .news-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .featured-news img {
        height: 300px;
    }

    .featured-news h2 {
        font-size: 1.6rem;
    }
}

/* Featured Article Section */
.featured-article {
    background-color: #011F5B;
    padding: 0;
    color: #fff;
}

.featured-article-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1400px;
    margin: 0 auto;
}

.featured-article-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-category {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.article-title {
    font-family: 'Times New Roman', serif;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.article-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.featured-article-image {
    height: 100%;
    min-height: 500px;
}

.featured-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design for Featured Article */
@media (max-width: 1024px) {
    .featured-article-container {
        grid-template-columns: 1fr;
    }

    .featured-article-content {
        padding: 3rem;
    }

    .article-title {
        font-size: 2.2rem;
    }

    .featured-article-image {
        height: 400px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .featured-article-content {
        padding: 2rem;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .article-description {
        font-size: 1rem;
    }

    .featured-article-image {
        height: 300px;
    }
}

.learn-more-btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.learn-more-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.learn-more-btn:hover::after {
    width: 0;
}

/* Upcoming Events Section */
.upcoming-events {
    padding: 4rem 0;
    background-color: #f8f8f8;
}

.upcoming-events .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem;
    color: #011F5B;
    margin-bottom: 2rem;
    position: relative;
    font-weight: 400;
    text-align: left;
    padding-left: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 2rem;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background-color: #011F5B;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.event-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    padding: 0.5rem;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.event-date .month {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #AA0000;
    text-transform: uppercase;
}

.event-date .day {
    display: block;
    font-family: 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #011F5B;
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-content {
    padding: 1.5rem;
}

.event-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #AA0000;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.event-content h3 {
    font-family: 'Times New Roman', serif;
    font-size: 1.3rem;
    color: #011F5B;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.event-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Responsive Design for Events Section */
@media (max-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .upcoming-events .container {
        padding: 0 1rem;
    }
}

/* Statistics Section */
.statistics {
    padding: 6rem 0;
    background: linear-gradient(135deg, #011F5B 0%, #001233 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.stats-title {
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 400;
    position: relative;
    padding-bottom: 1rem;
}

.stats-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #AA0000;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-family: 'Times New Roman', serif;
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

.student-types {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.student-type {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.type-number {
    display: block;
    font-family: 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #AA0000;
}

.type-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    opacity: 0.9;
}

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

/* Responsive Design for Statistics */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .student-types {
        gap: 2rem;
    }

    .stats-title {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Add animation delay for each stat card */
.stat-card:nth-child(1) .stat-number {
    animation-delay: 0.2s;
}

.stat-card:nth-child(2) .stat-number {
    animation-delay: 0.4s;
}

.stat-card:nth-child(3) .stat-number {
    animation-delay: 0.6s;
}

.stat-card:nth-child(4) .stat-number {
    animation-delay: 0.8s;
}

/* Add animation delay for each student type */
.student-type:nth-child(1) {
    animation-delay: 1s;
}

.student-type:nth-child(2) {
    animation-delay: 1.2s;
}

.student-type:nth-child(3) {
    animation-delay: 1.4s;
}

.student-type:nth-child(4) {
    animation-delay: 1.6s;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: #f8f8f8;
}

.testimonials .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

.card-content {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #AA0000;
    color: white;
    padding: 2rem;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover .hover-content {
    opacity: 1;
}

.testimonial-card:hover img {
    transform: scale(1.1);
}

.quote {
    font-family: 'Times New Roman', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.student-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.student-info {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive Design for Testimonials */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .quote {
        font-size: 1rem;
    }
}

/* Equal Opportunity Section */
.equal-opportunity {
    background-color: #011F5B;
    padding: 5rem 0;
    color: #fff;
    position: relative;
}

.equal-opportunity .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.equal-opportunity-title {
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    line-height: 1.2;
}

.equal-opportunity-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 1200px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.nondiscrimination-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nondiscrimination-btn:hover {
    background-color: #fff;
    color: #011F5B;
}

/* Responsive Design for Equal Opportunity Section */
@media (max-width: 1024px) {
    .equal-opportunity-title {
        font-size: 2rem;
    }

    .equal-opportunity-text {
        font-size: 1rem;
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .equal-opportunity {
        padding: 4rem 0;
    }

    .equal-opportunity-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .equal-opportunity-text {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 1rem;
    }

    .nondiscrimination-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* Footer Navigation */
.footer-nav {
    background-color: #011F5B;
    background-image: url('https://penntoday.upenn.edu/sites/default/files/2024-01/Fisher-Fine-Arts-Library.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    color: #fff;
    padding: 4rem 0;
    margin-top: -1px;
    position: relative;
}

.footer-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(1, 31, 91, 0.95), rgba(1, 31, 91, 0.85));
    pointer-events: none;
}

.footer-nav .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo-img {
    width: 180px;
    height: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-address,
.footer-phone {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-links h3 {
    font-family: 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #fff;
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-heritage {
    padding: 2rem;
    position: relative;
}

.footer-heritage h2 {
    font-family: 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.footer-heritage p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.heritage-link {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.heritage-link:hover {
    background-color: #fff;
    color: #011F5B;
}

/* Responsive Design for Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-heritage {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-heritage {
        grid-column: span 1;
    }

    .footer-nav {
        padding: 3rem 0;
    }

    .footer-heritage h2 {
        font-size: 1.8rem;
    }
}

/* Bottom Navigation */
.bottom-nav {
    background-color: #011F5B;
    background-image: url('https://penntoday.upenn.edu/sites/default/files/2024-01/Fisher-Fine-Arts-Library.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    padding: 1.5rem 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(1, 31, 91, 0.95), rgba(1, 31, 91, 0.85));
    pointer-events: none;
}

.bottom-nav .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.back-to-top {
    margin-right: auto;
}

.top-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.top-link:hover {
    opacity: 1;
}

.top-link svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.bottom-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.bottom-links a {
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.bottom-links a:hover {
    opacity: 1;
}

/* Responsive Design for Bottom Navigation */
@media (max-width: 1024px) {
    .bottom-nav .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem;
    }

    .back-to-top {
        margin: 0;
    }

    .bottom-links {
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .bottom-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .bottom-links a {
        font-size: 0.75rem;
    }
}

/* Navigation Dropdown */
.nav-item.dropdown {
    position: relative;
    display: inline-block;
}

.nav-link {
    color: #fff !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.nav-link::after {
    content: '';
    display: inline-block;
    width: 0.4em;
    height: 0.4em;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    margin-left: 0.5em;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.navbar.scrolled .nav-link {
    color: #011F5B !important;
}

.navbar.scrolled .nav-link::after {
    border-right: 2px solid #011F5B;
    border-bottom: 2px solid #011F5B;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #011F5B;
    text-decoration: none;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: rgba(1, 31, 91, 0.05);
    color: #AA0000;
}

/* Mobile Navigation Dropdown */
@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 1rem;
    }

    /* Navigation */
    .nav-links {
        justify-content: flex-start;
        padding: 0.5rem 0;
        gap: 0.5rem;
    }

    .nav-item {
        font-size: 0.9rem;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        min-width: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.1);
        padding: 0.5rem;
        margin: 0.5rem 0;
    }

    .dropdown-item {
        padding: 0.5rem;
        color: white;
        opacity: 0.9;
    }

    /* Hero Section */
    .hero {
        height: auto;
        min-height: 60vh;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    /* News Grid */
    .news-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .small-news-grid {
        grid-template-columns: 1fr;
    }

    .news-card {
        height: auto;
        aspect-ratio: 16/9;
    }

    /* Featured Article */
    .featured-article-container {
        flex-direction: column;
        padding: 1rem;
    }

    .featured-article-content {
        width: 100%;
        padding: 1.5rem 1rem;
    }

    .featured-article-image {
        width: 100%;
        height: 250px;
    }

    /* Events Section */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .event-card {
        flex-direction: column;
    }

    /* Statistics Section */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .student-types {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
    }

    /* Forms and Input Fields */
    input, select, textarea {
        font-size: 16px; /* Prevents zoom on mobile */
    }

    /* Buttons */
    .cta-button, .submit-button, .learn-more-btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .stats-grid,
    .student-types {
        grid-template-columns: 1fr;
    }

    h1, .section-title {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    p {
        font-size: 1rem;
    }
}

/* Tablet Devices */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

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

    .small-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Breadcrumb */
.breadcrumb {
    background: #f8f8f8;
    padding: 1rem 0;
    margin-top: 60px;
}

.breadcrumb-path {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb-path a {
    color: #011F5B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-path a:hover {
    color: #AA0000;
}

.breadcrumb-path span {
    color: #AA0000;
}

/* Course Hero Section */
.course-hero {
    background: linear-gradient(135deg, #011F5B 0%, #001233 100%);
    padding: 6rem 0;
    color: #fff;
    text-align: center;
}

.course-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.course-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.course-hero h1 {
    font-family: 'Times New Roman', serif;
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.course-hero p {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.enroll-button {
    display: inline-block;
    background: #AA0000;
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.enroll-button:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

/* Course Overview Section */
.course-overview {
    padding: 6rem 0;
    background: #fff;
}

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.overview-content h2 {
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem;
    color: #011F5B;
    margin-bottom: 2rem;
    font-weight: 500;
}

.overview-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.overview-highlights {
    display: grid;
    gap: 2rem;
}

.highlight-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: #011F5B;
    margin-bottom: 1rem;
    font-weight: 600;
}

.highlight-card p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 6rem 0;
    background: #f8f8f8;
}

.benefits h2 {
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem;
    color: #011F5B;
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: #011F5B;
    margin-bottom: 1rem;
}

.benefit-card p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Course Features Section */
.course-features {
    padding: 8rem 0;
    background: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-badge {
    display: inline-block;
    background: rgba(170, 0, 0, 0.1);
    color: #AA0000;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.section-header h2 {
    font-family: 'Times New Roman', serif;
    font-size: 2.8rem;
    color: #011F5B;
    margin-bottom: 1rem;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards 0.2s;
}

.section-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards 0.4s;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    position: relative;
}

.feature-item {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.feature-item[data-aos="fade-up"] {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #011F5B, #AA0000);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: #011F5B;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-number {
    font-family: 'Times New Roman', serif;
    font-size: 1.2rem;
    color: #AA0000;
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
    padding-bottom: 0.5rem;
}

.feature-number::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #AA0000;
}

.feature-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    color: #011F5B;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-details li {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #AA0000;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .course-features {
        padding: 6rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .feature-item {
        padding: 2rem;
    }

    .feature-content h3 {
        font-size: 1.2rem;
    }
}

/* CTA Section */
.course-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #011F5B 0%, #001233 100%);
    color: #fff;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.primary-button {
    display: inline-block;
    background: #AA0000;
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.secondary-button {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .course-hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .course-hero h1 {
        font-size: 2.2rem;
    }

    .overview-content h2,
    .benefits h2,
    .course-features h2,
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Download Forms Section */
.download-forms {
    padding: 6rem 0;
    background: #f8f8f8;
}

.download-forms h2 {
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem;
    color: #011F5B;
    text-align: center;
    margin-bottom: 3rem;
}

.forms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.form-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.form-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: #011F5B;
    margin-bottom: 1rem;
}

.form-card p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #011F5B;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-button svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.download-button:hover {
    background: #001233;
    transform: translateY(-2px);
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(1, 31, 91, 0.1),
        rgba(1, 31, 91, 0.3),
        rgba(1, 31, 91, 0.1)
    );
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 2rem);
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 2rem);
}

.timeline-dot {
    position: absolute;
    top: 1rem;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid #011F5B;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: calc(50% - 10px);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: calc(50% - 10px);
}

.timeline-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.timeline-icon {
    margin-bottom: 1.5rem;
    color: #011F5B;
}

.timeline-period {
    display: inline-block;
    background: rgba(170, 0, 0, 0.1);
    color: #AA0000;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    color: #011F5B;
    margin-bottom: 1rem;
}

.timeline-info p {
    color: #666;
    margin-bottom: 1.5rem;
}

.timeline-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-details li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: #666;
}

.timeline-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #AA0000;
}

/* Exam Criteria Section */
.exam-criteria {
    margin-top: 6rem;
    padding: 2rem 0;
}

.criteria-card {
    background: linear-gradient(135deg, #011F5B 0%, #001233 100%);
    color: #fff;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.criteria-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.criteria-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: #fff;
}

.criteria-card h3 {
    font-family: 'Times New Roman', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.criteria-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.criteria-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.criteria-item {
    text-align: center;
}

.criteria-label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.criteria-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline::before {
        left: 1rem;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding: 0 0 0 3rem;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 0;
    }

    .criteria-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .criteria-card {
        padding: 2rem;
    }

    .criteria-card h3 {
        font-size: 1.8rem;
    }
}

/* Animation Keyframes */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply animations */
.timeline-item[data-aos="fade-right"] {
    animation: fadeInRight 0.8s ease forwards;
}

.timeline-item[data-aos="fade-left"] {
    animation: fadeInLeft 0.8s ease forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.6s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.8s;
}

/* Admissions & Aid Page Styles */
.admissions-hero {
    background: linear-gradient(135deg, #1a365d 0%, #2a4365 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.admissions-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.admissions-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.primary-button, .secondary-button {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.primary-button {
    background-color: #4299e1;
    color: white;
    border: 2px solid #4299e1;
}

.primary-button:hover {
    background-color: #3182ce;
    border-color: #3182ce;
}

.secondary-button {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Quick Links Section */
.quick-links {
    padding: 4rem 0;
    background-color: #f7fafc;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.quick-link-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: #2d3748;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card-icon {
    margin-bottom: 1.5rem;
    color: #4299e1;
}

.quick-link-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.quick-link-card p {
    color: #718096;
    font-size: 0.95rem;
}

/* Admission Process Section */
.admission-process {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    background-color: #ebf8ff;
    color: #4299e1;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.section-header p {
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #e2e8f0;
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-number {
    width: 40px;
    height: 40px;
    background: #4299e1;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    width: calc(50% - 50px);
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-content h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.timeline-content p {
    color: #718096;
    margin-bottom: 1rem;
}

.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: #718096;
}

.requirements-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4299e1;
}

/* Financial Aid Section */
.financial-aid {
    background-color: #f7fafc;
    padding: 6rem 0;
}

.aid-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.aid-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.aid-icon {
    color: #4299e1;
    margin-bottom: 1.5rem;
}

.aid-card h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.aid-card p {
    color: #718096;
    margin-bottom: 1.5rem;
}

.aid-details {
    list-style: none;
    padding: 0;
}

.aid-details li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: #718096;
}

.aid-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4299e1;
}

.aid-link {
    color: #4299e1;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

/* Important Dates Section */
.important-dates {
    padding: 6rem 0;
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.date-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.date-header {
    background: #2d3748;
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.date-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status.open {
    background: #48bb78;
}

.status.upcoming {
    background: #ed8936;
}

.date-details {
    padding: 1.5rem;
}

.date-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.date-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.date-label {
    color: #718096;
    font-weight: 500;
}

.date-value {
    color: #2d3748;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background-color: #f7fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-info p {
    color: #718096;
    margin-bottom: 2rem;
}

.contact-methods {
    display: grid;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-method svg {
    color: #4299e1;
}

.method-details h3 {
    color: #2d3748;
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.method-details p {
    color: #718096;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    background: #4299e1;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background: #3182ce;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .admissions-hero {
        padding: 80px 0 60px;
    }

    .admissions-hero h1 {
        font-size: 2.5rem;
    }

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

    .process-timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-number {
        left: 20px;
        transform: none;
    }

    .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px !important;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Process Cards */
.process-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #011F5B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.process-card h3 {
    font-family: 'Times New Roman', serif;
    font-size: 1.5rem;
    color: #011F5B;
    margin-bottom: 1rem;
}

.process-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: #011F5B;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.contact-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Contact Info Cards */
.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info-card h3 {
    font-family: 'Times New Roman', serif;
    font-size: 1.5rem;
    color: #011F5B;
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-info-card p:last-child {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .process-cards {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
    }
}

/* eBook Library Page Styles */
.ebook-library-page {
    min-height: 100vh;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.ebook-library-main {
    min-height: 100vh;
    position: relative;
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.ebook-library-main .container {
    position: relative;
    z-index: 2;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
}

.auth-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.auth-box h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.auth-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.auth-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.auth-submit {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-submit:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.auth-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-footer p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.auth-footer a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.auth-footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
    }

    .auth-box {
        padding: 2rem;
    }

    .auth-box h1 {
        font-size: 2rem;
    }
}

/* Download Documents Page Styles */
.documents-page {
    min-height: 100vh;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.documents-main {
    min-height: 100vh;
    position: relative;
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.documents-main .container {
    position: relative;
    z-index: 2;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
}

.auth-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.auth-box h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Added text shadow for better readability */
}

.auth-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ffffff;
    opacity: 1; /* Increased opacity for better visibility */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.2); /* Increased contrast for input background */
    border: 2px solid rgba(255, 255, 255, 0.4); /* More visible border */
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.8); /* More visible placeholder text */
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.25);
}

.auth-submit {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.3); /* More visible button background */
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.auth-submit:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.document-categories {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3); /* More visible border */
}

.document-categories h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.document-card {
    background: rgba(255, 255, 255, 0.85); /* Much lighter background */
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.document-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.95);
    border-color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.document-card h4 {
    color: #011F5B; /* Dark blue text for better contrast */
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: none;
}

.document-list a {
    color: #2A4365; /* Dark blue text for better contrast */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-shadow: none;
    font-weight: 500;
}

.document-list a:hover {
    color: #1A365D; /* Darker blue on hover */
    transform: translateX(5px);
    text-shadow: none;
}

.document-list a::before {
    content: '↓';
    font-size: 1.1rem;
    opacity: 0.8;
    color: #2A4365;
}

.document-categories h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

.document-categories {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.5);
}

.auth-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.auth-footer p {
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.auth-footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.auth-footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Document Verification Page Styles */
.verification-page {
    min-height: 100vh;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.verification-main {
    min-height: 100vh;
    position: relative;
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.verification-main .container {
    position: relative;
    z-index: 2;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
}

.auth-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.auth-box h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.auth-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.auth-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.auth-submit {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-submit:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.document-categories {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.document-categories h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 500;
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.document-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.document-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.document-card h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

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

.document-list li {
    margin-bottom: 0.8rem;
}

.document-list li:last-child {
    margin-bottom: 0;
}

.document-list a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.document-list a:hover {
    color: white;
    transform: translateX(5px);
}

.document-list a::before {
    content: '↓';
    font-size: 1.1rem;
    opacity: 0.8;
}

.auth-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-footer p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.auth-footer a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.auth-footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
    }

    .auth-box {
        padding: 2rem;
    }

    .auth-box h1 {
        font-size: 2rem;
    }

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

/* Login Styles */
.nav-login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-login-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-modal.show {
    display: flex;
    opacity: 1;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.login-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.login-modal.show .login-box {
    transform: translateY(0);
    opacity: 1;
}

.login-header {
    margin-bottom: 2rem;
}

.login-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.login-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.login-form {
    margin-bottom: 2rem;
}

.input-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-focus-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.5));
    transition: width 0.3s ease;
}

.form-group input:focus ~ .input-focus-effect {
    width: 100%;
}

.login-submit {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-submit:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.login-submit svg {
    transition: transform 0.3s ease;
}

.login-submit:hover svg {
    transform: translateX(4px);
}

.login-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-footer p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.login-footer a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.login-footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Welcome Modal Styles */
.welcome-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.welcome-modal.show {
    display: flex;
    opacity: 1;
}

.welcome-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.welcome-message {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

.welcome-modal.show .welcome-message {
    transform: scale(1);
    opacity: 1;
}

.welcome-message h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.welcome-message p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.close-welcome {
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-welcome:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .login-container,
    .welcome-container {
        padding: 1rem;
    }

    .login-box,
    .welcome-message {
        padding: 2rem;
    }

    .login-header h2,
    .welcome-message h2 {
        font-size: 1.75rem;
    }
}

/* User Profile in Navigation */
.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.user-profile #studentName {
    color: #1F2937;
    font-weight: 500;
}

.logout-btn {
    background: #EEF2FF;
    color: #4F46E5;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #E0E7FF;
    transform: translateY(-1px);
}

.navbar.scrolled .user-profile #studentName {
    color: white;
}

.navbar.scrolled .logout-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.navbar.scrolled .logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Admin Page Styles */
.admin-page {
    background-color: #1a1a1a;
    min-height: 100vh;
    color: #fff;
}

.admin-main {
    position: relative;
    min-height: 100vh;
    padding: 2rem 0;
    background: linear-gradient(135deg, #1a1a1a, #2c3e50);
}

.admin-panel {
    margin-top: 2rem;
}

.admin-panel .auth-box {
    max-width: 800px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.admin-panel .login-header {
    margin-bottom: 2rem;
    text-align: center;
}

.admin-panel .login-header h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.admin-panel .form-group {
    margin-bottom: 1.5rem;
}

.admin-panel .form-group label {
    display: block;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.admin-panel .input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.admin-panel .input-wrapper input:focus {
    outline: none;
    border-color: #4F46E5;
    background: rgba(255, 255, 255, 0.15);
}

.admin-panel .auth-submit {
    width: 100%;
    padding: 1rem;
    background: #4F46E5;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-panel .auth-submit:hover {
    background: #4338CA;
    transform: translateY(-2px);
}

.student-list {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
}

.student-list h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.student-table {
    overflow-x: auto;
}

.student-table table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
}

.student-table th,
.student-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.student-table th {
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.student-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.delete-student {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.delete-student:hover {
    background: #c82333;
}

.logout-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-left: 1rem;
}

.logout-btn:hover {
    background: #c82333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .admin-panel .auth-box {
        padding: 1rem;
    }
    
    .student-table {
        font-size: 0.9rem;
    }
    
    .student-table th,
    .student-table td {
        padding: 0.75rem;
    }
}

.news-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.news-link:hover {
    opacity: 0.8;
}

.featured-news {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.featured-news:hover {
    transform: translateY(-5px);
}

.news-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
}

/* Ensure the news content is properly styled within links */
.news-content {
    padding: 1.5rem;
    background: white;
}

.news-tag {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.news-content h2,
.news-content h3 {
    margin: 0;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.news-card:hover .news-content h3,
.featured-news:hover .news-content h2 {
    color: var(--primary-color);
}

/* Style for the learn more button */
.learn-more-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
    background-color: var(--primary-color-dark);
}
