/* --- MARQUEE --- */
:root {
            --tw-bg-opacity: 1;
            --bg: rgb(8 21 38 / var(--tw-bg-opacity, 1));;
            --text-primary: #f2f2f2;
            --text-secondary: #9ca3af;
            --glass-border: rgba(255, 255, 255, 0.08);

            /* Palette */
            --btn-primary-bg: #ffffff;
            --btn-primary-text: #000000;
            --btn-secondary-bg: rgba(255,255,255,0.03);
            --nav-bg: rgba(15, 15, 15, 0.6);

            --font-head: 'Unbounded', sans-serif;
            --font-body: 'Manrope', sans-serif;

            --container: 1200px;
        }

            /* Cooler Scrollbar */
        ::-webkit-scrollbar {
            width: 6px;
        }
        ::-webkit-scrollbar-track {
            background: #050505;
        }
        ::-webkit-scrollbar-thumb {
            background: #333;
            border-radius: 3px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #555;
        }
        /* Firefox Support */
        html {
            scrollbar-width: thin;
            scrollbar-color: #333 #050505;
        }

        /* Red Theme Buttons */
        .btn-primary, .nav-btn, .submit-btn,, .magnetic-btn {
            background: #de2626 !important;
            color: #ffffff !important;
            border: 1px solid #de2626 !important;
        }

        .btn-primary:hover, .nav-btn:hover, .submit-btn:hover, .magnetic-btn:hover {
            background: #b91c1c !important;
            box-shadow: 0 0 25px rgba(222, 38, 38, 0.4) !important;
        }

        .btn-primary *, .nav-btn *, .submit-btn * {
            color: #ffffff !important;
            fill: #ffffff !important;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            background-color: var(--bg);
            color: var(--text-primary);
            font-family: var(--font-body);
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        .noise-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            pointer-events: none; z-index: 9999; opacity: 0.04;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
        }

        .bg-layer { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -2; pointer-events: none; display: flex; align-items: center; justify-content: center; }
        .bg-word {
            position: absolute; font-family: var(--font-head); font-size: 28vw; font-weight: 900;
            color: rgba(255,255,255,0.03); white-space: nowrap; letter-spacing: -0.02em;
            opacity: 0; transform: scale(1.1); z-index: -1;
        }
        .bottom-spotlight {
            position: absolute; bottom: -30%; left: 50%; transform: translateX(-50%); width: 90%; height: 70vh;
            background: radial-gradient(ellipse at bottom, rgba(37, 99, 235, 0.12) 0%, rgba(255, 255, 255, 0.03) 40%, transparent 70%);
            filter: blur(80px); opacity: 0; z-index: -1;
        }

        nav {
            position: fixed; top: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: 90%; padding: 8px 8px 8px 24px;
            display: flex; align-items: center; gap: 40px; z-index: 100;
            background: var(--nav-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
            border: 1px solid var(--glass-border); border-radius: 100px; box-shadow: 0 10px 40px rgba(0,0,0,0.5);
        }
        .brand { font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: -0.02em; color: #fff; text-transform: uppercase; white-space: nowrap; }
        .menu { display: flex; gap: 32px; }
        .menu a { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.3s; }
        .menu a:hover { color: var(--text-primary); }
        .nav-btn {
            background: #de2626; color: white; padding: 12px 24px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 14px; transition: transform 0.2s;
        }

        .hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 0 5%; position: relative; z-index: 1; text-align: center; }
        .hero-container { width: 100%; max-width: var(--container); display: flex; flex-direction: column; align-items: center; gap: 40px; }
        .anim-text { opacity: 0; filter: blur(20px); transform: translateY(30px); }
        .label {
            font-family: var(--font-head); font-size: 11px; color: var(--text-secondary); border: 1px solid var(--glass-border);
            padding: 8px 16px; border-radius: 100px; background: rgba(255,255,255,0.03); margin-bottom: 5px; letter-spacing: 0.05em; text-transform: uppercase;
        }
        h1 { font-family: var(--font-head); font-size: clamp(3.5rem, 6.5vw, 5rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; color: #fff; }
        .txt-rotate-wrapper { display: inline-block; position: relative; overflow: hidden; vertical-align: bottom; height: 1.1em; }
        .txt-rotate { display: block; background: linear-gradient(135deg, #fff 30%, #9ca3af 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; padding-right: 15px; font-weight: 800; }
        p.desc { font-size: 1.25rem; color: var(--text-secondary); line-height: 1.7; max-width: 750px; margin: 0 auto; font-weight: 400; }
        .hero-btns { display: flex; gap: 16px; margin-top: 10px; }
        .btn-primary {
             background: #de2626 !important; padding: 20px 48px; border-radius: 12px; font-weight: 600; text-decoration: none;
            transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); color: white;
        }
        /* .btn-primary:hover { background: transparent; color: #fff; box-shadow: 0 0 30px rgba(255, 255, 255, 0.15); transform: translateY(-2px); } */
        .btn-secondary {
            padding: 20px 48px; background: var(--btn-secondary-bg); color: var(--text-secondary); border-radius: 12px; font-weight: 600; text-decoration: none;
            border: 1px solid var(--glass-border); transition: all 0.3s ease; font-size: 15px; backdrop-filter: blur(5px);
        }
        .btn-secondary:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.2); }
        .socials { position: fixed; right: 40px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 20px; z-index: 100; }
        .social-link {
            width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
            background: rgba(255,255,255,0.02); border: 1px solid var(--glass-border); color: var(--text-secondary); transition: all 0.3s ease; opacity: 0; transform: translateX(20px);
        }
        .social-link:hover { background: rgba(255,255,255,0.1); color: #fff; transform: translateX(-4px); border-color: rgba(255,255,255,0.3); box-shadow: 0 5px 20px rgba(0,0,0,0.5); }
        .social-link svg { width: 22px; height: 22px; fill: currentColor; }








.brand {
    display: flex;
    align-items: center;
    gap: 12px; /* Space between logo and text */
    text-decoration: none;
    color: #fff; /* Or your theme color */
}

.brand img {
    height: 40px; /* Adjust based on your navbar height */
    width: auto;
}


/* --- PROJECTS SECTION --- */
.projects-section {
    padding: 140px 5%;
    background:rgb(8,16,27);
    position: relative;
    z-index: 2;
}

/* --- PROJECTS GRID (replaces old accordion) --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: var(--container);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.project-card {
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.card-media {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(60%);
}

.project-card:hover .card-media img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
}

.card-tags {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.card-tags span {
    font-size: 11px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.card-content {
    padding: 25px 25px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 12px;
}

.card-num {
    font-family: var(--font-head);
    font-size: 14px;
    color: var(--text-secondary);
    opacity: 0.5;
}

.card-title {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: #fff;
    font-weight: 500;
    line-height: 1.2;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 4px;
    align-self: flex-start;
    transition: gap 0.3s ease, border-color 0.3s ease;
}

.card-link:hover {
    gap: 12px;
    border-color: #fff;
}

/* Footer link (all projects) */
.projects-footer {
    max-width: var(--container);
    margin: 60px auto 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .card-media {
        height: 200px;
    }
}
/* Header */
.section-header {
    max-width: var(--container); margin: 0 auto 80px;
    display: flex; justify-content: space-between; align-items: end;
}
.sec-title {
    font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem);
    color: #fff; line-height: 1.1; margin-bottom: 10px; font-weight: 600;
}
.sec-subtitle {
    color: var(--text-secondary); max-width: 400px;
    line-height: 1.6; font-size: 1rem; text-align: right;
}

/* Project List */
.project-list {
    max-width: var(--container); margin: 0 auto;
    border-top: 1px solid var(--glass-border);
}

.project-item {
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
    transition: background 0.3s ease;
}

/* Header Row (Always Visible) */
.p-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 40px 0; cursor: pointer;
}

.p-info { display: flex; align-items: baseline; gap: 40px; }
.p-num { font-family: var(--font-head); font-size: 14px; color: var(--text-secondary); opacity: 0.5; }
.p-name {
    font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #fff; font-weight: 400; text-transform: uppercase;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Right Side */
.p-right { display: flex; align-items: center; gap: 30px; }
.p-tags { display: flex; gap: 10px; }
.p-tags span {
    font-size: 12px; color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    padding: 6px 14px; border-radius: 100px;
    text-transform: uppercase; letter-spacing: 0.05em;
    background: rgba(255,255,255,0.02);
}

/* Button */
.p-btn {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent; color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease; cursor: pointer;
}
.p-btn svg { transition: transform 0.4s ease; }

/* Active States */
.project-item.active .p-btn { background: #fff; color: #000; border-color: #fff; }
.project-item.active .p-btn svg { transform: rotate(45deg); }
.project-item.active .p-name { color: #fff; }
.project-item:hover .p-name { transform: translateX(10px); }

/* --- ACCORDION CONTENT (NEW LAYOUT) --- */
.project-preview {
    height: 0; opacity: 0; display: none; overflow: hidden;
}
.preview-inner { padding-bottom: 50px; }

/* The Grid Layout inside the Dropdown */
.preview-grid {
    display: grid;
    grid-template-columns: 400px 1fr; /* Image fixed width, text takes rest */
    gap: 60px;
    align-items: center;
}

/* Column 1: Image */
.preview-col-img img {
    width: 100%; height: 280px;
    object-fit: cover; border-radius: 12px;
    border: 1px solid var(--glass-border);
    filter: grayscale(100%); transition: filter 0.5s ease;
}
.project-item.active .preview-col-img img { filter: grayscale(0%); }

/* Column 2: Text */
.preview-col-text {
    max-width: 600px;
}
.preview-subtitle {
    font-family: var(--font-head); font-size: 12px;
    color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 12px; opacity: 0.7;
}
.preview-desc {
    font-family: var(--font-body); font-size: 1.1rem;
    color: #e0e0e0; line-height: 1.7; margin-bottom: 30px;
}
.preview-link {
    display: inline-block;
    font-family: var(--font-head); font-size: 14px;
    color: #fff; text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 4px; transition: all 0.3s ease;
}
.preview-link:hover { border-color: #fff; letter-spacing: 0.05em; }

/* Responsive */
@media (max-width: 900px) {
    .preview-grid { grid-template-columns: 1fr; gap: 30px; }
    .preview-col-img img { height: 220px; }
}
@media (max-width: 768px) {
    .p-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .p-right { width: 100%; justify-content: space-between; }
    .p-tags { display: none; } /* Hide tags on mobile to save space */
}

 .text-accent {
            display: inline-block;
            padding-bottom: 0.1em;
        }
        /* Marquee Styles */
        .marquee-section {
            display: flex;
            overflow: hidden;
            user-select: none;
        }
        .marquee-content {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            min-width: 100%;
            gap: 3rem;
            padding-right: 3rem; /* Matches gap to ensure seamless loop */
            animation: scroll 30s linear infinite;
        }
        @keyframes scroll {
            from { transform: translateX(0); }
            to { transform: translateX(-100%); }
        }















/* --- IMPACT SECTION (Unique Scope) --- */
.impact-section {
    padding: 160px 5%;
    background: rgb(8,16,27);
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
}

.impact-bg-line {
    position: absolute; top: 0; left: 50%; width: 1px; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1), transparent);
    transform: translateX(-50%);
    pointer-events: none;
    opacity: 0.5;
}

.impact-container {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Left Content */
.impact-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    opacity: 0; /* JS Start */
}
.text-accent {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
    opacity: 0.5;
}

.impact-desc {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
    opacity: 0; /* JS Start */
}

/* Minimal Link Button */
.impact-btn {
    display: inline-flex; align-items: center; gap: 12px;
    text-decoration: none; color: #fff;
    font-family: var(--font-body); font-weight: 600; font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 4px;
    transition: all 0.3s ease;
    opacity: 0; /* JS Start */
}
.impact-btn:hover { border-color: #fff; gap: 16px; }

/* Right Stats Grid */
.impact-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.stat-item {
    border-left: 1px solid var(--glass-border);
    padding-left: 30px;
    opacity: 0; /* JS Start */
}

.stat-header {
    display: flex; align-items: baseline;
    font-family: var(--font-head);
    color: #fff;
    font-weight: 400; /* Lighter weight for premium feel */
    margin-bottom: 8px;
}

.stat-number {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.stat-suffix {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-left: 4px;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 1024px) {
    .impact-container { grid-template-columns: 1fr; gap: 60px; }
    .impact-bg-line { display: none; }
    .impact-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .impact-stats { grid-template-columns: 1fr; gap: 30px; }
    .stat-item { border-left: none; border-top: 1px solid var(--glass-border); padding-left: 0; padding-top: 20px; }
}

















/* --- MARQUEE --- */
.marquee-section {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: transparent;
    overflow: hidden;
    position: relative;
    z-index: 2;
}
.marquee-content {
    display: flex; gap: 60px;
    white-space: nowrap;
    animation: moveMarquee 30s linear infinite;
}
.m-item {
    font-family: var(--font-head);
    font-size: 14px; color: var(--text-secondary);
    font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex; align-items: center; gap: 10px;
}
.m-item::before {
    content: ''; display: block; width: 6px; height: 6px;
    background: #fff; border-radius: 50%; opacity: 0.3;
}
@keyframes moveMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- SERVICES SECTION --- */
.services-section {
    padding: 140px 5%;
    position: relative;
    /*background:rgb(8,16,27);*/
    z-index: 2;
}

/* Header */
.section-header {
    max-width: var(--container); margin: 0 auto 60px;
    display: flex; justify-content: space-between; align-items: end;
}
.sec-title {
    font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem);
    color: #fff; line-height: 1.1; margin-bottom: 10px;
    opacity: 0; /* Hidden initially for JS */
}
.sec-subtitle {
    color: var(--text-secondary); max-width: 400px;
    line-height: 1.6; font-size: 1rem; text-align: right;
    opacity: 0; /* Hidden initially for JS */
}

/* Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 350px;
    gap: 24px;
    max-width: var(--container); margin: 0 auto;
}

/* Card Styles */
.service-card {
    position: relative;
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    display: flex; flex-direction: column; justify-content: space-between;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: default;

    opacity: 0; /* Hidden initially for JS */
    will-change: transform, opacity, filter;
}

/* Spotlight Effect: The magic glow */
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    padding: 1.5px; /* Border thickness */
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.4),
        transparent 40%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 3;
}

.service-card:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-5px); }

