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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Performance Optimizations */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Optimize image loading */
img {
    loading: lazy;
    decoding: async;
}

/* Critical above-the-fold styles */
.hero {
    will-change: transform;
}

/* Attribution Protection - Hide website if attribution is missing */
body:not(:has(.built-by-logo)) {
    display: none !important;
}

body:not(:has(.built-by a[href="https://dataspruce.co.zw"])) {
    display: none !important;
}

body:not(:has(.built-by span)) {
    display: none !important;
}

/* Critical CSS for faster initial render */
.navbar {
    contain: layout style paint;
}

.hero h1, .hero-subtitle {
    contain: layout style;
}

/* Optimize repaints and reflows */
.feature-card, .blog-card, .podcast-card, .event-card {
    contain: layout style paint;
}

/* GPU acceleration for smooth animations */
.feature-card, .btn, .countdown-item {
    will-change: transform;
    transform: translateZ(0);
}

/* Smooth animations for better UX - Optimized */
* {
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none;
        animation: none;
    }
}

/* Focus states for accessibility */
*:focus {
    outline: 2px solid #1e3a8a;
    outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #1e3a8a;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
    
    .feature-card, .blog-card, .podcast-card {
        border: 2px solid #1e3a8a;
    }
}

/* Better button interactions */
button, .btn {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Navigation - Enhanced Desktop */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-logo h2 {
    color: #1e3a8a;
    font-weight: 700;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #059669;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

/* Hide hamburger on desktop */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    display: block;
}

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

/* Hero Section - Enhanced Desktop */
.hero {
    position: relative;
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(5, 150, 105, 0.8) 100%);
    z-index: 2;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 50px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Countdown Styles */
.countdown-container {
    margin: 40px 0;
}

.countdown-container h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 100px;
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin: 0 10px;
    min-height: 56px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #059669;
    color: white;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background: #047857;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: #059669;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #1e293b;
}

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

.feature-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    background: #f8fafc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 100px;
    height: 100px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 3.5rem;
    color: #1e3a8a;
    filter: none;
}

.feature-icon i {
    font-size: 3.5rem;
    color: #1e3a8a;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Latest Content Section */
.latest-content {
    padding: 80px 0;
    background: #f8fafc;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.content-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.content-image {
    height: 200px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #1e3a8a;
    filter: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.content-image i {
    font-size: 4rem;
    color: #1e3a8a;
}

.content-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.content-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}

.content-info p {
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

.content-info .btn {
    margin-top: auto;
    align-self: flex-start;
}

.content-link {
    color: #059669;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.content-link:hover {
    color: #047857;
}

/* Footer */
.footer {
    background: #1e3a8a;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #fff;
}

.footer-logo h3 {
    margin: 0;
    color: #fff;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 10px;
}

.built-by {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 15px;
}

.built-by span {
    color: #cbd5e1;
    font-size: 14px;
}

.built-by a {
    text-decoration: none;
    display: inline-block;
}

.built-by-logo {
    height: 50px;
    width: auto;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.built-by-logo:hover {
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
    color: #cbd5e1;
}

/* Blog Page Styles */
.blog-hero {
    position: relative;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
}

.blog-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blog-hero .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(5, 150, 105, 0.8) 100%);
    z-index: 2;
}

.blog-hero .container {
    position: relative;
    z-index: 3;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #1e3a8a;
    filter: none;
}

.blog-image i {
    font-size: 4rem;
    color: #1e3a8a;
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.blog-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Media Page Styles */
.media-hero {
    position: relative;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
}

.media-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.media-hero .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.media-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(5, 150, 105, 0.8) 100%);
    z-index: 2;
}

.media-hero .container {
    position: relative;
    z-index: 3;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.video-container {
    position: relative;
    width: 100%;
    height: 250px;
    background: #000;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px 15px 0 0;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #059669 100%);
    color: white;
    font-size: 1.2rem;
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1e293b;
}

.video-description {
    color: #64748b;
    font-size: 0.9rem;
}

/* Podcast Page Styles */
.podcast-hero {
    position: relative;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
}

.podcast-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.podcast-hero .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    opacity: 1;
}

