/* ============================================
   SERVICES PAGE
   Uses global design tokens & circuit background
   from style.css & variables.css.
============================================ */

.services-page{
    background: transparent;
    min-height: 100vh;
}

.services-hero{
    padding: 60px 0 40px;
}

.services-hero-container{
    width:min(1250px,90%);
    margin:auto;

    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:80px;
}

/* ========================= */
/* HERO LEFT */
/* ========================= */

.services-left{
    display:flex;
    flex-direction:column;
    gap:28px;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    width:max-content;

    padding:10px 22px;

    border-radius:40px;

    background:rgba(255,176,0,.12);

    color:var(--primary);

    font-weight:600;

    border:1px solid rgba(255,176,0,.25);
}

.services-left h1{

    font-size:62px;

    line-height:1.1;

    font-weight:700;
}

.services-left h1 span{

    color:var(--primary);

}

.services-left p{

    color:var(--text);

    font-size:18px;

    line-height:1.8;

    max-width:620px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    margin-top:10px;

}

.primary-btn{

    padding:18px 36px;

    border-radius:50px;

    text-decoration:none;

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    color:#fff;

    font-weight:600;

    transition:.35s;

}

.primary-btn:hover{

    transform:translateY(-4px);

}

.secondary-btn{

    padding:18px 36px;

    border-radius:50px;

    text-decoration:none;

    color:#fff;

    border:1px solid rgba(255,255,255,.15);

    background:#151515;

    transition:.35s;

}

.secondary-btn:hover{

    border-color:var(--primary);

}

/* ===================================
   SERVICES SECTION
=================================== */

.services-section{
    padding:120px 0;
    position:relative;
}

.services-heading{
    text-align:center;
    margin-bottom:70px;
}

.services-heading span{
    color:var(--primary);
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
    font-size:.9rem;
}

.services-heading h2{
    margin-top:15px;
    font-size:3rem;
    font-weight:700;
}

.services-heading p{
    margin-top:15px;
    color:var(--text);
    max-width:700px;
    margin-inline:auto;
    line-height:1.8;
}

/* ================= GRID ================= */

.services-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}

/* ================= CARD ================= */

.service-card{

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    border-radius:26px;

    padding:40px 35px;

    transition:.4s;

    position:relative;

    overflow:hidden;

    backdrop-filter:blur(18px);

}

/* Glow */

.service-card::before{

    content:"";

    position:absolute;

    width:220px;

    height:220px;

    background:rgba(255,176,0,.15);

    filter:blur(80px);

    top:-80px;

    right:-80px;

    opacity:0;

    transition:.5s;

}

/* Hover */

.service-card:hover{

    transform:translateY(-12px);

    border-color:rgba(255,176,0,.4);

    box-shadow:

    0 20px 50px rgba(255,176,0,.12);

}

.service-card:hover::before{

    opacity:1;

}

/* Icon */

.service-icon{

    width:72px;

    height:72px;

    border-radius:18px;

    background:rgba(255,176,0,.12);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:28px;

    color:var(--primary);

    margin-bottom:25px;

    transition:.4s;

}

.service-card:hover .service-icon{

    transform:rotate(-8deg) scale(1.12);

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:#fff;

}

/* Title */

.service-card h3{

    font-size:1.55rem;

    margin-bottom:18px;

}

/* Text */

.service-card p{

    color:var(--text);

    line-height:1.8;

    margin-bottom:28px;

}

/* Button */

.service-card a{

    color:var(--primary);

    text-decoration:none;

    font-weight:600;

    display:inline-flex;

    align-items:center;

    gap:8px;

    transition:.3s;

}

.service-card:hover a{

    transform:translateX(8px);

}

/* ===================================
   WHY CHOOSE US
=================================== */

.why-section{

    padding:120px 0;

}

