@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url("https://fonts.googleapis.com/css?family=Inter+Tight:300,400,500,700");

@font-face {
    font-family: "Aeonik Pro";
    src: url("Fonts/Aeonik Pro/AeonikPro-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Aeonik Pro";
    src: url("Fonts/Aeonik Pro/AeonikPro-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Aeonik Pro";
    src: url("Fonts/Aeonik Pro/AeonikPro-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Aeonik Pro";
    src: url("Fonts/Aeonik Pro/AeonikPro-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Aeonik Pro";
    src: url("Fonts/Aeonik Pro/AeonikPro-Black.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
}

/* Aliases for matching style.css usage */
@font-face {
    font-family: "Aeonik Pro-Bold";
    src: url("Fonts/Aeonik Pro/AeonikPro-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Aeonik Pro-Regular";
    src: url("Fonts/Aeonik Pro/AeonikPro-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Aeonik Pro-Medium";
    src: url("Fonts/Aeonik Pro/AeonikPro-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

html,
body {
    margin: 0px;
    height: 100%;
    background-color: #edf2f2;
    /* Soft white */
    font-family: var(--font-primary);
    color: var(--color-dark-teal);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

button,
input,
textarea,
select {
    font-family: var(--font-primary);
}

/* Scale page to fit viewport on smaller screens - Desktop only */
@media screen and (min-width: 1025px) and (max-width: 1919px) {
    html {
        zoom: calc(100vw / 1920);
    }
}

@media screen and (min-width: 1025px) and (max-width: 1600px) {
    html {
        zoom: 0.833;
        /* 1600/1920 */
    }
}

@media screen and (min-width: 1025px) and (max-width: 1440px) {
    html {
        zoom: 0.75;
        /* 1440/1920 */
    }
}

@media screen and (min-width: 1025px) and (max-width: 1366px) {
    html {
        zoom: 0.71;
        /* 1366/1920 */
    }
}

@media screen and (min-width: 1025px) and (max-width: 1280px) {
    html {
        zoom: 0.667;
        /* 1280/1920 */
    }
}

/* Mobile devices - no zoom, use natural responsive layout */
@media screen and (max-width: 1024px) {
    html {
        zoom: 1;
    }
}

/* a blue color as a generic focus style */
button:focus-visible {
    outline: 2px solid #4a90e2 !important;
    outline: -webkit-focus-ring-color auto 5px !important;
}

a {
    text-decoration: none;
}

/* ===================================================
   SHARED HEADER & FOOTER STYLES
   =================================================== */

:root {
    --header-height: 120px;
    --color-dark-teal: #072A30;
    --color-signal-green: #17C64F;
    --color-soft-white: #EDF2F2;
    --transition-normal: 0.3s ease;
    --font-primary: "Aeonik Pro", "Inter Tight", sans-serif;
}

/* Header Base */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    background-color: transparent;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-color: rgba(237, 242, 242, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(7, 42, 48, 0.08);
}

.header.scrolled {
    height: 90px;
}

.header.scrolled .header-bg {
    background-color: rgba(237, 242, 242, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.header-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-img {
    height: 70px;
    width: auto;
    transition: all var(--transition-normal);
}

.header.scrolled .logo-img {
    height: 55px;
}

/* Nav links centered */
.nav-desktop {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-separator {
    display: flex;
    align-items: center;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-dark-teal);
    transition: color 0.3s ease;
    position: relative;
    padding: 12px 0;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-signal-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-signal-green);
    transition: width 0.3s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

/* CTA Button */
.btn-get-in-touch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background-color: var(--color-signal-green);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-get-in-touch:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(23, 198, 79, 0.4);
    background-color: #15b345;
}

.btn-get-in-touch span {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-dark-teal);
    font-size: 18px;
    letter-spacing: 0.01em;
}

.header.scrolled .btn-get-in-touch {
    padding: 14px 28px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(7, 42, 48, 0.05);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    transition: all var(--transition-normal);
}

.mobile-menu-toggle:hover {
    background: rgba(7, 42, 48, 0.1);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--color-dark-teal);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.hamburger-line:nth-child(2) {
    margin: 6px 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation - Hidden by default on desktop */
.nav-mobile {
    display: none;
}

.nav-link-mobile {
    display: none;
}

/* Footer Section - Standardized & Enlarged */
.footer-section {
    background-color: var(--color-dark-teal);
    color: white;
    padding: 100px 20px 40px;
    font-family: var(--font-primary);
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    height: 150px;
    width: auto;
}

.footer-links {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--color-signal-green);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.1em;
}

.footer-column p,
.footer-column a {
    color: #B8C1C1;
    font-size: 18px;
    /* Increased from ~16px */
    line-height: 1.8;
    display: block;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--color-signal-green);
}

.footer-bottom {
    border-top: 1px solid rgba(184, 193, 193, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    font-size: 16px;
    color: #B8C1C1;
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    font-size: 16px;
    color: #B8C1C1;
}

@media (max-width: 1024px) {
    .nav-desktop {
        display: none;
    }

    :root {
        --header-height: 80px;
    }

    .logo-img {
        height: 45px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-container {
        padding: 0 24px;
    }

    .header .btn-get-in-touch {
        display: none;
    }

    .nav-mobile {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-soft-white);
        padding: 40px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-mobile.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link-mobile {
        display: block;
        font-size: 26px;
        font-weight: 600;
        color: var(--color-dark-teal);
        padding: 15px 0;
        border-bottom: 1px solid rgba(7, 42, 48, 0.05);
        transition: color 0.3s ease;
        text-decoration: none;
    }

    .nav-link-mobile.active,
    .nav-link-mobile:hover {
        color: var(--color-signal-green);
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-top {
        gap: 40px;
        text-align: center;
        justify-content: center;
    }

    .footer-brand {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .footer-logo {
        height: 100px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-bottom-legal {
        text-align: center !important;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h4 {
        margin-bottom: 15px;
        font-size: 14px;
    }

    .footer-column p,
    .footer-column a {
        font-size: 16px;
    }

    .legal-links {
        justify-content: center !important;
    }
}

/* Global Section Label Pill Style */
.section-label-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #17C64F;
    text-transform: none;
    letter-spacing: 0.1em;
    padding: 12px 28px;
    background: rgba(23, 198, 79, 0.08);
    border: 1px solid rgba(23, 198, 79, 0.2);
    border-radius: 100px;
    margin-bottom: 24px;
    font-family: var(--font-primary);
}

.section-label-pill svg {
    width: 20px;
    height: 20px;
}