 /* --- CSS VARIABLES & RESET --- */
:root {
    --primary-red: #E60000;
    --dark-black: #111111;
    --dark-gray: #333333;
    --light-gray: #f4f4f4;
    --white: #ffffff;
    --text-color: #333;
    --transition: all 0.3s ease;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- ANIMATIONS --- */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}

    .fade-in-section.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

/* --- HEADER --- */
header {
    background: var(--dark-black);
    padding: 0 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    white-space: nowrap;
}

    .logo span {
        color: var(--primary-red);
    }

    .logo i {
        margin-right: 10px;
        color: var(--primary-red);
    }

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
    height: 100%;
    margin: 0;
}

    .nav-links li {
        position: relative;
        display: flex;
        align-items: center;
        height: 100%;
    }

    .nav-links a {
        color: var(--white);
        font-weight: 500;
        font-size: 0.95rem;
        transition: var(--transition);
        display: flex;
        align-items: center;
        gap: 5px;
        white-space: nowrap;
    }

        .nav-links a:hover {
            color: var(--primary-red);
        }

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    top: 20px;
    left: 0;
    background-color: var(--white);
    min-width: 240px;
    border-top: 3px solid var(--primary-red);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1001;
}

    .dropdown-content a {
        color: var(--dark-black);
        padding: 12px 16px;
        display: block;
        font-size: 0.9rem;
        border-bottom: 1px solid #f0f0f0;
    }

        .dropdown-content a:hover {
            background-color: var(--light-gray);
            color: var(--primary-red);
            padding-left: 20px;
        }

.dropdown:hover .dropdown-content {
    display: block;
}

.nav-btn {
    padding: 8px 20px;
    border: 2px solid var(--primary-red);
    background: var(--primary-red);
    color: var(--white) !important;
    border-radius: 5px;
    font-weight: 600;
}

    .nav-btn:hover {
        background: transparent;
        color: var(--primary-red) !important;
    }

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white);
}

/* --- SCROLL CONTROLS --- */
.scroll-controls {
    position: fixed;
    left: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.scroll-btn {
    background: rgba(0,0,0,0.7);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

    .scroll-btn.show {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    .scroll-btn:hover {
        background: var(--primary-red);
        border-color: var(--primary-red);
        transform: scale(1.1);
    }

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
    /* background-color removed */
}

/* --- BACKGROUND VIDEO STYLES --- */
.bg_video {
    position: absolute;
    top: 0;
    margin: 0;
    padding: 0;
    left: 0;
    min-width: 600px;
    width: 100%;
    z-index: -2;
    object-fit: cover;
    height: 100%;
}

@media (max-width: 600px) {
    .bg_video {
        min-height: 400px;
        width: auto;
        left: auto;
    }
}

@media (max-width: 1200px) {
    .bg_video {
        min-height: 600px;
        width: auto;
        left: auto;
    }
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    max-width: 1000px;
    color: var(--white);
    animation: fadeIn 1.5s ease;
    z-index: 1;
    margin-top: 60px;
}

.hero-badge {
    background: var(--primary-red);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-family: var(--font-heading);
}

/* Typewriter */
.typewriter-container {
    min-height: 120px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text-dynamic {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    display: inline;
    letter-spacing: 1px;
}

.cursor {
    display: inline-block;
    background-color: var(--primary-red);
    width: 4px;
    height: 3.5rem;
    margin-left: 5px;
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.btn {
    padding: 12px 35px;
    border: 2px solid var(--primary-red);
    background: var(--primary-red);
    color: var(--white);
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    margin: 5px;
}

    .btn:hover {
        background: transparent;
        color: var(--primary-red);
    }

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

    .btn-outline:hover {
        background: var(--white);
        color: var(--dark-black);
    }

/* --- SECTIONS --- */
.section-padding {
    padding: 80px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title h2 {
        font-size: 2.5rem;
        color: var(--dark-black);
        margin-bottom: 15px;
        font-weight: 700;
    }

    .section-title span {
        color: var(--primary-red);
        border-bottom: 3px solid var(--primary-red);
    }

    .section-title p {
        color: #666;
        max-width: 700px;
        margin: 0 auto;
        font-size: 1.1rem;
    }

.dt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    height: 100%;
}

    .card:hover {
        transform: translateY(-10px);
        border-bottom: 4px solid var(--primary-red);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

.card-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 25px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--dark-gray);
    font-weight: 700;
}

.card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* --- DIGITAL TRANSFORMATION --- */
#digital-transformation {
    background: linear-gradient(rgba(17, 17, 17, 0.32), rgba(17, 17, 17, 0.85)), url('imgs/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

    #digital-transformation .section-title h2 {
        color: var(--white);
    }

    #digital-transformation .section-title p {
        color: #ccc;
    }

    #digital-transformation .card {
        background-color: rgba(51, 51, 51, 0.6);
        border: 1px solid rgba(255,255,255,0.1);
        backdrop-filter: blur(10px);
    }

        #digital-transformation .card h3 {
            color: var(--white);
        }

        #digital-transformation .card p {
            color: #ddd;
        }

        #digital-transformation .card:hover {
            background-color: rgba(68, 68, 68, 0.9);
            border-color: var(--primary-red);
        }

