/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body, div, span, h1, h2, h3, h4, h5, h6, p, hr, a, a img, font, img, dd, dl, dt, li, ol, ul, blockquote, fieldset, form, label, legend, table, caption, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

audio, canvas, video {
    display: inline-block;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    color: #003b40;
    font-size: 18px;
    text-align: left;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: normal;
    font-style: normal;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    background: #fff;
    line-height: 1.6;
}

.scroll-offset {
    scroll-margin-top: 150px;
}

/* Typography */
.textWhite {
    color: #fff !important;
}

.textGreen {
    color: #003b40 !important;
}

.h2-large {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.leader {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.leader-large {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.inner {
    max-width: 1200px;
    margin: 0 auto;
}

.inner--900 {
    max-width: 900px;
}

/* Flexbox Utilities */
.flx {
    display: flex;
}

.flx--jc-sb {
    justify-content: space-between;
}

.flx--ai {
    align-items: center;
}

.flx--ai-start {
    align-items: flex-start;
}

.flx--wr {
    flex-wrap: wrap;
}

.flx--col {
    flex-direction: column;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hdr-main {
    padding: 1.5rem 0;
    align-items: center;
}

.hdr-logo .logo-img {
    height: 102px;
    width: auto;
    object-fit: contain;
}

.hdr-logo a {
    text-decoration: none;
    display: inline-block;
}

.skip-to-content {
    position: absolute;
    left: -9999px;
    z-index: 999;
}

.skip-to-content:focus {
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    background: #003b40;
    color: #fff;
    text-decoration: none;
}

/* Navigation Menu */
.menu-wrap {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.menu__main {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.menu__other {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    margin-left: 2rem;
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.menu li {
    margin: 0;
}

.menu a {
    color: #cccccc;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.menu a:hover {
    opacity: 0.7;
}

.m-inner {
    display: flex;
    flex-direction: column;
}

.m-label {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.m-desc {
    font-size: 0.875rem;
    opacity: 0.7;
    line-height: 1.4;
}

.menu__other a span {
    font-size: 0.95rem;
}

/* Hamburger Menu */
.hdr-burger {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.hamburger span:last-child {
    margin-bottom: 0;
}

/* Hero Video Section */
.hvideo-brand {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hvideo-brand--home {
    background: #003b40;
}

.hvideo-brand video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.video-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #003b40;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.video-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.hvideo-brand__overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
    pointer-events: none;
}

.hvideo-brand__overlay--home {
    flex-direction: row;
}

.hvideo-brand__hleft,
.hvideo-brand__hright {
    font-size: clamp(2rem, 5vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.scroll-line {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 2;
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(10px);
    }
}

/* Glow Line Section */
.glow-line-wrap {
    position: relative;
}

.glow-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 59, 64, 0.3), transparent);
    z-index: 1;
    pointer-events: none;
}

/* Row Sections */
.row {
    position: relative;
    padding: 6rem 0;
}

.row--lgrey {
    background: #f5f5f5;
}

.row--white {
    background: #fff;
}

.row--xpad {
    padding: 8rem 0;
}

.row--dgreen-brglow {
    background: #003b40;
    position: relative;
}

.row--dgreen-brglow::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.row--nopad-bottom {
    padding-bottom: 0;
}

/* Columns */
.cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.cols--glowto {
    gap: 6rem;
}

.col {
    flex: 1;
}

.main-text {
    max-width: 100%;
    width: 100%;
}

/* Cards */
.card-wrap {
    margin-bottom: 3rem;
}

.card {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: nowrap;
}

.card--w-image {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: nowrap;
}

.card--w-image--reverse {
    flex-direction: row-reverse;
}

.card--w-image-vertical {
    flex-direction: column;
}

.card--w-image .card-image {
    flex: 1 0 auto;
    min-width: 650px;
    margin-left: auto;
    height: 600px;
}

.card--w-image .card-image .ci-inner,
.card--w-image .ci-inner {
    height: 600px !important;
    width: 100% !important;
    min-height: 600px !important;
    padding: 0 !important;
    display: block !important;
    position: relative !important;
    background: transparent !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

.card--w-image .card-image .ci-inner img,
.card--w-image .ci-inner img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    max-height: none !important;
    max-width: none !important;
}

.card-image {
    flex: 0 0 600px;
}

.ci-inner {
    position: relative;
    min-height: 400px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    gap: 0;
    padding: 1.5rem;
    align-items: center;
    justify-content: center;
}

.ci-inner img {
    flex: 1;
    object-fit: contain;
    position: relative;
    height: 100%;
    max-height: 380px;
    width: auto;
    max-width: 50%;
}

/* Ensure card--w-image has proper horizontal layout */
.card--w-image {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.card--w-image .card-content {
    flex: 0 0 35%;
    max-width: 35%;
    padding-right: 4rem;
}

.card--w-image .card-image {
    flex: 1 0 auto;
    min-width: 650px;
    margin-left: auto;
    height: 600px;
}

.card--w-image .card-image .ci-inner {
    height: 100%;
    width: 100%;
}

.ci-inner--brackets {
    border: 2px solid #003b40;
}

.ofi {
    display: block;
}

.ofi--abs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ofi--contain {
    object-fit: contain;
}

.card-content {
    flex: 1;
    min-width: 0;
}

.card--w-image .card-content {
    flex: 0 1 auto;
    max-width: 50%;
}

.card-content_title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: #003b40;
}

.card-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #003b40;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid #003b40;
}

.btn:hover {
    background: transparent;
    color: #003b40;
}

/* Service Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.card-item {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-item__media {
    position: relative;
    padding-top: 60%;
    background: #e0e0e0;
    overflow: hidden;
}

.card-item__media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 1rem;
}

.card-item__txt {
    padding: 2rem;
}

.card-item__logo {
    margin-bottom: 1rem;
}

.card-item__logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #003b40;
}

.card-item__lead {
    font-size: 1.125rem;
    font-weight: 500;
    color: #003b40;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.card-item__par {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Contact Form */
.contact-section {
    background: #003b40;
    padding: 6rem 0;
}

.contact-form {
    margin-top: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .btn {
    background: #fff;
    color: #003b40;
    border-color: #fff;
}

.contact-form .btn:hover {
    background: transparent;
    color: #fff;
}

/* Footer */
.footer {
    background: #003b40;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.875rem;
}

/* Animations */
.is-animated {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scrolled-into-view {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hvideo-brand__overlay {
        padding: 0 2rem;
    }
    
    .hvideo-brand__hleft,
    .hvideo-brand__hright {
        font-size: clamp(2rem, 6vw, 5rem);
    }
    
    .cols {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .cards {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .menu-wrap {
        display: none;
    }
    
    .hdr-burger {
        display: block;
    }
    
    .hvideo-brand__overlay {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 2rem;
    }
    
    .row {
        padding: 4rem 0;
    }
    
    .row--xpad {
        padding: 4rem 0;
    }
    
    .card {
        flex-direction: column;
    }
    
    .card--w-image {
        flex-direction: column;
    }
    
    .card--w-image--reverse {
        flex-direction: column;
    }
    
    .card-image {
        flex: 0 0 auto;
        width: 100%;
        min-width: auto;
        max-width: 100%;
    }
    
    .card--w-image .card-content {
        max-width: 100%;
        padding-right: 0;
    }
}

@media screen and (max-width: 480px) {
    .h2-large {
        font-size: 2rem;
    }
    
    .leader {
        font-size: 1rem;
    }
    
    .leader-large {
        font-size: 1.125rem;
    }
}

