/* =========================================================
   DZITU TECHNOLOGIES — MODERN FUTURISTIC DESIGN
   ========================================================= */

:root{
    --primary:#5b4bff;
    --primary-2:#7c5cff;
    --accent:#00d9ff;
    --yellow:#ffe600;
    --text:#17172b;
    --muted:#66677a;
    --surface:#ffffff;
    --surface-2:#f5f6ff;
    --border:rgba(91,75,255,.14);
    --shadow:0 20px 60px rgba(32,25,93,.12);
    --shadow-hover:0 30px 80px rgba(32,25,93,.20);
    --nav-bg:rgba(30,24,85,.78);
    --radius:24px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

html{
    scroll-padding-top:90px;
}

body{
    font-family:'Poppins',sans-serif;
    background:var(--surface);
    color:var(--text);
    overflow-x:hidden;
    line-height:1.6;
    transition:background .35s ease,color .35s ease;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:-2;
    background:
        radial-gradient(circle at 10% 10%,rgba(91,75,255,.08),transparent 28%),
        radial-gradient(circle at 90% 20%,rgba(0,217,255,.07),transparent 25%),
        radial-gradient(circle at 50% 90%,rgba(124,92,255,.06),transparent 30%);
}

img{
    max-width:100%;
}

button,
input,
textarea{
    font:inherit;
}

button{
    border:0;
}

a{
    color:inherit;
}

/* ================= NAVBAR ================= */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:9999;
    padding:12px 0;
    background:rgba(40,30,125,.72);
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    border-bottom:1px solid rgba(255,255,255,.12);
    box-shadow:0 10px 35px rgba(20,10,70,.15);
    transition:.35s ease;
}

header.scrolled{
    padding:7px 0;
    background:rgba(27,21,84,.92);
}

.navbar{
    width:min(1400px,92%);
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
    min-height:66px;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    color:#fff;
    font-size:21px;
    font-weight:800;
    letter-spacing:-.5px;
    text-decoration:none;
}

.logo img{
    width:48px;
    height:48px;
    object-fit:cover;
    border-radius:14px;
    box-shadow:0 8px 25px rgba(0,0,0,.2);
    transition:.4s ease;
}

.logo:hover img{
    transform:rotate(-6deg) scale(1.08);
}

.nav-links{
    display:flex;
    align-items:center;
    gap:32px;
    list-style:none;
}

.nav-links a{
    position:relative;
    color:#fff;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
    padding:10px 2px;
    transition:.3s ease;
}

.nav-links a::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:0;
    width:0;
    height:2px;
    transform:translateX(-50%);
    background:var(--yellow);
    box-shadow:0 0 12px var(--yellow);
    transition:.3s ease;
}

.nav-links a:hover{
    color:var(--yellow);
}

.nav-links a:hover::after{
    width:100%;
}

.nav-buttons{
    display:flex;
    align-items:center;
    gap:12px;
}

#themeToggle{
    width:44px;
    height:44px;
    border-radius:50%;
    background:rgba(255,255,255,.13);
    color:#fff;
    border:1px solid rgba(255,255,255,.16);
    cursor:pointer;
    display:grid;
    place-items:center;
    font-size:17px;
    transition:.35s ease;
}

#themeToggle:hover{
    background:var(--yellow);
    color:#111;
    transform:rotate(180deg) scale(1.08);
}

.menu-btn{
    display:none;
    color:#fff;
    font-size:28px;
    cursor:pointer;
}

/* ================= HERO ================= */

.hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    overflow:hidden;
    isolation:isolate;
    padding:130px 20px 80px;
    background:
        radial-gradient(circle at 15% 20%,rgba(0,217,255,.16),transparent 25%),
        radial-gradient(circle at 85% 25%,rgba(124,92,255,.22),transparent 30%),
        linear-gradient(135deg,#eef0ff 0%,#f8faff 48%,#edfaff 100%);
}

.hero::before{
    content:"";
    position:absolute;
    width:700px;
    height:700px;
    border-radius:50%;
    background:linear-gradient(135deg,rgba(91,75,255,.13),rgba(0,217,255,.08));
    filter:blur(2px);
    top:-360px;
    right:-180px;
    z-index:-1;
    animation:heroOrb 12s ease-in-out infinite alternate;
}

