/* Critical CSS - Above the fold styles */
/* Fonts */
:root {
    --default-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Montserrat", sans-serif;
    --nav-font: "Montserrat", sans-serif;
}

/* Global Colors */
:root {
    --background-color: #ffffff;
    --default-color: #64748B;
    --heading-color: #222222;
    --accent-color: #00A0DF;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;

    /* Browser compatibility fallback colors */
    --accent-transparent-25: rgba(0, 160, 223, 0.25);
    --accent-transparent-40: rgba(0, 160, 223, 0.4);
    --contrast-transparent-40: rgba(255, 255, 255, 0.4);
}

/* Nav Menu Colors */
:root {
    --nav-color: #222222;
    --nav-hover-color: #00A0DF;
    --nav-mobile-background-color: #ffffff;
    --nav-dropdown-background-color: #ffffff;
    --nav-dropdown-color: #222222;
    --nav-dropdown-hover-color: #00A0DF;
}

/* Basic Reset */
* {
    box-sizing: border-box;
}

body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
    margin: 0;
    padding: 0;
}

/* Header Styles */
.header {
    color: var(--default-color);
    transition: all 0.5s;
    z-index: 999995;
    background-color: var(--background-color);
    position: relative;
}

.header .topbar {
    background-color: var(--accent-color);
    height: 40px;
    padding: 0;
    font-size: 14px;
    font-family: var(--default-font);
    font-weight: 500;
    transition: all 0.5s;
}

.header .branding {
    background-color: var(--background-color);
    min-height: 60px;
    padding: 10px 0;
    position: relative;
    z-index: 999995;
    font-family: var(--default-font);
}

.header .logo img {
    max-height: 75px;
    margin-right: 8px;
}

/* Hero Slider Critical Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #2d2d2d 100%);
}

.hero-slider__container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slider__slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider__slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Navigation - Desktop */
@media (min-width: 1200px) {
    .navmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
        gap: 4px;
    }

    .navmenu a {
        color: var(--nav-color);
        padding: 12px 20px;
        font-size: 15px;
        font-family: var(--nav-font);
        font-weight: 500;
        text-decoration: none;
        transition: all 0.25s ease-out;
        border-radius: 8px;
    }
}

/* Mobile Navigation Toggle */
@media (max-width: 1199.98px) {
    .mobile-nav-toggle {
        position: relative;
        z-index: 999999999;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 48px;
        height: 48px;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        border-radius: 12px;
        gap: 4px;
    }

    .hamburger-line {
        display: block;
        width: 24px;
        height: 2px;
        background-color: var(--nav-color);
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
}

/* Utility Classes */
.d-flex {
    display: flex;
}

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

.justify-content-between {
    justify-content: space-between;
}

.position-relative {
    position: relative;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}