/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Program section scroll margin */
.program-detail {
    scroll-margin-top: 80px;
    transition: all 0.3s ease;
}

/* Program section highlight effect */
.program-detail.highlighted {
    background: linear-gradient(135deg, rgba(5, 51, 156, 0.05) 0%, rgba(16, 85, 201, 0.05) 100%);
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    animation: highlightPulse 2s ease-in-out;
}

@keyframes highlightPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(5, 51, 156, 0);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 20px rgba(5, 51, 156, 0.1);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(5, 51, 156, 0);
    }
}

/* Program link active state */
.dropdown-menu a.program-active {
    background: var(--primary-color);
    color: var(--white) !important;
    font-weight: 600;
    position: relative;
}

.dropdown-menu a.program-active::before {
    content: '→';
    position: absolute;
    left: 10px;
    color: var(--white);
}

/* Enhanced dropdown menu item transitions */
.dropdown-menu li {
    position: relative;
    overflow: hidden;
}

.dropdown-menu li a {
    position: relative;
    transition: all 0.3s ease;
    padding-left: 25px;
}

.dropdown-menu li a:hover {
    transform: translateX(5px);
    padding-left: 30px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #05339c;
    --secondary-color: #1055c9;
    --accent-color: #41a67e;
    --accent-yellow: #e5c95f;
    --accent-red: #ef4444;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(5, 51, 156, 0.08);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.55rem 0;
}

.navbar .container {
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: fit-content;
}

.logo {
    height: 34px;
    width: auto;
    max-width: 72px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.75rem;
    align-items: center;
    margin-left: auto;
}

.nav-menu a {
    text-decoration: none;
    color: #475569;
    font-weight: 700;
    transition: all 0.25s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color) !important;
}

.nav-menu a:hover {
    background: rgba(5, 51, 156, 0.06);
    transform: translateY(-1px);
}

.nav-menu a.active {
    color: var(--white) !important;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 8px 18px rgba(5, 51, 156, 0.24);
    transform: translateY(-1px);
}

