:root {
    /* === BRAND COLOURS (MATCHED TO LOGO) === */
    --primary: #001A66;             /* Main navy blue */
    --primary-dark: #000F3F;        /* Darker shade for hover + CTA depth */
    --accent: #E10600;              /* Logo red */
    --accent-light: #FFDDD9;        /* Soft red tint */
    --secondary-bg: #E8ECFF;        /* Light blue tint background */

    /* Additional theme */
    --success: #16a34a;
    --text: #111827;
    --muted: #6b7280;
    --bg: #F7F8FB;
    --danger-soft: #FFE4E0;         /* Problem-Solving card background */
    --proof-soft: #E0F7F5;          /* Proofreading card background */

    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.10);
    --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.08);
    --transition: 0.25s ease-out;
    --max-width: 1120px;
}

/* ========== GLOBAL RESET ========== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #ffffff;
    color: var(--text);
}

h1, h2, h3 {
    letter-spacing: -0.01em;
}

p {
    line-height: 1.65;
}

/* ========== LAYOUT ========== */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4.5rem 0;
}

.section-soft {
    padding: 4.5rem 0;
    background: radial-gradient(circle at top left, #eef4ff, #f9fafb);
}

/* ========== TOP BAR / HEADER ========== */

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #e5e7eb;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-logo {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

/* NAV LIST */

.nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    gap: 1.1rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
    font-size: 0.92rem;
    color: var(--muted);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    transition: var(--transition);
}

/* ===== TOP NAV DROPDOWNS ===== */

.nav li {
    position: relative;
}

/* parent menu item that has dropdown */
.has-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.has-dropdown > a::after {
    content: "▾";
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Dropdown container - hidden by default */
.nav .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 0.35rem 0;
    margin: 0;
    list-style: none;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
    border: 1px solid #e5e7eb;
    display: none;
    z-index: 40;
}

.nav .dropdown a {
    display: block;
    padding: 0.5rem 0.9rem;
    font-size: 0.88rem;
    color: var(--muted);
    border-radius: 8px;
    white-space: nowrap;
}

.nav .dropdown a:hover {
    background: #eef2ff;
    color: var(--primary);
}

/* Show dropdown only on hover */
.nav li.has-dropdown:hover > .dropdown {
    display: block;
}

/* Hover styling */
.nav a:hover {
    background: #eef2ff;
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding-inline: 1rem;
    box-shadow: 0 10px 25px rgba(0, 26, 102, 0.35);
}

.nav-cta:hover {
    background: var(--primary-dark);
}

