/* assets/css/main.css — Enhanced Animations & Visual Upgrades */

/* ─── Products page header fix ──────────────────────────────────────── */
.page-template-page-products .site-header { background: rgba(15,23,42,.9); }

/* ─── Two phone buttons in nav ──────────────────────────────────────── */
.nav__phones {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}
.nav__phones .btn {
    padding: .35rem .9rem !important;
    font-size: .78rem !important;
    line-height: 1.3;
}
@media (max-width: 1280px) { .nav__phones { display: none; } }

/* ─── WP Pagination ─────────────────────────────────────────────────── */
.page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: var(--radius);
    border: 1.5px solid var(--border); font-size: .9rem; font-weight: 600;
    color: var(--text-muted); transition: var(--transition); text-decoration: none;
}
.page-numbers:hover, .page-numbers.current { background: var(--primary); border-color: var(--primary); color: #fff; }
nav.navigation.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }

/* ─── Entry content ─────────────────────────────────────────────────── */
.entry-content h2, .entry-content h3 { margin: 1.75rem 0 .75rem; }
.entry-content p  { margin-bottom: 1.1rem; }
.entry-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.1rem; }
.entry-content ul li { margin-bottom: .4rem; }
.entry-content a  { color: var(--primary); text-decoration: underline; }

/* ─── Admin bar offset ──────────────────────────────────────────────── */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ═══════════════════════════════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════════════════════════════ */

/* Who We Are — two column */
.about-who-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}
@media (max-width: 900px) { .about-who-grid { grid-template-columns: 1fr; } }

/* Visual card */
.about-visual-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}
.about-visual-card__inner {
    background: linear-gradient(145deg, #0F172A, #1E3A5F);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,.08);
}
.about-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: .5rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.1);
}
.about-stat__num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.about-stat__label {
    display: block;
    font-size: .72rem;
    color: rgba(255,255,255,.45);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: .3rem;
}
.about-visual-card__flag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .75rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ── Mission & Vision — new design ── */
.mv2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}
@media (max-width: 768px) { .mv2-grid { grid-template-columns: 1fr; } }

.mv2-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: #fff;
    border: 1px solid var(--border);
}
.mv2-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* Colored top banner */
.mv2-card__top {
    padding: 2rem 2rem 1.75rem;
    position: relative;
    overflow: hidden;
}
.mv2-card__top--mission {
    background: linear-gradient(135deg, #0F172A 0%, #1e3a5f 100%);
}
.mv2-card__top--vision {
    background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 100%);
}

/* Large decorative circle */
.mv2-card__top-deco {
    position: absolute;
    width: 160px; height: 160px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.07);
    bottom: -60px; right: -40px;
    pointer-events: none;
}
.mv2-card__top-deco::before {
    content: '';
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.05);
}