.nav-menu a.active:hover {
    color: var(--white) !important;
    background: linear-gradient(135deg, #2d8f6a 0%, #0f4fb3 100%);
}

.nav-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.nav-caret {
    font-size: 0.7rem;
    margin-left: 0.1rem;
}

.nav-menu a.active .nav-caret,
.nav-menu a.active .nav-icon {
    color: var(--white);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.split-dropdown {
    display: flex;
    align-items: center;
}

.dropdown-split {
    display: inline-flex;
    align-items: stretch;
    width: 100%;
    border-radius: 999px;
    overflow: hidden;
}

.dropdown-link {
    flex: 1 1 auto;
    min-width: 0;
}

.dropdown-toggle-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    padding: 0 0.75rem 0 0.45rem;
    transition: all 0.25s ease;
}

.dropdown-toggle-btn:hover {
    background: rgba(5, 51, 156, 0.06);
    color: var(--primary-color);
}

.dropdown-toggle-btn:focus-visible {
    outline: 2px solid rgba(5, 51, 156, 0.35);
    outline-offset: -2px;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.dropdown-toggle .nav-caret {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle .nav-caret {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: all 0.3s;
    z-index: 1000;
    padding: 0.55rem;
}

/* Keep the last nav dropdown ("More") inside the viewport */
.nav-menu > li:last-child .dropdown-menu {
    left: auto;
    right: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

.dropdown.open .dropdown-toggle .nav-caret {
    transform: rotate(180deg);
}

.dropdown.open .dropdown-toggle-btn .nav-caret {
    transform: rotate(180deg);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    color: #334155;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    border-bottom: none;
    border-radius: 12px;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background: rgba(5, 51, 156, 0.06);
    color: var(--primary-color);
    transform: translateX(3px);
}

.dropdown-menu a.active-link,
.dropdown-menu a.program-active {
    background: rgba(65, 166, 126, 0.12);
    color: var(--primary-color) !important;
    font-weight: 700;
}

.btn-login {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-login:hover {
    background: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0.6rem 0 1.5rem;
}

.grant-hero {
    isolation: isolate;
}

.hero-content.grant-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: center;
    gap: 2rem;
    text-align: left;
    color: var(--text-dark);
    margin-top: 0;
    width: 100%;
    min-height: 560px;
}

.hero-copy {
    position: relative;
    padding: 0.75rem 0 1rem 1rem;
    z-index: 2;
}

.hero-brand-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.1rem;
}

.hero-seal {
    width: 90px;
    height: 90px;
    object-fit: contain;
    flex-shrink: 0;
}

.hero-wordmark {
    height: 68px;
    width: auto;
    object-fit: contain;
}

.hero-title-grant {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    margin-bottom: 0.45rem;
    text-shadow: none;
    animation: none;
    line-height: 1;
}

.hero-title-main {
    font-size: clamp(2.9rem, 5.6vw, 4.4rem);
    font-weight: 900;
    color: #118028;
    letter-spacing: -0.04em;
    line-height: 0.95;
}

.hero-title-sub {
    font-size: clamp(1.45rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #3347a8;
    letter-spacing: -0.02em;
    margin-bottom: 0.1rem;
}

.hero-tagline {
    margin-top: 0.5rem;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 700;
    color: #1f7a2d;
    max-width: 48rem;
}

.hero-description.hero-description-grant {
    margin-top: 0.9rem;
    margin-bottom: 0 !important;
    max-width: 44rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    animation: none;
}

.hero-buttons.hero-buttons-compact {
    justify-content: flex-start;
    margin-top: 1.5rem;
    animation: none;
}

.hero-buttons-compact .btn {
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
}

.hero-buttons-compact .btn-secondary,
.hero-buttons-compact .btn-outline {
    color: var(--primary-color);
    border-color: rgba(5, 51, 156, 0.28);
    background: rgba(255, 255, 255, 0.95);
}

.hero-buttons-compact .btn-secondary:hover,
.hero-buttons-compact .btn-outline:hover {
    color: var(--white);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    border-color: transparent;
}

.hero-guest-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 1rem;
    animation: fadeInUp 1s ease 0.7s backwards;
}

.guest-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    min-height: 48px;
}

.guest-action-btn i {
    font-size: 0.95rem;
}

.hero-url {
    margin-top: 3.2rem;
    font-size: clamp(1rem, 1.6vw, 1.35rem);
    font-weight: 800;
    color: #1b6f35;
}

.hero-art {
    position: relative;
    min-height: 560px;
    z-index: 1;
}

.hero-accent {
    position: absolute;
    z-index: 0;
}

.hero-accent-left {
    top: 0;
    left: 0;
    width: 72px;
    height: 188px;
    background: #3347a8;
}

.hero-accent-top-right {
    top: 0;
    right: 0;
    width: 180px;
    height: 190px;
    background: #0f7c22;
}

.hero-accent-mid-right {
    top: 0;
    right: 180px;
    width: 180px;
    height: 360px;
    background: #3347a8;
}

.hero-accent-bottom-right {
    right: 0;
    bottom: 0;
    width: 180px;
    height: 150px;
    background: #3347a8;
}

.hero-accent-bottom-center {
    right: 180px;
    bottom: 0;
    width: 180px;
    height: 150px;
    background: #0f7c22;
}

.hero-square {
    position: absolute;
    display: block;
    aspect-ratio: 1 / 1;
}

.hero-square-blue {
    background: #3347a8;
}

.hero-square-green {
    background: #0f7c22;
}

.hero-square-white {
    background: #ffffff;
}

.hero-square-left {
    top: 0;
    left: 0;
    width: 74px;
    height: 188px;
}

.hero-square-top {
    top: 0;
    right: 180px;
    width: 180px;
    height: 180px;
}

.hero-square-mid {
    top: 180px;
    right: 180px;
    width: 180px;
    height: 180px;
}

.hero-square-bottom {
    bottom: 0;
    right: 180px;
    width: 180px;
    height: 150px;
}

.hero-square-gap {
    top: 180px;
    right: 0;
    width: 180px;
    height: 180px;
}

.hero-square-right {
    bottom: 0;
    right: 0;
    width: 180px;
    height: 150px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 1rem 0 2rem;
    }

    .hero-content.grant-hero-content {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 1.5rem;
        justify-items: center;
        text-align: center;
    }

    .hero-copy {
        padding: 0.5rem 0 0;
        max-width: 34rem;
    }

    .hero-brand-row {
        gap: 0.7rem;
        margin-bottom: 0.9rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-seal {
        width: 58px;
        height: 58px;
    }

    .hero-wordmark {
        height: 42px;
    }

    .hero-title-grant {
        flex-wrap: wrap;
        gap: 0.35rem 0.65rem;
        align-items: center;
        margin-bottom: 0.25rem;
    }

    .hero-title-main {
        font-size: clamp(2.35rem, 12vw, 3.6rem);
    }

    .hero-title-sub {
        font-size: clamp(1.2rem, 6vw, 2rem);
    }

    .hero-tagline {
        font-size: 0.98rem;
        max-width: 32rem;
        margin-inline: auto;
    }

    .hero-description-grant {
        font-size: 0.95rem;
        margin-inline: auto;
    }

    .hero-buttons-compact {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 22rem;
        margin-inline: auto;
    }

    .hero-buttons-compact .btn {
        width: 100%;
    }

    .hero-guest-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .guest-action-btn {
        justify-content: center;
        width: 100%;
    }

    .hero-url {
        margin-top: 1.25rem;
        font-size: 0.98rem;
    }

    .hero-art {
        min-height: 180px;
    }

    .hero-accent-left,
    .hero-accent-top-right,
    .hero-accent-mid-right,
    .hero-accent-bottom-right,
    .hero-accent-bottom-center,
    .hero-square-top,
    .hero-square-mid,
    .hero-square-bottom,
    .hero-square-gap,
    .hero-square-right {
        display: none;
    }

    .hero-square-left {
        width: 56px;
        height: 150px;
    }
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    animation: fadeInUp 1s ease;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--accent-yellow);
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    animation: fadeInUp 1.2s ease;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #2d8f6a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Additional button style for red accent */
.btn-accent-red {
    background: var(--accent-red);
    color: var(--white);
}

.btn-accent-red:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* News Section */
.news-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

.news-content {
    padding: 2rem;
    flex: 1;
}

.news-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: block;
}

.news-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.news-full-content {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.news-author {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.news-more {
    text-align: center;
    margin-top: 2rem;
}

.news-more .btn-outline {
    color: var(--primary-color);
    border-color: rgba(5, 51, 156, 0.28);
    background: var(--white);
}

.news-more .btn-outline:hover {
    color: var(--white);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    border-color: transparent;
}

@media (max-width: 768px) {
    .news-grid {
        gap: 1.5rem;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 1.5rem;
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* About Section */
.about-section {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.about-card-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(5, 51, 156, 0.08), rgba(65, 166, 126, 0.08));
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.about-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
    max-width: 32rem;
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-top: 4px solid var(--secondary-color);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-red);
}

.program-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.program-card:nth-child(2n) .program-icon {
    color: var(--accent-color);
}

.program-card:nth-child(3n) .program-icon {
    color: var(--accent-red);
}

.program-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.program-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.card-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.card-link:hover {
    color: var(--accent-red);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: var(--bg-light);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-outline {
    color: var(--primary-color);
    border-color: rgba(5, 51, 156, 0.28);
    background: var(--white);
}

.cta-buttons .btn-outline:hover {
    color: var(--white);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    border-color: transparent;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-col p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-col ul li i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.7rem 0;
    }

    .navbar .container {
        position: relative;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .nav-brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .brand-text {
        font-size: 0.92rem;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .nav-menu {
        position: fixed;
        left: 50%;
        top: 78px;
        flex-direction: column;
        align-items: stretch;
        background: rgba(255, 255, 255, 0.98);
        width: calc(100% - 1.25rem);
        max-width: 720px;
        text-align: left;
        transition: 0.3s;
        box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
        padding: 1rem;
        border-radius: 24px;
        border: 1px solid rgba(5, 51, 156, 0.08);
        transform: translateX(-50%) translateY(-12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        width: 100%;
        justify-content: center;
        padding: 0.95rem 1rem;
    }

    .split-dropdown {
        display: block;
    }

    .dropdown-split {
        width: 100%;
    }

    .dropdown-link {
        justify-content: flex-start;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .dropdown-toggle-btn {
        width: 3rem;
        background: rgba(5, 51, 156, 0.05);
        color: var(--primary-color);
        border-left: 1px solid rgba(5, 51, 156, 0.08);
        border-top-right-radius: 999px;
        border-bottom-right-radius: 999px;
    }

    /* Mobile Dropdown Styles */
    .dropdown-menu {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(5, 51, 156, 0.04);
        margin-top: 0.65rem;
        min-width: auto;
        border: none;
        padding: 0.35rem;
        border-radius: 16px;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-link .nav-caret {
        display: none;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.9rem;
    }

    section {
        padding: 3.5rem 0;
    }

    .about-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.55rem 0;
    }

    .navbar .container {
        gap: 0.5rem;
    }

    .nav-brand {
        gap: 0.5rem;
        max-width: calc(100% - 56px);
    }

    .logo {
        height: 28px;
        max-width: 56px;
    }

    .brand-text {
        font-size: 0.8rem;
        line-height: 1.05;
    }

    .nav-menu {
        top: 70px;
        width: calc(100% - 0.75rem);
        padding: 0.85rem;
        border-radius: 20px;
    }

    .nav-menu a {
        justify-content: flex-start;
        padding: 0.85rem 0.9rem;
    }

    .hero {
        padding: 0.75rem 0 1.25rem;
    }

    .hero-content.grant-hero-content {
        gap: 1rem;
    }

    .hero-copy {
        padding: 0.25rem 0 0;
        max-width: 100%;
    }

    .hero-brand-row {
        margin-bottom: 0.65rem;
    }

    .hero-seal {
        width: 50px;
        height: 50px;
    }

    .hero-wordmark {
        height: 36px;
    }

    .hero-title-main {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .hero-title-sub {
        font-size: clamp(1.05rem, 5.6vw, 1.7rem);
    }

    .hero-tagline {
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .hero-description-grant {
        font-size: 0.9rem;
    }

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

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-art {
        display: none;
    }

    .hero-url {
        margin-top: 0.9rem;
        font-size: 0.92rem;
        word-break: break-word;
    }

    section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

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

    .section-header p {
        font-size: 0.98rem;
    }

    .program-card,
    .about-card,
    .news-content,
    .stat-card {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .news-section {
        padding: 3rem 0;
    }

    .news-image {
        height: 180px;
    }

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

    .stat-card {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .cta-buttons {
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer {
        padding: 2.5rem 0 1rem;
    }

    .footer-grid {
        gap: 1.5rem;
    }
}
