/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header styles */
header {
    background: #0B7EC8;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding-top: 12px;
}

.color-banner {
    display: flex;
    height: 24px;
}

.color-block {
    flex: 1;
    height: 100%;
}

.color-block.red { background: #E53E3E; }
.color-block.orange { background: #FF8C00; }
.color-block.yellow { background: #FFD700; }
.color-block.lime { background: #84CC16; }
.color-block.green { background: #38A169; }
.color-block.teal { background: #14B8A6; }
.color-block.cyan { background: #06B6D4; }
.color-block.blue { background: #3182CE; }
.color-block.indigo { background: #6366F1; }
.color-block.purple { background: #805AD5; }
.color-block.pink { background: #EC4899; }
.color-block.rose { background: #F43F5E; }
.color-block.red2 { background: #DC2626; }
.color-block.orange2 { background: #EA580C; }
.color-block.amber { background: #F59E0B; }
.color-block.yellow2 { background: #EAB308; }
.color-block.lime2 { background: #65A30D; }
.color-block.green2 { background: #16A34A; }
.color-block.emerald { background: #059669; }
.color-block.teal2 { background: #0D9488; }
.color-block.cyan2 { background: #0891B2; }
.color-block.sky { background: #0284C7; }
.color-block.blue2 { background: #2563EB; }
.color-block.indigo2 { background: #4F46E5; }
.color-block.violet { background: #7C3AED; }
.color-block.purple2 { background: #9333EA; }
.color-block.fuchsia { background: #C026D3; }
.color-block.pink2 { background: #DB2777; }
.color-block.rose2 { background: #E11D48; }
.color-block.red3 { background: #B91C1C; }
.color-block.orange3 { background: #C2410C; }
.color-block.yellow3 { background: #CA8A04; }
.color-block.green3 { background: #15803D; }
.color-block.blue3 { background: #1D4ED8; }
.color-block.purple3 { background: #7E22CE; }
.color-block.magenta { background: #D946EF; }

.header-content {
    padding: 1rem 0;
}

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

.logo h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0;
}

.logo .location {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: -5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 0.8;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #0B7EC8 0%, #1A8CD8 100%);
    color: white;
    padding: 4rem 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-services {
    list-style: disc;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.4;
    padding-left: 1.5rem;
}

.hero-services li {
    margin-bottom: 0.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: #0B7EC8;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: white;
    color: #0B7EC8;
}

.hero-image {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    width: 100%;
}

.hero-image img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
    flex-shrink: 0;
}

.hero-image img:hover {
    transform: scale(1.1);
    opacity: 1;
}

.tv-icon {
    font-size: 8rem;
    opacity: 0.8;
}

/* Services section */
.services {
    padding: 4rem 0;
    background-color: #f1f5f9;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #0B7EC8;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #0B7EC8;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 0.3rem 0;
    color: #555;
}

.service-card li:before {
    content: "✓ ";
    color: #38A169;
    font-weight: bold;
}

/* Channels section */
.channels {
    padding: 4rem 0;
    background: white;
}

.channels h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0B7EC8;
}

.channels-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track-container {
    overflow: hidden;
    padding: 3rem 0;
}

.carousel-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: calc(200px * 34); /* Double the logos for seamless loop */
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 17)); /* Move by half the width (original logos) */
    }
}

.channel-logo {
    flex: 0 0 auto;
    width: 180px;
    height: 120px;
    margin: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.channel-logo:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.channel-logo img {
    max-width: 160px;
    max-height: 100px;
    object-fit: contain;
    filter: brightness(1);
    transition: filter 0.3s ease;
}

.channel-logo:hover img {
    filter: brightness(1.1);
}

/* About section */
.about {
    padding: 4rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.about h2 {
    color: #0B7EC8;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.features {
    display: grid;
    gap: 1rem;
}

.feature h4 {
    color: #0B7EC8;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.service-areas {
    background: white;
    padding: 2rem;
    border-radius: 10px;
}

.service-areas h3 {
    color: #0B7EC8;
    margin-bottom: 1rem;
}

.areas-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.areas-grid span {
    padding: 0.3rem 0;
    font-size: 0.9rem;
    color: #555;
    position: relative;
    padding-left: 1.2rem;
}

.areas-grid span:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0B7EC8;
    font-weight: bold;
}

/* Contact section */
.contact {
    padding: 4rem 0;
    background: #0B7EC8;
    color: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item a {
    color: white;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 300;
}

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
    .header-content .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .channel-logo {
        width: 140px;
        height: 90px;
        margin: 0 8px;
    }
    
    .channel-logo img {
        max-width: 120px;
        max-height: 70px;
    }
    
    .carousel-track {
        width: calc(160px * 34); /* Adjust for smaller logos */
        animation: scroll-mobile 25s linear infinite;
    }
    
    @keyframes scroll-mobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-160px * 17));
        }
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
    
    .channel-logo {
        width: 120px;
        height: 80px;
        margin: 0 6px;
    }
    
    .channel-logo img {
        max-width: 100px;
        max-height: 60px;
    }
    
    .carousel-track-container {
        padding: 2rem 0;
    }
    
    .carousel-track {
        width: calc(132px * 34); /* Adjust for mobile */
        animation: scroll-small 20s linear infinite;
    }
    
    @keyframes scroll-small {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-132px * 17));
        }
    }
}