.mv2-card__top-icon {
    font-size: 2.2rem;
    margin-bottom: .75rem;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
}
.mv2-card__top-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.5);
    margin-bottom: .4rem;
}
.mv2-card__top--mission .mv2-card__top-label { color: var(--primary); }
.mv2-card__top--vision  .mv2-card__top-label { color: #a5b4fc; }

.mv2-card__top-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* White body */
.mv2-card__body {
    padding: 1.5rem 2rem 2rem;
}
.mv2-card__body p {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.1rem;
}
.mv2-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.mv2-list li {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: .85rem;
    font-weight: 500;
    color: var(--text);
}
.mv2-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.mv2-dot--orange { background: var(--primary); }
.mv2-dot--indigo { background: #6366f1; }

/* ── Brand partner cards ── */
.brand-partner-card {
    min-width: 180px;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    background: var(--bg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
}
.brand-partner-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.brand-partner-card__icon  { font-size: 2.5rem; }
.brand-partner-card__name  { font-weight: 800; font-size: 1.05rem; color: var(--secondary); }
.brand-partner-card__tag   { font-size: .75rem; color: var(--text-muted); }
.brand-partner-card__link  {
    margin-top: .5rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}
.brand-partner-card__link:hover { text-decoration: underline; }


/* ═══════════════════════════════════════════════════════════════════════
   ENHANCED HERO ANIMATIONS
═══════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════
   HERO SLIDER
═══════════════════════════════════════════════════════════════════════ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 620px;
    overflow: hidden;
    background: var(--secondary);
}

.hero-slider__track {
    position: relative;
    width: 100%; height: 100%;
}

/* ── Individual Slide ── */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .9s cubic-bezier(.4,0,.2,1), transform 1.2s cubic-bezier(.4,0,.2,1);
    transform: scale(1.04);
    pointer-events: none;
    will-change: opacity, transform;
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
    z-index: 1;
}
.hero-slide.leaving {
    opacity: 0;
    transform: scale(.97);
    z-index: 0;
}

/* Dark overlay */
.hero-slide__overlay {
    position: absolute; inset: 0; z-index: 1;
    background: #000;
    opacity: var(--overlay-opacity, .55);
}

/* ── Slide Content ── */
.hero-slide__content {
    max-width: 760px;
    padding: 80px 0 60px;
}

/* Two-column layout for slide 1 */
.hero-slide__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    padding: 80px 0 60px;
}
.hero-slide__grid .hero-slide__content {
    padding: 0;
    max-width: 100%;
}

/* Full-width centred layout for other slides */
.hero-slide__content--centered {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 80px 0 60px;
}
.hero-slide__content--centered > div {
    text-align: center;
}
.hero-slide__content--centered .hero-slide__sub {
    margin-left: auto;
    margin-right: auto;
}
.hero-slide__content--centered .hero-slide__actions {
    justify-content: center;
}

/* Visual (panel) column */
.hero-slide__visual {
    position: relative;
}

/* Animated entrance per element */
.hero-slide__anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
    transition-delay: var(--d, 0s);
}
.hero-slide.active .hero-slide__anim {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide__title {
    font-size: clamp(2rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.25rem;
    font-family: var(--font-heading);
}
.hero-slide__sub {
    font-size: clamp(.95rem, 1.8vw, 1.15rem);
    color: rgba(255,255,255,.75);
    max-width: 580px;
    line-height: 1.75;
    margin-bottom: 2.25rem;
}
.hero-slide__actions {
    display: flex; gap: 1rem; flex-wrap: wrap;
}

/* ── Arrows ── */
.hero-slider__arrow {
    position: absolute; top: 50%; z-index: 10;
    transform: translateY(-50%);
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.2);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero-slider__arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}
.hero-slider__arrow--prev { left: 1.5rem; }
.hero-slider__arrow--next { right: 1.5rem; }

/* ── Dots ── */
.hero-slider__dots {
    position: absolute; bottom: 2.5rem; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: .6rem; z-index: 10;
}
.hero-slider__dot {
    width: 8px; height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,.35);
    border: none; cursor: pointer;
    transition: width .35s ease, background .3s ease, border-radius .3s ease;
    padding: 0;
}
.hero-slider__dot.active {
    width: 28px;
    background: var(--primary);
    border-radius: 4px;
}
.hero-slider__dot:hover:not(.active) {
    background: rgba(255,255,255,.65);
}

/* ── Progress Bar ── */
.hero-slider__progress {
    position: absolute; bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: rgba(255,255,255,.1);
    z-index: 10;
}
.hero-slider__progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 0%;
    transition: width .1s linear;
    border-radius: 0 2px 2px 0;
}

/* ── Counter + Pause (bottom-right) ── */
.hero-slider__footer-ui {
    position: absolute; bottom: 2rem; right: 2rem;
    display: flex; align-items: center; gap: .75rem; z-index: 10;
}
.hero-slider__counter {
    display: flex; align-items: center; gap: .3rem;
    font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.7);
    font-family: var(--font-heading);
}
.hero-slider__counter #sliderCurrent { color: #fff; font-size: 1.1rem; }
.hero-slider__counter .sep { opacity: .4; }
.hero-slider__pause {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.8);
    font-size: .85rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.hero-slider__pause:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-slide__grid { grid-template-columns: 1fr; text-align: center; }
    .hero-slide__grid .hero-slide__actions { justify-content: center; }
    .hero-slide__visual { display: none; }
}
@media (max-width: 768px) {
    .hero-slider { height: 100svh; min-height: 560px; }
    .hero-slide__content { padding: 100px 0 80px; }
    .hero-slide__grid { padding: 100px 0 80px; }
    .hero-slider__arrow { width: 40px; height: 40px; }
    .hero-slider__arrow--prev { left: .75rem; }
    .hero-slider__arrow--next { right: .75rem; }
    .hero-slider__footer-ui { bottom: 4.5rem; right: 1rem; }
}
@media (max-width: 480px) {
    .hero-slide__actions,
    .hero-slide__content--centered .hero-slide__actions { flex-direction: column; align-items: center; }
}


    position: absolute; inset: 0;
    pointer-events: none; z-index: 0;
    opacity: .6;
}

