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

:root {
    --background: #ffffff;
    --foreground: #0a314c;
    --border: #9d9d9c;
    --brand-primary: #9cbd46;
    --neutral-200: #DFE0E2;
}

html {
    scroll-behavior: smooth;
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: var(--background);
    color: var(--foreground);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    scroll-margin-top: 2rem;
}

/* Layout */
.safe-area {
    margin: 0 auto;
    width: 100%;
    max-width: 101.25rem;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
}

.gradient-border {
    height: 0.5rem;
    background: linear-gradient(90deg, #03253C 0%, #03273E 25%, #0F737D 50%, #89B557 75%, #9BBB48 100%);
}

/* Header */
#site-header {
    position: relative;
    z-index: 50;
    background: var(--background);
    width: 100%;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    gap: 0.75rem;
    overflow: hidden;
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    height: 3rem;
    width: auto;
    max-width: 11.875rem;
    object-fit: contain;
}

/* Navigation */
.navigation {
    flex-shrink: 0;
    min-width: 0;
    overflow: hidden;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.nav-link {
    color: var(--foreground);
    font-size: 1.5rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 0.2s;
    background: none;
    border: none;
    font-family: 'Outfit', sans-serif;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-dropdown {
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
}

.dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-icon {
    height: 1.25rem;
    width: 1.25rem;
    transition: transform 0.2s;
}

.dropdown-btn.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: fixed;
    z-index: 100;
    width: 14.625rem;
    background: var(--background);
    padding: 1.25rem 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--border);
    transform: translateX(-50%);
}

.dropdown-menu.active {
    display: block;
}

.dropdown-item {
    display: block;
    width: 8.75rem;
    font-size: 1.5rem;
    line-height: 2.625rem;
    font-weight: 500;
    color: #0B314C;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-bottom: 1.5rem;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item:hover {
    opacity: 0.7;
}

.precision-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 2rem;
    white-space: nowrap;
}

.precision-link svg {
    color: var(--foreground);
}

.precision-link a {
    color: var(--foreground);
    font-size: 1.5rem;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.2s;
}

.precision-link a:hover {
    opacity: 0.7;
}

/* Mobile Navigation */
.nav-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-precision-icon {
    display: inline-flex;
    height: 3.5rem;
    width: 3.5rem;
    align-items: center;
    justify-content: center;
    color: var(--foreground);
}

