/* =================================================================== */
/*                      1. ROOT & GLOBAL STYLES                        */
/* =================================================================== */
:root {
    --color-primary: #FF6600;
    --color-secondary: #FFA500;
    --color-text: #FFFFFF;
    --color-text-dark: #B0B0B0;
    --color-bg-dark: #1A1A1A;
    --color-bg-light: #2C2C2C;
    
    --font-family: 'Poppins', sans-serif;
    --transition-speed: 0.3s;
    --transition-fast: 0.2s;
    --container-width: 1200px;
    --container-padding: 5%;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =================================================================== */
/*               NEW: DIGITAL DECODE PRELOADER STYLES                  */
/* =================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
    transition-delay: 0.5s;
    opacity: 1;
    visibility: visible;
}

body.loaded .preloader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
}

.glitch-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 8vw, 4rem);
    color: var(--color-text);
    letter-spacing: 0.2em;
    text-shadow: 0 0 10px var(--color-primary);
    margin-bottom: 2rem;
}

.loading-bar-container {
    width: 250px;
    height: 8px;
    background: var(--color-bg-light);
    border-radius: 4px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.loading-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 4px;
    animation: fill-bar 2.5s ease-out forwards;
}

@keyframes fill-bar {
    from { width: 0%; }
    to { width: 100%; }
}

.loading-status {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: var(--color-text-dark);
    letter-spacing: 0.1em;
    animation: blink-cursor 1s step-end infinite;
}

@keyframes blink-cursor {
    50% { opacity: 0; }
}

#constellation-canvas {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%; z-index: -1; opacity: 0.6;
}

.container {
    max-width: var(--container-width); margin: 0 auto; padding: 0 var(--container-padding);
}


/* =================================================================== */
/*                      2. UTILITY & REUSABLE CLASSES                  */
/* =================================================================== */
.glass-effect {
    background: rgba(44, 44, 44, 0.7); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 102, 0, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.btn {
    display: inline-block; padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600; text-decoration: none;
    transition: all var(--transition-speed) ease; border: none; cursor: pointer;
}
.btn-primary {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
}
.btn-primary:hover {
    transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3);
}
.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-bg-light);
    color: var(--color-text);
}
.btn-secondary:hover {
    background: var(--color-bg-light);
    border-color: var(--color-bg-light);
    transform: translateY(-3px);
}

.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
    display: inline-block; padding: 0.4rem 1rem; font-weight: 600;
    margin-bottom: 1rem; border-radius: 20px;
    background: rgba(255, 102, 0, 0.1); color: var(--color-primary);
}
.section-title { font-size: 2.8rem; font-weight: 700; margin-bottom: 1rem; }
.section-subtitle {
    font-size: 1.1rem; color: var(--color-text-dark); max-width: 600px; margin: 0 auto;
}


/* =================================================================== */
/*                      3. HEADER & NAVIGATION                         */
/* =================================================================== */
.header {
    position: fixed; top: 1.5rem; left: 0; width: 100%;
    z-index: 100; padding: 0 var(--container-padding);
}
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.6rem 1.5rem; border-radius: 50px;
}
.logo {
    display: flex; align-items: center; text-decoration: none;
    color: var(--color-white); font-size: 1.4rem; font-weight: 700;
}

.logo-globe-container {
    width: 38px; height: 38px; margin-right: 12px;
    position: relative; display: grid; place-items: center;
    perspective: 800px;
}
.logo-globe {
    width: 100%; height: 100%; position: absolute;
    transform-style: preserve-3d; animation: rotate-globe 20s linear infinite;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(255,165,0,0.2), transparent),
        radial-gradient(circle at 70% 70%, rgba(255,102,0,0.3), transparent);
    border-radius: 50%; border: 1px solid rgba(255,165,0,0.2);
}
@keyframes rotate-globe { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }

.logo-globe::before, .logo-globe::after {
    content: ''; position: absolute; width: 100%; height: 100%;
    border-radius: 50%; border: 1px solid rgba(255, 165, 0, 0.4);
}
.logo-globe::before { transform: rotateX(90deg); }
.logo-globe::after { transform: rotateY(90deg); }

.logo-globe-orbit {
    position: absolute; width: 140%; height: 140%; top: -20%; left: -20%;
    border-radius: 50%; transform-style: preserve-3d;
    animation: rotate-orbit 10s linear infinite;
}
@keyframes rotate-orbit { from { transform: rotateZ(0deg) rotateY(60deg); } to { transform: rotateZ(360deg) rotateY(60deg); } }

