/* ===========================================
   PlanesPro - Base Styles & Design Tokens
   =========================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #0055FF;
    --secondary: #00194C;
    --body-color: #334770;
    --heading-color: #00194C;
    --section-bg: #F8FAFF;
    --blue: #0049DC;
    --metallic-blue: #324B7D;
    --lavender: #E6EEFF;
    --border-color: #E1E5EE;
    --white: #ffffff;
    --gray: #F1F4FC;
    --gray-two: #F1F5FF;
    --gray-three: #96A1B8;
    --gray-four: #667594;
    --danger: #E74C3C;
    --success: #22c55e;
    --body-font: 'Plus Jakarta Sans', sans-serif;
    --heading-font: 'Urbanist', sans-serif;
    --transition: all 0.3s ease;
    --fs-hero-title: clamp(2rem, 5vw, 3.75rem);
    --fs-section-title: clamp(1.625rem, 3.5vw, 2.5rem);
    --fs-card-title: clamp(1.125rem, 1.5vw, 1.25rem);
    --section-padding-y: clamp(50px, 10vw, 120px);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: var(--body-font);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.7;
    color: var(--body-color);
    overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 {
    font-family: var(--heading-font);
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.7rem;
}
h1 a,h2 a,h3 a,h4 a,h5 a,h6 a { color: inherit; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; transition: var(--transition); }
p { margin-bottom: 1rem; }
ul { list-style: none; padding: 0; margin: 0; }
.container { max-width: 1200px; padding: 0 15px; }
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Preloader ---------- */
#preloader {
    position: fixed; inset: 0; background: var(--white);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
}
.loader { width: 60px; height: 60px; position: relative; }
.loader-outter, .loader-inner {
    position: absolute; border-radius: 50%; border: 3px solid transparent;
}
.loader-outter { width: 100%; height: 100%; border-top-color: var(--primary); animation: spin 1.2s linear infinite; }
.loader-inner { width: 70%; height: 70%; top: 15%; left: 15%; border-bottom-color: var(--secondary); animation: spin .8s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Scroll Top ---------- */
.scroll-top {
    position: fixed; bottom: -10%; right: 30px;
    width: 35px; height: 35px; border-radius: 6px;
    background: var(--primary); color: var(--white); border: none;
    font-size: 16px; cursor: pointer; z-index: 99;
    text-align: center; line-height: 35px;
    transition: 1s ease; padding: 0;
}
.scroll-top.visible { bottom: 30px; }
.scroll-top:hover { background: var(--secondary); }