.why-wrapper{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.why-left h2{

    font-size:3rem;

    margin-bottom:20px;

}

.why-left p{

    color:var(--text);

    line-height:1.9;

    margin-bottom:40px;

}

/* Feature Box */

.why-feature{

    display:flex;

    align-items:flex-start;

    gap:18px;

    margin-bottom:30px;

}

.why-feature i{

    width:60px;

    height:60px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:18px;

    background:rgba(255,176,0,.12);

    color:var(--primary);

    font-size:22px;

    transition:.4s;

}

.why-feature:hover i{

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:#fff;

    transform:rotate(-8deg) scale(1.1);

}

.why-feature h4{

    font-size:1.2rem;

    margin-bottom:8px;

}

.why-feature p{

    color:var(--text);

    line-height:1.7;

}

/* Right Card */

.why-right{

    position:relative;

}

.why-card{

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    border-radius:30px;

    padding:45px;

    backdrop-filter:blur(18px);

    position:relative;

    overflow:hidden;

}

.why-card::before{

    content:"";

    position:absolute;

    width:260px;

    height:260px;

    background:rgba(255,176,0,.15);

    filter:blur(90px);

    top:-120px;

    right:-100px;

}

/* Stats */

.why-stats{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

    margin-top:30px;

}

.why-stat{

    text-align:center;

    padding:25px;

    border-radius:18px;

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.06);

}

.why-stat h3{

    font-size:2rem;

    color:var(--primary);

}

.why-stat span{

    color:var(--text);

}

/* ===================================
   OUR PROCESS
=================================== */

.process-section{

    padding:120px 0;

}

.process-heading{

    text-align:center;

    margin-bottom:70px;

}

.process-heading span{

    color:var(--primary);

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:.9rem;

}

.process-heading h2{

    margin-top:15px;

    font-size:3rem;

}

.process-heading p{

    max-width:700px;

    margin:18px auto 0;

    color:var(--text);

    line-height:1.8;

}

/* Timeline */

.process-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.process-step{

    position:relative;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    border-radius:24px;

    padding:40px 30px;

    transition:.4s;

    overflow:hidden;

}

.process-step:hover{

    transform:translateY(-10px);

    border-color:rgba(255,176,0,.35);

    box-shadow:0 20px 45px rgba(255,176,0,.12);

}

.process-step::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:6px;

    height:100%;

    background:linear-gradient(
        to bottom,
        var(--primary),
        var(--secondary)
    );

}

.step-number{

    width:60px;

    height:60px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:1.3rem;

    font-weight:700;

    color:#fff;

    margin-bottom:25px;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    box-shadow:0 10px 25px rgba(255,176,0,.35);

}

.process-step h3{

    font-size:1.4rem;

    margin-bottom:15px;

}

.process-step p{

    color:var(--text);

    line-height:1.8;

}

/* ===================================
   TECHNOLOGIES
=================================== */

.tech-section{
    padding:120px 0;
}

.tech-heading{
    text-align:center;
    margin-bottom:70px;
}

.tech-heading span{
    color:var(--primary);
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:.9rem;
}

.tech-heading h2{
    margin-top:15px;
    font-size:3rem;
}

.tech-heading p{
    max-width:700px;
    margin:20px auto 0;
    color:var(--text);
    line-height:1.8;
}

/* Grid */

.tech-grid{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:20px;

}

/* Badge */

.tech-item{

    padding:18px 30px;

    border-radius:50px;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    font-weight:600;

    color:var(--white);

    transition:.35s;

    cursor:pointer;

    backdrop-filter:blur(15px);

}

.tech-item:hover{

    transform:translateY(-8px);

    color:#fff;

    border-color:rgba(255,176,0,.45);

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    box-shadow:
        0 15px 35px rgba(255,176,0,.25);

}

/* ===================================
   CTA SECTION
=================================== */

.cta-section{

    padding:120px 0;

}

.cta-box{

    position:relative;

    overflow:hidden;

    padding:80px;

    border-radius:35px;

    text-align:center;

    background:linear-gradient(
        135deg,
        rgba(255,176,0,.15),
        rgba(255,123,0,.12)
    );

    border:1px solid rgba(255,176,0,.25);

    backdrop-filter:blur(20px);

}

.cta-box::before{

    content:"";

    position:absolute;

    width:350px;

    height:350px;

    background:rgba(255,176,0,.18);

    filter:blur(120px);

    top:-120px;

    right:-100px;

}

.cta-box h2{

    font-size:3rem;

    margin-bottom:20px;

}

.cta-box p{

    max-width:700px;

    margin:0 auto 40px;

    color:var(--text);

    line-height:1.8;

}

