/* ============================================================
   SECTIONS.CSS — All page sections after the hero
   Design: Dark navy theme with blue (#2563eb) & gold (#fbbf24) accents
   Font: Poppins (loaded in HTML)
   ============================================================ */

/* ---- Shared tokens ---- */
:root {
    --s-bg-dark:   #ffffff;
    --s-bg-card:   #0d1526;
    --s-bg-card2:  #0f1b30;
    --s-blue:      #2563eb;
    --s-blue-glow: rgba(37, 99, 235, 0.3);
    --s-gold:      #fbbf24;
    --s-red:       #ef4444;
    --s-text:      #e2e8f0;
    --s-muted:     #94a3b8;
    --s-border:    rgba(37, 99, 235, 0.2);
    --s-radius:    12px;
    --s-radius-lg: 20px;
    --s-transition: 0.35s cubic-bezier(.22,.68,0,1.2);
}

/* ---- Base resets for new sections ---- */
.power-solutions, .why-us, .featured-products, .stats-section,
.how-it-works, .testimonials, .recent-projects, .trusted-brands,
.cta-banner, .faq-section, .newsletter, .site-footer {
    font-family: 'Poppins', sans-serif;
    color: var(--s-text);
}

/* ---- Section container ---- */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 30px;
}

/* ---- Shared section label (eyebrow) ---- */
.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--s-blue);
    margin-bottom: 10px;
}

/* ---- Shared section title ---- */
.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color:rgb(255 193 7);
    margin-bottom: 48px;
    line-height: 1.25;
}

/* ---- Reveal animation ---- */
.reveal-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================================
   1. POWER SOLUTIONS — Smart Solutions for Every Need
   ============================================================ */
.power-solutions {
    background: #07101f;
    position: relative;
    overflow: hidden;
}

/* ambient drifting glow blobs behind the grid */
.power-solutions::before,
.power-solutions::after {
    content: '';
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.16;
    pointer-events: none;
    z-index: 0;
}
.power-solutions::before {
    background: var(--s-blue);
    top: -160px;
    left: -120px;
    animation: psBlobDrift 16s ease-in-out infinite;
}
.power-solutions::after {
    background: var(--s-gold);
    bottom: -180px;
    right: -140px;
    animation: psBlobDrift 20s ease-in-out infinite reverse;
}

@keyframes psBlobDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(60px, 40px) scale(1.15); }
}

.power-solutions .section-container { position: relative; z-index: 1; }

.power-solutions__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ps-card entrance — overrides the generic .reveal-up fade for a springier pop-in */
.power-solutions .ps-card.reveal-up {
    opacity: 0;
    transform: translateY(46px) scale(0.92);
    transition: opacity 0.7s cubic-bezier(.22,.68,0,1.2), transform 0.7s cubic-bezier(.22,.68,0,1.2);
}
.power-solutions .ps-card.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ps-card */
.ps-card {
    background: var(--s-bg-card);
    border: 1px solid var(--s-border);
    border-radius: var(--s-radius-lg);
    padding: 32px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--s-transition), box-shadow var(--s-transition), border-color 0.3s;
}

.ps-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--s-blue-glow) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

/* rotating conic-gradient ring revealed on hover, masked to a thin border */
.ps-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from 0deg, var(--s-blue), var(--s-gold), var(--s-blue));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
    animation: psRingSpin 3.5s linear infinite;
    pointer-events: none;
}

.ps-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(37,99,235,0.25);
    border-color: var(--s-blue);
}

.ps-card:hover::before { opacity: 1; }
.ps-card:hover::after { opacity: 1; }

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

.ps-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgba(37,99,235,0.12);
    border: 1px solid rgba(37,99,235,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    animation: psIconFloat 3.2s ease-in-out infinite;
}

.ps-card__icon--red {
    background: rgba(239,68,68,0.12);
    border-color: rgba(239,68,68,0.3);
}
.ps-card__icon--yellow {
    background: rgba(251,191,36,0.1);
    border-color: rgba(251,191,36,0.3);
}

@keyframes psIconFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.ps-card:hover .ps-card__icon {
    animation-play-state: paused;
    transform: scale(1.12) rotate(-4deg);
    box-shadow: 0 0 0 6px rgba(37,99,235,0.12);
}
.ps-card:hover .ps-card__icon--red { box-shadow: 0 0 0 6px rgba(239,68,68,0.12); }
.ps-card:hover .ps-card__icon--yellow { box-shadow: 0 0 0 6px rgba(251,191,36,0.12); }

