:root {
    --primary: #facc15; /* Vibrant Yellow */
    --primary-dark: #ca8a04;
    --primary-light: #fef08a;
    --secondary: #1e3a8a; /* Deep Navy */
    --secondary-dark: #172554;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --bg-color: #f8fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
.font-heading {
    font-family: "Outfit", sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    height: 3rem;
    width: 3rem;
    object-fit: contain;
    /* background: white; */
    border-radius: 50%;
    /* padding: 0.25rem; */
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
    /* border: 1px solid var(--primary-light); */
}

.nav-title {
    display: flex;
    flex-direction: column;
}

.nav-title small {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.2;
}

.nav-title strong {
    font-size: 0.85rem; /* Smaller on mobile */
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

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

.mobile-login-container {
    display: flex; /* Show on mobile */
    gap: 0.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .mobile-login-container {
        display: none; /* Hide on desktop */
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--secondary-dark); /* Dark text on yellow */
    background: var(--primary);
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(250, 204, 21, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(250, 204, 21, 0.4);
}

.btn-maroon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 800;
    color: white;
    background: #7f1d1d; /* Maroon */
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(127, 29, 29, 0.3);
    border: none;
    cursor: pointer;
}

.btn-maroon:hover {
    background: #991b1b;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(127, 29, 29, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    z-index: -2;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(white 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: -1;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hero {
        padding-top: 2rem;
        padding-bottom: 4rem;
    }
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(255,255,255,0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(250, 204, 21, 0.3);
}

.ping {
    position: relative;
    display: flex;
    height: 8px;
    width: 8px;
}

.ping-circle {
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.75;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ping-dot {
    position: relative;
    display: inline-flex;
    border-radius: 50%;
    height: 8px;
    width: 8px;
    background: var(--primary-dark);
}

@keyframes ping {
    75%,
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.text-gradient {
    color: var(--primary);
    /* Remove gradient to keep it solid vibrant yellow */
}

.hero-desc {
    font-size: 1.125rem;
    color: #e2e8f0; /* Light gray on dark background */
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.btn-dark {
    background: var(--primary);
    color: var(--secondary-dark);
}

.btn-dark:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(250, 204, 21, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Glass Card */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 2rem auto 0;
}

.blob {
    position: absolute;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.blob-1 {
    top: -1.5rem;
    left: -1.5rem;
    background: #6ee7b7;
}

.blob-2 {
    bottom: -1.5rem;
    right: -1.5rem;
    background: #5eead4;
    animation-delay: 1s;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
    .glass-card {
        padding: 2rem;
    }
}

.glass-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
    border: 1px solid #f1f5f9;
    margin-bottom: 1.5rem;
}

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

.stat-box {
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(236, 253, 245, 0.8);
    border: 1px solid rgba(209, 250, 229, 0.5);
    transition: transform 0.2s;
}

.stat-box:hover {
    transform: translateY(-4px);
}

.stat-box.blue {
    background: rgba(239, 246, 255, 0.8);
    border-color: rgba(219, 234, 254, 0.5);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.stat-box.blue .stat-icon {
    color: #2563eb;
}

.stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--secondary-dark);
    color: #cbd5e1;
    padding: 4rem 0 2rem;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-bottom: 1px solid #334155;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .nav-title strong {
        font-size: 1rem; /* Slightly larger on desktop */
    }
}

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

.footer-logo img {
    height: 2.5rem;
    width: 2.5rem;
    background: white;
    border-radius: 50%;
    padding: 0.25rem;
}

.footer-logo span {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: inherit;
    font-size: 1.25rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.875rem;
    color: #e0e3e7;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a:hover {
    color: white;
}

/* Enhancements: Features Section */
.section-padding {
    padding: 6rem 0;
}

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

.section-subtitle {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary);
    font-weight: 800;
    line-height: 1.2;
}

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

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(30, 58, 138, 0.2); /* Navy border on hover */
}

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

.feature-icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: rgba(30, 58, 138, 0.05); /* Very light navy */
    color: var(--secondary); /* Navy icon */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease, background 0.3s, color 0.3s;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: var(--secondary);
    color: var(--primary); /* Yellow icon on Navy background */
}

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

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Enhanced Footer Layout */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand p {
    color: #e0e3e7;
    line-height: 1.6;
    margin: 1.5rem 0;
    max-width: 400px;
}

.footer-heading {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2rem;
    height: 2px;
    background: var(--primary);
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: #e0e3e7;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-menu a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: #e0e3e7;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 0.25rem;
}

/* Newsletter Input */
.newsletter-form {
    display: flex;
    margin-top: 1.5rem;
}
.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem 0 0 0.5rem;
    background: rgba(255,255,255,0.1);
    color: white;
    outline: none;
}
.newsletter-input:focus {
    background: rgba(255,255,255,0.15);
}
.newsletter-btn {
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 0 0.5rem 0.5rem 0;
    background: var(--primary);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.newsletter-btn:hover {
    background: var(--primary-dark);
}

/* Enhancements: Carousel */
.carousel-container {
    position: relative;
    width: 100%;
    height: 300px; /* Fixed height for consistency */
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: var(--bg-color);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
    .carousel-container {
        height: 350px;
    }
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1.5s ease-out;
    transform: scale(1.05);
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid #f1f5f9;
}

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.indicator.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

/* Enhancements: New Dynamic Section */
.bg-soft-emerald {
    background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
    position: relative;
    z-index: 1;
}

.bg-soft-emerald::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: repeating-linear-gradient(45deg, rgba(30, 58, 138, 0.02) 0, rgba(30, 58, 138, 0.02) 1px, transparent 1px, transparent 20px);
    z-index: -1;
}

/* Section Title Variant */
.section-title.light {
    color: var(--secondary);
}

.news-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.6);
    display: flex;
    flex-direction: column;
}

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

.news-image {
    height: 180px;
    width: 100%;
    background: var(--bg-color);
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.news-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.news-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* To replace the "too white" background */
.bg-subtle-pattern {
    background-color: #f1f5f9; /* Slate 100 to reduce white */
    background-image: radial-gradient(rgba(30, 58, 138, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
}
