/* ================== CSS RESET & BASE STYLES ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Updated to match VUGA TV red branding */
    --primary-color: #DC1E28;
    --primary-dark: #B91C1C;
    --primary-light: #EF4444;

    /* Accent Colors */
    --accent-color: #DC1E28;
    --accent-gradient: linear-gradient(135deg, #DC1E28 0%, #EF4444 100%);

    /* Neutral Colors - Dark theme */
    --text-dark: #ffffff;
    --text-gray: #d1d5db;
    --text-light: #9ca3af;
    --bg-white: #000000;
    --bg-light: #0a0a0a;
    --bg-gray: #111111;
    --bg-card: #1a1a1a;

    /* Shadows & Effects - Updated for dark theme */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.8);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.9);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

/* ================== TYPOGRAPHY ================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent {
    color: var(--primary-color);
}

/* ================== NAVIGATION ================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #000000 !important;
    background-color: #000000 !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(220, 30, 40, 0.2);
    border-bottom: 2px solid rgba(220, 30, 40, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.brand-logo {
    height: 45px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: var(--transition);
}

.brand-logo:hover {
    transform: scale(1.05);
}

.brand a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

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

.nav-link {
    text-decoration: none;
    color: #ffffff !important;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

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

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

/* Language Toggle */
.language-toggle {
    margin-left: 2rem;
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: rgba(220, 30, 40, 0.1);
    color: #ffffff;
    border: 2px solid rgba(220, 30, 40, 0.3);
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-width: 45px;
}

.lang-btn:hover {
    background: rgba(220, 30, 40, 0.2);
    border-color: rgba(220, 30, 40, 0.5);
    transform: translateY(-2px);
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* ================== HERO SECTION ================== */
.hero {
    padding: 120px 0 80px;
    background:
        linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%),
        url('/images/backgrounds/hero-pattern.svg'),
        linear-gradient(to bottom, var(--bg-light), var(--bg-white));
    background-size: cover, cover, cover;
    background-position: center, center, center;
    background-attachment: fixed, scroll, scroll;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.hero-image {
    position: relative;
}

.hero-stats {
    background: var(--bg-card);
    border: 1px solid rgba(220, 30, 40, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 0 30px rgba(220, 30, 40, 0.1);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* ================== BUTTONS ================== */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ================== FEATURES SECTION ================== */
.features {
    padding: 80px 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 50%),
        var(--bg-white);
    position: relative;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: var(--bg-card);
    border: 1px solid rgba(220, 30, 40, 0.1);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(220, 30, 40, 0.3);
    background: var(--bg-card);
    border-color: rgba(220, 30, 40, 0.4);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.75rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-gray);
}

/* ================== SERVICES SECTION ================== */
.services {
    padding: 80px 0;
    background:
        url('/images/backgrounds/hexagon-pattern.svg'),
        linear-gradient(135deg, var(--bg-gray) 0%, var(--bg-light) 100%);
    background-size: cover, cover;
    background-position: center, center;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(220, 30, 40, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(220, 30, 40, 0.4);
    border-color: rgba(220, 30, 40, 0.4);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea10, #764ba210);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    gap: 1rem;
}

/* ================== PARTNERS SECTION ================== */
.partners {
    padding: 80px 0;
    background:
        url('/images/backgrounds/network-pattern.svg'),
        linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    background-size: cover, cover;
    background-position: center, center;
    position: relative;
}

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

.partner-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 2px solid rgba(220, 30, 40, 0.1);
}

.partner-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(220, 30, 40, 0.3);
}

