:root {
    --color-bg: #FFFFFF;
    --color-surface: #F9FAFB;
    /* Very light grey for cards */
    --color-surface-hover: #F3F4F6;
    --color-primary: #FF5300;
    /* Requested Orange */
    --color-primary-hover: #cc4200;
    --color-accent: #1F2937;
    /* Dark Grey */
    --color-text-main: #1F2937;
    /* Dark text for light bg */
    --color-text-muted: #6B7280;
    /* Medium Grey */
    --color-border: #E5E7EB;

    --font-main: 'Outfit', sans-serif;

    --spacing-container: 1280px;
    --spacing-section: 6rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    /* Ensure it takes full width in flex parents */
}

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

.text-left {
    text-align: left;
}

/* Added utility */
.text-primary {
    color: var(--color-primary);
}

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

.font-bold {
    font-weight: 700;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 0.75rem;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(255, 83, 0, 0.39);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(255, 83, 0, 0.23);
}

.btn-outline {
    background: transparent;
    border: 2px solid #fff;
    /* Default to white for hero */
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
}

/* Typography */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    color: var(--color-text-main);
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    padding: 1.5rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: white;
    /* Always white on hero */
}

.logo span {
    color: var(--color-primary);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 5rem;
    color: white;
    /* Force white text in hero */
}

.hero h1,
.hero h2,
.hero h3 {
    color: white;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Dark overlay to ensure text legibility on any image */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
}

.hero h1 span {
    /* Keep gradient or just orange? Gradient looks nicer */
    color: var(--color-primary);
    background: none;
    -webkit-text-fill-color: initial;
}

.feature-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 83, 0, 0.15);
    /* Orange with opacity */
    border: 1px solid rgba(255, 83, 0, 0.4);
    border-radius: 9999px;
    color: #FFA07A;
    /* Lighter orange for dark bg legibility */
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Detailed Features Section */
.features-section {
    padding: var(--spacing-section) 0;
    background-color: var(--color-bg);
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft shadow for light mode */
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(255, 83, 0, 0.1);
}

.icon-box {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 83, 0, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

/* Locations Section */
.locations-section {
    padding: var(--spacing-section) 0;
    background-color: #F3F4F6;
    /* Light grey section bg */
}

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

.location-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background: white;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.location-content {
    padding: 2rem;
}

.location-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: #1F2937;
    /* Keep stats dark for contrast */
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary);
    display: block;
}

.stat-label {
    color: #D1D5DB;
    font-size: 1.125rem;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-section) 0;
    text-align: center;
}

.cta-box {
    /* Modern gradient using the orange */
    background: linear-gradient(135deg, #FF5300 0%, #FF7833 100%);
    padding: 4rem 2rem;
    border-radius: 2rem;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 20px 40px rgba(255, 83, 0, 0.25);
}

.cta-box h2 {
    color: white;
}

.cta-box .btn-primary {
    background: white;
    color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.cta-box .btn-primary:hover {
    background: #FFF5F0;
    transform: translateY(-2px);
    color: var(--color-primary-hover);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: translate(30%, -30%);
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.875rem;
    background: white;
}

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

.footer strong {
    color: var(--color-text-main);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

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

    .hero-content {
        padding-right: 0;
        text-align: center;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
    }

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

/* Circuit Section */
.circuit-section {
    padding: var(--spacing-section) 0;
    background-color: white;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

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

.circuit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--color-text-main);
    font-size: 1.1rem;
}

.circuit-item::before {
    content: '+';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: bold;
    flex-shrink: 0;
}

.circuit-image {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.detailed-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    border-top: 1px solid var(--color-border);
    padding-top: 4rem;
}

.detailed-feature h3 {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
}

@media (max-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }


    .hide-mobile {
        display: none !important;
    }
}

/* Video Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: black;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 83, 0, 0.8);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Clients Carousel Section */
.clients-section {
    padding: var(--spacing-section) 0;
    background-color: var(--color-bg);
}

.carousel-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 2rem 0;
}

.carousel-container::before,
.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg) 0%, rgba(248, 250, 252, 0) 100%);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg) 0%, rgba(248, 250, 252, 0) 100%);
}

.carousel-track {
    display: flex;
    width: calc(250px * 12); /* Based on logos width */
    animation: scroll 30s linear infinite;
    gap: 3rem;
    align-items: center;
}

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

.client-logo {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-logo img:hover {
    filter: grayscale(0%) opacity(1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 6 - 3rem * 6));
    }
}

/* Floating WhatsApp */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 2rem;
    right: 2rem;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.float-wa svg {
    z-index: 2;
}

.float-wa:hover {
    transform: scale(1.05);
}

.float-wa::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: 1;
    animation: pulse-wa 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulse-wa {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: var(--color-bg);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--color-primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: var(--color-surface);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}