/* Card Inner Content */
.card-icon {
    width: 50px; height: 50px; border-radius: 12px;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; color: #fff;
    border: 1px solid rgba(255,255,255,0.05);
}
.card-title {
    font-family: var(--font-head); font-size: 1.4rem;
    margin-bottom: 12px; color: #fff;
    position: relative; z-index: 2;
}
.card-desc {
    color: var(--text-secondary); font-size: 0.95rem;
    line-height: 1.6; position: relative; z-index: 2;
}

/* Decorative huge icon in background */
.card-bg-icon {
    position: absolute; bottom: -20px; right: -20px;
    width: 180px; height: 180px;
    color: rgba(255,255,255,0.02);
    pointer-events: none; z-index: 1;
}

/* Spans */
.span-2 { grid-column: span 2; }
.span-1 { grid-column: span 1; }

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .span-2 { grid-column: span 1; }
    .service-card { min-height: 280px; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .sec-subtitle { text-align: left; }
}
























/* --- ADVANTAGES SECTION --- */
.advantages-section {
    padding: 140px 5%;
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--glass-border);
}

/* Grid Layout */
.adv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: var(--container);
    margin: 0 auto;
}

/* Card Style */
.adv-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    /* Animation Start */
    opacity: 0;
}

/* Hover Effect: Glow border & Lift */
.adv-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

