/* ==========================================================================
   MyEzToll Consulting — stylesheet
   ========================================================================== */

:root {
    --blue: #1363df;
    --blue-dark: #0d4aa8;
    --orange: #ff9e56;
    --navy: #0f1b2f;
    --navy-dark: #0b1321;
    --lavender: #ede8f5;
    --lightblue: #d2ddf2;
    --white: #fff;
    --black: #0b0b0b;
    --gray: #575757;
    --gray-light: #8a8f9c;

    --font-heading: "Exo", sans-serif;
    --font-body: "Montserrat", "Roboto", sans-serif;

    --container-width: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--navy);
    /* Matches the footer so the flex free space above it never shows white. */
    background: var(--navy-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--orange);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.text {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 16px;
}

.white-text {
    color: rgba(255, 255, 255, 0.82);
}

.highlight {
    color: var(--orange);
}

/* ---------- Buttons ---------- */

.button {
    display: inline-block;
    padding: 14px 30px;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    border-radius: 6px;
    border: 2px solid var(--blue);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.button:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
}

.white-button {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.white-button:hover {
    background: var(--white);
    color: var(--navy);
}

.black-button {
    background: var(--navy);
    border-color: var(--navy);
}

.black-button:hover {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
}

.secondary-button {
    display: inline-block;
    padding: 14px 30px;
    background: var(--orange);
    color: var(--navy);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    border-radius: 6px;
    border: 2px solid var(--orange);
}

.secondary-button:hover {
    filter: brightness(0.95);
}

.big-button {
    padding: 16px 34px;
}

.xl-button {
    padding: 18px 42px;
    font-size: 16px;
}

/* ---------- Header ---------- */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 19, 33, 0.96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 38px;
    height: 38px;
}

.header-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--white);
    letter-spacing: 0.3px;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.header-nav-list {
    display: flex;
    gap: 32px;
}

.header-nav-list-item a {
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    transition: color 0.15s ease;
}

.header-nav-list-item a:hover,
.header-nav-list-item.active a {
    color: var(--orange);
}

.header-menu .button.hidden {
    display: inline-block;
}

.burger-button {
    display: none;
    position: fixed;
    top: 22px;
    right: 24px;
    z-index: 200;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.burger-button-line {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: all 0.2s ease;
}

.burger-button.open .burger-button-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-button.open .burger-button-line:nth-child(2) {
    opacity: 0;
}

.burger-button.open .burger-button-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 150;
    background: var(--navy-dark);
    padding-top: 110px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    margin-bottom: 40px;
}

.mobile-menu-list-item a {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
}

.mobile-menu-list-item.active a {
    color: var(--orange);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--blue-dark) 130%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 85% 20%, rgba(255, 158, 86, 0.18), transparent 45%),
        radial-gradient(circle at 15% 85%, rgba(19, 99, 223, 0.35), transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 100px 24px;
}

.hero h1 {
    color: var(--white);
    font-size: 52px;
    margin-bottom: 22px;
}

.hero-description {
    color: rgba(255, 255, 255, 0.82);
    font-size: 19px;
    margin-bottom: 34px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ---------- Stats ---------- */

.stats {
    background: var(--navy-dark);
    padding: 50px 0;
}

.stats-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--white);
    min-width: 130px;
}

.stat-title {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
    color: var(--orange);
}

.stars-stat .stat-title {
    color: var(--white);
    font-size: 17px;
    font-weight: 600;
    font-family: var(--font-body);
}

.stat-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-stars {
    display: flex;
    gap: 4px;
}

.star {
    width: 18px;
    height: 18px;
}

/* ---------- About Us (home) ---------- */

.about-us {
    background: var(--navy);
    padding: 90px 0 60px;
}

.about-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-content {
    flex: 1;
}

.about-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    max-width: 520px;
}

.about-pictures {
    display: flex;
    gap: 16px;
}

.desktop-about-pictures {
    flex: 0 0 340px;
}

.about-us-picture {
    border-radius: 12px;
    aspect-ratio: 3/4;
    object-fit: cover;
    background: linear-gradient(160deg, var(--blue), var(--navy-dark));
}

