/* ============================================================
   SAATHI SPACE — style-enhanced.css
   Styles ONLY the new classes added in the HTML.
   Does NOT touch or override anything from style.css
   ============================================================ */


:root {
    --footer-bg: #0d6efd;  /* must match footer { background } in style.css */
}

/* ── PARTICLES CANVAS ─────────────────────────────────────── */
#particleCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* ── HEADER SCROLL SHADOW ─────────────────────────────────── */
#siteHeader { transition: box-shadow 0.3s; }
#siteHeader.scrolled { box-shadow: 0 4px 28px rgba(0,84,253,0.45); }
#siteHeader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999999;
    background: #0054fd;
}
/* ── LOGIN BUTTON ──────────────────────────────────────────── */
.btn-login { transition: transform 0.25s, box-shadow 0.25s !important; }
.btn-login:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(255,255,255,0.25) !important;
}

/* ── HERO ORBS ────────────────────────────────────────────── */
.hero-3d { overflow: hidden;
    position: relative;
    z-index: 0;
} 

.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    pointer-events: none;
    z-index: 0;
    /* ✅ BUG 4 FIX: orbFloat uses transform. The JS parallax handler
       was also writing orb.style.transform on scroll, fighting this
       animation every frame and causing visual jank.
       Fix: JS parallax now targets the hero section itself (translateY
       on .hero-3d) instead of individual orbs, leaving this CSS alone. */
    animation: orbFloat 7s ease-in-out infinite;
}
.orb-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.13) 0%, transparent 70%);
    top: -80px; left: -80px;
    animation-delay: 0s;
}
.orb-2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    bottom: -50px; right: 42%;
    animation-delay: -3s;
}
.orb-3 {
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    top: 28%; right: 8%;
    animation-delay: -5s;
}
@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-20px) scale(1.05); }
}

/* ── HERO REVEAL ──────────────────────────────────────────── */
.reveal-hero {
    animation: heroReveal 0.9s 0.1s cubic-bezier(0.23,1,0.32,1) both;
    position: relative;
    z-index: 2;
}
@keyframes heroReveal {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── HERO BADGE ───────────────────────────────────────────── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}
.badge-dot {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
    animation: badgePulse 2s infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* ── GRADIENT TEXT ────────────────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #bdd3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── HERO ACTIONS ─────────────────────────────────────────── */
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

/* ── 3D BUTTON ────────────────────────────────────────────── */
.btn-3d {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    box-shadow:
        0 6px 20px rgba(0,0,0,0.2),
        0 2px 0 rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.2) !important;
    transition:
        transform 0.28s cubic-bezier(0.23,1,0.32,1),
        box-shadow 0.28s cubic-bezier(0.23,1,0.32,1) !important;
    position: relative;
    overflow: hidden;
}
.btn-3d:hover {
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow:
        0 14px 36px rgba(0,0,0,0.25),
        0 2px 0 rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.2) !important;
}
.btn-3d:active {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

/* ── GHOST BUTTON ─────────────────────────────────────────── */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid rgba(255,255,255,0.7);
    color: #fff;
    background: transparent;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}


/* ── SECTION TAG ──────────────────────────────────────────── */
.section-tag {
    display: inline-block;
    background: rgba(13,110,253,0.1);
    color: #0d6efd;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}
.tag-light {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
}

/* ── SECTION HEADER ───────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.slider-section-header {
    text-align: center;
    padding: 20px 20px 0;
    margin-bottom: 24px;
}

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.reveal-up {
    opacity: 0;
    transform: translateY(42px);
    transition:
        opacity   0.75s cubic-bezier(0.23,1,0.32,1),
        transform 0.75s cubic-bezier(0.23,1,0.32,1);
}
.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-up[data-delay="150"] { transition-delay: 0.15s; }
.reveal-up[data-delay="300"] { transition-delay: 0.30s; }

/* ── 3D CARD ──────────────────────────────────────────────── */
.card-3d {
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.23,1,0.32,1) !important;
}
.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 25%, rgba(13,110,253,0.1), transparent 65%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}
.card-3d:hover .card-glow { opacity: 1; }