/* Always hide the checkbox visually */
.nav-toggle {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* ============================
   MOBILE/TABLET NAVIGATION
   ============================ */
@media (max-width: 900px) {

    /* Fix hero layout on mobile/tablet */
    .hero-grid {
        display: flex;
        flex-direction: column;
    }

    .hero-left {
        order: 0;
        padding: 1.2rem 1.4rem 0;
    }

    .hero-right {
        order: 1;
        padding: 1rem 1.4rem 1.4rem;
    }

    .hero-badge {
        position: static;
        transform: none;
        margin: 0 0 0.75rem 0;
    }

    .hero-img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    /* Top bar sizing + alignment */
    .topbar {
        padding: 0;
    }

    .topbar-inner {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 64px;
        position: relative;
    }

    .brand-logo {
        height: 38px;
    }

    /* NAV PANEL UNDER HEADER */
    .nav {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #ffffff;
        display: none;
        padding: 1rem 1.25rem 1.4rem;
        box-shadow: 0 8px 25px rgba(0,0,0,0.10);
        z-index: 1000;
        border-radius: 0 0 12px 12px;
    }

    /* Vertical list, left-aligned, with clean spacing */
    .nav ul {
        flex-direction: column;
        gap: 0.6rem;
        padding: 0;
        align-items: flex-start;
    }

    .nav > ul > li {
        width: 100%;
    }

    /* Dropdown cards: tidy box with consistent spacing */
    .nav .dropdown {
        position: static;
        background: #ffffff;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.10);
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        padding: 0.45rem 0.4rem;
        display: block !important;
        margin: 0.15rem 0 0.7rem 0;
    }

    .nav .dropdown a {
        display: block;
        padding: 0.45rem 0.7rem;
    }

    /* Show NAV when toggle is checked */
    .nav-toggle:checked ~ .nav {
        display: block;
    }

    /* MOBILE CONTACT BUTTON – separate, with breathing room */
    .nav-cta {
        display: inline-flex;
        margin-top: 0.75rem;
        margin-bottom: 0.1rem;
    }

    /* HAMBURGER BUTTON */
    .nav-toggle-label {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        background: var(--primary);
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 8px 18px rgba(0, 26, 102, 0.35);
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Hamburger lines */
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: "";
        display: block;
        width: 18px;
        height: 2px;
        background: #ffffff;
        border-radius: 10px;
        position: relative;
    }

    .nav-toggle-label span::before {
        position: absolute;
        top: -6px;
    }

    .nav-toggle-label span::after {
        position: absolute;
        top: 6px;
    }

    /* When open → show X icon */
    .nav-toggle:checked + .nav-toggle-label span {
        background: transparent;
    }

    .nav-toggle:checked + .nav-toggle-label span::before {
        top: 0;
        transform: rotate(45deg);
    }

    .nav-toggle:checked + .nav-toggle-label span::after {
        top: 0;
        transform: rotate(-45deg);
    }
}

/* ========== HERO ========== */

.hero {
    background: radial-gradient(circle at bottom left, #e0f2fe, #f9fafb 40%, #eef2ff 80%);
}

/* 2 columns on desktop */
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
    gap: 3rem;
    align-items: center;
    padding: 3rem 0 3.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    background: #e0ecff;
    color: #1d4ed8;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 1.1rem;
}

.hero-badge-icon {
    font-size: 0.9rem;
}

.hero h1 {
    font-size: clamp(2.1rem, 3.2vw, 2.8rem);
    margin: 0 0 0.8rem;
    letter-spacing: -0.02em;
}

.accent {
    color: var(--accent);
}

.hero-sub {
    color: var(--muted);
    margin: 0 0 1.6rem;
    max-width: 34rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: #4b5563;
}

/* Hero right card */

.hero-right {
    justify-self: center;
    width: 100%;
}

.hero-image-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 4 / 3;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    background: transparent;
    transform-origin: bottom;
    animation: floatHero 6s ease-in-out infinite alternate;
}

.hero-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-tag-card {
    position: absolute;
    left: 1.4rem;
    bottom: 1.4rem;
    background: #ffffff;
    border-radius: 999px;
    padding: 0.6rem 1.1rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-tag-label {
    font-size: 0.75rem;
    color: var(--muted);
}

.hero-tag-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #16a34a;
}

.hero-tag-indicator {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: linear-gradient(135deg, #22c55e, #15803d);
}

.hero-dots {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    width: 58px;
    height: 58px;
    background-image: radial-gradient(circle, rgba(148, 163, 184, 0.9) 1px, transparent 0);
    background-size: 8px 8px;
    opacity: 0.7;
}

/* ========== SECTION HEADINGS ========== */

.section-title {
    text-align: center;
    font-size: 1.7rem;
    margin: 0 0 0.6rem;
}

.section-lead {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2.2rem;
    color: var(--muted);
}

/* ========== FEATURE GRID (HOME + WHY US) ========== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.5rem 1.6rem;
    box-shadow: var(--shadow-card);
    border: 1px solid #e5e7eb;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.feature-card p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--muted);
}

.feature-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    font-size: 1.1rem;
    background: #eef2ff;
    color: var(--primary);
}

/* ========== BUTTONS ========== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.btn.primary {
    font-weight: 600;
}

.primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 30px rgba(0, 26, 102, 0.35);
}

.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 16px 35px rgba(0, 26, 102, 0.45);
}

.ghost {
    background: #ffffff;
    border-color: #e5e7eb;
    color: var(--primary);
}

.ghost:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
}

/* ========== LEVEL CARDS (BA / MA / PHD) ========== */

.level-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.level-card {
    border-radius: var(--radius-lg);
    background: #ffffff;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.level-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
}

.level-tag {
    position: absolute;
    z-index: 2;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #f9fafb;
}

.undergrad {
    background: #facc15;
    color: #1e293b;
}

.masters {
    background: #0ea5e9;
}

.doctoral {
    background: #ef4444;
}

.level-image-wrapper {
    width: 100%;
    height: auto;
}

.level-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.8s ease-out;
}