/* Animated mesh gradient */
.hero__mesh {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(249,115,22,.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 60%, rgba(99,179,237,.1) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 10%, rgba(255,193,7,.08) 0%, transparent 50%);
    animation: meshShift 12s ease-in-out infinite alternate;
}
@keyframes meshShift {
    0%   { transform: scale(1)   rotate(0deg); }
    50%  { transform: scale(1.05) rotate(1deg); }
    100% { transform: scale(1)   rotate(-1deg); }
}

/* Typewriter cursor */
.typewriter { display: inline; }
.typewriter-cursor {
    display: inline-block; width: 3px; height: .85em;
    background: var(--primary); margin-left: 2px;
    vertical-align: middle; border-radius: 2px;
    animation: cursorBlink .7s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes cursorBlink { 0%,100% { opacity:1; } 50% { opacity:0; } }

/* On small screens hide cursor to avoid overflow */
@media (max-width: 600px) {
    .typewriter-cursor { display: none; }
}

/* Hero text entrance */
.hero__text { animation: heroTextIn .9s cubic-bezier(.16,1,.3,1) both; }
@keyframes heroTextIn {
    from { opacity:0; transform: translateY(40px); }
    to   { opacity:1; transform: translateY(0); }
}
.hero__text .badge          { animation: heroTextIn .7s .1s cubic-bezier(.16,1,.3,1) both; }
.hero__text h1              { animation: heroTextIn .8s .2s cubic-bezier(.16,1,.3,1) both; }
.hero__text p               { animation: heroTextIn .8s .35s cubic-bezier(.16,1,.3,1) both; }
.hero__actions              { animation: heroTextIn .8s .5s cubic-bezier(.16,1,.3,1) both; }
.hero__stats                { animation: heroTextIn .8s .65s cubic-bezier(.16,1,.3,1) both; }
.hero__visual               { animation: heroVisualIn 1s .3s cubic-bezier(.16,1,.3,1) both; }
@keyframes heroVisualIn {
    from { opacity:0; transform: translateX(60px) rotate(3deg); }
    to   { opacity:1; transform: translateX(0)    rotate(0deg); }
}

/* Floating badges */
@keyframes floatA {
    0%,100% { transform: translateY(0)   rotate(-2deg); }
    50%     { transform: translateY(-12px) rotate(2deg); }
}
@keyframes floatB {
    0%,100% { transform: translateY(0)   rotate(2deg); }
    50%     { transform: translateY(-8px)  rotate(-2deg); }
}
.hero__badge-float--1 { animation: floatA 4s ease-in-out infinite; }
.hero__badge-float--2 { animation: floatB 4.5s .8s ease-in-out infinite; }

/* Stat counters */
.hero__stat-num {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll-down indicator — bottom-left, away from centered dots */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    color: rgba(255,255,255,.4);
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    z-index: 10;
    animation: heroTextIn 1s 1.2s both;
}
/* Hide on mobile to avoid crowding */
@media (max-width: 768px) { .scroll-indicator { display: none; } }
.scroll-indicator__wheel {
    width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.25);
    border-radius: 12px; display: flex; justify-content: center; padding-top: 5px;
}
.scroll-indicator__dot {
    width: 4px; height: 8px; background: var(--primary);
    border-radius: 2px; animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
    0%   { transform: translateY(0); opacity: 1; }
    80%  { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════
   SOLAR PANEL CELL ANIMATION UPGRADE
═══════════════════════════════════════════════════════════════════════ */
.hero__solar-panel {
    animation: panelFloat 6s ease-in-out infinite;
}
@keyframes panelFloat {
    0%,100% { transform: translateY(0)   rotate(0deg); }
    33%     { transform: translateY(-10px) rotate(.5deg); }
    66%     { transform: translateY(5px)  rotate(-.3deg); }
}
.solar-cell {
    transition: background .3s, box-shadow .3s;
    cursor: default;
}
.solar-cell.lit {
    background: linear-gradient(145deg, #1e4a7a, #1a3050) !important;
    box-shadow: inset 0 0 12px rgba(249,115,22,.4), 0 0 8px rgba(249,115,22,.15) !important;
    border-color: rgba(249,115,22,.5) !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   BRAND MARQUEE (infinite scroll)
═══════════════════════════════════════════════════════════════════════ */
.brands-marquee-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #fff 12%, #fff 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #fff 12%, #fff 88%, transparent);
}
.brands-marquee {
    display: flex; gap: 1.5rem;
    width: max-content;
    animation: marqueeScroll 28s linear infinite;
}
.brands-marquee:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.brand-item {
    flex-shrink: 0;
    user-select: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   CARD ANIMATIONS UPGRADE
═══════════════════════════════════════════════════════════════════════ */

/* Shine sweep on hover */
.product-card { position: relative; overflow: hidden; }
.product-card::before {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.07) 50%, transparent 80%);
    transform: skewX(-15deg);
    transition: left .6s ease;
    pointer-events: none; z-index: 1;
}
.product-card:hover::before { left: 160%; }

/* Stagger reveal for product grids */
.products-grid .product-card:nth-child(1)  { transition-delay: .0s; }
.products-grid .product-card:nth-child(2)  { transition-delay: .06s; }
.products-grid .product-card:nth-child(3)  { transition-delay: .12s; }
.products-grid .product-card:nth-child(4)  { transition-delay: .18s; }
.products-grid .product-card:nth-child(5)  { transition-delay: .24s; }
.products-grid .product-card:nth-child(6)  { transition-delay: .30s; }
.products-grid .product-card:nth-child(7)  { transition-delay: .36s; }
.products-grid .product-card:nth-child(8)  { transition-delay: .42s; }

/* 3D tilt wrapper */
.tilt-card { transform-style: preserve-3d; will-change: transform; }
.tilt-card .card-inner { transform: translateZ(20px); }

/* ═══════════════════════════════════════════════════════════════════════
   CATEGORY CARDS — ANIMATED OVERLAY
═══════════════════════════════════════════════════════════════════════ */
.cat-card {
    overflow: hidden;
}
.cat-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(249,115,22,.25) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .4s ease;
}
.cat-card:hover::before { opacity: 1; }

.cat-card__icon {
    transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .3s;
}
.cat-card:hover .cat-card__icon {
    transform: scale(1.3) rotate(-10deg);
    opacity: .8;
}

/* Sliding border-bottom glow */
.cat-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width .4s ease;
    border-radius: 0 0 2px 2px;
}
.cat-card:hover::after { width: 100%; }