.about-content .about-pictures {
    display: none;
    margin-bottom: 24px;
}

/* ---------- Mission slogan banner ---------- */

.mission {
    background: var(--blue);
    padding: 80px 0;
    text-align: center;
}

.mission-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
}

.mission-title,
.slogan {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    max-width: 820px;
}

.check-icon,
.rocket-image,
.toggle-picture {
    width: 64px;
    height: 64px;
}

/* ---------- Services ---------- */

.services {
    background: var(--white);
    padding: 20px 0 80px;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.service {
    flex: 1 1 360px;
    background: var(--lavender);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: linear-gradient(160deg, var(--blue), var(--navy-dark));
}

.service-content {
    padding: 32px;
}

.service-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
}

.service-description {
    color: var(--gray);
}

/* ---------- Milestones ---------- */

.milestones {
    background: var(--lightblue);
    padding: 70px 0;
    text-align: center;
}

.milestones-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.milestones-title {
    color: var(--navy);
}

.milestones-title .highlight {
    color: var(--blue);
}

/* ---------- Benefits + accordion ---------- */

.benefits {
    background: var(--navy);
    padding: 90px 0;
}

.benefits-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.benefits-image {
    flex: 0 0 380px;
    border-radius: 16px;
    aspect-ratio: 4/5;
    object-fit: cover;
}

/* Homepage only: without an explicit width this SVG grows past its flex basis
   and squeezes the accordion beside it. Scoped above the 960px breakpoint so
   the mobile rule can still stretch it to full width. */
@media (min-width: 961px) {
    .benefits-content > .benefits-image {
        flex: 0 0 300px;
        width: 300px;
    }
}

.accordion-container {
    flex: 1;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.accordion-theme-black .accordion-title {
    color: var(--navy);
}

.accordion-theme-black .accordion-content .text {
    color: var(--gray);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    cursor: pointer;
}

.accordion-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
}

.accordion-toggle {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid var(--orange);
    background: transparent;
    color: var(--orange);
    font-size: 18px;
    cursor: pointer;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.accordion-item.open .accordion-content {
    max-height: 260px;
}

.accordion-content .text {
    padding-bottom: 20px;
}

/* ---------- Global coverage ---------- */

.coverage-content {
    margin-top: 70px;
    display: flex;
    gap: 60px;
}

.coverage-left,
.coverage-right {
    flex: 1;
}

.coverage-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
}

.eor-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.globe-icon {
    width: 30px;
    height: 30px;
}

/* ---------- Testimonial ---------- */

.clients {
    background: var(--blue);
    padding: 90px 0;
    text-align: center;
}

.clients-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.clients-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(160deg, var(--orange), var(--blue));
    object-fit: cover;
}

.client-quote {
    max-width: 620px;
    font-size: 19px;
    font-style: italic;
    color: var(--white);
    margin: 10px 0;
}

.client-info {
    display: flex;
    flex-direction: column;
    margin-top: 6px;
}

.client-name {
    font-weight: 700;
    color: var(--white);
}

.client-position {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* ---------- Get in touch CTA ---------- */

.get-in-touch {
    position: relative;
    background: var(--navy-dark);
    padding: 90px 0;
    text-align: center;
}

.get-in-touch-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.get-in-touch-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
}

/* ---------- Footer ---------- */