.level-card:hover .level-img {
    transform: scale(1.06);
}

.level-body {
    padding: 1.4rem 1.5rem 1.3rem;
}

.level-body h3 {
    margin: 0 0 0.45rem;
}

.level-body p {
    margin: 0 0 0.75rem;
    font-size: 0.93rem;
    color: var(--muted);
}

.level-list {
    margin: 0 0 0.9rem;
    padding-left: 1.1rem;
    font-size: 0.88rem;
    color: #4b5563;
}

.level-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
}

.level-link:hover {
    text-decoration: underline;
}

/* ========== WIDE SERVICE CARDS (PROBLEM-SOLVING / PROOFREADING) ========== */

.service-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.wide-service-card {
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.6rem;
    box-shadow: var(--shadow-card);
    border: 1px solid #e5e7eb;
    background: #ffffff;
    transition: var(--transition);
}

.wide-service-card h3 {
    margin: 0 0 0.4rem;
}

.wide-service-card p {
    margin: 0 0 0.8rem;
    font-size: 0.94rem;
    color: var(--muted);
}

.wide-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
}

.wide-link:hover {
    text-decoration: underline;
}

.problem {
    border-color: #fca5a5;
    background: var(--danger-soft);
}

.proof {
    border-color: #5eead4;
    background: var(--proof-soft);
}

/* ========== FIELDS WE SERVE (PILLS) ========== */

.pill-list {
    list-style: none;
    padding: 0;
    margin: 1rem auto 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.pill-list li {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    font-size: 0.85rem;
    color: #4b5563;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

.note {
    text-align: center;
    font-size: 0.86rem;
    color: var(--muted);
}

/* ========== CONTACT (HOME + PAGE) ========== */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: flex-start;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1rem;
    font-size: 0.95rem;
}

.contact-list li {
    margin-bottom: 0.4rem;
}

.contact-list a {
    color: var(--primary);
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.86rem;
    color: var(--muted);
}

.contact-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.7rem;
    box-shadow: var(--shadow-card);
    border: 1px solid #e5e7eb;
}

.contact-card ul {
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: #4b5563;
}

.mt {
    margin-top: 0.6rem;
}

/* ========== FOOTER ========== */

.footer {
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: #6b7280;
}

.footer strong {
    color: var(--text);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.footer-links a {
    margin-right: 1rem;
    color: var(--primary);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-credit a {
    color: var(--primary);
    text-decoration: none;
}

/* ========== ANIMATIONS ========== */

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

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

@keyframes floatHero {
    from {
        transform: translateY(0) scale(1);
    }
    to {
        transform: translateY(-6px) scale(1.01);
    }
}

.animate-up {
    animation: fadeUp 0.7s ease-out both;
}

.animate-up-delayed {
    animation: fadeUp 0.8s ease-out both;
}

.animate-up-delayed-2 {
    animation: fadeUp 0.9s ease-out both;
}

.animate-fade {
    animation: fadeIn 0.8s ease-out both;
}

/* ========== FLOATING WHATSAPP BUTTON ========== */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    z-index: 9999;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
}

.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

/* ========== INNER PAGE LAYOUTS ========== */

.page-hero {
    padding: 4rem 0 2.5rem;
    background: radial-gradient(circle at top left, #eef4ff, #f9fafb);
}

.page-hero .section-title {
    text-align: left;
}

.page-hero .section-lead {
    text-align: left;
    margin-left: 0;
    max-width: 40rem;
}

.page-layout {
    padding: 3rem 0 4rem;
}

.page-grid-two {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: flex-start;
}

.page-text {
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--muted);
}

.page-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.badge {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: #eef2ff;
    font-size: 0.8rem;
    color: var(--primary);
}

/* Service cards on inner pages */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.5rem 1.6rem;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.service-card h3 {
    margin: 0;
}

.service-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
}

