:root {
    --primary-color: #00D094;
    --secondary-color: #333;
    --background-light: #f8f9fa;
    --text-color: #333;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

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

/* Header Styles */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo img {
    height: 40px;
}

.menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slides {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slides.active {
    opacity: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding-top: 20vh;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Button Styles */
.primary-btn, .secondary-btn {
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.primary-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
}

.secondary-btn {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

/* Glow Effect */
.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--primary-color), 
        #fff,
        var(--primary-color));
    background-size: 400%;
    z-index: -1;
    border-radius: 6px;
    opacity: 0;
    transition: 0.5s;
}

.glow-effect:hover::before {
    opacity: 1;
    animation: glowing 20s linear infinite;
}

/* Navigation Arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
    z-index: 2;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--secondary-color);
}

/* Cards Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.notice-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

/* Live Stream Section */
.stream-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.video-player {
    background: var(--secondary-color);
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
}

.video-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.video-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* News Section Styles */
.news-scroll-container {
    position: relative;
    width: 100%;
    padding: 0 40px; /* Space for scroll buttons */
}

.news-scroll-wrapper {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

.news-grid {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    padding: 10px 0; /* Space for card shadow */
}

/* News Card Styles */
.news-card {
    min-width: 300px; /* Fixed card width */
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.news-content .date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.news-content .excerpt {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: #444;
}

/* Scroll Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 2;
}

.scroll-btn:hover {
    background: #00e6a3;
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn.left {
    left: 0;
}

.scroll-btn.right {
    right: 0;
}

.scroll-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

/* Hide scrollbar but keep functionality */
.news-scroll-wrapper {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.news-scroll-wrapper::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 80px 0 20px;
}

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

.footer-about img {
    height: 50px;
    margin-bottom: 1rem;
}

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

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

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s;
}

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

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    padding: 0.8rem;
    border-radius: 5px;
    border: none;
    flex: 1;
}

.newsletter-form button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
}

/* Animations */
@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

/* Add these responsive styles to your styles.css file */

/* General Responsive Adjustments */
@media screen and (max-width: 1200px) {
    .container {
        padding: 0 15px;
        width: 95%;
    }
}

@media screen and (max-width: 992px) {
    /* Header */
    header .container {
        padding: 0.5rem 15px;
    }

    .logo img {
        height: 35px;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    /* Sections Padding */
    section {
        padding: 60px 0;
    }

    /* Grid Adjustments */
    .card-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stream-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    /* Header Mobile Menu */
    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 0;
        flex-direction: column;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        margin: 0;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .menu li:last-child {
        border-bottom: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 10px;
    }

    .hamburger span {
        width: 25px;
        height: 2px;
        background: var(--text-color);
        transition: all 0.3s ease;
    }

    /* Hero Section Mobile */
    .hero-content {
        padding-top: 15vh;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        padding: 0 15px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 15px;
    }

    .primary-btn, .secondary-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Grid Adjustments Mobile */
    .card-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    /* News Card*/
    .news-card {
        min-width: 260px;
    }
    
    .news-scroll-container {
        padding: 0 30px;
    }
    
    .scroll-btn {
        width: 35px;
        height: 35px;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .newsletter-form {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 480px) {
    /* Header Extra Small */
    .logo img {
        height: 30px;
    }

    .register-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    /* Hero Section Extra Small */
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 15px;
    }

    /* Section Headings */
    section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Cards and Content */
    .notice-card,
    .news-card {
        padding: 1.5rem;
    }

    /* News Card Style*/
    .news-card {
        min-width: 220px;
    }
    
    .news-scroll-container {
        padding: 0 25px;
    }
    
    .scroll-btn {
        width: 30px;
        height: 30px;
    }

    /* Navigation Arrows */
    .prev, .next {
        padding: 10px;
        font-size: 18px;
    }

    /* Footer Extra Small */
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

/* Landscape Mode Adjustments */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero-content {
        padding-top: 10vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .primary-btn, .secondary-btn {
        width: auto;
    }
}

/* High Resolution Screens */
@media screen and (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .hero-content p {
        font-size: 1.3rem;
    }
}

/* Print Styles */
@media print {
    .hero {
        height: auto;
    }

    .slideshow-container,
    .hero-buttons,
    .video-player,
    .newsletter-form {
        display: none;
    }
}