.hero::after{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    background:rgba(124,92,255,.09);
    bottom:-300px;
    left:-180px;
    z-index:-1;
    animation:heroOrb2 14s ease-in-out infinite alternate;
}

@keyframes heroOrb{
    to{transform:translate(-80px,80px) rotate(25deg) scale(1.12);}
}

@keyframes heroOrb2{
    to{transform:translate(80px,-60px) scale(1.18);}
}

.hero-content{
    position:relative;
    width:min(1000px,100%);
    z-index:3;
}

.hero h1,
.hero h2{
    perspective:1000px;
    transform-style:preserve-3d;
}

.hero h1{
    font-size:clamp(3rem,8vw,6.5rem);
    line-height:1;
    font-weight:900;
    letter-spacing:-4px;
    color:#4b39d3;
    margin-bottom:22px;
    text-shadow:
        1px 1px 0 #3b2bab,
        2px 2px 0 #34259c,
        4px 4px 0 rgba(52,37,156,.25),
        0 18px 35px rgba(75,57,211,.2);
    animation:titleFloat 5s ease-in-out infinite;
}

@keyframes titleFloat{
    0%,100%{transform:translateY(0) rotateX(0deg);}
    50%{transform:translateY(-7px) rotateX(2deg);}
}

.hero h2{
    font-size:clamp(1.8rem,4vw,3.5rem);
    line-height:1.15;
    font-weight:800;
    color:#201a54;
    margin-bottom:20px;
}

.hero p{
    max-width:720px;
    margin:0 auto 38px;
    font-size:clamp(1rem,2vw,1.25rem);
    color:#5e6073;
}

.hero-btn{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:16px 32px;
    min-width:200px;
    border-radius:999px;
    color:#fff;
    text-decoration:none;
    font-weight:800;
    background:linear-gradient(135deg,var(--primary),var(--primary-2));
    box-shadow:0 16px 35px rgba(91,75,255,.32);
    overflow:hidden;
    transition:.35s ease;
}

.hero-btn::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(110deg,transparent 25%,rgba(255,255,255,.4),transparent 65%);
    transform:translateX(-120%);
    transition:.6s ease;
}

.hero-btn:hover{
    transform:translateY(-5px) scale(1.03);
    box-shadow:0 24px 45px rgba(91,75,255,.4);
}

.hero-btn:hover::before{
    transform:translateX(120%);
}

/* Floating decorative tech shapes are injected by JS */
.hero-shape{
    position:absolute;
    width:70px;
    height:70px;
    border:1px solid rgba(91,75,255,.18);
    background:rgba(255,255,255,.35);
    backdrop-filter:blur(12px);
    border-radius:20px;
    box-shadow:0 20px 45px rgba(53,42,145,.12);
    pointer-events:none;
    transform-style:preserve-3d;
    animation:shapeFloat 7s ease-in-out infinite;
}

.hero-shape::after{
    content:"";
    position:absolute;
    inset:18px;
    border-radius:12px;
    background:linear-gradient(135deg,var(--primary),var(--accent));
    opacity:.8;
    box-shadow:0 0 25px rgba(91,75,255,.25);
}

.shape-1{left:7%;top:27%;transform:rotate(18deg);animation-delay:-1s;}
.shape-2{right:9%;top:32%;width:90px;height:90px;border-radius:50%;animation-delay:-3s;}
.shape-3{right:17%;bottom:15%;transform:rotate(35deg);animation-delay:-5s;}
.shape-4{left:14%;bottom:18%;width:52px;height:52px;border-radius:50%;animation-delay:-2s;}

@keyframes shapeFloat{
    0%,100%{translate:0 0;rotate:0deg;}
    50%{translate:0 -25px;rotate:12deg;}
}

/* ================= GENERAL SECTIONS ================= */

.services,
.about,
.projects,
.contact{
    position:relative;
    padding:110px 6%;
}

.services{
    background:var(--surface-2);
}

.section-title{
    max-width:800px;
    margin:0 auto 65px;
    text-align:center;
}

.section-title h2,
.about h2,
.contact h2{
    font-size:clamp(2.1rem,5vw,3.2rem);
    line-height:1.1;
    font-weight:900;
    color:var(--primary);
    letter-spacing:-1.5px;
    text-shadow:0 4px 0 rgba(91,75,255,.08);
}

