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

:root {
    --primary: #1e40af;
    --primary-light: #2563eb;
    --bg: #f5f7fb;
    --text: #1f2937;
    --muted: #6b7280;
    --card: #ffffff;
    --radius: 16px;
}

body {
    font-family: Inter, Segoe UI, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* =========================
   LAYOUT
========================= */
.container {
    width: 92%;
    max-width: 1000px;
    margin: auto;
}

/* =========================
   HEADER (MODERN HERO STYLE)
========================= */
header {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    text-align: center;
    padding: 70px 20px 40px;
    position: relative;
    overflow: hidden;
}

/* subtle glow */
header::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -40%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%);
    transform: rotate(20deg);
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* =========================
   NAVIGATION (IMPROVED)
========================= */
.nav-links {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;

    padding: 10px 14px;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);

    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.nav-links a:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.nav-links a:active {
    transform: scale(0.97);
}

/* =========================
   CARDS
========================= */
.card {
    background: var(--card);
    margin: 22px 0;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.card h2 {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.card h3 {
    margin-top: 18px;
    margin-bottom: 10px;
    color: #111827;
}

.card p {
    margin-bottom: 14px;
    color: var(--text);
}

/* =========================
   LISTS
========================= */
.card ul {
    margin-left: 20px;
    margin-top: 10px;
}

.card li {
    margin-bottom: 8px;
    color: #374151;
}

/* =========================
   CONTACT BOX
========================= */
.contact-box {
    background: #eff6ff;
    border-left: 5px solid var(--primary-light);
    padding: 16px;
    border-radius: 10px;
}

/* =========================
   FOOTER
========================= */
footer {
    text-align: center;
    padding: 35px 20px;
    color: var(--muted);
    font-size: 0.9rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }

    .card {
        padding: 22px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 60px 16px 30px;
    }

    .nav-links {
        gap: 8px;
    }

    .nav-links a {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}


/* =========================
   HERO LANDING PAGE
========================= */
.hero {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    text-align: center;
    padding: 90px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%);
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* =========================
   BUTTONS
========================= */
.hero-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s ease;
    display: inline-block;
}

.btn.primary {
    background: white;
    color: #1e40af;
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn.secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn.secondary:hover {
    background: white;
    color: #1e40af;
}

.btn.large {
    padding: 14px 26px;
    font-size: 1.1rem;
}

/* =========================
   FEATURES GRID
========================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.feature {
    background: #f9fafb;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.feature h3 {
    margin-bottom: 8px;
}

/* =========================
   STEPS
========================= */
.steps {
    margin-left: 20px;
    margin-top: 10px;
}

.steps li {
    margin-bottom: 10px;
    font-weight: 500;
}

/* =========================
   CENTER SECTION
========================= */
.center {
    text-align: center;
}

/* =========================
   HIGHLIGHT BOX
========================= */
.highlight {
    background: #eff6ff;
    border: 1px solid #dbeafe;
}