.podcast-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(5, 150, 105, 0.8) 100%);
    z-index: 2;
}

.podcast-hero .container {
    position: relative;
    z-index: 3;
}

.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.podcast-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.podcast-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.podcast-image {
    height: 200px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #1e3a8a;
    filter: none;
}

.podcast-image i {
    font-size: 4rem;
    color: #1e3a8a;
}

.podcast-content {
    padding: 30px;
}

.podcast-meta {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.podcast-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.podcast-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Events Page Styles */
.events-hero {
    position: relative;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
}

.events-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.events-hero .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    opacity: 1;
}

.events-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.7) 0%, rgba(5, 150, 105, 0.7) 100%);
    z-index: 2;
}

.events-hero .container {
    position: relative;
    z-index: 3;
}

.events-timeline {
    margin-top: 50px;
}

.event-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #059669;
}

.event-date {
    color: #059669;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.event-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.event-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.event-meta {
    display: flex;
    gap: 20px;
    color: #64748b;
    font-size: 0.9rem;
}

/* Additional Styles for New Components */

/* Newsletter Styles */
.newsletter {
    background: linear-gradient(135deg, #1e3a8a 0%, #059669 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.newsletter-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: white;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    background: #fff;
    color: #1e3a8a;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 50px;
}

/* Video Filters */
.video-filters, .podcast-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #059669;
    background: #059669;
    color: white;
}

/* Video Meta */
.video-meta {
    display: flex;
    gap: 20px;
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 15px;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Featured Video */
.featured-video {
    padding: 80px 0;
    background: #f8fafc;
}

.featured-video-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    margin: 0 auto;
}

.featured-video .video-container {
    position: relative;
    width: 100%;
    height: 450px;
    background: #000;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.featured-video .video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px 20px 0 0;
}

.featured-video .video-info {
    padding: 40px;
    position: relative;
    z-index: 1;
}

.featured-video .video-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.featured-video .video-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Podcast Player */
.podcast-player {
    margin: 20px 0;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
    padding: 15px 20px;
    border-radius: 10px;
}

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #059669;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: #047857;
    transform: scale(1.05);
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.progress {
    height: 100%;
    background: #059669;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
}

.time {
    color: #64748b;
    font-size: 0.9rem;
    min-width: 100px;
}

/* Podcast Actions */
.podcast-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Podcast Subscribe */
.podcast-subscribe {
    background: #f8fafc;
    padding: 60px 0;
    text-align: center;
}

.subscribe-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.subscribe-content p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 40px;
}

.podcast-platforms {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.platform-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: #64748b;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    min-width: 120px;
}

.platform-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    color: #059669;
}

.platform-link i {
    font-size: 2rem;
}

.platform-link span {
    font-weight: 600;
}

/* Event Categories */
.event-categories {
    padding: 80px 0;
    background: white;
}

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

.category-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    background: #f8fafc;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #059669;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 100px;
    height: 100px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 3rem;
    color: #1e3a8a;
    filter: none;
}