.section-title p{
    max-width:700px;
    margin:16px auto 0;
    color:var(--muted);
    font-size:17px;
}

/* ================= SERVICE CARDS ================= */

.services-grid{
    width:min(1400px,100%);
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.service-card{
    position:relative;
    overflow:hidden;
    border:1px solid var(--border);
    border-radius:var(--radius);
    background:rgba(255,255,255,.84);
    box-shadow:var(--shadow);
    transform-style:preserve-3d;
    transition:transform .25s ease,box-shadow .35s ease,border-color .35s ease;
}

.service-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(120deg,rgba(255,255,255,.35),transparent 45%);
    pointer-events:none;
    z-index:2;
}

.service-card:hover{
    box-shadow:var(--shadow-hover);
    border-color:rgba(91,75,255,.35);
}

.service-card img{
    display:block;
    width:100%;
    height:230px;
    object-fit:cover;
    transition:transform .65s cubic-bezier(.2,.8,.2,1),filter .5s ease;
}

.service-card:hover img{
    transform:scale(1.07);
    filter:saturate(1.12) contrast(1.03);
}

.service-content{
    position:relative;
    z-index:3;
    padding:26px;
}

.service-content h3{
    color:var(--primary);
    font-size:24px;
    margin-bottom:15px;
}

.service-content p,
.service-content li{
    color:var(--muted);
}

.service-content ul{
    list-style:none;
    margin-bottom:20px;
}

.service-content li{
    padding:5px 0;
}

.service-content li::first-letter{
    color:var(--accent);
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 22px;
    border-radius:12px;
    background:linear-gradient(135deg,var(--primary),var(--primary-2));
    color:#fff;
    text-decoration:none;
    font-weight:700;
    transition:.3s ease;
    box-shadow:0 10px 25px rgba(91,75,255,.2);
}

.btn:hover{
    transform:translateY(-3px);
    background:var(--yellow);
    color:#111;
}

/* ================= INTERNET PLANS ================= */

.plans{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin-top:22px;
}

.plan{
    position:relative;
    padding:18px 12px;
    text-align:center;
    border:1px solid rgba(91,75,255,.25);
    border-radius:18px;
    background:rgba(91,75,255,.04);
    transition:.3s ease;
}

.plan:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 25px rgba(91,75,255,.13);
}

.plan.popular{
    border-color:#ffd400;
    background:rgba(255,212,0,.08);
}

.popular small{
    position:absolute;
    top:-12px;
    left:50%;
    transform:translateX(-50%);
    white-space:nowrap;
    padding:4px 12px;
    border-radius:999px;
    background:#ffd400;
    color:#111;
    font-size:11px;
    font-weight:800;
}

.plan h4{
    font-size:20px;
    margin-bottom:5px;
}

.plan span{
    display:block;
    font-weight:700;
    margin-bottom:12px;
}

.plan-btn{
    width:100%;
    padding:10px;
    border-radius:10px;
    background:var(--primary);
    color:#fff;
    cursor:pointer;
    font-weight:700;
    transition:.3s ease;
}

.plan-btn:hover{
    background:var(--yellow);
    color:#111;
    transform:translateY(-2px);
}

/* ================= ABOUT ================= */

.about{
    background:var(--surface);
}

.about-container{
    width:min(1400px,100%);
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.about-image{
    position:relative;
    perspective:1200px;
}

.about-image::before{
    content:"";
    position:absolute;
    inset:-18px;
    border:1px solid rgba(91,75,255,.15);
    border-radius:30px;
    transform:rotate(-4deg);
    z-index:0;
}

.about-image img{
    position:relative;
    z-index:1;
    display:block;
    width:100%;
    height:460px;
    object-fit:cover;
    border-radius:25px;
    box-shadow:0 30px 70px rgba(32,25,93,.2);
    transform:rotateY(-3deg) rotateX(2deg);
    transition:.5s ease;
}

.about-image:hover img{
    transform:rotateY(3deg) rotateX(-2deg) scale(1.015);
}

.about-text h2{
    margin-bottom:22px;
}

.about-text p{
    color:var(--muted);
    font-size:17px;
    margin-bottom:18px;
}

.stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
    margin-top:32px;
}