.card-shine {
    position: absolute;
    top: 0; left: -80%;
    width: 55%; height: 100%;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255,255,255,0.18) 50%,
        transparent 70%
    );
    transform: skewX(-15deg);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
}
.card-3d:hover .card-shine {
    opacity: 1;
    animation: shineSweep 0.55s ease forwards;
}
@keyframes shineSweep {
    from { left: -80%; }
    to   { left: 130%; }
}

/* ── FEATURE ICON WRAP ────────────────────────────────────── */
.feature-icon-wrap {
    width: 60px; height: 60px;
    background: rgba(13,110,253,0.08);
    border: 1.5px solid rgba(13,110,253,0.18);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    transition: background 0.3s, transform 0.3s, border-color 0.3s;
    position: relative;
    z-index: 2;
}
.card-3d:hover .feature-icon-wrap {
    background: #0d6efd;
    border-color: #0d6efd;
    transform: translateY(-3px) scale(1.08);
}
.feature-icon {
    font-size: 1.5rem;
    color: #0d6efd;
    transition: color 0.3s;
}
.card-3d:hover .feature-icon { color: #fff; }

/* ── RESOURCE ICON + ARROW ────────────────────────────────── */
.resource-icon {
    width: 52px; height: 52px;
    background: rgba(13,110,253,0.08);
    border: 1.5px solid rgba(13,110,253,0.18);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px auto;
    font-size: 1.3rem;
    color: #0d6efd;
    transition: background 0.3s, transform 0.3s, border-color 0.3s;
    position: relative;
    z-index: 2;
}
.card-3d:hover .resource-icon {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    transform: rotate(-8deg) scale(1.1);
}
.resource-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(13,110,253,0.1);
    color: #0d6efd;
    font-size: 0.8rem;
    margin-top: 10px;
    transition: background 0.3s, transform 0.3s;
    position: relative;
    z-index: 2;
}
.card-3d:hover .resource-arrow {
    background: #0d6efd;
    color: #fff;
    transform: translateX(5px);
}

/* ── AWARENESS ────────────────────────────────────────────── */
.awareness-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
}

@media (max-width: 768px) {
    .awareness-content { flex-direction: column; text-align: center; }
    .awareness-text    { text-align: center; }
}
.awareness-bg-shape {
    position: absolute;
    inset: -20%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.05) 0%, transparent 65%);
    pointer-events: none;
    animation: orbFloat 10s ease-in-out infinite;
}
.awareness-text {
    flex: 1;
    position: relative;
    z-index: 1;
}
.awareness-visual {
    position: relative;
    width: 200px; height: 200px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.awareness-ring {
    position: absolute;
    border: 2px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    animation: ringPulse 3.5s ease-in-out infinite;
}
.ring-1 { width: 200px; height: 200px; animation-delay: 0s; }
.ring-2 { width: 138px; height: 138px; animation-delay: -1.1s; border-color: rgba(255,255,255,0.26); }
.ring-3 { width: 82px;  height: 82px;  animation-delay: -2.2s; border-color: rgba(255,255,255,0.42); }
@keyframes ringPulse {
    0%, 100% { transform: scale(1);    opacity: 0.6; }
    50%       { transform: scale(1.09); opacity: 1;   }
}
.awareness-icon-center {
    width: 58px; height: 58px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,0.38);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    z-index: 1;
    animation: iconBob 3s ease-in-out infinite;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
@keyframes iconBob {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}
@media (max-width: 768px) {
    .awareness-visual { margin: 0 auto; }
}

/* ── 3D OUTLINE BUTTON ────────────────────────────────────── */
.btn-3d-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 26px;
    border: 2px solid rgba(255,255,255,0.75);
    color: #fff;
    background: transparent;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.28s, transform 0.28s, box-shadow 0.28s;
}
.btn-3d-outline:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    border-color: #fff;
}