.partner-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.partner-card p {
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* ================== ABOUT SECTION ================== */
.about {
    padding: 80px 0;
    background:
        url('/images/backgrounds/wave-pattern.svg'),
        linear-gradient(135deg, var(--bg-gray) 0%, rgba(99, 102, 241, 0.05) 100%);
    background-size: cover, cover;
    background-position: bottom center, center;
    background-repeat: no-repeat, no-repeat;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.about-stats .stat h4 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.about-stats .stat p {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.about-image {
    position: relative;
}

.network-animation {
    background: linear-gradient(135deg, #1a0000 0%, #0a0a0a 50%, #1a0000 100%);
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(220, 30, 40, 0.3);
    border: 1px solid rgba(220, 30, 40, 0.2);
    overflow: hidden;
    position: relative;
}

.network-svg {
    width: 100%;
    height: 100%;
}

.node {
    fill: #DC1E28;
    filter: drop-shadow(0 0 8px rgba(220, 30, 40, 0.8));
    animation: pulse 3s ease-in-out infinite;
}

.node-1 { animation-delay: 0s; }
.node-2 { animation-delay: 0.3s; }
.node-3 { animation-delay: 0.6s; }
.node-4 { animation-delay: 0.9s; }
.node-5 { animation-delay: 1.2s; }
.node-6 { animation-delay: 1.5s; }
.node-7 { animation-delay: 1.8s; }
.node-8 { animation-delay: 2.1s; }

.connection {
    stroke: #DC1E28;
    stroke-width: 1;
    opacity: 0.4;
    animation: lineFlow 4s linear infinite;
}

.conn-1 { animation-delay: 0s; }
.conn-2 { animation-delay: 0.4s; }
.conn-3 { animation-delay: 0.8s; }
.conn-4 { animation-delay: 1.2s; }
.conn-5 { animation-delay: 1.6s; }
.conn-6 { animation-delay: 2s; }
.conn-7 { animation-delay: 2.4s; }
.conn-8 { animation-delay: 2.8s; }
.conn-9 { animation-delay: 3.2s; }
.conn-10 { animation-delay: 3.6s; }

/* ================== CTA SECTION ================== */
.cta {
    padding: 80px 0;
    background: linear-gradient(270deg, #DC1E28, #B91C1C, #EF4444, #DC1E28);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/backgrounds/hero-pattern.svg');
    opacity: 0.1;
    background-size: cover;
}

.cta-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ================== CONTACT SECTION ================== */
.contact {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.contact-info {
    padding-right: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea10, #764ba210);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.info-item h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-gray);
    font-size: 0.875rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid rgba(220, 30, 40, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    position: relative;
}

.form-group.full {
    grid-column: span 2;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(220, 30, 40, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    background: var(--bg-card);
    color: var(--text-dark);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.contact-form button {
    grid-column: span 2;
    justify-content: center;
}

/* ================== FOOTER ================== */
.footer {
    background: linear-gradient(180deg, var(--bg-black) 0%, #0a0a0a 100%);
    border-top: 1px solid rgba(220, 30, 40, 0.3);
    color: white;
    padding: 60px 0 20px;
}

.footer-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

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

.footer-social a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ================== BACK TO TOP ================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ================== ANIMATIONS ================== */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

@keyframes lineFlow {
    0% {
        opacity: 0.2;
        stroke-width: 0.5;
    }
    50% {
        opacity: 0.8;
        stroke-width: 2;
    }
    100% {
        opacity: 0.2;
        stroke-width: 0.5;
    }
}

/* ================== RESPONSIVE DESIGN ================== */
@media (max-width: 768px) {
    .language-toggle {
        margin-left: auto;
        margin-right: 1rem;
        gap: 0.3rem;
    }

    .lang-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
        min-width: 38px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        border-right: 1px solid rgba(220, 30, 40, 0.2);
        flex-direction: column;
        justify-content: start;
        padding: 2rem;
        transition: left 0.3s;
    }

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

    .nav-link {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--bg-gray);
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

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

    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group {
        grid-column: span 1;
    }

    .contact-form button {
        grid-column: span 1;
    }

    .about-stats {
        justify-content: space-between;
    }
}

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

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

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

    .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
/* Force navbar styling */
nav.navbar { background: #000000 !important; }
