/* ════════════════════════════════════════════
   Aayug Digital – Light Mode Design System
   ════════════════════════════════════════════ */

:root {
    --color-bg: #F8FAFF;
    --color-surface: #FFFFFF;
    --color-surface-hover: #EEF2FF;
    --color-text-primary: #0F172A;
    --color-text-secondary: #475569;
    --color-primary: #2563EB;
    --color-secondary: #0EA5E9;
    --color-accent: #3B82F6;
    --color-border: rgba(37, 99, 235, 0.15);
    --color-border-hover: rgba(37, 99, 235, 0.35);
    --color-glow: rgba(37, 99, 235, 0.15);
    --color-glow-hover: rgba(37, 99, 235, 0.30);
}

/* ── Base ─────────────────────────────────────────────── */
body {
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    -webkit-font-smoothing: antialiased;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* ── Navigation ───────────────────────────────────────── */
nav {
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom-color: rgba(37, 99, 235, 0.10) !important;
    box-shadow: 0 1px 20px rgba(15, 23, 42, 0.06);
}

nav img { filter: none; }

/* ── Cards ────────────────────────────────────────────── */
.glass-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(37, 99, 235, 0.30);
    background: #FFFFFF;
    box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.15), 0 0 25px -5px var(--color-glow);
    transform: translateY(-4px);
}

/* ── Glass Panel ──────────────────────────────────────── */
.glass-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.06);
}

/* ── Glow ─────────────────────────────────────────────── */
.glow-shadow { box-shadow: 0 0 30px var(--color-glow); transition: all 0.3s ease; }
.glow-shadow:hover { box-shadow: 0 0 45px var(--color-glow-hover); }

/* ── Gradient Text ────────────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Blue Gradient Button ─────────────────────────────── */
.blue-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #FFFFFF !important;
}

.blue-gradient-hover { transition: all 0.3s ease; }
.blue-gradient-hover:hover { opacity: 0.92; box-shadow: 0 8px 30px var(--color-glow-hover); }

/* ── Solid primary buttons keep white text ────────────── */
.bg-primary, a.bg-primary, button.bg-primary { color: #FFFFFF !important; }

/* ── Override: text-white should be dark on light bg ──── */
/* (Only applies outside of buttons/gradient areas) */
.text-white { color: #0F172A; }
.blue-gradient .text-white,
.bg-primary,
.blue-gradient { color: #FFFFFF !important; }

/* ── Icon font ────────────────────────────────────────── */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* ── Form Steps ───────────────────────────────────────── */
.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn 0.4s ease-out; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Scrollbar ────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track  { background: #F1F5F9; }
::-webkit-scrollbar-thumb  { background: rgba(37, 99, 235, 0.25); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

/* ── Portfolio Hover ──────────────────────────────────── */
.portfolio-image-hover img { transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.portfolio-image-hover:hover img { transform: scale(1.05); }

/* ── Text Selection ───────────────────────────────────── */
::selection {
    background: rgba(37, 99, 235, 0.15);
    color: var(--color-text-primary);
}

/* ── Section alternate backgrounds ───────────────────── */
.bg-surface-container          { background-color: #EEF2FF !important; }
.bg-surface-container-lowest   { background-color: #F1F5FF !important; }
.bg-surface                    { background-color: #FFFFFF !important; }

/* ── bg-white/* dark utilities → light equivalents ────── */
.bg-white\/5   { background-color: rgba(37, 99, 235, 0.04) !important; }
.bg-white\/10  { background-color: rgba(37, 99, 235, 0.07) !important; }
.bg-white\/\[0\.02\] { background-color: rgba(37, 99, 235, 0.02) !important; }
.hover\:bg-white\/5:hover  { background-color: rgba(37, 99, 235, 0.05) !important; }
.hover\:bg-white\/10:hover { background-color: rgba(37, 99, 235, 0.08) !important; }

/* ── border-white/* dark utilities → light equivalents ── */
.border-white\/5  { border-color: rgba(15, 23, 42, 0.07) !important; }
.border-white\/10 { border-color: rgba(15, 23, 42, 0.10) !important; }

/* ── Process / workflow connector lines ───────────────── */
.bg-white\/10 { background-color: rgba(37, 99, 235, 0.12) !important; }

/* ── Portfolio overlay gradient ───────────────────────── */
.from-background { --tw-gradient-from: rgba(15,23,42,0.75) !important; }

/* ── About "Meet The Team" button ─────────────────────── */
#meet-team-btn {
    border-color: rgba(37, 99, 235, 0.22) !important;
    color: #0F172A !important;
}
#meet-team-btn:hover { background-color: rgba(37, 99, 235, 0.05) !important; }

/* ── About: abstract grid overlay (much lighter on white) */
[style*="ffffff0a"] { opacity: 0.03 !important; }

/* ── Services: "Inquire" secondary button ─────────────── */
a[class*="border-white\/10"],
.border-white\/10.hover\:bg-white\/10 {
    border-color: rgba(37, 99, 235, 0.22) !important;
}

/* ── Contact: form inputs ─────────────────────────────── */
form textarea,
form input[type="text"],
form input[type="email"],
form input[type="range"] {
    background: #F8FAFF !important;
    border-color: rgba(37, 99, 235, 0.18) !important;
    color: #0F172A !important;
}
form textarea::placeholder,
form input::placeholder { color: #94A3B8 !important; }

/* ── Contact: back-step button ────────────────────────── */
#prev-step { color: #475569 !important; }
#prev-step:hover { color: #0F172A !important; }

/* ── FAQ accordion hover ──────────────────────────────── */
.glass-panel button.hover\:bg-white\/5:hover { background-color: rgba(37,99,235,0.04) !important; }

/* ── Grayscale images → dark on light bg ─────────────── */
.grayscale { filter: grayscale(1) brightness(0.5) !important; }
.group:hover .group-hover\:grayscale-0 { filter: none !important; }

/* ── Footer (intentionally dark for contrast) ─────────── */
footer {
    background-color: #1E293B !important;
    border-top-color: rgba(255,255,255,0.08) !important;
}
footer .text-on-surface         { color: #F8FAFC !important; }
footer .text-on-surface-variant { color: #94A3B8 !important; }
footer h5                        { color: #F8FAFC !important; }
footer a                         { color: #94A3B8 !important; }
footer a:hover                   { color: #60A5FA !important; }
footer input {
    background: rgba(255,255,255,0.07) !important;
    border-color: rgba(255,255,255,0.10) !important;
    color: #CBD5E1 !important;
}
footer input::placeholder        { color: #64748B; }
footer .text-outline             { color: #64748B !important; }
footer .border-white\/10         { border-color: rgba(255,255,255,0.10) !important; }
