/* ===== RESET ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    transition: background-color 0.4s ease, color 0.4s ease;
}

body {
    font-family: system-ui, sans-serif;
    background-color: #ffffff;
    color: #000000;
    overflow-x: hidden;
}

/* ===== DARK MODE ===== */
.dark body {
    background-color: #000000;
    color: #ffffff;
}

/* ===== TEXT SAFETY ===== */
h1, h2, h3, h4, h5, p, span, li {
    color: inherit;
}

/* ===== NAVBAR ===== */
.navbar {
    backdrop-filter: blur(3px);
    background: rgba(255,255,255,0.7);
}

.dark .navbar {
    background: rgba(20,20,20,0.6);
}

.navbar a {
    color: inherit;
    opacity: 0.9;
}

.navbar a:hover {
    opacity: 1;
}

/* ===== LIQUID GLASS ===== */
.liquid-glass {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(3px);
    border-radius: 24px;
}

.dark .liquid-glass {
    background: rgba(20,20,20,0.6);
}

/* ===== HERO ===== */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1.5rem;
}
.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
}


/* ===== SECTIONS ===== */
section {
    padding: 4rem 1.5rem;
}
section h2 {
    text-align: center;
    margin-bottom: 2rem;
}



/* ===== FOOTER ===== */
footer {
    padding: 3rem 1.5rem;
    text-align: center;
    opacity: 0.8;
}
footer a {
    color: inherit;
    text-decoration: underline;
}
footer a:hover {
    opacity: 1;
}

/* WHY US ICON – HARD FIX */
.whyus-icon {
    color: #000 !important;
}

.dark .whyus-icon {
    color: #fff !important;
}

.whyus-card {
    color: #000;
}

.dark .whyus-card {
    color: #fff;
}


/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
}
/* FOOTER MUST BE SINGLE */
footer {
    position: relative;
    z-index: 20;
}

/* LAST SECTION SHOULD NOT LOOK LIKE FOOTER */
main > section:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
}
/* ===============================
   FORM VISIBILITY FIX (DARK MODE)
   =============================== */

/* Base form style */
input,
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.15);
    background: #ffffff;
    color: #000;
}

/* Dark mode form */
.dark input,
.dark textarea,
.dark select {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
}

/* Placeholder */
input::placeholder,
textarea::placeholder {
    color: rgba(0,0,0,0.5);
}

.dark input::placeholder,
.dark textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

/* Focus */
input:focus,
textarea:focus {
    outline: none;
    border-color: rgba(0,0,0,0.4);
}

.dark input:focus,
.dark textarea:focus {
    border-color: rgba(255,255,255,0.6);
}
.form-card {
    backdrop-filter: blur(6px);
}
/* =========================
   SITE LOADER (PREMIUM)
   ========================= */

#site-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.dark #site-loader {
    background: #000000;
}

#site-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-inner span {
    font-size: 14px;
    letter-spacing: 0.4em;
    font-weight: 600;
    animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}