.logo-globe-e {
    width: 12px; height: 12px; background: var(--color-primary);
    color: var(--color-white); border-radius: 50%; position: absolute;
    top: -6px; left: 50%; transform: translateX(-50%); font-size: 8px;
    font-weight: bold; display: grid; place-items: center;
    box-shadow: 0 0 10px var(--color-primary);
}

.nav-menu { 
    display: flex; list-style: none; position: relative;
    padding: 0.4rem; background: rgba(26, 26, 26, 0.5); border-radius: 50px;
}
.nav-menu::before {
    content: ''; position: absolute; top: var(--pill-top, 0.4rem);
    left: var(--pill-left, 0); width: var(--pill-width, 0);
    height: calc(100% - 0.8rem);
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 50px; z-index: 0;
    transition: left var(--transition-speed) ease, width var(--transition-speed) ease;
}
.nav-item { margin: 0; }
.nav-link {
    color: var(--color-text); text-decoration: none; font-weight: 500;
    padding: 0.4rem 1.2rem; font-size: 0.9rem; border-radius: 50px;
    position: relative; z-index: 1; transition: color var(--transition-fast) ease;
}
.nav-link.is-active { color: var(--color-white); font-weight: 600; } 

.nav-contact-btn { display: block; }
.hamburger { display: none; cursor: pointer; }
.hamburger .bar {
    display: block; width: 25px; height: 3px;
    margin: 5px auto; background-color: var(--color-white);
    transition: all var(--transition-speed) ease-in-out;
}

