:root {
    --ap-blue: #1e58bb;
    --ap-light-blue: #76b9ff;
    --ap-yellow: #fef3b3;
    --ap-white: #fffef5;
    --ap-dark: #102133;
    --ap-copy-font: "Montserrat", Arial, Helvetica, sans-serif;
    --ap-heading-font: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ap-copy-font);
    color: var(--ap-dark);
    background: var(--ap-white);
    font-weight: 400;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.hero-title {
    font-family: var(--ap-heading-font);
}

.site-navbar {
    padding: 1rem 0;
    background: var(--ap-light-blue);
    transform: translateY(-100%);
    opacity: 0;
    transition: opacity 1.8s ease, transform 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
    z-index: 1000;
}

.site-navbar.navbar-visible {
    background:var(--ap-light-blue);
    transform: translateY(0);
    opacity: 1;
    padding: 0.65rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.navbar-logo {
    width: 125px;
    height: auto;
    display: block;
}

.site-navbar .nav-link {
    color: var(--ap-white);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
    color: var(--ap-yellow);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--ap-light-blue);
}

.hero-slider,
.hero-slider .slick-list,
.hero-slider .slick-track,
.hero-slide {
    height: 100vh;
}

.hero-slide {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.04) translate3d(0, 0, 0);
    transition: transform 8.5s ease-out;
    will-change: transform;
}

.slick-current .hero-bg {
    animation: none !important;
    transform: scale(1.12) translate3d(-1.5%, -1.5%, 0);
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            180deg,
            rgba(16, 33, 51, 0.24) 0%,
            rgba(16, 33, 51, 0.1) 42%,
            rgba(16, 33, 51, 0.38) 100%
        );
    pointer-events: none;
}

.hero-content {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: min(92%, 900px);
    transform: translate(-50%, -50%);
    color: var(--ap-white);
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.hero-logo {
    width: min(360px, 75vw);
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.24));
}

.hero-title {
    font-size: clamp(3.2rem, 8vw, 7.6rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.045em;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.7vw, 1.28rem);
    max-width: 640px;
    margin: 0 auto;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    z-index: 4;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: var(--ap-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transform: translateX(-50%);
    animation: scrollCue 1.6s ease-in-out infinite;
}

.scroll-cue:hover,
.scroll-cue:focus {
    color: var(--ap-yellow);
    border-color: var(--ap-yellow);
}

@keyframes scrollCue {
    0%, 100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 8px);
    }
}

.section-padding {
    padding: 120px 0;
}

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

.contact-section {
    background: var(--ap-light-blue);
}

.eyebrow {
    margin-bottom: 0.7rem;
    color: var(--ap-blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-title {
    color: var(--ap-blue);
    font-size: clamp(2.7rem, 6vw, 5.4rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.lead {
    font-weight: 400;
}

.site-footer {
    background: var(--ap-blue);
    color: var(--ap-white);
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    .site-navbar.navbar-visible {
        background: rgba(20, 63, 115, 0.98);
    }

    .navbar-collapse {
        padding-top: 1rem;
    }

    .hero-content {
        top: 52%;
    }

    .hero-logo {
        width: min(300px, 72vw);
    }
}

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

    .slick-current .hero-bg,
    .scroll-cue {
        animation: none;
    }

    .site-navbar,
    .hero-bg {
        transition: none;
    }
}


.suppliers-map-section {
    background: var(--ap-white);
}

.map-heading {
    padding: 100px 1rem 45px;
}

.suppliers-map {
    width: 100%;
    height: min(72vh, 760px);
    min-height: 480px;
    background: #e6f2f8;
}

.map-info-window {
    max-width: 280px;
    font-family: var(--ap-copy-font);
}

.map-info-window strong {
    display: block;
    color: var(--ap-blue);
    margin-bottom: 0.35rem;
}

.admin-page {
    background: #f6f8fb;
    min-height: 100vh;
}

.admin-card {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 12px 35px rgba(16, 33, 51, 0.08);
}


/* Hero should only show the background visuals, no logo/text overlay. */
.hero-overlay,
.hero-content,
.hero-logo,
.logo-overlay,
.hero-title,
.hero-subtitle {
    display: none !important;
}

.suppliers-map-section {
    background: #fff;
}

.map-heading {
    padding: 100px 1rem 45px;
}

.suppliers-map {
    width: 100%;
    height: min(72vh, 760px);
    min-height: 480px;
    background: #e6f2f8;
}

.map-info-window {
    max-width: 280px;
}

.map-info-window strong {
    display: block;
    margin-bottom: 0.35rem;
}




/* Hero fade/Ken Burns timing fix
   The slide changes before the Ken Burns animation reaches its reset point. */
.hero-slider .slick-slide,
.hero .slick-slide {
    transition: opacity 1.8s ease-in-out !important;
}

.hero-slide img,
.hero-slider img,
.hero .slick-slide img {
    animation-duration: 9s !important;
    animation-fill-mode: forwards !important;
}

/* If the site uses these Ken Burns keyframe names, keep the final frame stable. */
@keyframes kenBurnsFixed {
    from {
        transform: scale(1.04) translate3d(0, 0, 0);
    }
    to {
        transform: scale(1.12) translate3d(-1.5%, -1.5%, 0);
    }
}


/* Final hero Ken Burns fix:
   Use transform transition instead of a looping/resetting keyframe animation.
   The outgoing slide keeps its transform while fading, so it no longer jumps. */
.hero-bg {
    transform: scale(1.04) translate3d(0, 0, 0);
    transition: transform 8.5s ease-out;
    will-change: transform;
}

.slick-current .hero-bg {
    animation: none !important;
    transform: scale(1.12) translate3d(-1.5%, -1.5%, 0);
}

.hero-slider .slick-slide {
    transition: opacity 1.8s ease-in-out !important;
}