/* ── CTA ──────────────────────────────────────────────────── */
.cta-bg-orb {
    position: absolute;
    width: 480px; height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    top: 50%; left: 15%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: orbFloat 9s ease-in-out infinite;
}
.cta-pulse-ring {
    position: absolute;
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    pointer-events: none;
    animation: ctaPulse 4s ease-out infinite;
}
@keyframes ctaPulse {
    0%   { width: 60px; height: 60px; top: 50%; left: 10%; opacity: 0.8; transform: translate(-50%,-50%); }
    100% { width: 340px; height: 340px; top: 50%; left: 10%; opacity: 0; transform: translate(-50%,-50%); }
}
.cta-content {
    position: relative;
    z-index: 2;
}
.cta-btn {
    padding: 10px 20px !important;
    font-size: 1rem !important;
    background: rgba(255,255,255,0.15) !important;
    border: 2px solid rgba(255,255,255,0.6) !important;
    color: #fff !important;
    backdrop-filter: blur(8px);
}
.cta-btn:hover {
    background: rgba(255,255,255,0.25) !important;
    border-color: #fff !important;
}

/* ── FOUNDER ──────────────────────────────────────────────── */
.founder-image-wrap {
    position: relative;
    flex-shrink: 0;
    width: 280px; height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.founder-ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 3px dashed rgba(13,110,253,0.3);
    animation: spinRing 14s linear infinite;
}
@keyframes spinRing {
    to { transform: rotate(360deg); }
}
.founder-img {
    width: 260px; height: 260px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 12px 40px rgba(13,110,253,0.2);
    border: 4px solid #fff;
    position: relative;
    z-index: 1;
    transition: transform 0.4s, box-shadow 0.4s;
}
.founder-image-wrap:hover .founder-img {
    transform: scale(1.04);
    box-shadow: 0 20px 54px rgba(13,110,253,0.28);
}
@media (max-width: 768px) {
    .founder-image-wrap { width: 200px; height: 200px; }
    .founder-img        { width: 180px; height: 180px; }
}

/* ── FAQ ──────────────────────────────────────────────────── */
.arrow {
    width: 30px; height: 30px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem !important;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.23,1,0.32,1), background 0.3s;
}
.faq-item.open .arrow {
    transform: rotate(45deg);
    background: rgba(255,255,255,0.28);
}
.faq-answer {
    transition: max-height 0.4s cubic-bezier(0.23,1,0.32,1) !important;
}
.faq-item { transition: transform 0.3s, box-shadow 0.3s; }
.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(13,110,253,0.28);
}
.faq-question { position: relative; }
.faq-question::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: rgba(255,255,255,0.55);
    border-radius: 0 3px 3px 0;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.35s cubic-bezier(0.23,1,0.32,1);
}
.faq-item.open .faq-question::before { transform: scaleY(1); }


/* ── SOCIAL ICONS ─────────────────────────────────────────── */
.social-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    margin: 0 4px;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s !important;
}
.social-icon:hover {
    background: rgba(255,255,255,0.22) !important;
    color: #fff !important;
    transform: translateY(-4px) scale(1.15) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ── AUTH MODAL ───────────────────────────────────────────── */
.auth-3d {
    box-shadow: 0 24px 80px rgba(13,110,253,0.25) !important;
    animation: authPop 0.45s cubic-bezier(0.23,1,0.32,1) both;
}
@keyframes authPop {
    from { opacity: 0; transform: scale(0.88) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.close-btn {
    transition: transform 0.28s, color 0.25s;
}
.close-btn:hover {
    transform: rotate(90deg) scale(1.1);
    color: #0054fd;
}
.input-group {
    position: relative;
    margin-bottom: 4px;
}
.input-group > i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #0d6efd;
    font-size: 0.88rem;
    pointer-events: none;
    z-index: 1;
}
.input-group input {
    padding-left: 36px !important;
    transition: box-shadow 0.25s, border-color 0.25s;
}
.input-group input:focus {
    border-color: #0054fd !important;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.15);
    outline: none;
}