.ps-card__icon svg { width: 100%; height: 100%; }

.ps-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.ps-card__desc {
    font-size: 0.85rem;
    color: var(--s-muted);
    line-height: 1.6;
    flex: 1;
}

.ps-card__link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--s-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s, color 0.2s;
}

.ps-card__link span { transition: transform 0.2s; }
.ps-card:hover .ps-card__link { color: var(--s-gold); }
.ps-card:hover .ps-card__link span { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
    .power-solutions::before,
    .power-solutions::after,
    .ps-card__icon,
    .ps-card::after {
        animation: none;
    }
}


/* ============================================================
   2. WHY CHOOSE US
   ============================================================ */
.why-us {
    background: var(--s-bg-dark);
}

.why-us__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.why-card {
    background: var(--s-bg-card);
    border: 1px solid var(--s-border);
    border-radius: var(--s-radius-lg);
    padding: 28px 20px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform var(--s-transition), box-shadow var(--s-transition), border-color 0.3s;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(37,99,235,0.18);
    border-color: var(--s-blue);
}

.why-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(37,99,235,0.1);
    border: 1px solid rgba(37,99,235,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: background 0.3s, transform 0.3s;
}

.why-card:hover .why-card__icon {
    background: rgba(37,99,235,0.25);
    transform: scale(1.12);
}

.why-card__icon svg { width: 100%; height: 100%; }

.why-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.why-card p {
    font-size: 0.8rem;
    color: var(--s-muted);
    line-height: 1.5;
}


/* ============================================================
   3. FEATURED PRODUCTS — Best Selling Products
   ============================================================ */
.featured-products {
    background: #07101f;
}

.fp__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 16px;
}

.fp__view-all {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--s-blue);
    white-space: nowrap;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}
.fp__view-all:hover { color: var(--s-gold); border-color: var(--s-gold); }

.fp__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.fp-card {
    background: var(--s-bg-card);
    border: 1px solid var(--s-border);
    border-radius: var(--s-radius-lg);
    overflow: hidden;
    transition: transform var(--s-transition), box-shadow var(--s-transition), border-color 0.3s;
}

.fp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(37,99,235,0.2);
    border-color: var(--s-blue);
}

.fp-card__img-wrap {
    position: relative;
    background: #0a1628;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
}

.fp-card__img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(37,99,235,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.fp-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--s-gold);
    color: #07101f;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 1;
}

.fp-card__img-placeholder {
    width: 80%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}
.fp-card__img-placeholder svg { width: 100%; height: 100%; }
.fp-card:hover .fp-card__img-placeholder { transform: scale(1.08); }

.fp-card__img-placeholder--red   { filter: drop-shadow(0 4px 18px rgba(239,68,68,0.3)); }
.fp-card__img-placeholder--yellow { filter: drop-shadow(0 4px 18px rgba(251,191,36,0.3)); }

.fp-card__body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fp-card__brand {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--s-blue);
    text-transform: uppercase;
}

.fp-card__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.fp-card__category {
    font-size: 0.78rem;
    color: var(--s-muted);
}

.fp-card__price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--s-gold);
    margin-top: 6px;
}

.fp-card__btn {
    margin-top: 10px;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--s-blue);
    border: 1px solid var(--s-blue);
    border-radius: 50px;
    padding: 6px 16px;
    transition: background 0.25s, color 0.25s;
    text-align: center;
}
.fp-card:hover .fp-card__btn {
    background: var(--s-blue);
    color: #fff;
}


/* ============================================================
   4. STATS SECTION
   ============================================================ */
.stats-section {
    background: var(--s-blue);
    background: linear-gradient(135deg, #07101f 0%, #07101f 50%, #07101f 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(255,255,255,0.04) 0%, transparent 70%);
}

.stats-section .section-container {
    padding: 60px 30px;
    position: relative;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 20px 10px;
    position: relative;
}

.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.2);
}

.stat-item__number {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.stat-item__number::after {
    content: '+';
    font-size: 0.55em;
    color: var(--s-gold);
    vertical-align: super;
}

.stat-item__number--247::after { content: ''; }

.stat-item__label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


/* ============================================================
   5. HOW IT WORKS
   ============================================================ */
.how-it-works {
    background: #07101f;
}

.hiw__steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    position: relative;
}