/* Giant Background Number */
.adv-bg-num {
    position: absolute;
    top: 20px; right: 30px;
    font-family: var(--font-head);
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, 0.03);
    user-select: none;
    pointer-events: none;
    transition: transform 0.5s ease;
}
.adv-card:hover .adv-bg-num {
    transform: scale(1.1) rotate(-5deg);
    color: rgba(255, 255, 255, 0.05);
}

/* Icon */
.adv-icon {
    width: 60px; height: 60px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 30px;
    position: relative; z-index: 2;
}

/* Typography */
.adv-title {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    position: relative; z-index: 2;
}

.adv-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 400px;
    position: relative; z-index: 2;
}

/* Responsive */
@media (max-width: 900px) {
    .adv-grid { grid-template-columns: 1fr; }
    .adv-card { padding: 30px; }
    .adv-bg-num { font-size: 6rem; top: 10px; right: 20px; }
}



















/* --- FOOTER SECTION --- */
.footer-section {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
}

/* 1. CTA Area */
.footer-cta {
    padding: 160px 5% 100px;
    display: flex; justify-content: center; text-align: center;
}

.cta-title {
    font-family: var(--font-head);
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1; color: #fff;
    margin-bottom: 60px;
    opacity: 0; /* JS Start */
}
.italic-text {
    font-style: italic;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Magnetic Button (Big) */
.magnetic-btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    width: 200px; height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
    overflow: hidden;
    transition: border-color 0.3s ease;
    background: rgba(255,255,255,0.02);

    /* Animation Start */
    transform: scale(0);
}

