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

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

html {
    scroll-behavior: smooth;
}

/* Performance optimizations */
img {
    transform: translateZ(0);
    backface-visibility: hidden;
    image-rendering: optimizeSpeed;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    max-width: 100%;
    height: auto;
}

/* Lazy loading placeholder */
img[loading="lazy"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.media-card img, .news-card img, .timeline-image img, .journey-banner-image {
    will-change: transform;
    transform: translate3d(0, 0, 0);
    content-visibility: auto;
    contain: layout style paint;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Optimize images below the fold */
.media-grid img, .news-grid img {
    content-visibility: auto;
    contain-intrinsic-size: 350px 250px;
}

/* Critical path optimization */
.journey-banner-image {
    image-rendering: optimizeQuality;
    decode: async;
}

/* Loading state optimization */
img:not([loading="eager"]) {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* Reduce initial paint complexity */
.media-grid, .news-grid {
    contain: layout style;
}

/* Optimize expensive properties */
.media-card, .news-card {
    contain: layout style paint;
    transform: translateZ(0);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    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;
}

.nav-logo h2 {
    color: #FFD700;
    font-weight: 700;
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #FFD700;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #FFD700;
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Home Section */
.home {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data/banner.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 1200px;
    padding: 0 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    min-height: 100vh;
    text-align: right;
}

.hero-text {
    margin-bottom: 3rem;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: right;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #FFD700;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    text-align: right;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    background: linear-gradient(45deg, #FFD700, #DC143C);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
    display: inline-block;
    margin: 0;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(220, 20, 60, 0.5);
    background: linear-gradient(45deg, #DC143C, #FFD700);
}

.stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
    min-width: 150px;
    flex-shrink: 0;
}

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

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 0.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.stat-card p {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Latest Achievement Banner */
.latest-achievement {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.achievement-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.achievement-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(45deg, #FFD700, #DC143C);
}

.achievement-content {
    padding-left: 1rem;
}

.achievement-badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.badge-text {
    background: linear-gradient(45deg, #DC143C, #FFD700);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 20, 60, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(220, 20, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 20, 60, 0); }
}

.achievement-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.achievement-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.achievement-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    font-weight: 500;
}

.detail-item i {
    color: #DC143C;
    font-size: 1.1rem;
}

.achievement-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #FFD700, #DC143C);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.achievement-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 20, 60, 0.4);
}

.achievement-image {
    text-align: center;
    position: relative;
}

.achievement-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.achievement-image:hover img {
    transform: scale(1.03);
}

/* Responsive styles for achievement banner */
@media (max-width: 768px) {
    .achievement-banner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }
    
    .achievement-title {
        font-size: 2rem;
    }
    
    .achievement-description {
        font-size: 1.1rem;
    }
    
    .achievement-details {
        gap: 1rem;
        justify-content: center;
    }
    
    .latest-achievement {
        padding: 60px 0;
    }
}

/* Journey Banner Section */
.journey-banner {
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.journey-banner-container {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    contain: layout style paint;
}

.journey-banner-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.journey-banner-image.loaded,
.journey-banner-image:not([loading]) {
    opacity: 1;
}

/* Loading shimmer effect */
.journey-banner-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shimmer 2s infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.journey-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(220, 20, 60, 0.3) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.journey-banner-content {
    text-align: center;
    color: white;
    max-width: 800px;
    z-index: 2;
}

.journey-banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.journey-banner-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
    opacity: 0.95;
}

.journey-banner-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #FFD700, #DC143C);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

.journey-banner-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.6);
    background: linear-gradient(45deg, #DC143C, #FFD700);
}

/* Responsive Journey Banner */
@media (max-width: 768px) {
    .journey-banner-container {
        height: 70vh;
        min-height: 500px;
    }
    
    .journey-banner-title {
        font-size: 2.5rem;
    }
    
    .journey-banner-subtitle {
        font-size: 1.2rem;
    }
    
    .journey-banner-overlay {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .journey-banner-container {
        height: 60vh;
        min-height: 450px;
    }
    
    .journey-banner-title {
        font-size: 2rem;
    }
    
    .journey-banner-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .journey-banner-link {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .journey-banner-overlay {
        padding: 1rem;
    }
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: #333;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #FFD700, #DC143C);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

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

.about-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.about-card h3 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 0.5rem;
}

.detail-grid {
    display: grid;
    gap: 1rem;
}

.detail-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item strong {
    color: #DC143C;
    font-weight: 600;
    min-width: 120px;
}

/* Journey Section */
.journey {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, #FFD700, #DC143C);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 2rem;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: #FFD700;
    border: 4px solid white;
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px #DC143C;
}

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

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-date {
    background: linear-gradient(45deg, #FFD700, #DC143C);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-image img {
    width: 100%;
    border-radius: 10px;
    margin-top: 1rem;
}

/* Highlights Section */
.highlights {
    padding: 100px 0;
    background: white;
}

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

.achievement-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.achievement-card:hover {
    transform: translateY(-10px);
    border-color: #FFD700;
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}

.achievement-card i {
    font-size: 3rem;
    color: #DC143C;
    margin-bottom: 1.5rem;
}

.achievement-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.achievement-card p {
    color: #666;
    line-height: 1.6;
}

/* Media Section */
.media {
    padding: 100px 0;
    background: #f8f9fa;
}

/* Featured Videos Section */
.featured-videos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    padding: 0 1rem;
}

.featured-video-container {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.viral-video {
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(45deg, #FFD700, #DC143C) border-box;
}

.views-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #DC143C, #FF6B6B);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
    animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
    0% { 
        box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 6px 25px rgba(220, 20, 60, 0.6);
        transform: scale(1.05);
    }
    100% { 
        box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
        transform: scale(1);
    }
}

.featured-video-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
}

.featured-video-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #FFD700, #DC143C);
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

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

.media-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(220, 20, 60, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    color: white;
    padding: 2rem;
}

.media-card:hover .media-overlay {
    opacity: 1;
}

.media-overlay i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.media-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* News Section */
.news {
    padding: 100px 0;
    background: white;
}

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

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

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

.news-content {
    padding: 2rem;
}

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

.news-date {
    color: #666;
    font-size: 0.9rem;
}

.news-source {
    background: #DC143C;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.4;
}

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

.news-link {
    color: #DC143C;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: #FFD700;
}

/* Featured News Card */
.featured-news {
    position: relative;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(45deg, #FFD700, #DC143C) border-box;
    transform: scale(1.02);
    z-index: 2;
}

.featured-news::before {
    content: '⭐ FEATURED';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #DC143C, #FFD700);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.featured-news .news-content h3 {
    color: #DC143C;
    font-size: 1.4rem;
}

.featured-news .news-source {
    background: linear-gradient(45deg, #FFD700, #DC143C);
    font-weight: 600;
}

.featured-news:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 45px rgba(220, 20, 60, 0.2);
}

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

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

.footer-section h3 {
    color: #FFD700;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: #FFD700;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    background: #DC143C;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #FFD700;
    transform: translateY(-3px);
    color: #000;
    box-shadow: 0 8px 15px rgba(255, 215, 0, 0.4);
}

/* Individual social media colors on hover */
.social-links a:hover .fa-instagram {
    color: #E4405F;
}

.social-links a:hover .fa-twitter {
    color: #1DA1F2;
}

.social-links a:hover .fa-facebook {
    color: #1877F2;
}

.social-links a:hover .fa-youtube {
    color: #FF0000;
}

/* Add click animation */
.social-links a:active {
    transform: translateY(-1px) scale(0.95);
    transition: all 0.1s ease;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #666;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

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

    .hero-text h1 {
        font-size: 2.2rem;
        text-align: right;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        text-align: right;
    }
    
    .hero-text {
        text-align: right;
        align-items: flex-end;
    }
    
    .hero-content {
        align-items: flex-end;
        text-align: right;
    }

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

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

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 21px;
    }

    .timeline-item:nth-child(even) {
        left: 0%;
    }

    .timeline-item:nth-child(even)::after {
        left: 21px;
    }

    .stats-container {
        gap: 1.5rem;
        justify-content: space-around;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-videos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 0.5rem;
    }
    
    .featured-video-container {
        padding: 1.5rem;
    }
    
    .featured-video-title {
        font-size: 1.5rem;
    }
    
    .views-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
        text-align: right;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        text-align: right;
    }
    
    .hero-text {
        text-align: right;
        align-items: flex-end;
    }
    
    .hero-content {
        align-items: flex-end;
        text-align: right;
    }

    .stats-container {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .stat-card {
        min-width: 120px;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    .timeline-item {
        padding-left: 60px;
    }
    
    .featured-videos-grid {
        gap: 1.5rem;
        padding: 0;
    }
    
    .featured-video-container {
        padding: 1rem;
    }
    
    .featured-video-title {
        font-size: 1.3rem;
    }
    
    .views-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
        top: 10px;
        right: 10px;
    }
}

/* Simplified animations for better performance */
.timeline-content,
.achievement-card,
.media-card,
.news-card,
.journey-banner-container {
    transition: transform 0.2s ease-out;
    will-change: transform;
}

.timeline-content:hover,
.achievement-card:hover,
.media-card:hover,
.news-card:hover {
    transform: translate3d(0, -5px, 0);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .timeline-content,
    .achievement-card,
    .media-card,
    .news-card,
    .journey-banner-container,
    .views-badge {
        transition: none;
        animation: none;
    }
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

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

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    min-width: 200px;
    border-radius: 10px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: linear-gradient(45deg, #FFD700, #DC143C);
    color: white;
    padding-left: 2rem;
}

/* Matches Section */
.matches {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    border: 2px solid #DC143C;
    background: white;
    color: #DC143C;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(45deg, #FFD700, #DC143C);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.3);
}

/* Loading Animation */
.loading {
    text-align: center;
    padding: 3rem 0;
    color: #666;
    font-size: 1.1rem;
}

.loading i {
    margin-right: 0.5rem;
    font-size: 1.5rem;
    color: #DC143C;
}

/* Matches Grid */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.match-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.match-card:hover {
    transform: translateY(-10px);
    border-color: #FFD700;
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}

.match-video {
    position: relative;
    width: 100%;
    height: 225px;
    overflow: hidden;
    background: #f8f9fa;
}

.match-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.match-card:hover .match-thumbnail {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(220, 20, 60, 0.9);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    background: #FFD700;
    color: #333;
    transform: translate(-50%, -50%) scale(1.1);
}

.match-content {
    padding: 2rem;
}

.match-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.match-category {
    background: linear-gradient(45deg, #FFD700, #DC143C);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-year {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.match-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.match-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.match-venue {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.match-venue i {
    color: #DC143C;
}

.watch-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #DC143C, #FFD700);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.watch-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.5);
    background: linear-gradient(45deg, #FFD700, #DC143C);
}

/* Match card filtering */
.match-card.hidden {
    display: none;
}

.match-card.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

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

/* Responsive Design for Matches */
@media screen and (max-width: 768px) {
    .matches-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .match-content {
        padding: 1.5rem;
    }
    
    .match-title {
        font-size: 1.2rem;
    }
    
    .dropdown-menu {
        position: fixed;
        left: 20px;
        right: 20px;
        width: auto;
        min-width: auto;
    }
}

@media screen and (max-width: 480px) {
    .matches {
        padding: 80px 0;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .filter-buttons {
        margin-bottom: 2rem;
    }
    
    .match-video {
        height: 200px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .match-content {
        padding: 1.25rem;
    }
    
    .match-title {
        font-size: 1.1rem;
    }
    
    .match-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}
