:root {
    /* --primary-color: #3498db; */
    --primary-color: #ff0000;
    --secondary-color: #2ecc71;
    --accent-color: #e74c3c;
    --text-color-light: #333;
    --bg-color-light: #f8f9fa;
    --card-bg-light: #ffffff;
    --text-color-dark: #f8f9fa;
    --bg-color-dark: #121212;
    --card-bg-dark: #1e1e1e;
    --header-height: 70px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color-light);
    color: var(--text-color-light);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

body.dark-mode {
    background-color: var(--bg-color-dark);
    color: var(--text-color-dark);
}

.feature-icon.program-tv{
    background-color: #22a6b3;
}

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

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: background-color var(--transition-speed);
}

body.dark-mode header {
    background-color: rgba(30, 30, 30, 0.9);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color-light);
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

body.dark-mode .nav-links a {
    color: var(--text-color-dark);
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toggle-theme {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color-light);
    transition: color 0.2s;
}

body.dark-mode .toggle-theme {
    color: var(--text-color-dark);
}

.toggle-theme:hover {
    color: var(--primary-color);
}

.search-icon {
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-color-light);
    transition: color 0.2s;
}

body.dark-mode .search-icon {
    color: var(--text-color-dark);
}

.search-icon:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color-light);
}

body.dark-mode .menu-toggle {
    color: var(--text-color-dark);
}

/* Main Content Styles */
main {
    margin-top: var(--header-height);
    padding-top: 20px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 70vh;
    max-height: 600px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 40px;
}

.slider-container {
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

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

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 600px;
}

.slide-content .btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.slide-content .btn:hover {
    background-color: #2980b9;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.slider-control {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.slider-control:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.slider-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Features Section */
.features-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

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

.feature-card {
    background-color: var(--card-bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s, background-color var(--transition-speed);
}

body.dark-mode .feature-card {
    background-color: var(--card-bg-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.feature-icon {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    font-size: 3rem;
}

.feature-icon.live {
    background-color: var(--accent-color);
}

.feature-icon.news {
    background-color: var(--secondary-color);
}

.feature-icon.podcast {
    background-color: #9b59b6;
}

.feature-content {
    padding: 20px;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

body.dark-mode .feature-content p {
    color: #aaa;
}

.feature-content .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.feature-content .btn:hover {
    background-color: #2980b9;
}

/* Live TV Section */
.live-tv-section {
    margin-bottom: 40px;
    
}

.live-player {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
}

.live-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.live-info {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-color);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.live-viewers {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Content Sections */
.content-section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.view-all {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.2s;
}

.view-all:hover {
    text-decoration: underline;
}

/* Horizontal Slider */
.horizontal-slider {
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    margin: 0 -10px;
}

.slider-item {
    min-width: calc(25% - 20px);
    padding: 0 10px;
    transition: transform 0.3s;
}

.slider-item:hover {
    transform: scale(1.03);
}

.content-card {
    background-color: var(--card-bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s, background-color var(--transition-speed);
}

body.dark-mode .content-card {
    background-color: var(--card-bg-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 180px;
    position: relative;
}

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

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.card-content {
    padding: 15px;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

body.dark-mode .card-content p {
    color: #aaa;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #777;
}

body.dark-mode .card-meta {
    color: #999;
}

.slider-controls-horizontal {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.slider-control-horizontal {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transform: translateY(-50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s;
}

body.dark-mode .slider-control-horizontal {
    background-color: rgba(30, 30, 30, 0.8);
    color: white;
}

.slider-control-horizontal:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Events Section */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.event-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
}

.event-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.event-card:hover img {
    transform: scale(1.1);
}

.event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.event-date {
    display: inline-block;
    padding: 5px 10px;
    background-color: var(--accent-color);
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-weight: 500;
}

.event-overlay h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* News Section with Grid Layout */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.news-main {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.news-secondary {
    grid-column: 2;
}

.news-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--card-bg-light);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s, background-color var(--transition-speed);
}

body.dark-mode .news-card {
    background-color: var(--card-bg-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.news-img {
    height: 240px;
}

.news-main .news-img {
    height: 360px;
}

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

.news-content {
    padding: 20px;
}

.news-category {
    display: inline-block;
    padding: 4px 8px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.news-main .news-content h3 {
    font-size: 1.8rem;
}

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

body.dark-mode .news-content p {
    color: #aaa;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #777;
    align-items: center;
}

body.dark-mode .news-meta {
    color: #999;
}

.news-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

/* Footer Styles */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 50px 0 20px;
}

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

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

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: background-color 0.2s;
}

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

.footer-title {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

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

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

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-newsletter p {
    margin-bottom: 15px;
    color: #ccc;
}

.newsletter-form {
    display: flex;
}

.newsletter-input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
}

.newsletter-btn {
    padding: 10px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.newsletter-btn:hover {
    background-color: #2980b9;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .slider-item {
        min-width: calc(33.333% - 20px);
    }

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

    .news-main, .news-secondary {
        grid-column: 1;
    }

    .news-main .news-img {
        height: 240px;
    }

    .news-main .news-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .header-actions {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .slider-item {
        min-width: calc(50% - 20px);
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

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

@media (max-width: 576px) {
    .slider-item {
        min-width: calc(100% - 20px);
    }

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

    .slide-content {
        padding: 20px;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-color-light);
    z-index: 999;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s;
}

body.dark-mode .mobile-menu {
    background-color: var(--bg-color-dark);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 30px;
}

.mobile-nav-links li {
    margin-bottom: 15px;
}

.mobile-nav-links a {
    text-decoration: none;
    color: var(--text-color-light);
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

body.dark-mode .mobile-nav-links a {
    color: var(--text-color-dark);
    border-bottom-color: #333;
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-actions button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.mobile-actions .toggle-theme-mobile {
    background-color: #f0f0f0;
    color: #333;
}

body.dark-mode .mobile-actions .toggle-theme-mobile {
    background-color: #333;
    color: #f0f0f0;
}

.mobile-actions .search-mobile {
    background-color: var(--primary-color);
    color: white;
}