* {
    box-sizing: border-box;
}

body {
    margin:0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background:#f4f7fb;
    color:#1f2937;
}

/* HEADER */

header {
    background:#0f172a;
    color:white;
    padding:15px 25px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:relative;
}

.logo {
    font-size:22px;
    font-weight:700;
    color:#38bdf8;
}

nav {
    display:flex;
    gap:25px;
}

nav a {
    color:#e2e8f0;
    text-decoration:none;
    font-size:15px;
    font-weight:500;
}

nav a:hover {
    color:#38bdf8;
}

.menu-toggle {
    display:none;
    font-size:26px;
    cursor:pointer;
}

/* HERO */

.hero {
    background:linear-gradient(135deg, #1d4ed8, #0ea5e9);
    padding:110px 20px;
    text-align:center;
    color:white;
}

.hero-content {
    max-width:750px;
    margin:auto;
}

.hero h1 {
    font-size:40px;
    font-weight:700;
    margin-bottom:20px;
}

.hero p {
    font-size:18px;
    opacity:0.95;
}

.cta-btn {
    display:inline-block;
    margin-top:30px;
    padding:14px 30px;
    background:#f97316;
    color:white;
    text-decoration:none;
    border-radius:8px;
    font-weight:600;
    transition:0.3s;
}

.cta-btn:hover {
    background:#ea580c;
}

/* SECTION */

.section {
    padding:80px 20px;
}

.section h2 {
    text-align:center;
    margin-bottom:50px;
    font-size:30px;
    color:#0f172a;
}

/* GRID */

.grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:30px;
    max-width:1200px;
    margin:auto;
}

.card {
    background:white;
    padding:25px;
    border-radius:14px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    text-align:center;
    transition:0.3s;
}

.card:hover {
    transform:translateY(-6px);
}

.card img {
    width:100%;
    aspect-ratio: 16 / 9;   /* maintain same ratio everywhere */
    object-fit: cover;
    border-radius:12px;
}
}

.card h3 {
    margin-top:20px;
    font-size:20px;
    color:#1e293b;
}

.card p {
    color:#64748b;
    font-size:14px;
}

.btn {
    display:inline-block;
    margin-top:18px;
    padding:12px 22px;
    background:#0ea5e9;
    color:white;
    text-decoration:none;
    border-radius:6px;
    font-weight:500;
    transition:0.3s;
}

.btn:hover {
    background:#0284c7;
}

/* HIGHLIGHT */

.highlight {
    background:#0f172a;
    color:white;
    padding:80px 20px;
    text-align:center;
}

.highlight h2 {
    color:#38bdf8;
}

.highlight ul {
    list-style:disc;
    max-width:600px;
    margin:20px auto 0;
    text-align:left;
}

/* FOOTER */

footer {
    background:#0f172a;
    color:#94a3b8;
    text-align:center;
    padding:30px;
    font-size:14px;
}

/* MOBILE */

@media (max-width: 768px) {

    nav {
        display:none;
        flex-direction:column;
        position:absolute;
        top:100%;                /* attaches directly below header */
        right:0;
        margin-top:10px;
        background:#0f172a;
        padding:15px 25px;
        border-radius:12px;
        box-shadow:0 15px 35px rgba(0,0,0,0.4);
        min-width:220px;
        z-index:2000;            /* ensure above hero */
    }

    nav.active {
        display:flex;
    }

    nav a {
        padding:10px 0;
    }

    .menu-toggle {
        display:block;
    }
}

    .hero h1 {
        font-size:26px;
    }

    .hero p {
        font-size:15px;
    }

    .section {
        padding:60px 15px;
    }
}

/* COMPARISON SECTION */

.comparison {
    background:#f1f5f9;
    border-radius:20px;
}

.comparison-box {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
    max-width:900px;
    margin:40px auto;
}

.compare-card {
    background:white;
    padding:30px;
    border-radius:16px;
    box-shadow:0 10px 25px rgba(0,0,0,0.06);
}

.compare-card h3 {
    margin-bottom:15px;
}

.compare-card ul {
    padding-left:20px;
}

.winner {
    border:3px solid #22c55e;
}

.compare-summary {
    text-align:center;
    max-width:800px;
    margin:20px auto;
    font-size:16px;
}

/* Mobile */

@media (max-width: 768px) {
    .comparison-box {
        grid-template-columns:1fr;
    }
}


/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: #0a1f44;
    color: white;
}

.logo {
    font-size: 18px;
    font-weight: bold;
}

.menu-toggle {
    font-size: 22px;
    cursor: pointer;
    display: none;
}

nav {
    display: flex;
    gap: 18px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

/* HERO (COMPACT) */
.hero {
    padding: 25px 12px;  /* reduced height */
    background: linear-gradient(to right, #2a5bd7, #2fa4d9);
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 20px;
    margin-bottom: 6px;
}

.hero p {
    font-size: 13px;
}

/* SECTIONS */
.section {
    padding: 30px 15px;
    text-align: center;
}

.section h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

/* CARDS */
.card {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.card img {
    width: 100%;
    border-radius: 6px;
}

.card h3 {
    margin: 8px 0;
    font-size: 16px;
}

.card p {
    font-size: 13px;
    margin-bottom: 8px;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    background: #2a5bd7;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
}

/* HIGHLIGHT */
.highlight ul {
    list-style: none;
}

.highlight li {
    margin: 8px 0;
    font-size: 14px;
}

/* FOOTER */
footer {
    background: #0a1f44;
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 13px;
}

/* MOBILE */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        flex-direction: column;
        background: #0a1f44;
        position: absolute;
        top: 55px;
        right: 0;
        width: 180px;
        padding: 10px;
    }

    nav.active {
        display: flex;
    }
}