.hiw-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 12px;
    position: relative;
}

.hiw-step__num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--s-blue);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    flex-shrink: 0;
    box-shadow: 0 0 0 5px rgba(37,99,235,0.2);
    transition: box-shadow 0.3s, transform 0.3s;
}
.hiw-step:hover .hiw-step__num {
    box-shadow: 0 0 0 8px rgba(37,99,235,0.3);
    transform: scale(1.1);
}

.hiw-step__connector {
    position: absolute;
    top: 17px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
    height: 2px;
    background: linear-gradient(90deg, var(--s-blue), rgba(37,99,235,0.2));
}
.hiw-step__connector--hidden { display: none; }

.hiw-step__icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--s-bg-card);
    border: 1px solid var(--s-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    margin: 18px 0 14px;
    transition: background 0.3s, transform 0.3s, border-color 0.3s;
}
.hiw-step__icon--active {
    background: rgba(37,99,235,0.18);
    border-color: var(--s-blue);
}
.hiw-step:hover .hiw-step__icon {
    background: rgba(37,99,235,0.2);
    border-color: var(--s-blue);
    transform: translateY(-4px);
}
.hiw-step__icon svg { width: 100%; height: 100%; }

.hiw-step h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.hiw-step p {
    font-size: 0.76rem;
    color: var(--s-muted);
    line-height: 1.5;
}


/* ============================================================
   6. TESTIMONIALS
   ============================================================ */
.testimonials {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f9 100%);
    position: relative;
}

.testimonials .section-container { padding-bottom: 60px; position: relative; z-index: 1; }

.testimonials__slider {
    position: relative;
    overflow: hidden;
}

.testimonials__track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* springy pop-in entrance for testimonial cards, matching the Power Solutions cards */
.testimonials .testi-card.reveal-up {
    opacity: 0;
    transform: translateY(40px) scale(0.94);
    transition: opacity 0.7s cubic-bezier(.22,.68,0,1.2), transform 0.7s cubic-bezier(.22,.68,0,1.2);
}
.testimonials .testi-card.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.testi-card {
    min-width: calc((100% - 48px) / 3);
    background: var(--s-bg-card);
    border: 1px solid var(--s-border);
    border-radius: var(--s-radius-lg);
    padding: 34px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(15,23,42,0.08);
    transition: border-color 0.35s, transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s;
}

/* thin gradient accent bar along the top edge */
.testi-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--s-blue), var(--s-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s ease;
}
.testi-card:hover::before { transform: scaleX(1); }

/* large decorative quote mark */
.testi-card__quote {
    position: absolute;
    top: 6px;
    right: 18px;
    font-family: Georgia, serif;
    font-size: 4.5rem;
    line-height: 1;
    color: var(--s-blue);
    opacity: 0.12;
    pointer-events: none;
    transition: opacity 0.35s, transform 0.35s;
}
.testi-card:hover .testi-card__quote {
    opacity: 0.22;
    transform: scale(1.08) rotate(-4deg);
}

.testi-card:hover {
    border-color: var(--s-blue);
    box-shadow: 0 20px 48px rgba(37,99,235,0.2);
    transform: translateY(-8px);
}

.testi-card__stars {
    color: var(--s-gold);
    font-size: 1rem;
    letter-spacing: 2px;
}

.testi-card__stars span {
    display: inline-block;
    opacity: 0;
}
.testi-card.is-visible .testi-card__stars span {
    animation: starPop 0.35s ease forwards;
    animation-delay: calc(var(--i) * 0.06s + 0.25s);
}

@keyframes starPop {
    to { opacity: 1; }
}

.testi-card__text {
    font-size: 0.88rem;
    color: var(--s-muted);
    line-height: 1.7;
    flex: 1;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testi-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--s-blue), #1e40af);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.testi-card:hover .testi-card__avatar { transform: scale(1.1); }

.testi-card__author span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(37,99,235,0.25);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, width 0.3s;
    padding: 0;
}
.testi-dot:hover { background: rgba(37,99,235,0.5); transform: scale(1.2); }
.testi-dot--active {
    background: var(--s-blue);
    width: 24px;
    border-radius: 50px;
}

.testimonials__nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

/* all cards already fit on screen — nothing to page through */
.testimonials__slider--static .testimonials__dots,
.testimonials__slider--static .testimonials__nav {
    display: none;
}