.cta-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 1100px){

    .services-hero-container{
        grid-template-columns:1fr;
        gap:60px;
        text-align:center;
    }

    .services-left{
        align-items:center;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero-stats{
        justify-content:center;
    }

    .services-right{
        margin:auto;
    }

}

@media (max-width:768px){

    .services-left h1{
        font-size:48px;
        line-height:1.1;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .hero-buttons a{
        width:100%;
        text-align:center;
    }

    .hero-stats{
        flex-direction:column;
    }

    .services-grid{
        grid-template-columns:1fr;
    }

}

@media (max-width:480px){

    .services-left h1{
        font-size:38px;
    }

    .services-left p{
        font-size:15px;
    }

    .hero-badge{
        font-size:13px;
    }

    .floating-card{
        transform:scale(.8);
    }

}

.service-card{
    transition:all .4s ease;
}

.service-card:hover{

    transform:translateY(-12px);

    border-color:rgba(255,176,0,.4);

    box-shadow:
    0 20px 60px rgba(255,176,0,.12);

}

.stat-card{

    transition:.35s;

}

.stat-card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 40px rgba(255,176,0,.15);

}

.primary-btn{

    transition:.35s;

}

.primary-btn:hover{

    transform:translateY(-3px);

    box-shadow:
    0 0 30px rgba(255,176,0,.45);

}

.cta-box{

    transition:.35s;

}

.cta-box:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 60px rgba(255,176,0,.18);

}

/* ===================================
   HERO STATS
=================================== */

.hero-stats{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    margin-top:12px;
}

.hero-stats .stat-card{
    flex:1;
    min-width:130px;

    padding:22px 20px;

    text-align:center;

    border-radius:18px;

    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(15px);
}

.hero-stats .stat-card h2{
    font-family:"Space Grotesk",sans-serif;
    font-size:2rem;
    color:var(--primary);
}

.hero-stats .stat-card span{
    color:var(--text);
    font-size:.95rem;
}

/* ===================================
   HERO VISUAL (floating cards)
=================================== */

.services-right{
    position:relative;
    min-height:460px;

    display:flex;
    align-items:center;
    justify-content:center;
}

.main-circle{
    width:300px;
    height:300px;

    border-radius:50%;

    background:radial-gradient(
        circle at 30% 30%,
        rgba(255,176,0,.28),
        rgba(255,123,0,.06) 60%,
        transparent 72%
    );

    border:1px solid rgba(255,176,0,.25);

    box-shadow:
        inset 0 0 80px rgba(255,176,0,.20),
        0 25px 70px rgba(0,0,0,.45);

    animation:pulseCircle 6s ease-in-out infinite;
}

@keyframes pulseCircle{
    0%,100%{ transform:scale(1); }
    50%{ transform:scale(1.06); }
}

.floating-card{
    position:absolute;

    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;

    padding:16px 20px;

    border-radius:18px;

    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.10);

    backdrop-filter:blur(16px);

    box-shadow:0 15px 40px rgba(0,0,0,.35);

    animation:floatCard 6s ease-in-out infinite;
}

.floating-card i{
    font-size:22px;
    color:var(--primary);
}

.floating-card h4{
    font-size:.85rem;
    font-weight:600;
    white-space:nowrap;
}

.card1{ top:2%;    left:10%;  animation-delay:0s;   }
.card2{ top:10%;   right:2%;  animation-delay:.6s;  }
.card3{ top:42%;   left:-4%;  animation-delay:1.2s; }
.card4{ top:46%;   right:-4%; animation-delay:1.8s; }
.card5{ bottom:4%; left:14%;  animation-delay:2.4s; }
.card6{ bottom:0;  right:8%;  animation-delay:3s;   }

@keyframes floatCard{
    0%,100%{ transform:translateY(0); }
    50%{ transform:translateY(-14px); }
}

/* =================================
   SERVICES PAGE THEME
================================= */

body.light-theme .service-card,
body.light-theme .process-step,
body.light-theme .why-card,
body.light-theme .why-stat,
body.light-theme .hero-stats .stat-card,
body.light-theme .floating-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

body.light-theme .secondary-btn {
    background: rgba(0, 0, 0, 0.05);
    color: #111111;
    border-color: rgba(0, 0, 0, 0.15);
}