.stat{
    padding:20px 12px;
    border-radius:18px;
    text-align:center;
    background:var(--surface-2);
    border:1px solid var(--border);
    transition:.3s ease;
}

.stat:hover{
    transform:translateY(-6px);
    box-shadow:0 15px 35px rgba(32,25,93,.1);
}

.stat h3{
    color:var(--primary);
    font-size:38px;
    line-height:1;
    margin-bottom:8px;
}

.stat span{
    color:var(--muted);
    font-size:14px;
}

/* ================= PROJECTS ================= */

.projects{
    background:var(--surface-2);
}

.project-filter{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    margin:0 0 40px;
}

.filter-btn{
    padding:10px 20px;
    border-radius:999px;
    background:var(--primary);
    color:#fff;
    cursor:pointer;
    font-weight:700;
    transition:.3s ease;
}

.filter-btn.active,
.filter-btn:hover{
    background:var(--yellow);
    color:#111;
}

.project-grid{
    width:min(1400px,100%);
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.project-card{
    position:relative;
    overflow:hidden;
    border-radius:22px;
    min-height:260px;
    box-shadow:var(--shadow);
}

.project-card img{
    width:100%;
    height:280px;
    object-fit:cover;
    transition:.6s ease;
}

.project-card:hover img{
    transform:scale(1.09);
}

.overlay{
    position:absolute;
    inset:auto 0 0;
    padding:24px;
    color:#fff;
    background:linear-gradient(transparent,rgba(0,0,0,.86));
    transform:translateY(20px);
    opacity:.92;
    transition:.4s ease;
}

.project-card:hover .overlay{
    transform:translateY(0);
    opacity:1;
}

/* ================= CONTACT ================= */

.contact{
    background:
        radial-gradient(circle at 15% 20%,rgba(0,217,255,.15),transparent 28%),
        radial-gradient(circle at 85% 80%,rgba(124,92,255,.25),transparent 30%),
        linear-gradient(135deg,#3427a7,#5b4bff);
    color:#fff;
}

.contact h2{
    color:#fff;
    text-shadow:0 5px 20px rgba(0,0,0,.18);
}

.contact > p{
    text-align:center;
    color:rgba(255,255,255,.82);
    margin-top:12px;
}

.contact-wrapper{
    width:min(1200px,100%);
    margin:50px auto 0;
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:35px;
}

.contact-form,
.contact-info{
    padding:32px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:25px;
    background:rgba(255,255,255,.1);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    box-shadow:0 25px 60px rgba(20,10,80,.18);
}

.contact-form input,
.contact-form textarea{
    width:100%;
    border:1px solid rgba(255,255,255,.18);
    outline:none;
    padding:16px;
    margin-bottom:15px;
    border-radius:13px;
    color:#fff;
    background:rgba(0,0,0,.12);
    transition:.3s ease;
}

.contact-form textarea{
    min-height:150px;
    resize:vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
    color:rgba(255,255,255,.65);
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color:var(--accent);
    box-shadow:0 0 0 4px rgba(0,217,255,.12);
}

.contact-form button{
    width:100%;
    padding:15px;
    border-radius:13px;
    background:var(--yellow);
    color:#111;
    font-weight:800;
    cursor:pointer;
    transition:.3s ease;
}

.contact-form button:hover{
    transform:translateY(-3px);
    box-shadow:0 15px 30px rgba(0,0,0,.2);
}

.contact-info h3{
    margin-bottom:20px;
    font-size:25px;
}

.contact-info p{
    margin-bottom:15px;
    color:rgba(255,255,255,.9);
}

.contact-info p i{
    width:26px;
    color:var(--yellow);
}

.contact-info iframe{
    width:100%;
    height:270px;
    border:0;
    border-radius:16px;
    margin-top:15px;
}

/* ================= FOOTER ================= */

footer{
    background:#0b0b13;
    color:#fff;
    padding:65px 6% 25px;
}

.footer-container{
    width:min(1400px,100%);
    margin:auto;
    display:grid;
    grid-template-columns:1.5fr 1fr 1fr;
    gap:45px;
}

.footer-container h3{
    font-size:25px;
}

.footer-container h4{
    margin-bottom:15px;
}

.footer-container p,
.footer-container a{
    color:#aaa;
}

.footer-container a{
    display:block;
    width:max-content;
    text-decoration:none;
    margin:9px 0;
    transition:.3s ease;
}

.footer-container a:hover{
    color:var(--yellow);
    transform:translateX(4px);
}

.copyright{
    width:min(1400px,100%);
    margin:45px auto 0;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.12);
    text-align:center;
    color:#888;
    font-size:14px;
}

/* ================= FLOATING ACTIONS ================= */

.floating-whatsapp{
    position:fixed;
    right:25px;
    bottom:25px;
    width:62px;
    height:62px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    font-size:31px;
    text-decoration:none;
    box-shadow:0 12px 35px rgba(37,211,102,.35);
    z-index:9998;
    animation:whatsappPulse 2.5s infinite;
    transition:.3s ease;
}

.floating-whatsapp:hover{
    transform:scale(1.12) rotate(-5deg);
}

@keyframes whatsappPulse{
    0%,100%{box-shadow:0 12px 35px rgba(37,211,102,.35);}
    50%{box-shadow:0 12px 45px rgba(37,211,102,.65),0 0 0 12px rgba(37,211,102,.08);}
}

#topBtn{
    position:fixed;
    right:28px;
    bottom:105px;
    width:50px;
    height:50px;
    display:none;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    cursor:pointer;
    z-index:9997;
    box-shadow:0 10px 25px rgba(0,0,0,.18);
    transition:.3s ease;
}