.testi-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--s-border);
    background: #fff;
    color: var(--s-blue);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.testi-nav-btn:hover {
    background: var(--s-blue);
    border-color: var(--s-blue);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(37,99,235,0.3);
}
.testi-nav-btn:active { transform: scale(0.96); }

@media (prefers-reduced-motion: reduce) {
    .testi-card__stars span {
        animation: none;
        opacity: 1;
    }
}


/* ============================================================
   7. RECENT PROJECTS
   ============================================================ */
.recent-projects {
    background: #07101f;
}

.rp__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 16px;
}

.rp__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rp-card {
    border-radius: var(--s-radius-lg);
    overflow: hidden;
    background: var(--s-bg-card);
    border: 1px solid var(--s-border);
    transition: transform var(--s-transition), box-shadow var(--s-transition), border-color 0.3s;
}

.rp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(37,99,235,0.2);
    border-color: var(--s-blue);
}

.rp-card__img {
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
}

/* Project image backgrounds — styled as visually distinct gradient scenes */
.rp-card__img--1 {
    background: linear-gradient(135deg, #0a1a35 0%, #1a3a6f 40%, #0d2050 100%);
}
.rp-card__img--1::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 70% 60%, rgba(37,99,235,0.25) 0%, transparent 70%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120'%3E%3Crect x='10' y='60' width='180' height='50' fill='%230d1a30'/%3E%3Crect x='30' y='40' width='50' height='70' fill='%230f2040'/%3E%3Crect x='100' y='50' width='70' height='60' fill='%23122040'/%3E%3Ccircle cx='50' cy='30' r='12' fill='%230d3a8f' opacity='.6'/%3E%3Ccircle cx='140' cy='20' r='18' fill='%230d3a8f' opacity='.5'/%3E%3C/svg%3E") center/cover;
}

.rp-card__img--2 {
    background: linear-gradient(135deg, #0a1520 0%, #0f2535 50%, #0a2040 100%);
}
.rp-card__img--2::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 80%, rgba(37,99,235,0.18) 0%, transparent 70%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120'%3E%3Crect x='0' y='70' width='200' height='50' fill='%230d1520'/%3E%3Crect x='20' y='30' width='160' height='10' rx='2' fill='%231a3a6f' opacity='.8'/%3E%3Crect x='20' y='46' width='160' height='10' rx='2' fill='%231a3a6f' opacity='.8'/%3E%3Crect x='20' y='62' width='160' height='10' rx='2' fill='%231a3a6f' opacity='.8'/%3E%3Cpath d='M0 0 L100 30 L200 0' fill='%230a1525'/%3E%3C/svg%3E") center/cover;
}

.rp-card__img--3 {
    background: linear-gradient(135deg, #05111e 0%, #0a1e30 50%, #071520 100%);
}
.rp-card__img--3::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 40%, rgba(16,185,129,0.12) 0%, transparent 70%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120'%3E%3Cellipse cx='100' cy='80' rx='80' ry='20' fill='%230a1a2a' opacity='.8'/%3E%3Cpath d='M60 80 Q80 40 100 30 Q120 40 140 80 Z' fill='%230d2035' opacity='.9'/%3E%3Cpath d='M100 30 L100 0' stroke='%231a3a6f' stroke-width='2'/%3E%3Ccircle cx='100' cy='30' r='6' fill='%231a3a6f'/%3E%3C/svg%3E") center/cover;
}

.rp-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,16,31,0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-start;
    padding: 14px;
    transition: background 0.3s;
}
.rp-card:hover .rp-card__overlay {
    background: linear-gradient(to top, rgba(7,16,31,0.7) 0%, rgba(37,99,235,0.1) 100%);
}

.rp-card__tag {
    background: var(--s-blue);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rp-card__body {
    padding: 18px 20px 22px;
}

.rp-card__body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.rp-card__body p {
    font-size: 0.82rem;
    color: var(--s-muted);
    margin-bottom: 8px;
}

.rp-card__location {
    display: none;
}
.rp-card__location::before {
    content: '📍';
    font-size: 0.7rem;
}

/* Project URL feature: image/title wrap in <a> when a projectUrl is set,
   and a "View Project" CTA appears in the body. Reset link defaults so the
   added <a> tags don't change the existing card look. */
.rp-card__link,
.rp-card__title-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.rp-card__cta {
    margin-top: 10px;
}

.rp-card__cta--disabled {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--s-muted);
    border: 1px solid var(--s-border);
    border-radius: 50px;
    padding: 6px 16px;
    opacity: 0.6;
    cursor: not-allowed;
}