/* ═══════════════════════════════════════════════════════════════════════
   FEATURE CARDS (Why Choose Us)
═══════════════════════════════════════════════════════════════════════ */
.feature-card__icon {
    transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.feature-card:hover .feature-card__icon {
    transform: translateY(-6px) scale(1.12) rotate(-5deg);
    box-shadow: 0 16px 40px rgba(249,115,22,.45);
}

/* ═══════════════════════════════════════════════════════════════════════
   TESTIMONIAL CARDS
═══════════════════════════════════════════════════════════════════════ */
.testi-card {
    position: relative; overflow: hidden;
}
.testi-card::before {
    content: '"';
    position: absolute; top: -20px; right: 16px;
    font-size: 8rem; color: var(--primary); opacity: .06;
    font-family: Georgia, serif; line-height: 1;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   BUTTONS — ENHANCED
═══════════════════════════════════════════════════════════════════════ */
.btn-primary {
    position: relative; overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.15) 60%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .5s ease;
}
.btn-primary:hover::after { transform: translateX(100%); }

/* Pulse ring on primary CTA */
.btn-pulse {
    position: relative;
}
.btn-pulse::before {
    content: '';
    position: absolute; inset: -4px;
    border-radius: calc(var(--radius) + 4px);
    border: 2px solid var(--primary);
    opacity: 0;
    animation: btnPulse 2.5s ease-out infinite;
}
@keyframes btnPulse {
    0%   { transform: scale(1);   opacity: .7; }
    100% { transform: scale(1.25); opacity: 0;  }
}

/* ═══════════════════════════════════════════════════════════════════════
   SECTION HEADER ANIMATED UNDERLINE
═══════════════════════════════════════════════════════════════════════ */
.section-header h2 {
    position: relative; display: inline-block;
}
.section-header--center h2 { display: block; }
.section-header h2::after {
    content: '';
    position: absolute; bottom: -8px; left: 0;
    width: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    transition: width .8s cubic-bezier(.16,1,.3,1);
}
.section-header--center h2::after { left: 50%; transform: translateX(-50%); }
.section-header.visible h2::after { width: 60px; }
.section-header--center.visible h2::after { width: 80px; }

/* ═══════════════════════════════════════════════════════════════════════
   STATS ROW — ANIMATED GRADIENT NUMBERS
═══════════════════════════════════════════════════════════════════════ */
.stat-item {
    position: relative;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}
.stat-item::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: var(--radius-lg);
    background: rgba(249,115,22,.06);
    opacity: 0;
    transition: opacity .3s;
}
.stat-item:hover::before { opacity: 1; }
.stat-item__num {
    font-family: var(--font-heading);
    font-size: 3rem; font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-item__label {
    font-size: .85rem; color: var(--text-muted);
    font-weight: 500; margin-top: .4rem;
    text-transform: uppercase; letter-spacing: .06em;
}

/* ═══════════════════════════════════════════════════════════════════════
   CONTACT FORM — INPUT ANIMATIONS
═══════════════════════════════════════════════════════════════════════ */
.form-group { position: relative; }
.form-group label {
    transition: color .2s;
}
.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group select:focus ~ label {
    color: var(--primary);
}

/* Animated underline */
.form-group input,
.form-group textarea,
.form-group select {
    transition: border-color .25s, box-shadow .25s, background .25s, transform .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════════════
   PAGE HERO — ANIMATED LINES
═══════════════════════════════════════════════════════════════════════ */
.page-hero .hero-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(249,115,22,.4), transparent);
    animation: lineSweep 4s ease-in-out infinite;
    pointer-events: none;
}
.page-hero .hero-line:nth-child(1) { width: 60%; top: 30%; left: 20%; animation-delay: 0s; }
.page-hero .hero-line:nth-child(2) { width: 40%; top: 65%; left: 30%; animation-delay: 1.5s; }
@keyframes lineSweep {
    0%,100% { opacity: 0; transform: scaleX(0); }
    50%     { opacity: 1; transform: scaleX(1); }
}