.category-icon i {
    font-size: 3rem;
    color: #1e3a8a;
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.category-card p {
    color: #64748b;
    margin-bottom: 15px;
}

.event-count {
    color: #059669;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Event Actions */
.event-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Past Events */
.past-events {
    padding: 80px 0;
    background: #f8fafc;
}

.past-event {
    opacity: 0.8;
    border-left-color: #94a3b8;
}

.past-event .event-title {
    color: #64748b;
}

/* Mobile-First Responsive Design - Horizontal Layout */
@media (max-width: 768px) {
    /* Mobile Navigation - Enhanced with better touch targets */
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        position: relative;
    }

    .hamburger {
        display: flex !important;
        z-index: 1001;
        padding: 12px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        min-width: 48px;
        min-height: 48px;
        align-items: center;
        justify-content: center;
        position: relative;
        cursor: pointer;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
        padding: 80px 0 40px;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 8px 0;
    }

    .nav-link {
        font-size: 1.2rem;
        font-weight: 600;
        padding: 18px 25px;
        color: #1e293b;
        display: block;
        transition: all 0.3s ease;
        border-radius: 15px;
        margin: 0 20px;
        text-decoration: none;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-link:hover {
        background: rgba(30, 58, 138, 0.15);
        color: #1e3a8a;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(30, 58, 138, 0.2);
    }

    .nav-link.active {
        background: linear-gradient(135deg, #1e3a8a, #059669);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
    }

    /* Mobile Hero - Enhanced with better typography */
    .hero {
        padding: 80px 0 60px;
        min-height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
    }

    .hero-container {
        padding: 0 20px;
        max-width: 100%;
        z-index: 2;
    }

    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-bottom: 20px;
        font-weight: 800;
        letter-spacing: -0.02em;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 35px;
        color: rgba(255, 255, 255, 0.95);
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Mobile Countdown - Enhanced with better spacing */
    .countdown-container {
        margin: 35px 0;
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(15px);
        border-radius: 20px;
        padding: 25px 20px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    .countdown-container h3 {
        font-size: 1.1rem;
        margin-bottom: 20px;
        color: rgba(255, 255, 255, 0.95);
        text-align: center;
        font-weight: 600;
    }

    .countdown {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    .countdown-item {
        background: rgba(255, 255, 255, 0.18);
        backdrop-filter: blur(8px);
        border-radius: 15px;
        padding: 20px 12px;
        text-align: center;
        border: 1px solid rgba(255, 255, 255, 0.25);
        transition: all 0.3s ease;
    }

    .countdown-item:hover {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.22);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .countdown-number {
        font-size: 1.8rem;
        font-weight: 800;
        display: block;
        margin-bottom: 6px;
        color: #ffffff;
    }

    .countdown-label {
        font-size: 0.8rem;
        opacity: 0.95;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 600;
    }

    /* Mobile Hero Buttons - Enhanced with better touch targets */
    .hero-buttons {
        display: flex;
        gap: 15px;
        margin-top: 35px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .btn {
        flex: 1;
        min-width: 140px;
        padding: 18px 25px;
        font-size: 1.1rem;
        border-radius: 25px;
        font-weight: 700;
        text-decoration: none;
        text-align: center;
        transition: all 0.3s ease;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    /* Mobile Sections - Optimized Spacing */
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
        text-align: center;
        font-weight: 700;
    }

    /* Mobile Features - Horizontal Cards */
    .features {
        padding: 40px 0;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .feature-card {
        padding: 20px 15px;
        text-align: center;
        border-radius: 15px;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }

    .feature-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 15px;
        font-size: 2.5rem;
        background: transparent;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1e3a8a;
        filter: none;
    }

    .feature-icon i {
        font-size: 2.5rem;
        color: #1e3a8a;
    }

    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 10px;
        font-weight: 700;
        color: #1e293b;
    }

    .feature-card p {
        font-size: 0.8rem;
        line-height: 1.4;
        color: #64748b;
    }

    /* Mobile Content - Horizontal Layout */
    .latest-content {
        padding: 40px 0;
    }

    .content-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .content-card {
        padding: 20px 15px;
        border-radius: 15px;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        text-align: center;
    }

    .content-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    }

    .content-image {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
        background: transparent;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1e3a8a;
        margin: 0 auto 15px;
        filter: none;
    }

    .content-image i {
        font-size: 2.5rem;
        color: #1e3a8a;
    }

    .content-info h3 {
        font-size: 1rem;
        margin-bottom: 8px;
        font-weight: 700;
        color: #1e293b;
    }

    .content-info p {
        font-size: 0.8rem;
        margin-bottom: 15px;
        color: #64748b;
        line-height: 1.4;
    }

    /* Mobile Media Page - Horizontal Video Layout */
    .media-hero, .blog-hero, .podcast-hero, .events-hero {
        padding: 60px 0 40px;
        min-height: 60vh;
        display: flex;
        align-items: center;
    }

    .featured-video-container {
        display: flex;
        flex-direction: column;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        margin: 0 10px;
    }

    .featured-video .video-container {
        height: 250px;
        margin-bottom: 0;
        border-radius: 20px 20px 0 0;
        overflow: hidden;
    }

    .featured-video .video-container iframe {
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 20px 20px 0 0;
    }

    .featured-video .video-info {
        padding: 20px 15px;
        background: white;
    }

    .featured-video .video-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
        font-weight: 700;
        color: #1e293b;
    }

    .featured-video .video-description {
        font-size: 0.85rem;
        line-height: 1.5;
        color: #64748b;
        margin-bottom: 15px;
    }

    .video-meta {
        display: flex;
        gap: 10px;
        margin-bottom: 15px;
        flex-wrap: wrap;
    }

    .video-meta span {
        font-size: 0.75rem;
        padding: 4px 8px;
        background: #f1f5f9;
        color: #64748b;
        border-radius: 12px;
        font-weight: 500;
    }

    .video-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .video-card {
        border-radius: 15px;
        overflow: hidden;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }

    .video-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    }

    .video-card .video-container {
        height: 120px;
    }

    .video-card .video-info {
        padding: 15px;
    }

    .video-card .video-title {
        font-size: 0.9rem;
        margin-bottom: 8px;
        font-weight: 700;
        color: #1e293b;
    }

    .video-card .video-description {
        font-size: 0.75rem;
        line-height: 1.4;
        color: #64748b;
        margin-bottom: 10px;
    }

    .video-filters {
        display: flex;
        gap: 8px;
        margin-bottom: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        border-radius: 20px;
        background: #f8fafc;
        color: #64748b;
        border: 2px solid #e2e8f0;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .filter-btn:hover,
    .filter-btn.active {
        background: #1e3a8a;
        color: white;
        border-color: #1e3a8a;
    }

    /* Mobile Blog - Horizontal Cards */
    .blog-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .blog-card {
        padding: 20px 15px;
        border-radius: 15px;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        text-align: center;
    }

    .blog-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    }

    .blog-image {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
        background: transparent;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1e3a8a;
        margin: 0 auto 15px;
        filter: none;
    }

    .blog-image i {
        font-size: 2.5rem;
        color: #1e3a8a;
    }

    .blog-card h2 {
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 10px;
        font-weight: 700;
        color: #1e293b;
    }

    .blog-card p {
        font-size: 0.8rem;
        line-height: 1.4;
        color: #64748b;
        margin-bottom: 15px;
    }

    .blog-meta {
        font-size: 0.7rem;
        color: #94a3b8;
        margin-bottom: 10px;
        font-weight: 500;
    }

    /* Mobile Podcast - Horizontal Layout */
    .podcast-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .podcast-card {
        padding: 20px 15px;
        border-radius: 15px;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        text-align: center;
    }

    .podcast-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    }

    .podcast-card .podcast-image {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
        background: transparent;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1e3a8a;
        margin: 0 auto 15px;
        filter: none;
    }

    .podcast-card .podcast-image i {
        font-size: 2.5rem;
        color: #1e3a8a;
    }

    .podcast-card .podcast-title {
        font-size: 0.9rem;
        margin-bottom: 8px;
        font-weight: 700;
        color: #1e293b;
    }

    .podcast-card .podcast-description {
        font-size: 0.75rem;
        line-height: 1.4;
        color: #64748b;
        margin-bottom: 10px;
    }

    .podcast-meta {
        font-size: 0.7rem;
        color: #94a3b8;
        margin-bottom: 10px;
        font-weight: 500;
    }

    .player-controls {
        display: flex;
        gap: 8px;
        align-items: center;
        margin-top: 10px;
    }

    .play-btn {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background: linear-gradient(135deg, #1e3a8a, #059669);
        color: white;
        border: none;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .progress-bar {
        flex: 1;
        height: 4px;
        background: #e2e8f0;
        border-radius: 2px;
        overflow: hidden;
    }

    .progress {
        height: 100%;
        background: linear-gradient(90deg, #1e3a8a, #059669);
        border-radius: 2px;
    }

    .time {
        font-size: 0.7rem;
        color: #94a3b8;
        font-weight: 500;
        min-width: 60px;
    }

    .podcast-actions {
        display: flex;
        gap: 8px;
        margin-top: 15px;
        flex-wrap: wrap;
    }

    .podcast-actions .btn {
        flex: 1;
        min-width: 80px;
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .podcast-platforms {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .platform-link {
        min-width: 80px;
        padding: 10px 15px;
        font-size: 0.8rem;
        border-radius: 20px;
        background: white;
        color: #64748b;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border: 2px solid #e2e8f0;
    }

    .platform-link:hover {
        background: #1e3a8a;
        color: white;
        border-color: #1e3a8a;
    }

    /* Mobile Events - Horizontal Cards */
    .events-timeline {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .event-item {
        padding: 20px 15px;
        border-radius: 15px;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }

    .event-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    }

    .event-title {
        font-size: 1rem;
        margin-bottom: 10px;
        font-weight: 700;
        color: #1e293b;
    }

    .event-description {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 15px;
        color: #64748b;
    }

    .event-date {
        font-size: 0.75rem;
        color: #059669;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .event-meta {
        display: flex;
        gap: 8px;
        margin-bottom: 15px;
        flex-wrap: wrap;
    }

    .event-meta span {
        font-size: 0.7rem;
        padding: 4px 8px;
        background: #f1f5f9;
        color: #64748b;
        border-radius: 12px;
        font-weight: 500;
    }

    .event-actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .event-actions .btn {
        flex: 1;
        min-width: 80px;
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .categories-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .category-card {
        padding: 20px 15px;
        text-align: center;
        border-radius: 15px;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }

    .category-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    }

    .category-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 10px;
        font-size: 2rem;
        background: transparent;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1e3a8a;
        filter: none;
    }

    .category-icon i {
        font-size: 2rem;
        color: #1e3a8a;
    }

    .category-card h3 {
        font-size: 0.9rem;
        margin-bottom: 8px;
        font-weight: 700;
        color: #1e293b;
    }

    .category-card p {
        font-size: 0.75rem;
        margin-bottom: 8px;
        color: #64748b;
        line-height: 1.3;
    }

    .event-count {
        font-size: 0.7rem;
        color: #059669;
        font-weight: 700;
    }

    /* Mobile Footer - Horizontal Layout */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .footer-logo {
        justify-content: center;
        margin-bottom: 15px;
    }

    .footer-logo-img {
        height: 35px;
    }

    .built-by {
        justify-content: center;
        margin-top: 15px;
        padding-top: 15px;
    }

    .built-by-logo {
        height: 35px;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 12px;
        font-weight: 700;
        color: #ffffff;
    }

    .footer-section p {
        font-size: 0.8rem;
        line-height: 1.5;
        color: #cbd5e1;
        margin-bottom: 10px;
    }

    .footer-section ul li {
        margin-bottom: 6px;
    }

    .footer-section ul li a {
        font-size: 0.8rem;
        color: #cbd5e1;
        transition: color 0.3s ease;
    }

    .footer-section ul li a:hover {
        color: #ffffff;
    }

    /* Mobile Newsletter - Horizontal Form */
    .newsletter {
        padding: 40px 0;
    }

    .newsletter-content h2 {
        font-size: 1.6rem;
        margin-bottom: 12px;
        font-weight: 700;
        color: #1e293b;
    }

    .newsletter-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
        color: white;
        line-height: 1.5;
        opacity: 0.9;
    }

    .newsletter-form {
        display: flex;
        gap: 10px;
        align-items: center;
        max-width: 100%;
        margin: 0 auto;
    }

    .newsletter-form input {
        flex: 1;
        padding: 12px 16px;
        font-size: 0.9rem;
        border-radius: 20px;
        border: 2px solid #e2e8f0;
        background: white;
        transition: all 0.3s ease;
    }

    .newsletter-form input:focus {
        outline: none;
        border-color: #1e3a8a;
        box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    }

    .newsletter-form .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .countdown {
        flex-direction: column;
        gap: 10px;
    }

    .countdown-item {
        min-width: auto;
        width: 100%;
        max-width: 200px;
    }

    .newsletter-content h2 {
        font-size: 2rem;
    }

    .subscribe-content h2 {
        font-size: 2rem;
    }

    .featured-video .video-title {
        font-size: 1.5rem;
    }

    .featured-video .video-container {
        height: 250px;
    }

    .featured-video .video-info {
        padding: 20px;
    }

    .player-controls {
        flex-direction: column;
        gap: 10px;
    }

    .progress-bar {
        width: 100%;
    }
}