/* ============================================================
   8. TRUSTED BRANDS
   ============================================================ */
.trusted-brands {
    background: var(--s-bg-dark);
    border-top: 1px solid var(--s-border);
    border-bottom: 1px solid var(--s-border);
}

.trusted-brands .section-container {
    padding: 60px 30px;
}

.brands__track-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    position: relative;
}

.brands__track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: brandScroll 18s linear infinite;
}

.brands__track:hover { animation-play-state: paused; }

@keyframes brandScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brand-item {
    padding: 0 48px;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.3);
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.08);
    transition: color 0.3s;
    cursor: default;
    line-height: 52px;
    user-select: none;
}
.brand-item:hover { color: var(--s-blue); }


/* ============================================================
   9. CTA BANNER
   ============================================================ */
.cta-banner {
    background: #07101f;
}

.cta-banner .section-container {
    padding: 60px 30px;
}

.cta-banner__inner {
    background: linear-gradient(135deg, #102045 0%, #1a3a8f 50%, #102045 100%);
    border: 1px solid rgba(37,99,235,0.4);
    border-radius: var(--s-radius-lg);
    padding: 56px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cta-banner__inner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.3) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner__copy h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 10px;
}

.cta-banner__copy p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.72);
}

.cta-banner__actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.25s;
    white-space: nowrap;
}

.cta-btn--primary {
    background: var(--s-gold);
    color: #07101f;
}
.cta-btn--primary:hover {
    background: #fcd34d;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(251,191,36,0.4);
}

.cta-btn--secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
}
.cta-btn--secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}


/* ============================================================
   10. FAQ
   ============================================================ */
.faq-section {
    background: #07101f;
    border-top: 1px solid var(--s-border);
}

.faq__list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--s-bg-card);
    border: 1px solid var(--s-border);
    border-radius: var(--s-radius);
    overflow: hidden;
    transition: border-color 0.25s;
}

.faq-item.is-open {
    border-color: var(--s-blue);
}

.faq-item__q {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    transition: color 0.2s;
}

.faq-item.is-open .faq-item__q { color: var(--s-blue); }

.faq-item__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--s-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--s-blue);
    flex-shrink: 0;
    transition: transform 0.3s, background 0.2s;
    line-height: 1;
}

.faq-item.is-open .faq-item__icon {
    transform: rotate(45deg);
    background: var(--s-blue);
    color: #fff;
    border-color: var(--s-blue);
}

.faq-item__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0,0,0.2,1), padding 0.3s;
}

.faq-item.is-open .faq-item__a {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-item__a p {
    font-size: 0.875rem;
    color: var(--s-muted);
    line-height: 1.7;
    padding: 0 24px;
}


/* ============================================================
   11. NEWSLETTER
   ============================================================ */
.newsletter {
    background: var(--s-bg-dark);
    border-top: 1px solid var(--s-border);
}

.newsletter .section-container {
    padding: 60px 30px;
}

.newsletter__inner {
    background: var(--s-bg-card2);
    border: 1px solid var(--s-border);
    border-radius: var(--s-radius-lg);
    padding: 48px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter__copy h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.newsletter__copy p {
    font-size: 0.875rem;
    color: var(--s-muted);
}

.newsletter__form {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    width: min(420px, 100%);
}

.newsletter__input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--s-border);
    border-radius: 50px;
    padding: 12px 20px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.newsletter__input::placeholder { color: var(--s-muted); }
.newsletter__input:focus {
    border-color: var(--s-blue);
    box-shadow: 0 0 0 3px var(--s-blue-glow);
}

.newsletter__btn {
    background: var(--s-blue);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.newsletter__btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.4);
}


/* ============================================================
   12. FOOTER
   ============================================================ */
.site-footer {
    background: #060c18;
    border-top: 1px solid var(--s-border);
    color: var(--s-muted);
}

.site-footer .section-container {
    padding: 64px 30px 32px;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 48px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--s-border);
}

/* Brand column */
.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: 18px;
    width: fit-content;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 6px;
}

.footer__tagline {
    font-size: 0.83rem;
    color: #fff;
    line-height: 1.7;
    margin-bottom: 22px;
    max-width: 280px;
}