.mobile-menu-btn {
    display: inline-flex;
    height: 3.5rem;
    width: 3.5rem;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: var(--foreground);
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.mobile-menu {
    position: relative;
    width: 100%;
    height: 38.4375rem;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--background);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-logo {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

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

.mobile-menu-close {
    display: inline-flex;
    height: 3.5rem;
    width: 3.5rem;
    align-items: center;
    justify-content: center;
    color: var(--foreground);
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu-item {
    padding: 1.5rem 2.25rem;
    color: #0B314C;
    font-size: 1.5rem;
    line-height: 2.1875rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: opacity 0.2s;
    text-decoration: none;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    text-align: left;
    width: 100%;
    font-family: 'Outfit', sans-serif;
}

.mobile-menu-item:hover {
    opacity: 0.7;
}

.mobile-menu-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-dropdown-icon {
    height: 2rem;
    width: 2rem;
    transition: transform 0.2s;
}

.mobile-menu-dropdown-btn.active .mobile-dropdown-icon {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    border-bottom: 1px solid var(--border);
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu-item {
    display: block;
    padding: 1rem 3.5rem;
    color: #0B314C;
    font-size: 1.5rem;
    line-height: 2.1875rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    text-decoration: none;
}

.mobile-submenu-item:hover {
    opacity: 0.7;
}

.mobile-menu-precision {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: none;
}

.mobile-menu-precision-content {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-external-icon {
    color: var(--brand-primary);
}

/* Video Player */
.video-container {
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.video-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    border-radius: 0.5rem;
    background: black;
}

.video-element {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.video-element.playing {
    opacity: 1;
}

.video-element:not(.playing) {
    opacity: 0.8;
}

.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.video-play-btn:hover {
    transform: scale(1.05);
}

.video-play-btn.hidden {
    display: none;
}

.video-play-btn svg {
    height: 5rem;
    width: 5rem;
}

/* Footer */
.footer {
    background: var(--foreground);
    width: 100%;
    min-height: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    padding: 3.5rem 1.5rem 3.5rem;
    min-height: auto;
    width: 100%;
    box-sizing: border-box;
}

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

.footer-mobile-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-height: auto;
}

.footer-logo-mobile {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.footer-logo-mobile img {
    width: 16.625rem;
    height: 8rem;
    object-fit: contain;
    max-width: 100%;
}

.footer-columns-mobile {
    display: flex;
    align-items: flex-start;
}

.footer-column-mobile {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-right: 1.5rem;
}

.footer-title {
    color: #DEE0E1;
    font-size: 2.25rem;
    line-height: 2.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #DEE0E1;
    font-size: 1.25rem;
    line-height: 2.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-social-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    gap: 1.5rem;
    width: 3.875rem;
}

.footer-social-mobile a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.875rem;
    height: 3.875rem;
    color: #DEE0E1;
}

.footer-contact-mobile {
    margin-top: 3.75rem;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: auto;
}

.footer-contact-mobile .footer-title {
    text-align: left;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 0.75rem;
    width: 100%;
    padding-bottom: 0;
}

.footer-contact-info span,
.footer-contact-info a {
    color: #DEE0E1;
    font-size: 1.25rem;
    line-height: 2.25rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0;
}

.footer-contact-info a {
    cursor: pointer;
    transition: opacity 0.2s;
    text-decoration: none;
}

.footer-contact-info a:hover {
    opacity: 0.7;
}

.footer-desktop {
    display: none;
}

/* Responsive - Tablets */
@media (min-width: 640px) {
    .logo {
        height: 4rem;
        max-width: none;
    }

    .video-container {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .video-play-btn svg {
        height: 7rem;
        width: 7rem;
    }
}

@media (min-width: 768px) {
    .video-container {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .video-play-btn svg {
        height: 10rem;
        width: 10rem;
    }
}

/* Responsive - Desktop */
@media (min-width: 1024px) {
    .footer-content {
        flex-direction: row;
        padding-left: 0;
        padding-right: 0;
        padding-top: 5.75rem;
        padding-bottom: 5.75rem;
    }

    .footer-mobile {
        display: none;
    }

    .footer-desktop {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        justify-content: space-between;
        gap: 1rem;
        max-width: 100%;
        overflow: hidden;
    }

    .footer-logo-desktop {
        display: flex;
        align-items: flex-start;
        flex-shrink: 0;
        max-width: 100%;
    }

    .footer-logo-desktop img {
        width: 20rem;
        height: 9.625rem;
        object-fit: contain;
        max-width: 100%;
    }

    .footer-columns-desktop {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        flex-shrink: 0;
        min-width: 0;
    }

    .footer-column {
        display: flex;
        flex-direction: column;
        min-width: 0;
        flex-shrink: 1;
    }

    .footer-column .footer-title {
        text-align: left;
        word-wrap: break-word;
    }

    .footer-column .footer-links {
        text-align: left;
    }

    .footer-column .footer-links a {
        word-wrap: break-word;
    }

    .footer-column .footer-links a:nth-child(2) {
        white-space: nowrap;
    }

    .footer-column .footer-contact-info {
        padding-bottom: 2rem;
    }

    .footer-column .footer-contact-info span,
    .footer-column .footer-contact-info a {
        word-wrap: break-word;
    }

    .footer-social-desktop {
        display: flex;
        gap: 2rem;
    }

    .footer-social-desktop a {
        color: #DEE0E1;
    }
}

@media (min-width: 1280px) {
    .header-content {
        height: 10rem;
        padding-top: 0;
        padding-bottom: 0;
    }

    .logo {
        height: 5.4375rem;
    }

    .nav-desktop {
        display: flex;
        gap: 1.5rem;
    }

    .nav-mobile {
        display: none;
    }

    .footer-desktop {
        padding-left: 8.75rem;
        padding-right: 8.75rem;
    }

    .footer-logo-desktop img {
        width: 24.875rem;
        height: 12rem;
    }

    .footer-columns-desktop {
        gap: 9.625rem;
    }
}

@media (min-width: 1536px) {
    .nav-desktop {
        gap: 3rem;
    }
}