/* =================================================================== */
/*                      4. HERO SECTION                                */
/* =================================================================== */
.hero-section {
    min-height: 100vh; display: flex; align-items: center;
    padding-top: 120px; position: relative; overflow: hidden;
}
.hero-container {
    display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem;
}
.hero-content .hero-tag {
    display: inline-block; padding: 0.5rem 1rem; font-weight: 600;
    margin-bottom: 1rem; border-radius: 20px;
    background: rgba(44, 44, 44, 0.7); color: var(--color-secondary);
}
.hero-content .hero-title { font-size: 3.5rem; line-height: 1.2; font-weight: 700; margin-bottom: 1.5rem; }
.hero-content .hero-description { font-size: 1.1rem; color: var(--color-text-dark); margin-bottom: 2.5rem; max-width: 500px; }
.hero-buttons { display: flex; gap: 1rem; }
.hero-buttons .btn i { margin-left: 0.5rem; transition: transform var(--transition-speed) ease; }
.hero-buttons .btn:hover i { transform: translateX(5px); }
.hero-svg-area { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-svg { width: 100%; max-width: 500px; overflow: visible; }
.connections line { stroke: rgba(255, 165, 0, 0.2); stroke-width: 1; stroke-dasharray: 10 10; animation: dash-flow 20s linear infinite; }
@keyframes dash-flow { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
.core-group { transform-origin: center; animation: core-rotate 30s linear infinite; }
@keyframes core-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.core-ring { fill: none; stroke: rgba(255, 102, 0, 0.5); stroke-width: 2; }
.core-center { fill: var(--color-primary); filter: url(#glow); }
.orbit-path { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 1; }
.data-satellite { fill: var(--color-secondary); filter: url(#glow); }
.animate-fade-in { opacity: 0; animation: fadeIn 1s ease-out forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.hero-tag { animation-delay: 0.2s; } .hero-title { animation-delay: 0.4s; }
.hero-description { animation-delay: 0.6s; } .hero-buttons { animation-delay: 0.8s; }
.hero-svg-area { animation-delay: 0.5s; }

/* =================================================================== */
/*                      5. SOLUTIONS SECTION                           */
/* =================================================================== */
.solutions-section { padding: 6rem 0; position: relative; }
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.solution-card {
    border-radius: 20px; padding: 2rem; text-align: center;
    transition: all var(--transition-speed) ease;
}
.solution-card:hover {
    transform: translateY(-10px); border-color: rgba(255, 102, 0, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.solution-svg-container { height: 100px; margin-bottom: 1.5rem; }
.solution-svg { height: 100%; width: auto; overflow: visible; }
.solution-card h3 { font-size: 1.4rem; font-weight: 600; }
.insight-svg .bar {
    fill: var(--color-bg-light); stroke: var(--color-primary); stroke-width: 2;
    transform-origin: bottom; animation: grow-bar 2s ease-in-out infinite alternate;
}
.insight-svg .bar:nth-child(2) { animation-delay: 0.2s; }
.insight-svg .bar:nth-child(3) { animation-delay: 0.4s; }
.insight-svg .bar:nth-child(4) { animation-delay: 0.6s; }
@keyframes grow-bar { 0% { transform: scaleY(0.2); } 100% { transform: scaleY(1); } }
.lift-svg .line-graph {
    fill: none; stroke: var(--color-primary); stroke-width: 3;
    stroke-linecap: round; stroke-dasharray: 150;
    animation: draw-line 3s ease-in-out infinite alternate;
}
@keyframes draw-line { from { stroke-dashoffset: 150; } to { stroke-dashoffset: 0; } }
.lift-svg .line-dot { fill: var(--color-secondary); filter: drop-shadow(0 0 5px var(--color-secondary)); }
.nexgen-svg .connection-line {
    stroke: rgba(255, 165, 0, 0.4); stroke-width: 1.5; stroke-dasharray: 4 10;
    animation: flow-line 2s linear infinite;
}
@keyframes flow-line { from { stroke-dashoffset: 14; } to { stroke-dashoffset: 0; } }
.nexgen-svg .node {
    fill: var(--color-bg-light); stroke: var(--color-primary); stroke-width: 2;
    animation: pulse-node 3s ease-in-out infinite;
}
.nexgen-svg .node:nth-child(2) { animation-delay: 0.2s; }
.nexgen-svg .node:nth-child(3) { animation-delay: 0.4s; }
.nexgen-svg .node:nth-child(4) { animation-delay: 0.6s; }
.nexgen-svg .node:nth-child(5) { animation-delay: 0.8s; }
.nexgen-svg .node:nth-child(6) { animation-delay: 1s; }
@keyframes pulse-node { 50% { fill: var(--color-secondary); filter: drop-shadow(0 0 8px var(--color-secondary)); } }

/* =================================================================== */
/*                      6. WHO WE ARE SECTION                          */
/* =================================================================== */
.about-section { padding: 6rem 0; background-color: var(--color-bg-light); position: relative; }
.about-container { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
.about-image-area {
    position: relative; border-radius: 20px; display: flex;
    align-items: center; justify-content: center;
}
.about-svg { width: 100%; max-width: 350px; }
.about-svg-group { transform-origin: center; animation: about-svg-rotate 20s linear infinite; }
@keyframes about-svg-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.about-ring { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 1; stroke-dasharray: 10; }
.about-ring2 { animation: about-svg-rotate 15s linear infinite reverse; }
.about-core { fill: none; stroke: var(--color-primary); stroke-width: 2; filter: drop-shadow(0 0 10px var(--color-primary)); }
.about-icon {
    font-size: 24px; fill: var(--color-secondary); font-family: monospace;
    text-anchor: middle; dominant-baseline: middle; animation: about-icon-pulse 4s ease-in-out infinite;
}
.about-icon.icon2 { animation-delay: 1s; } .about-icon.icon3 { animation-delay: 2s; }
@keyframes about-icon-pulse { 50% { fill: var(--color-white); transform: scale(1.1); } }
.experience-card {
    position: absolute; bottom: -1rem; left: -1rem; padding: 1.5rem;
    border-radius: 20px; text-align: center; line-height: 1.2; z-index: 2;
}
.experience-number { font-size: 3rem; font-weight: 700; color: var(--color-primary); display: block; }
.experience-text { font-size: 1rem; font-weight: 600; }
.about-content .about-tag {
    display: inline-block; padding: 0.4rem 1rem; font-weight: 600; margin-bottom: 1rem;
    border-radius: 20px; background: rgba(255, 255, 255, 0.1); color: var(--color-secondary);
}
.about-content h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.about-content h2 .highlight { color: var(--color-primary); }
.about-content p { color: var(--color-text-dark); margin-bottom: 2rem; }
.about-strengths { list-style: none; }
.about-strengths li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; opacity: 0; }
.about-strengths i { color: var(--color-primary); font-size: 1.5rem; margin-top: 4px; }

/* =================================================================== */
/*                      7. STATS SECTION                               */
/* =================================================================== */
.stats-section { padding: 6rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-card {
    padding: 2.5rem; text-align: center; border-radius: 20px;
    transition: all var(--transition-speed) ease;
}
.stat-card:hover { transform: translateY(-10px); border-color: rgba(255, 102, 0, 0.4); }
.stat-number { font-size: 3.5rem; font-weight: 700; color: var(--color-primary); margin-bottom: 0.5rem; }
.stat-number::after { content: '+'; }
.stat-card p { color: var(--color-text-dark); font-weight: 500; }

/* =================================================================== */
/*                      8. COMPREHENSIVE SOLUTIONS                     */
/* =================================================================== */
.comp-solutions-section { padding: 6rem 0; background: var(--color-bg-light); }
.comp-solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.comp-solution-card {
    border-radius: 20px; padding: 2.5rem; display: flex; flex-direction: column;
    transition: all var(--transition-speed) ease;
}
.comp-solution-card:hover {
    transform: translateY(-10px); border-color: rgba(255, 102, 0, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.comp-solution-svg-container {
    height: 80px; width: 80px; margin-bottom: 1.5rem; background: var(--color-bg-dark);
    border-radius: 15px; display: grid; place-items: center;
}
.comp-solution-svg-container svg {
    width: 50px; height: 50px; fill: none; stroke: var(--color-primary);
    stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
}
.comp-solution-card h4 { font-size: 1.5rem; margin-bottom: 1rem; }
.comp-solution-card p { color: var(--color-text-dark); flex-grow: 1; margin-bottom: 1.5rem; }
.read-more {
    color: var(--color-secondary); text-decoration: none; font-weight: 600;
    display: flex; align-items: center; gap: 0.5rem;
}
.read-more i { transition: transform var(--transition-speed) ease; }
.read-more:hover i { transform: translateX(5px); }
.comp-solution-card:hover .c-line { animation: c-line-flow 1.5s ease-in-out infinite; }
@keyframes c-line-flow { 50% { transform: translateY(10px); } }
.comp-solution-card:hover .c-node { animation: c-node-pulse 1.5s ease-in-out infinite; }
@keyframes c-node-pulse { 50% { r: 7; filter: drop-shadow(0 0 5px var(--color-primary)); } }
.comp-solution-card:hover .shield-gear { animation: shield-gear-rotate 4s linear infinite; transform-origin: center;}
@keyframes shield-gear-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* =================================================================== */
/*                      9. WHY CHOOSE US / WHY JOIN US                 */
/* =================================================================== */
.choose-us-section { padding: 6rem 0; }
.join-us-section { padding: 6rem 0; background: var(--color-bg-light); }
.choose-us-container, .join-us-container {
    display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem;
}
.choose-us-svg-area, .join-us-svg-area { display: flex; justify-content: center; align-items: center; }
.choose-us-svg, .join-us-svg { width: 100%; max-width: 350px; overflow: visible; }
.choose-us-content .section-title, .join-us-content .section-title { text-align: left; }
.choose-us-content .section-title .highlight, .join-us-content .section-title .highlight { color: var(--color-primary); display: block; }
.choose-us-content p, .join-us-content p { color: var(--color-text-dark); margin-bottom: 2.5rem; }
.advantages-list { list-style: none; position: relative; padding-left: 2rem; }
.advantages-list::before {
    content: ''; position: absolute; left: 7px; top: 10px;
    bottom: 10px; width: 2px; background: rgba(255, 102, 0, 0.2);
}
.advantages-list li { margin-bottom: 2rem; position: relative; opacity: 0; }
.advantages-list i {
    position: absolute; left: -2rem; top: 5px; font-size: 1.2rem;
    color: var(--color-primary); background: var(--color-bg-dark);
}
.join-us-section .advantages-list i { background: var(--color-bg-light); }
.advantage-text h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.advantage-text p { color: var(--color-text-dark); margin-bottom: 0; }
.choose-us-content .btn, .join-us-content .btn { margin-top: 1rem; }
.c-globe-group { transform-origin: center; animation: c-globe-rotate 20s linear infinite; }
@keyframes c-globe-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.c-globe-base, .c-globe-path1, .c-globe-path2 { fill: none; stroke: rgba(255, 102, 0, 0.3); stroke-width: 1; }
.c-data-nodes .c-node { fill: var(--color-secondary); animation: c-node-pulse 3s ease-in-out infinite; }
.c-data-nodes .c-node:nth-child(2) { animation-delay: 1s; }
.c-data-nodes .c-node:nth-child(3) { animation-delay: 2s; }
.j-path { fill: none; stroke: rgba(255, 165, 0, 0.4); stroke-width: 2; stroke-dasharray: 5; }
.j-node { fill: var(--color-bg-light); stroke: var(--color-primary); stroke-width: 2; animation: pulse-node 3s ease-in-out infinite; }
.j-node:nth-child(2) { animation-delay: 1s; }
.j-node:nth-child(3) { animation-delay: 2s; }
.j-traveler { fill: var(--color-secondary); filter: drop-shadow(0 0 8px var(--color-secondary)); }

/* =================================================================== */
/*                      10. TRUSTED BY                                 */
/* =================================================================== */
.trusted-by-section { padding: 6rem 0; }
.trusted-by-title {
    text-align: center; font-size: 1.2rem; font-weight: 500;
    color: var(--color-text-dark); margin-bottom: 3rem; display: flex;
    align-items: center; gap: 1.5rem;
}
.trusted-by-title::before, .trusted-by-title::after {
    content: ''; flex-grow: 1; height: 1px;
    background: rgba(255, 102, 0, 0.2);
}
.logo-slider {
    width: 100%; overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}
.logo-track {
    display: flex; width: calc(200px * 16);
    animation: slide 40s linear infinite;
}
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-slider:hover .logo-track { animation-play-state: paused; }
.logo-item { width: 200px; padding: 0 40px; }
.client-logo {
    height: 40px; width: 100%; background-size: contain;
    background-position: center; background-repeat: no-repeat;
    filter: grayscale(100%) opacity(60%);
    transition: all var(--transition-speed) ease;
}
.client-logo:hover { filter: none; opacity: 1; transform: scale(1.1); }
.logo-amazon { background-image: url('https://upload.wikimedia.org/wikipedia/commons/a/a9/Amazon_logo.svg'); }
.logo-google { background-image: url('https://upload.wikimedia.org/wikipedia/commons/2/2f/Google_2015_logo.svg'); }
.logo-netflix { background-image: url('https://upload.wikimedia.org/wikipedia/commons/0/08/Netflix_2015_logo.svg'); }
.logo-tesla { background-image: url('https://upload.wikimedia.org/wikipedia/commons/e/e8/Tesla_logo.png'); filter: brightness(0) invert(1) grayscale(100%) opacity(60%);}
.logo-tesla:hover { filter: none; }
.logo-microsoft { background-image: url('https://upload.wikimedia.org/wikipedia/commons/4/44/Microsoft_logo.svg'); }
.logo-ibm { background-image: url('https://upload.wikimedia.org/wikipedia/commons/5/51/IBM_logo.svg'); filter: brightness(0) invert(1) grayscale(100%) opacity(60%); }
.logo-ibm:hover { filter: none; }
.logo-sony { background-image: url('https://upload.wikimedia.org/wikipedia/commons/c/ca/Sony_logo.svg'); }
.logo-infosys { background-image: url('https://upload.wikimedia.org/wikipedia/commons/9/95/Infosys_logo.svg'); }

/* =================================================================== */
/*                      15. TRUSTED BY                                 */
/* =================================================================== */
.trusted-by-section {
    padding: 6rem 0;
}

.trusted-by-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.trusted-by-title::before,
.trusted-by-title::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: rgba(255, 102, 0, 0.2);
}

.logo-slider {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.logo-track {
    display: flex;
    /* Adjust the width based on the number of images and their width */
    /* (number of original images) * (width of .logo-item) */
    width: calc(200px * 16); 
    animation: slide 40s linear infinite;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

.logo-item {
    width: 200px;
    padding: 0 40px;
}

/* Updated to style the img tag directly */
.logo-item img {
    height: 250px;
    width: 600%;
    object-fit: contain; /* This ensures the image keeps its aspect ratio */
    filter: grayscale(100%) opacity(60%);
    transition: all var(--transition-speed) ease;
}

.logo-item img:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

/* =================================================================== */
/*                      11. CTA SECTION                                */
/* =================================================================== */
.cta-section { padding: 6rem 0; }
.cta-card {
    padding: 4rem; border-radius: 30px;
    display: flex; justify-content: space-between; align-items: center;
    gap: 3rem;
}
.cta-content h2 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.cta-content p { color: var(--color-text-dark); max-width: 450px; }
.cta-form {
    display: flex; background: var(--color-bg-dark);
    border-radius: 50px; padding: 0.5rem;
    min-width: 400px;
}
.cta-form input {
    flex-grow: 1; background: transparent; border: none;
    padding: 0 1.5rem; color: var(--color-white); font-size: 1rem;
}
.cta-form input:focus { outline: none; }
.cta-form .btn { display: flex; align-items: center; gap: 0.5rem; }
.cta-form .btn i { transition: transform var(--transition-speed) ease; }
.cta-form .btn:hover i { transform: rotate(-45deg); }

/* =================================================================== */
/*                      12. SCROLL ANIMATIONS                          */
/* =================================================================== */
.animate-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-scroll[data-animation="fade-up"] { transform: translateY(50px); }
.animate-scroll[data-animation="fade-right"] { transform: translateX(-50px); }
.animate-scroll[data-animation="fade-left"] { transform: translateX(50px); }

.animate-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}


/* =================================================================== */
/*                      13. FOOTER                                     */
/* =================================================================== */
.footer { padding-top: 6rem; background: var(--color-bg-dark); z-index: 1; position: relative; }
.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem; padding-bottom: 4rem;
}
.footer-col .logo { margin-bottom: 1rem; }
.footer-col .logo .logo-globe-container { transform: scale(0.9); }
.footer-col p { margin-bottom: 1.5rem; color: var(--color-text-dark); }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 1rem; }
.footer-col ul li span { color: var(--color-text-dark); }
.footer-col ul li a {
    color: var(--color-text-dark); text-decoration: none;
    transition: color var(--transition-speed) ease; position: relative;
    padding-bottom: 4px; display: inline-block;
}
.footer-col ul li a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0;
    height: 2px; background: var(--color-primary);
    transition: width var(--transition-speed) ease;
}
.footer-col ul li a:hover { color: var(--color-white); }
.footer-col ul li a:hover::after { width: 100%; }
.footer-col ul i { color: var(--color-primary); margin-right: 0.8rem; }
.social-links { display: flex; gap: 1rem; }
.social-links a {
    width: 40px; height: 40px; display: grid; place-items: center;
    background: rgba(255,255,255,0.1); border-radius: 50%;
    color: var(--color-white); text-decoration: none;
    transition: all var(--transition-speed) ease;
}
.social-links a:hover {
    color: var(--color-primary); transform: translateY(-3px); box-shadow: 0 0 15px var(--color-primary);
}
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 2rem var(--container-padding); border-top: 1px solid rgba(255, 102, 0, 0.2);
    color: var(--color-text-dark);
}
.footer-bottom a { color: var(--color-text-dark); margin-left: 1.5rem; }

/* =================================================================== */
/*                      14. RESPONSIVE MEDIA QUERIES                   */
/* =================================================================== */
@media (max-width: 1024px) {
    .nav-menu::before { display: none; }
    .nav-menu {
        position: fixed; left: -100%; top: 0; flex-direction: column;
        justify-content: center; background-color: var(--color-bg-dark);
        width: 100%; height: 100vh; text-align: center;
        transition: left var(--transition-speed) ease; padding: 0; border-radius: 0;
    }
    .nav-menu.active { left: 0; }
    .nav-item { 
        margin: 1.5rem 0; opacity: 0; transform: translateY(20px);
    }
    .nav-menu.active .nav-item { animation: navLinkFade 0.5s ease forwards; }
    @keyframes navLinkFade { to { opacity: 1; transform: translateY(0); } }
    .nav-contact-btn { display: none; }
    .hamburger { display: block; z-index: 101; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 1; }
    .hero-svg-area { order: 2; margin-top: 2rem; }
    .hero-content .hero-description { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .solutions-grid { grid-template-columns: 1fr; }
    .about-container { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .comp-solutions-grid { grid-template-columns: 1fr; }
    .choose-us-container, .join-us-container { grid-template-columns: 1fr; }
    .choose-us-content .section-title, .join-us-content .section-title { text-align: center; }
    .join-us-svg-area { order: -1; margin-bottom: 2rem; }
    .logos-grid { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); }
    .cta-card { flex-direction: column; text-align: center; }
    .cta-form { min-width: 100%; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}