.footer__socials {
    display: flex;
    gap: 10px;
}

.footer__social {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(37,99,235,0.12);
    border: 1px solid rgba(37,99,235,0.25);
    color: var(--s-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s, color 0.2s;
}
.footer__social:hover {
    background: var(--s-blue);
    color: #fff;
    transform: translateY(-3px);
}
.footer__social svg { width: 16px; height: 16px; }
.footer__social--yt:hover { background: #ef4444; border-color: #ef4444; }

/* Footer columns */
.footer-col__heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-col__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col__list li a {
    font-size: 0.85rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s, gap 0.2s;
}
.footer-col__list li a::before {
    content: '›';
    color: var(--s-blue);
    font-size: 1rem;
    line-height: 1;
}
.footer-col__list li a:hover { color: #fff; gap: 12px; }

.footer-col__contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-col__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: #fff;
    line-height: 1.5;
}

.footer-col__contact li svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--s-blue);
}

.footer-col__contact li a {
    transition: color 0.2s;
}

.footer-col__contact li a:hover {
    color: #fff;
}

/* Footer bottom */
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

.footer__bottom-links {
    display: flex;
    gap: 20px;
}

.footer__bottom-links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    transition: color 0.2s;
}
.footer__bottom-links a:hover { color: var(--s-blue); }


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---- Desktop large (1024px–1280px) ---- */
@media (max-width: 1200px) {
    .why-us__grid { grid-template-columns: repeat(3, 1fr); }
    .footer__top  { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ---- Tablet (768px–1023px) ---- */
@media (max-width: 1024px) {
    .section-container { padding: 60px 24px; }

    .power-solutions__grid { grid-template-columns: repeat(2, 1fr); }
    .fp__grid              { grid-template-columns: repeat(2, 1fr); }
    .hiw__steps            { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .hiw-step__connector   { display: none; }
    .stats__grid           { grid-template-columns: repeat(2, 1fr); }
    .stat-item + .stat-item::before { display: none; }
    .testi-card            { min-width: calc(100% / 2 - 12px); }
    .rp__grid              { grid-template-columns: repeat(2, 1fr); }
    .cta-banner__inner     { padding: 40px 40px; flex-direction: column; text-align: center; }
    .cta-banner__actions   { justify-content: center; }
    .newsletter__inner     { flex-direction: column; text-align: center; padding: 36px 36px; gap: 24px; }
    .newsletter__form      { width: 100%; max-width: 420px; }
}

/* ---- Mobile (max 767px) ---- */
@media (max-width: 767px) {
    .section-container { padding: 48px 18px; }
    .section-title     { margin-bottom: 32px; }

    .power-solutions__grid { grid-template-columns: 1fr; gap: 16px; }
    .why-us__grid          { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .fp__grid              { grid-template-columns: 1fr; }
    .fp__header            { flex-direction: column; align-items: flex-start; gap: 10px; }
    .rp__header            { flex-direction: column; align-items: flex-start; gap: 10px; }
    .stats__grid           { grid-template-columns: repeat(2, 1fr); }
    .hiw__steps            { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .hiw-step__connector   { display: none; }
    .testimonials__track   { flex-direction: column; transform: none !important; }
    .testi-card            { min-width: 100%; }
    .testimonials__nav     { display: none; }
    .testimonials__dots    { display: none; }
    .rp__grid              { grid-template-columns: 1fr; }
    .cta-banner__inner     { padding: 32px 24px; flex-direction: column; text-align: center; }
    .cta-banner__actions   { flex-direction: column; align-items: center; width: 100%; }
    .cta-btn               { width: 100%; justify-content: center; }
    .newsletter__inner     { padding: 28px 20px; flex-direction: column; gap: 20px; text-align: center; }
    .newsletter__form      { flex-direction: column; width: 100%; gap: 8px; }
    .newsletter__input     { border-radius: var(--s-radius); }
    .newsletter__btn       { border-radius: var(--s-radius); }
    .footer__top           { grid-template-columns: 1fr; gap: 32px; }
    .footer__bottom        { flex-direction: column; text-align: center; }
    .brand-item            { padding: 0 28px; }
}

@media (max-width: 480px) {
    .why-us__grid { grid-template-columns: 1fr; }
    .hiw__steps   { grid-template-columns: 1fr; }
}