#topBtn:hover{
    transform:translateY(-5px);
    background:var(--yellow);
    color:#111;
}

/* ================= LOADER ================= */

#loader{
    position:fixed;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    z-index:100000;
    transition:opacity .5s ease,visibility .5s ease;
}

#loader.hidden{
    opacity:0;
    visibility:hidden;
}

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

.spinner{
    width:70px;
    height:70px;
    margin:0 auto 18px;
    border:7px solid #e9e9f5;
    border-top-color:var(--primary);
    border-right-color:var(--accent);
    border-radius:50%;
    animation:spin .9s linear infinite;
}

@keyframes spin{
    to{transform:rotate(360deg);}
}

/* ================= DARK MODE ================= */

body.dark{
    --text:#f5f5fa;
    --muted:#c1c2d0;
    --surface:#11111a;
    --surface-2:#181824;
    --border:rgba(255,255,255,.09);
    background:#0e0e16;
    color:#f5f5fa;
}

body.dark::before{
    background:
        radial-gradient(circle at 10% 10%,rgba(91,75,255,.12),transparent 28%),
        radial-gradient(circle at 90% 20%,rgba(0,217,255,.06),transparent 25%);
}

body.dark .hero{
    background:
        radial-gradient(circle at 15% 20%,rgba(0,217,255,.07),transparent 25%),
        radial-gradient(circle at 85% 25%,rgba(124,92,255,.12),transparent 30%),
        linear-gradient(135deg,#0b0b12,#151525);
}

body.dark .hero h1{
    color:#8d80ff;
    text-shadow:
        1px 1px 0 #5b4bff,
        3px 3px 0 #3f35a5,
        0 18px 40px rgba(91,75,255,.3);
}

body.dark .hero h2{
    color:#f4f3ff;
}

body.dark .hero p{
    color:#c7c7d6;
}

body.dark .hero-shape{
    background:rgba(255,255,255,.05);
    border-color:rgba(255,255,255,.08);
}

body.dark .service-card,
body.dark .stat{
    background:#1a1a27;
}

body.dark .section-title h2,
body.dark .about h2{
    color:#8d80ff;
}

body.dark .service-content h3,
body.dark .stat h3{
    color:#8d80ff;
}

body.dark .contact{
    background:linear-gradient(135deg,#171238,#2b2370);
}

body.dark #loader{
    background:#0e0e16;
    color:#fff;
}

/* ================= REDUCED MOTION ================= */

@media (prefers-reduced-motion:reduce){
    *,
    *::before,
    *::after{
        scroll-behavior:auto!important;
        animation-duration:.01ms!important;
        animation-iteration-count:1!important;
        transition-duration:.01ms!important;
    }
}