/* --- DARK SECTION STYLES (For Capabilities) --- */
.bg-dark {
    background-color: var(--dark-black);
    color: var(--white);
}

    .bg-dark .section-title h2 {
        color: var(--white);
    }

    .bg-dark .section-title p {
        color: #ccc;
    }

    .bg-dark .card {
        background-color: var(--dark-gray);
        border: 1px solid #444;
    }

        .bg-dark .card h3 {
            color: var(--white);
        }

        .bg-dark .card p {
            color: #ccc;
        }

        .bg-dark .card:hover {
            background-color: #222;
        }

/* --- TEAM SLIDER --- */
.team-section {
    background-color: var(--light-gray);
    overflow: hidden;
}

.team-slider {
    margin-top: 50px;
    width: 100%;
    display: flex;
    overflow: hidden;
}

.team-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollLeft 30s linear infinite;
}

    .team-track:hover {
        animation-play-state: paused;
    }

.team-card {
    background: var(--white);
    width: 280px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    flex-shrink: 0;
}

    .team-card:hover {
        transform: translateY(-10px);
        border-bottom: 4px solid var(--primary-red);
    }

.team-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
}

.team-card:hover .team-img {
    filter: grayscale(0%);
}

.team-info {
    padding: 20px;
    text-align: center;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-280px * 6 - 180px));
    }
}

/* --- PARTNERS (UPDATED STYLES) --- */
.partners-section {
    background-color: var(--white);
    padding: 80px 5%;
    text-align: center;
    border-top: 1px solid #eee;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
    margin-top: 50px;
}

.partner-logo {
    width: 150px; /* Base width */
    height: 80px; /* Fixed height container */
    object-fit: contain; /* Ensure logo fits cleanly */
    filter: grayscale(100%) opacity(0.6);
    transition: var(--transition);
    cursor: pointer;
    /* Added Border Styles */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    background-color: #fff;
}

    .partner-logo:hover {
        filter: grayscale(0%) opacity(1);
        transform: scale(1.05);
        border-color: var(--primary-red); /* Highlight on hover */
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    }

/* --- CHAT --- */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chat-toggle-btn {
    background: var(--primary-red);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.4);
    transition: var(--transition);
    border: none;
}

    .chat-toggle-btn:hover {
        transform: scale(1.1);
    }

.chat-box {
    width: 320px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    margin-bottom: 20px;
    display: none;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

    .chat-box.active {
        display: flex;
    }

.chat-header {
    background: var(--dark-black);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-body {
    padding: 20px;
    background: var(--light-gray);
}

.bot-message {
    background: var(--white);
    padding: 10px 15px;
    border-radius: 10px 10px 10px 0;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--dark-gray);
    border-left: 3px solid var(--primary-red);
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-btn {
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.chat-btn-whatsapp {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

    .chat-btn-whatsapp:hover {
        background: #128C7E;
    }

.chat-btn-email {
    background: var(--white);
    color: var(--dark-black);
}

    .chat-btn-email:hover {
        background: #eee;
    }

/* --- FOOTER --- */
footer {
    background: var(--dark-black);
    color: #888;
    padding: 60px 5% 20px;
    border-top: 5px solid var(--primary-red);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

    .footer-col ul li a {
        display: flex;
        align-items: center;
        gap: 10px;
        transition: var(--transition);
    }

        .footer-col ul li a:hover {
            color: var(--primary-red);
            padding-left: 5px;
        }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--dark-black);
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        transition: 0.4s;
        height: auto;
    }

        .nav-links li {
            width: 100%;
            display: block;
            height: auto;
        }

        .nav-links a {
            padding: 15px;
            justify-content: center;
            border-bottom: 1px solid #333;
        }

        .nav-links.active {
            left: 0;
        }

    .dropdown-content {
        position: static;
        background: #222;
        display: none;
        border-top: none;
        width: 100%;
    }

        .dropdown-content a {
            border-bottom: 1px solid #444;
            color: #ccc;
        }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .hero-text-dynamic {
        font-size: 2rem;
    }

    .cursor {
        height: 2rem;
    }

    /* Disable fixed background on mobile for performance */
    .hero, #digital-transformation {
        background-attachment: scroll;
    }

    .dt-grid {
        grid-template-columns: 1fr;
    }

    .scroll-controls {
        bottom: 20px;
        left: 15px;
    }

    /* Mobile Partner Logos */
    .partner-logo {
        width: 120px;
        height: 65px;
        padding: 10px;
    }

    .partners-grid {
        gap: 30px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

 