.btn-text {
    position: relative; z-index: 2;
    font-family: var(--font-head); font-size: 14px; font-weight: 600;
    color: #fff; text-transform: uppercase; letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.btn-fill {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: #fff;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
}

.magnetic-btn:hover { border-color: #fff; }
.magnetic-btn:hover .btn-fill { transform: scale(1); }
.magnetic-btn:hover .btn-text { color: #000; }

/* 2. Footer Nav */
.footer-nav {
    padding: 80px 5% 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    max-width: var(--container); margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 40px; margin-bottom: 100px;
}

.f-head {
    font-family: var(--font-head); font-size: 12px; color: #fff;
    opacity: 0.4; text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.f-links { list-style: none; padding: 0; }
.f-links li { margin-bottom: 12px; }
.f-links a {
    color: var(--text-secondary); text-decoration: none;
    font-size: 16px; transition: color 0.3s;
}
.f-links a:hover { color: #fff; }
.f-address { color: var(--text-secondary); line-height: 1.6; margin-top: 20px; }

/* 3. Bottom Brand */
.footer-brand {
    text-align: center;
    overflow: hidden;
}

.f-giant-text {
    font-family: var(--font-head);
    font-size: 24vw; line-height: 0.75;
    font-weight: 900; color: #0a0a0a; /* Very subtle text */
    user-select: none;
    opacity: 0; /* JS Start */
}

.f-copyright {
    display: flex; justify-content: space-between;
    margin-top: 40px; padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    font-size: 12px; color: #444;
    text-transform: uppercase;
}
.f-legal { display: flex; gap: 20px; }
.f-legal a { color: #444; text-decoration: none; transition: color 0.3s; }
.f-legal a:hover { color: #888; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .f-copy { flex-direction: column; gap: 10px; align-items: center; }
    .magnetic-btn { width: 150px; height: 150px; }
}



 .scroll-progress {
            position: fixed; top: 0; left: 0; height: 3px; width: 0%;
            background: linear-gradient(90deg, #ababab, #ffffff); z-index: 9999;
        }
        /* Cursor Styles */
        .cursor-dot, .cursor-outline {
            position: fixed; top: 0; left: 0; transform: translate(-50%, -50%);
            border-radius: 50%; z-index: 9999; pointer-events: none;
        }
        .cursor-dot { width: 6px; height: 6px; background: white; }
        .cursor-outline { width: 30px; height: 30px; border: 1px solid rgba(255,255,255,0.3); }

        /* Fixed Socials */
        .socials {
            position: fixed; z-index: 100;
            display: flex; flex-direction: column; gap: 20px;
        }
        .social-link svg {
            width: 20px; height: 20px; fill: rgba(255,255,255,0.5); transition: 0.3s;
        }
        .social-link:hover svg {
            fill: #fff; transform: scale(1.2);
        }



















        /* --- CONTACT SECTION --- */
.contact-section {
    padding: 160px 5%;
    background: rgb(8,16,27);
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--glass-border);
    overflow: hidden;
}

/* Subtle background glow */
.contact-bg-glow {
    position: absolute; right: 0; top: 20%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
    filter: blur(80px); pointer-events: none;
}

.contact-container {
    max-width: var(--container); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 100px;
}

/* Left Content */
.contact-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 5vw, 3rem);
    color: #fff; line-height: 1.1; margin-bottom: 30px;
    opacity: 0; /* JS Start */
}
.text-outline {
    color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.3);
}

.contact-desc {
    font-family: var(--font-body); font-size: 1.1rem;
    color: var(--text-secondary); line-height: 1.7;
    margin-bottom: 60px; max-width: 450px;
    opacity: 0; /* JS Start */
}

.contact-details {
    display: flex; flex-direction: column; gap: 30px;
    opacity: 0; /* JS Start */
}
.cd-label {
    display: block; font-family: var(--font-head); font-size: 12px;
    color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.cd-link {
    font-family: var(--font-body); font-size: 1.5rem;
    color: #fff; text-decoration: none;
    transition: color 0.3s ease;
}
.cd-link:hover { color: #ccc; }

/* Right Form */
.contact-form-wrapper {
    padding-top: 20px;
    opacity: 0; /* JS Start */
}

.form-group {
    position: relative;
    margin-bottom: 40px;
}

/* Input Styles */
.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    font-family: var(--font-body); font-size: 1.2rem; color: #fff;
    outline: none;
    border-radius: 0; /* Reset */
    transition: border-color 0.3s ease;
}

.form-textarea { resize: vertical; min-height: 40px; }

/* Floating Label Animation */
.form-label {
    position: absolute; left: 0; top: 15px;
    font-family: var(--font-body); font-size: 1.2rem; color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -15px;
    font-size: 0.9rem;
    color: #fff;
    font-family: var(--font-head);
    letter-spacing: 0.05em;
}

/* Animated Border Line */
.input-border {
    position: absolute; bottom: 0; left: 0;
    width: 0%; height: 1px;
    background: #fff;
    transition: width 0.4s ease;
}
.form-input:focus ~ .input-border { width: 100%; }

/* Submit Button */
.submit-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 20px 40px;
    font-family: var(--font-head); font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em;
    cursor: pointer;
    display: flex; align-items: center; gap: 15px;
    transition: all 0.3s ease;
    border-radius: 100px;
}
.submit-btn:hover {
    background: #fff; color: #000; padding-right: 50px;
}

@media (max-width: 900px) {
    .contact-container { grid-template-columns: 1fr; gap: 60px; }
}















nav {
    position: fixed;
    top: 24px; left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 600px; /* Ensure enough width for menu */
    max-width: 90%;
    padding: 8px 8px 8px 24px;

    display: flex; align-items: center; justify-content: space-between;
    z-index: 100;

    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lang-switcher {
    position: fixed;
    top: 24px;
    right: 40px;
    z-index: 101;
    font-family: var(--font-body);
}

.lang-btn {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 10px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 100px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-opt {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.2s;
    text-align: center;
    font-weight: 500;
}

.lang-opt:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.lang-opt.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
}

@media (max-width: 768px) {
    nav {
        min-width: auto;
        width: calc(100% - 40px);
        top: 20px;
        left: 20px;
        transform: none;
        justify-content: space-between;
    }


    .lang-switcher {
        top: 80px;
        right: 20px;
    }
}







        .services-section, .advantages-section {
            position: relative;
            overflow: hidden; /* Clip decorations */
        }
        .tech-decor-layer {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 0;
        }
        /* Ensure content sits above decor */
        .section-header, .bento-grid, .adv-grid {
            position: relative;
            z-index: 1;
        }
        .decor-item {
            position: absolute;
            opacity: 0.15; /* Increased visibility */
            color: currentColor;
            will-change: transform;
        }
        /* Specific Item Positioning */
        .decor-brackets { top: 10%; right: -5%; transform: rotate(-15deg); width: 300px; height: 300px; opacity: 0.1; }
        .decor-hex { bottom: 15%; left: -5%; width: 250px; height: 250px; opacity: 0.1; }
        .decor-circle {
            top: 30%;
            left: 15%;
            width: 400px;
            height: 400px;
            border: 1px dashed currentColor;
            border-radius: 50%;
            opacity: 0.05;
        }
        .decor-code {
            bottom: 30%; right: 10%; font-family: monospace; font-size: 2rem; opacity: 0.1; font-weight: 700;
        }
        /* New Blob Style */
        .decor-blob {
            position: absolute;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, #ff3b30 0%, transparent 70%);
            filter: blur(80px);
            border-radius: 50%;
            opacity: 0.15;
            z-index: -1;
        }




        .services-section, .advantages-section, .projects-section, .impact-section {
            position: relative;
            overflow: hidden;
        }
        .tech-decor-layer {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 0;
        }
        .section-header, .bento-grid, .adv-grid, .project-list, .impact-container {
            position: relative;
            z-index: 1;
        }
        .decor-item {
            position: absolute;
            opacity: 0.15;
            color: currentColor;
            will-change: transform;
        }
        .decor-brackets { top: 10%; right: -5%; transform: rotate(-15deg); width: 300px; height: 300px; opacity: 0.1; }
        .decor-hex { bottom: 15%; left: -5%; width: 250px; height: 250px; opacity: 0.1; }
        .decor-circle {
            top: 30%; left: 15%; width: 400px; height: 400px;
            border: 1px dashed currentColor; border-radius: 50%; opacity: 0.05;
        }
        .decor-code {
            bottom: 30%; right: 10%; font-family: monospace; font-size: 2rem; opacity: 0.1; font-weight: 700;
        }
        .decor-blob {
            position: absolute; width: 600px; height: 600px;
            background: radial-gradient(circle, #ff3b30 0%, transparent 70%);
            filter: blur(80px); border-radius: 50%; opacity: 0.15; z-index: -1;
        }














/* --- TECH DIVIDER --- */
.tech-divider {
    position: relative;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.05); /* Faint guide line */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    overflow: visible;
}

/* The Glitchy Line Segment */
.divider-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,0.2) 20%,
        rgba(255,255,255,0.2) 80%,
        transparent 100%
    );
    opacity: 0.5;
}

/* The Center Crosshair/Icon */
.divider-icon {
    background: rgb(8,16,27); /* Matches body bg to cut the line */
    padding: 0 15px;
    color: rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Optional: Add small ticks on the sides for a ruler effect */
.tech-divider::before, .tech-divider::after {
    content: '';
    position: absolute;
    top: -5px;
    width: 1px;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
}
.tech-divider::before { left: 20%; }
.tech-divider::after { right: 20%; }

/* Mobile Adjust */
@media (max-width: 768px) {
    .tech-divider::before, .tech-divider::after { display: none; }
}