.service-card ul {
    margin: 0.4rem 0 0.6rem;
    padding-left: 1.1rem;
    font-size: 0.88rem;
    color: #4b5563;
}

.service-card .btn-link {
    margin-top: auto;
    font-size: 0.88rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.service-card .btn-link:hover {
    text-decoration: underline;
}

/* Simple section dividers */

.section-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ========== GENERIC FORMS (USED ON INNER PAGES) ========== */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
}

.form-grid-full {
    grid-column: 1 / -1;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.form-field label {
    font-weight: 500;
    color: var(--text);
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font: inherit;
    resize: vertical;
}

.form-field textarea {
    min-height: 120px;
}

.form-actions {
    margin-top: 1.4rem;
}

/* Values / USPs */

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.3rem;
}

.value-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.2rem 1.4rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
}

.value-card h3 {
    margin: 0 0 0.35rem;
}

.value-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Fields cards on Fields page */

.field-category {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.4rem 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-card);
    margin-bottom: 1rem;
}

.field-category h3 {
    margin: 0 0 0.4rem;
}

.field-category p {
    margin: 0;
    font-size: 0.9rem;
    color: #4b5563;
}

/* ========== TERMS & CONDITIONS PAGE ========== */

.legal-page {
    padding: 4.5rem 0 4rem;
    background: #ffffff;
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.legal-heading {
    font-size: 1.7rem;
    margin: 0 0 0.6rem;
}

.legal-intro {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.7;
    margin-bottom: 1.6rem;
}

.legal-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #374151;
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem;
}

.legal-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.legal-bullet {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #0ea5e9;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.legal-footnote {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 1.2rem;
}

/* ========== CONTACT FORM CARD LAYOUT (CONTACT PAGE) ========== */

.contact-form-card {
    max-width: 860px;
    margin: 0 auto;
}

.contact-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 1.5rem;
    margin-top: 1.5rem;
}

.contact-form .form-field-full {
    margin-top: 1.2rem;
}

/* override inside card to keep everything inside card width */
.contact-card .form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
}

.contact-card label {
    font-weight: 500;
    color: #111827;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font: inherit;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(0, 26, 102, 0.15);
}

.contact-card textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form .btn.primary {
    margin-top: 1.6rem;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 2.5rem;
        row-gap: 2.5rem;
    }

    .hero-right {
        order: -1;
        justify-self: center;
    }

    .hero-image-card {
        max-width: 440px;
    }
}

@media (max-width: 900px) {
    .page-grid-two {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .nav ul {
        justify-content: flex-start;
    }

    .nav li {
        position: static;
    }

    .nav .dropdown {
        position: static;
        box-shadow: none;
        border-radius: 10px;
        border: 1px solid #e5e7eb;
        margin-top: 0.25rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.2rem;
    }

    .brand-logo {
        width: 55px;
        height: 55px;
    }

    .section {
        padding: 3.5rem 0;
    }

    .hero-grid {
        padding-bottom: 2.8rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-image-card {
        max-width: 100%;
        border-radius: 22px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form .form-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }
}

.hero-dots,
.hero-tag-card {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}