footer {
    margin-top: auto;
    background: var(--navy-dark);
    padding: 34px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-link,
.footer-address,
.copyright {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
}

.footer-link:hover {
    color: var(--orange);
}

.footer-icon {
    width: 22px;
    height: 22px;
}

.pending-social {
    display: none;
}

/* ==========================================================================
   About page
   ========================================================================== */

.about-slogan {
    background: var(--navy-dark);
    padding: 90px 0 60px;
}

.about-slogan-title {
    color: var(--white);
    max-width: 760px;
}

.about {
    background: var(--navy);
    padding: 20px 0 80px;
}

.about-container {
    align-items: flex-start;
}

.about-left {
    flex: 0 0 360px;
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-picture {
    border-radius: 16px;
    aspect-ratio: 3/4;
    object-fit: cover;
    background: linear-gradient(160deg, var(--blue), var(--navy-dark));
}

.about-mission {
    background: var(--blue);
}

.about-benefits {
    background: var(--white);
}

.about-benefits .benefits-content {
    align-items: flex-start;
}

.benefits-left {
    flex: 1;
}

.benefits-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 26px;
}

.about-benefits .accordion-title {
    color: var(--navy);
}

.about-benefits .accordion-item {
    border-bottom-color: rgba(15, 27, 47, 0.12);
}

.benefits-image-container {
    flex: 0 0 380px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-contact {
    background: var(--lavender);
}

.about-contact .contact-right-text,
.about-contact .contact-right-title {
    color: var(--navy);
}

/* ==========================================================================
   Insights page
   ========================================================================== */

.insights {
    background: var(--white);
    padding: 90px 0 100px;
    min-height: 60vh;
}

.posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 36px;
}

.post {
    background: var(--lavender);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(160deg, var(--blue), var(--navy-dark));
}

.post-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.post-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--navy);
}

.post-description {
    flex: 1;
}

.read-more-button {
    align-self: flex-start;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--blue);
    border-bottom: 2px solid var(--blue);
    padding-bottom: 2px;
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact {
    background: var(--navy);
    padding: 90px 0 100px;
}

.contact-container {
    display: flex;
    gap: 60px;
}

.contact-left {
    flex: 1.1;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 34px;
    color: var(--white);
    margin: 12px 0 10px;
}

.contact-subtitle {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.contact-form-fieldset {
    border: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.form-area {
    resize: vertical;
    min-height: 120px;
}

.select {
    appearance: none;
    color: rgba(255, 255, 255, 0.75);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkbox-heading {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 4px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-container input {
    margin-top: 4px;
}

.checkbox-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

.checkbox-text a {
    color: var(--orange);
    text-decoration: underline;
}

.contact-form-button {
    align-self: flex-start;
    margin-top: 8px;
    border-color: var(--white);
}

.form-result {
    display: none;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.form-result.show {
    display: block;
}

.form-result-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--white);
    margin-bottom: 10px;
}

.form-result-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.contact-right {
    flex: 0.9;
}

.contact-image {
    border-radius: 16px;
    aspect-ratio: 4/3;
    object-fit: cover;
    margin-bottom: 24px;
    background: linear-gradient(160deg, var(--blue), var(--orange));
}

.contact-right-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.contact-right-text {
    color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   Legal pages (privacy / terms)
   ========================================================================== */

.legal {
    background: var(--white);
    padding: 90px 0 100px;
}

.legal-header {
    margin-bottom: 40px;
    max-width: 760px;
}

.legal-header h1 {
    font-size: 36px;
    color: var(--navy);
    margin-bottom: 14px;
}

.legal-updated {
    color: var(--gray-light);
    font-size: 14px;
}

.legal-content {
    max-width: 820px;
}

.legal-content h2 {
    font-size: 22px;
    color: var(--navy);
    margin: 34px 0 12px;
}

.legal-content p,
.legal-content li {
    color: var(--gray);
    margin-bottom: 14px;
}

.legal-content ul {
    padding-left: 22px;
    list-style: disc;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {
    .header-menu {
        display: none;
    }

    .burger-button {
        display: flex;
    }

    .mobile-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 38px;
    }

    .about-container,
    .benefits-content,
    .coverage-content,
    .contact-container {
        flex-direction: column;
    }

    .about-left {
        position: static;
        flex: none;
        width: 100%;
    }

    .benefits-image,
    .benefits-image-container {
        flex: none;
        width: 100%;
    }

    .desktop-about-pictures {
        display: none;
    }

    .about-content .about-pictures {
        display: flex;
    }

    .mission-title,
    .slogan {
        font-size: 26px;
    }

    .stats-content {
        justify-content: flex-start;
    }

    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .hero-content {
        padding: 70px 20px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .get-in-touch-title {
        font-size: 28px;
    }

    .clients-title {
        font-size: 24px;
    }
}

/* Bot trap: off-screen for humans, still filled by naive crawlers. */
.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