/* ═══════════════════════════════════════════════════════════════════════
   GLASSMORPHISM ELEMENTS
═══════════════════════════════════════════════════════════════════════ */
.glass {
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.12);
}
.glass-dark {
    background: rgba(15,23,42,.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.08);
}

/* Hero badge float glassmorphism */
.hero__badge-float {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* ═══════════════════════════════════════════════════════════════════════
   GLOW EFFECTS
═══════════════════════════════════════════════════════════════════════ */
.glow-orange {
    box-shadow: 0 0 40px rgba(249,115,22,.3), 0 0 80px rgba(249,115,22,.1);
}
.glow-blue {
    box-shadow: 0 0 40px rgba(99,179,237,.2), 0 0 80px rgba(99,179,237,.08);
}

/* ═══════════════════════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
═══════════════════════════════════════════════════════════════════════ */
.scroll-progress {
    position: fixed; top: 0; left: 0; z-index: 9999;
    height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% auto;
    animation: progressGradient 3s linear infinite;
    transition: width .1s linear;
    pointer-events: none;
}
@keyframes progressGradient {
    from { background-position: 0% center; }
    to   { background-position: 200% center; }
}

/* ═══════════════════════════════════════════════════════════════════════
   ANIMATED COUNTER SECTION (standalone)
═══════════════════════════════════════════════════════════════════════ */
.stats-bar {
    background: var(--secondary);
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 3rem 0;
}
.stats-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.stats-bar__item {
    background: var(--secondary);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.stats-bar__item::before {
    content: '';
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width .4s ease;
}
.stats-bar__item:hover::before { width: 80%; }
.stats-bar__item:hover { background: rgba(249,115,22,.05); }
.stats-bar__num {
    font-family: var(--font-heading);
    font-size: 2.5rem; font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1; margin-bottom: .4rem;
    display: block;
}
.stats-bar__label {
    font-size: .82rem; color: rgba(255,255,255,.5);
    text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
}
@media (max-width: 640px) { .stats-bar__grid { grid-template-columns: 1fr 1fr; } }

/* ═══════════════════════════════════════════════════════════════════════
   BACK TO TOP — UPGRADED
═══════════════════════════════════════════════════════════════════════ */
.back-to-top {
    animation: none;
}
.back-to-top.show {
    animation: backTopIn .35s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes backTopIn {
    from { opacity:0; transform: translateY(20px) scale(.8); }
    to   { opacity:1; transform: translateY(0)   scale(1);   }
}

/* ═══════════════════════════════════════════════════════════════════════
   WHATSAPP FLOAT — PULSE
═══════════════════════════════════════════════════════════════════════ */
.whatsapp-float {
    position: fixed; bottom: 5rem; right: 2rem;
    width: 52px; height: 52px; background: #25D366;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    z-index: 998; transition: var(--transition);
    text-decoration: none;
}
.whatsapp-float::before {
    content: '';
    position: absolute; inset: -6px;
    border-radius: 18px; border: 2px solid #25D366;
    opacity: 0; animation: waPulse 2.5s ease-out infinite;
}
.whatsapp-float::after {
    content: '';
    position: absolute; inset: -12px;
    border-radius: 22px; border: 2px solid #25D366;
    opacity: 0; animation: waPulse 2.5s .5s ease-out infinite;
}
@keyframes waPulse {
    0%   { transform: scale(1);    opacity: .5; }
    100% { transform: scale(1.35); opacity: 0;  }
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.08); }

/* ═══════════════════════════════════════════════════════════════════════
   PAGE TRANSITIONS
═══════════════════════════════════════════════════════════════════════ */
.page-transition-overlay {
    position: fixed; inset: 0; z-index: 9998;
    background: var(--secondary);
    transform: scaleY(0); transform-origin: bottom;
    pointer-events: none;
}
.page-transition-overlay.leaving {
    transform: scaleY(1);
    transition: transform .4s cubic-bezier(.86,0,.07,1);
    transform-origin: bottom;
}
.page-transition-overlay.entering {
    transform: scaleY(0);
    transition: transform .4s .1s cubic-bezier(.86,0,.07,1);
    transform-origin: top;
}

/* ═══════════════════════════════════════════════════════════════════════
   REVEAL UPGRADE — DIRECTIONAL
═══════════════════════════════════════════════════════════════════════ */
.reveal-left  { opacity:0; transform: translateX(-40px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right { opacity:0; transform: translateX(40px);  transition: opacity .7s ease, transform .7s ease; }
.reveal-scale { opacity:0; transform: scale(.9);         transition: opacity .6s ease, transform .6s cubic-bezier(.34,1.56,.64,1); }
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible { opacity:1; transform: none; }

/* ═══════════════════════════════════════════════════════════════════════
   MISC
═══════════════════════════════════════════════════════════════════════ */
.search-form { display: flex; gap: .5rem; }
.search-form input[type=search] { flex:1; padding:.65rem 1rem; border:1.5px solid var(--border); border-radius:var(--radius); font-family:var(--font); font-size:.95rem; outline:none; }
.search-form input[type=search]:focus { border-color:var(--primary); }
.search-form button { padding:.65rem 1.25rem; background:var(--primary); color:#fff; border-radius:var(--radius); font-weight:600; }

.site-notice { background:var(--primary); color:#fff; text-align:center; padding:.55rem 1rem; font-size:.88rem; font-weight:500; position:relative; z-index:1001; }
.site-notice a { color:#fff; font-weight:700; text-decoration:underline; }

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border-width:0; }

@media print {
    .site-header,.site-footer,.back-to-top,.whatsapp-float,.cta-banner { display:none !important; }
    .hero { min-height:auto; padding:2rem 0; }
}
