/* ==========================================================================
   TABLE OF CONTENTS

   1.  CSS VARIABLES & RESET
       - Custom properties
       - Scrollbar styling
       - Global transitions
       - Typography reset
       - Accessibility

   2.  GLOBAL UTILITIES
       - Landing button component
       - Section dividers
       - Text highlights
       - Animated dividers

   3.  ANIMATION SYSTEM
       - Base animation classes
       - Responsive animation controls
       - Fill animations
       - Wipe animations
       - Scale & zoom animations
       - Flip animations
       - Slide animations
       - Line animations
       - Accessibility controls

   4.  PRELOAD OVERLAY
       - Initial page load animation

   5.  NAVIGATION & MENU
       - Navigation bar
       - Hamburger menu overlay
       - Menu animations
       - Responsive navigation

   6.  HERO LANDING SECTION
       - Hero overlay
       - Hero header
       - Desktop scroll indicators
       - Responsive hero

   7.  VIEWPORT SECTION TRANSITIONS (CTA)
       - Viewport blocks
       - CTA header styling
       - Contact divider

   8.  SERVICES SECTION
       - Services intro
       - Service tabs
       - Tab content
       - Responsive services

   9.  PROCESS SECTION
       - Process header
       - Process intro
       - Process steps
       - Step content
       - Responsive process

   10. CONTACT SECTION
       - Contact wrapper
       - Contact intro
       - Contact form
       - Form styling
       - Responsive contact

   11. FOOTER SECTION
       - Footer CTA
       - Footer content
       - Footer widgets
       - Subscribe form
       - Copyright area
       - Responsive footer
   ========================================================================== */

/* ==========================================================================
   1. CSS RESET/NORMALIZE/ROOT
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* CSS Custom Properties (Variables) */
:root {
    /* Color Variables */
    --colorprimary: #DBE1D2;
    --colorsecondary: #132528;
    --coloraccent: #BDFF69;
    --colorparagraph: #d4d4d4;
    --colorbackground: linear-gradient(to bottom, #0D6065, #132528);
    --colorborder: 1px solid rgba(188, 188, 188, 0.39);

    /* Typography Variables */
    --fontfamily: "JetBrains Mono", monospace;
    --h1: bold 48px/48px var(--fontfamily);
    --h2: bold 40px/46px var(--fontfamily);
    --h3: bold 24px/30px var(--fontfamily);
    --links: bold 18px/18px var(--fontfamily);
    --p: 16px/normal var(--fontfamily);
    --subtext: 12px/20px var(--fontfamily);

    /* Effect Variables */
    --transition: 0.3s ease-in-out;
    --shadow: #00000030 0px 0px 10px 0px;
    --shadowdark: rgb(0, 0, 0) 0px 5px 15px;

    /* Font Sizes */
    --fontheader768: 3rem;
    --fontheader1248: 4rem;
    --fontparagraph1248: 1.25rem;
    --fontparagraph1440: 1.5rem;
    --subheaderweight: 800;
}

/* Custom scrollbar */
body {
    scrollbar-width: thin;
    scrollbar-color: rgb(0, 0, 0);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #201f1f;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #f4f4f4;
    border-radius: 4px;
}

/* Global Transition */
* {
    transition: background-color var(--transition),
                color var(--transition),
                border-color var(--transition),
                fill var(--transition),
                box-shadow var(--transition);
}

/* Box Model Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Document Setup */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--fontfamily);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--colorprimary);
    background-color: #132528;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: color var(--transition), background-color var(--transition);
    overflow-x: hidden; /* Prevent horizontal scrollbar during animations */
}

/* Typography Reset */
h1 { font: var(--h1); }
h2 { font: var(--h2); }
h3 { font: var(--h3); }
p { font: var(--p); }

small,
.small-text {
    font: var(--subtext);
}

span {
    display: inline-block;
}

/* Links */
a {
    font: var(--links);
    color: var(--coloraccent);
    text-decoration: none;
    transition: color var(--transition);
}

/* Lists */
ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    list-style-type: none;
}

li {
    margin-bottom: 0.5rem;
}

/* Images */
img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

/* Form Elements */
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    border-radius: 0;
}

/* Tables */
table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    text-align: left;
    padding: 0.5rem;
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Accessibility - Focus Styles */
:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--coloraccent);
    outline-offset: 2px;
}
















/* ==========================================
   PROFESSIONAL ANIMATION SYSTEM
   ========================================== */

/* Animation Variables */
:root {
    --animation-duration: 1200ms;
    --animation-duration-fast: 800ms;
    --animation-duration-slow: 1600ms;
    --animation-easing: cubic-bezier(0.22, 0.61, 0.36, 1);
    --animation-easing-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --animation-distance: 60px;
    --animation-distance-small: 30px;
}

/* Base Animation Classes */
.animate,
.animate-repeat {
    opacity: 0;
    animation-duration: var(--animation-duration);
    animation-timing-function: var(--animation-easing);
    animation-fill-mode: both;
}

.animate.in-view,
.animate-repeat.in-view {
    opacity: 1;
}

/* Animation Speed Modifiers */
.animate-fast,
.animate-repeat.animate-fast {
    animation-duration: var(--animation-duration-fast);
}

.animate-slow,
.animate-repeat.animate-slow {
    animation-duration: var(--animation-duration-slow);
}

/* Animation Delays */
.animate-delay-100 { animation-delay: 100ms; }
.animate-delay-200 { animation-delay: 200ms; }
.animate-delay-300 { animation-delay: 300ms; }
.animate-delay-400 { animation-delay: 400ms; }
.animate-delay-500 { animation-delay: 500ms; }
.animate-delay-600 { animation-delay: 600ms; }
.animate-delay-700 { animation-delay: 700ms; }
.animate-delay-800 { animation-delay: 800ms; }


/* ==========================================
   RESPONSIVE ANIMATION CONTROLS
   ========================================== */

/* Disable animations at specific breakpoints */
/* Mobile: 320px - 767px */
@media (max-width: 767px) {
    .animate-disable-mobile,
    .animate-repeat.animate-disable-mobile {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
    }

    .line-animate.animate-disable-mobile::before,
    .line-animate-repeat.animate-disable-mobile::before,
    .line-horizontal.animate-disable-mobile::before,
    .line-horizontal.animate-disable-mobile::after,
    .line-vertical.animate-disable-mobile::before,
    .line-vertical.animate-disable-mobile::after {
        transition: none !important;
        width: 0 !important;
        height: 0 !important;
    }
}

/* Tablet: 768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .animate-disable-tablet,
    .animate-repeat.animate-disable-tablet {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
    }

    .line-animate.animate-disable-tablet::before,
    .line-animate-repeat.animate-disable-tablet::before,
    .line-horizontal.animate-disable-tablet::before,
    .line-horizontal.animate-disable-tablet::after,
    .line-vertical.animate-disable-tablet::before,
    .line-vertical.animate-disable-tablet::after {
        transition: none !important;
        width: 0 !important;
        height: 0 !important;
    }
}

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
    .animate-disable-desktop,
    .animate-repeat.animate-disable-desktop {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
    }

    .line-animate.animate-disable-desktop::before,
    .line-animate-repeat.animate-disable-desktop::before,
    .line-horizontal.animate-disable-desktop::before,
    .line-horizontal.animate-disable-desktop::after,
    .line-vertical.animate-disable-desktop::before,
    .line-vertical.animate-disable-desktop::after {
        transition: none !important;
        width: 0 !important;
        height: 0 !important;
    }
}

/* Enable animations only at specific breakpoints */
/* Animation only on mobile */
.animate-mobile-only,
.animate-repeat.animate-mobile-only {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Hide line animations on non-mobile */
.line-animate.animate-mobile-only::before,
.line-animate-repeat.animate-mobile-only::before,
.line-horizontal.animate-mobile-only::before,
.line-horizontal.animate-mobile-only::after,
.line-vertical.animate-mobile-only::before,
.line-vertical.animate-mobile-only::after {
    width: 0 !important;
    height: 0 !important;
}

@media (max-width: 767px) {
    .animate-mobile-only,
    .animate-repeat.animate-mobile-only {
        animation: revert !important;
        opacity: 0 !important;
        transform: revert !important;
    }

    .animate-mobile-only.in-view,
    .animate-repeat.animate-mobile-only.in-view {
        opacity: 1 !important;
    }

    /* Show line animations on mobile */
    .line-animate.animate-mobile-only::before,
    .line-animate-repeat.animate-mobile-only::before {
        transition: all var(--animation-duration) var(--animation-easing-smooth) !important;
    }

    .line-animate.animate-mobile-only.line-top.in-view::before,
    .line-animate.animate-mobile-only.line-bottom.in-view::before,
    .line-animate-repeat.animate-mobile-only.line-top.in-view::before,
    .line-animate-repeat.animate-mobile-only.line-bottom.in-view::before {
        width: 100% !important;
        height: 1px !important;
    }

    .line-animate.animate-mobile-only.line-left.in-view::before,
    .line-animate.animate-mobile-only.line-right.in-view::before,
    .line-animate-repeat.animate-mobile-only.line-left.in-view::before,
    .line-animate-repeat.animate-mobile-only.line-right.in-view::before {
        height: 100% !important;
        width: 1px !important;
    }

    .line-horizontal.animate-mobile-only::before,
    .line-horizontal.animate-mobile-only::after,
    .line-vertical.animate-mobile-only::before,
    .line-vertical.animate-mobile-only::after {
        transition: all var(--animation-duration) var(--animation-easing-smooth) !important;
    }

    .line-horizontal.animate-mobile-only.in-view::before,
    .line-horizontal.animate-mobile-only.in-view::after {
        width: 40px !important;
        height: 1px !important;
    }

    .line-vertical.animate-mobile-only.in-view::before,
    .line-vertical.animate-mobile-only.in-view::after {
        height: 40px !important;
        width: 1px !important;
    }
}

/* Animation only on tablet */
.animate-tablet-only,
.animate-repeat.animate-tablet-only {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Hide line animations on non-tablet */
.line-animate.animate-tablet-only::before,
.line-animate-repeat.animate-tablet-only::before,
.line-horizontal.animate-tablet-only::before,
.line-horizontal.animate-tablet-only::after,
.line-vertical.animate-tablet-only::before,
.line-vertical.animate-tablet-only::after {
    width: 0 !important;
    height: 0 !important;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .animate-tablet-only,
    .animate-repeat.animate-tablet-only {
        animation: revert !important;
        opacity: 0 !important;
        transform: revert !important;
    }

    .animate-tablet-only.in-view,
    .animate-repeat.animate-tablet-only.in-view {
        opacity: 1 !important;
    }

    /* Show line animations on tablet */
    .line-animate.animate-tablet-only::before,
    .line-animate-repeat.animate-tablet-only::before {
        transition: all var(--animation-duration) var(--animation-easing-smooth) !important;
    }

    .line-animate.animate-tablet-only.line-top.in-view::before,
    .line-animate.animate-tablet-only.line-bottom.in-view::before,
    .line-animate-repeat.animate-tablet-only.line-top.in-view::before,
    .line-animate-repeat.animate-tablet-only.line-bottom.in-view::before {
        width: 100% !important;
        height: 1px !important;
    }

    .line-animate.animate-tablet-only.line-left.in-view::before,
    .line-animate.animate-tablet-only.line-right.in-view::before,
    .line-animate-repeat.animate-tablet-only.line-left.in-view::before,
    .line-animate-repeat.animate-tablet-only.line-right.in-view::before {
        height: 100% !important;
        width: 1px !important;
    }

    .line-horizontal.animate-tablet-only::before,
    .line-horizontal.animate-tablet-only::after,
    .line-vertical.animate-tablet-only::before,
    .line-vertical.animate-tablet-only::after {
        transition: all var(--animation-duration) var(--animation-easing-smooth) !important;
    }

    .line-horizontal.animate-tablet-only.in-view::before,
    .line-horizontal.animate-tablet-only.in-view::after {
        width: 40px !important;
        height: 1px !important;
    }

    .line-vertical.animate-tablet-only.in-view::before,
    .line-vertical.animate-tablet-only.in-view::after {
        height: 40px !important;
        width: 1px !important;
    }
}

/* Animation only on desktop */
.animate-desktop-only,
.animate-repeat.animate-desktop-only {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Hide line animations on non-desktop */
.line-animate.animate-desktop-only::before,
.line-animate-repeat.animate-desktop-only::before,
.line-horizontal.animate-desktop-only::before,
.line-horizontal.animate-desktop-only::after,
.line-vertical.animate-desktop-only::before,
.line-vertical.animate-desktop-only::after {
    width: 0 !important;
    height: 0 !important;
}

@media (min-width: 1024px) {
    .animate-desktop-only,
    .animate-repeat.animate-desktop-only {
        animation: revert !important;
        opacity: 0 !important;
        transform: revert !important;
    }

    .animate-desktop-only.in-view,
    .animate-repeat.animate-desktop-only.in-view {
        opacity: 1 !important;
    }

    /* Show line animations on desktop */
    .line-animate.animate-desktop-only::before,
    .line-animate-repeat.animate-desktop-only::before {
        transition: all var(--animation-duration) var(--animation-easing-smooth) !important;
    }

    .line-animate.animate-desktop-only.line-top.in-view::before,
    .line-animate.animate-desktop-only.line-bottom.in-view::before,
    .line-animate-repeat.animate-desktop-only.line-top.in-view::before,
    .line-animate-repeat.animate-desktop-only.line-bottom.in-view::before {
        width: 100% !important;
        height: 1px !important;
    }

    .line-animate.animate-desktop-only.line-left.in-view::before,
    .line-animate.animate-desktop-only.line-right.in-view::before,
    .line-animate-repeat.animate-desktop-only.line-left.in-view::before,
    .line-animate-repeat.animate-desktop-only.line-right.in-view::before {
        height: 100% !important;
        width: 1px !important;
    }

    .line-horizontal.animate-desktop-only::before,
    .line-horizontal.animate-desktop-only::after,
    .line-vertical.animate-desktop-only::before,
    .line-vertical.animate-desktop-only::after {
        transition: all var(--animation-duration) var(--animation-easing-smooth) !important;
    }

    .line-horizontal.animate-desktop-only.in-view::before,
    .line-horizontal.animate-desktop-only.in-view::after {
        width: 40px !important;
        height: 1px !important;
    }

    .line-vertical.animate-desktop-only.in-view::before,
    .line-vertical.animate-desktop-only.in-view::after {
        height: 40px !important;
        width: 1px !important;
    }
}


/* ==========================================
   FILL ANIMATIONS (Slide element into parent container)
   ========================================== */

/* Fill animations slide the element from outside the parent container */
/* Parent container must have overflow: hidden */

/* Fill from all directions (center outward - scale based) */
@keyframes fillIn {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

.animate.fill.in-view,
.animate-repeat.fill.in-view {
    animation-name: fillIn;
}

/* Fill Left (slides in from left) */
@keyframes fillLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

.animate.fill-left.in-view,
.animate-repeat.fill-left.in-view {
    animation-name: fillLeft;
}

/* Fill Right (slides in from right) */
@keyframes fillRight {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}

.animate.fill-right.in-view,
.animate-repeat.fill-right.in-view {
    animation-name: fillRight;
}

/* Fill Up (slides in from bottom) */
@keyframes fillUp {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

.animate.fill-up.in-view,
.animate-repeat.fill-up.in-view {
    animation-name: fillUp;
}

/* Fill Down (slides in from top) */
@keyframes fillDown {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

.animate.fill-down.in-view,
.animate-repeat.fill-down.in-view {
    animation-name: fillDown;
}


/* ==========================================
   WIPE ANIMATIONS (Image Reveals)
   ========================================== */

/* Wipe animation reveals element using clip-path */
/* Creates a smooth left-to-right reveal effect */

@keyframes wipeRight {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

.animate.wipe-right.in-view,
.animate-repeat.wipe-right.in-view {
    animation-name: wipeRight;
}

@keyframes wipeLeft {
    0% {
        clip-path: inset(0 0 0 100%);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

.animate.wipe-left.in-view,
.animate-repeat.wipe-left.in-view {
    animation-name: wipeLeft;
}

@keyframes wipeDown {
    0% {
        clip-path: inset(0 0 100% 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

.animate.wipe-down.in-view,
.animate-repeat.wipe-down.in-view {
    animation-name: wipeDown;
}

@keyframes wipeUp {
    0% {
        clip-path: inset(100% 0 0 0);
    }
    100% {
        clip-path: inset(0 0 0 0);
    }
}

.animate.wipe-up.in-view,
.animate-repeat.wipe-up.in-view {
    animation-name: wipeUp;
}


/* ==========================================
   SCALE & ZOOM ANIMATIONS
   ========================================== */

/* Scale Up - Starts smaller and scales to normal */
@keyframes scaleUp {
    0% {
        transform: scale(0.8);
    }
    100% {
        transform: scale(1);
    }
}

.animate.scale-up.in-view,
.animate-repeat.scale-up.in-view {
    animation-name: scaleUp;
}

/* Zoom In - Starts very small and scales to normal */
@keyframes zoomIn {
    0% {
        transform: scale(0.5);
    }
    100% {
        transform: scale(1);
    }
}

.animate.zoom-in.in-view,
.animate-repeat.zoom-in.in-view {
    animation-name: zoomIn;
}

/* Zoom Out - Starts larger and scales to normal */
@keyframes zoomOut {
    0% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.animate.zoom-out.in-view,
.animate-repeat.zoom-out.in-view {
    animation-name: zoomOut;
}


/* ==========================================
   FLIP ANIMATIONS
   ========================================== */

/* Flip X - Rotates on X axis */
@keyframes flipX {
    0% {
        transform: rotateX(90deg);
        opacity: 0;
    }
    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}

.animate.flip-x.in-view,
.animate-repeat.flip-x.in-view {
    animation-name: flipX;
    backface-visibility: hidden;
}

/* Flip Y - Rotates on Y axis */
@keyframes flipY {
    0% {
        transform: rotateY(90deg);
        opacity: 0;
    }
    100% {
        transform: rotateY(0deg);
        opacity: 1;
    }
}

.animate.flip-y.in-view,
.animate-repeat.flip-y.in-view {
    animation-name: flipY;
    backface-visibility: hidden;
}


/* ==========================================
   COMBINED SLIDE + SCALE ANIMATIONS
   ========================================== */

/* Slide Up Scale - Slides up from bottom while scaling */
@keyframes slideUpScale {
    0% {
        transform: translateY(100px) scale(0.8);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

.animate.slide-up-scale.in-view,
.animate-repeat.slide-up-scale.in-view {
    animation-name: slideUpScale;
}

/* Slide Down Scale - Slides down from top while scaling */
@keyframes slideDownScale {
    0% {
        transform: translateY(-30px) scale(0.8);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

.animate.slide-down-scale.in-view,
.animate-repeat.slide-down-scale.in-view {
    animation-name: slideDownScale;
}

/* Slide Left Scale - Slides left while scaling */
@keyframes slideLeftScale {
    0% {
        transform: translateX(-30px) scale(0.8);
    }
    100% {
        transform: translateX(0) scale(1);
    }
}

.animate.slide-left-scale.in-view,
.animate-repeat.slide-left-scale.in-view {
    animation-name: slideLeftScale;
}

/* Slide Right Scale - Slides right while scaling */
@keyframes slideRightScale {
    0% {
        transform: translateX(30px) scale(0.8);
    }
    100% {
        transform: translateX(0) scale(1);
    }
}

.animate.slide-right-scale.in-view,
.animate-repeat.slide-right-scale.in-view {
    animation-name: slideRightScale;
}


/* ==========================================
   SIMPLE SLIDE ANIMATIONS (Full viewport)
   ========================================== */

/* Slide Up - Starts below parent container and slides up into view */
@keyframes slideUp {
    0% {
        transform: translateY(150%);
    }
    100% {
        transform: translateY(0);
    }
}

.animate.slide-up.in-view,
.animate-repeat.slide-up.in-view {
    animation-name: slideUp;
}

/* Slide Down - Starts above parent container and slides down into view */
@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate.slide-down.in-view,
.animate-repeat.slide-down.in-view {
    animation-name: slideDown;
}

/* Slide Left - Starts from left of parent container and slides in */
@keyframes slideLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate.slide-left.in-view,
.animate-repeat.slide-left.in-view {
    animation-name: slideLeft;
}

/* Slide Right - Starts from right of parent container and slides in */
@keyframes slideRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate.slide-right.in-view,
.animate-repeat.slide-right.in-view {
    animation-name: slideRight;
}


/* ==========================================
   LINE ANIMATIONS (BORDERS)
   ========================================== */

/* Base line animation setup */
.line-animate,
.line-animate-repeat {
    position: relative;
}

.line-animate::before,
.line-animate-repeat::before {
    content: '';
    position: absolute;
    background-color: var(--color-border);
}

/* Line animation durations */
.line-animate::before,
.line-animate-repeat::before {
    transition: all var(--animation-duration) var(--animation-easing-smooth);
}

.line-animate.line-fast::before,
.line-animate-repeat.line-fast::before {
    transition-duration: var(--animation-duration-fast);
}

.line-animate.line-slow::before,
.line-animate-repeat.line-slow::before {
    transition-duration: var(--animation-duration-slow);
}

/* Line animation delays */
.line-animate.line-delay-100::before,
.line-animate-repeat.line-delay-100::before { transition-delay: 100ms; }
.line-animate.line-delay-200::before,
.line-animate-repeat.line-delay-200::before { transition-delay: 200ms; }
.line-animate.line-delay-300::before,
.line-animate-repeat.line-delay-300::before { transition-delay: 300ms; }
.line-animate.line-delay-400::before,
.line-animate-repeat.line-delay-400::before { transition-delay: 400ms; }
.line-animate.line-delay-500::before,
.line-animate-repeat.line-delay-500::before { transition-delay: 500ms; }
.line-animate.line-delay-600::before,
.line-animate-repeat.line-delay-600::before { transition-delay: 600ms; }
.line-animate.line-delay-700::before,
.line-animate-repeat.line-delay-700::before { transition-delay: 700ms; }
.line-animate.line-delay-800::before,
.line-animate-repeat.line-delay-800::before { transition-delay: 800ms; }
.line-animate.line-delay-1000::before,
.line-animate-repeat.line-delay-1000::before { transition-delay: 1000ms; }
.line-animate.line-delay-1200::before,
.line-animate-repeat.line-delay-1200::before { transition-delay: 1200ms; }
.line-animate.line-delay-1500::before,
.line-animate-repeat.line-delay-1500::before { transition-delay: 1500ms; }

/* Line color variations */
.line-animate.line-color-accent::before,
.line-animate-repeat.line-color-accent::before {
    background-color: var(--coloraccent);
}

.line-animate.line-color-primary::before,
.line-animate-repeat.line-color-primary::before {
    background-color: var(--colorprimary);
}

.line-animate.line-color-secondary::before,
.line-animate-repeat.line-color-secondary::before {
    background-color: var(--colorsecondary);
}

.line-animate.line-color-border::before,
.line-animate-repeat.line-color-border::before {
    background-color: var(--color-border);
}

.line-animate.line-color-white::before,
.line-animate-repeat.line-color-white::before {
    background-color: #ffffff;
}

.line-animate.line-color-black::before,
.line-animate-repeat.line-color-black::before {
    background-color: #000000;
}

/* Top Border Line */
.line-animate.line-top::before,
.line-animate-repeat.line-top::before {
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
}

.line-animate.line-top.in-view::before,
.line-animate-repeat.line-top.in-view::before {
    width: 100%;
}

.line-animate.line-top.line-reverse::before,
.line-animate-repeat.line-top.line-reverse::before {
    left: auto;
    right: 0;
}

/* Bottom Border Line */
.line-animate.line-bottom::before,
.line-animate-repeat.line-bottom::before {
    bottom: 0;
    left: 0;
    height: 1px;
    width: 0;
}

.line-animate.line-bottom.in-view::before,
.line-animate-repeat.line-bottom.in-view::before {
    width: 100%;
}

.line-animate.line-bottom.line-reverse::before,
.line-animate-repeat.line-bottom.line-reverse::before {
    left: auto;
    right: 0;
}

/* Left Border Line */
.line-animate.line-left::before,
.line-animate-repeat.line-left::before {
    top: 0;
    left: 0;
    width: 1px;
    height: 0;
}

.line-animate.line-left.in-view::before,
.line-animate-repeat.line-left.in-view::before {
    height: 100%;
}

.line-animate.line-left.line-reverse::before,
.line-animate-repeat.line-left.line-reverse::before {
    top: auto;
    bottom: 0;
}

/* Right Border Line */
.line-animate.line-right::before,
.line-animate-repeat.line-right::before {
    top: 0;
    right: 0;
    width: 1px;
    height: 0;
}

.line-animate.line-right.in-view::before,
.line-animate-repeat.line-right.in-view::before {
    height: 100%;
}

.line-animate.line-right.line-reverse::before,
.line-animate-repeat.line-right.line-reverse::before {
    top: auto;
    bottom: 0;
}

/* Custom line thickness */
.line-animate.line-thick::before,
.line-animate-repeat.line-thick::before {
    width: 4px;
}

.line-animate.line-top.line-thick::before,
.line-animate.line-bottom.line-thick::before,
.line-animate-repeat.line-top.line-thick::before,
.line-animate-repeat.line-bottom.line-thick::before {
    height: 4px;
    width: 0;
}

.line-animate.line-top.line-thick.in-view::before,
.line-animate.line-bottom.line-thick.in-view::before,
.line-animate-repeat.line-top.line-thick.in-view::before,
.line-animate-repeat.line-bottom.line-thick.in-view::before {
    width: 100%;
}


/* ==========================================
   LINE ANIMATIONS (PSEUDO-ELEMENT LINES)
   ========================================== */

/* Horizontal line using ::before and ::after */
.line-horizontal {
    position: relative;
    display: inline-block;
}

.line-horizontal::before,
.line-horizontal::after {
    content: '';
    position: absolute;
    height: 1px;
    background-color: var(--color-accent);
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    transition: width var(--animation-duration) var(--animation-easing-smooth);
}

.line-horizontal::before {
    left: 0;
}

.line-horizontal::after {
    right: 0;
}

.line-horizontal.in-view::before,
.line-horizontal.in-view::after {
    width: 40px;
}

/* Horizontal line delays */
.line-horizontal.line-delay-100::before,
.line-horizontal.line-delay-100::after { transition-delay: 100ms; }
.line-horizontal.line-delay-200::before,
.line-horizontal.line-delay-200::after { transition-delay: 200ms; }
.line-horizontal.line-delay-300::before,
.line-horizontal.line-delay-300::after { transition-delay: 300ms; }
.line-horizontal.line-delay-400::before,
.line-horizontal.line-delay-400::after { transition-delay: 400ms; }
.line-horizontal.line-delay-500::before,
.line-horizontal.line-delay-500::after { transition-delay: 500ms; }
.line-horizontal.line-delay-600::before,
.line-horizontal.line-delay-600::after { transition-delay: 600ms; }
.line-horizontal.line-delay-700::before,
.line-horizontal.line-delay-700::after { transition-delay: 700ms; }
.line-horizontal.line-delay-800::before,
.line-horizontal.line-delay-800::after { transition-delay: 800ms; }
.line-horizontal.line-delay-1000::before,
.line-horizontal.line-delay-1000::after { transition-delay: 1000ms; }
.line-horizontal.line-delay-1200::before,
.line-horizontal.line-delay-1200::after { transition-delay: 1200ms; }
.line-horizontal.line-delay-1500::before,
.line-horizontal.line-delay-1500::after { transition-delay: 1500ms; }

/* Horizontal line color variations */
.line-horizontal.line-color-accent::before,
.line-horizontal.line-color-accent::after {
    background-color: var(--coloraccent);
}

.line-horizontal.line-color-primary::before,
.line-horizontal.line-color-primary::after {
    background-color: var(--colorprimary);
}

.line-horizontal.line-color-secondary::before,
.line-horizontal.line-color-secondary::after {
    background-color: var(--colorsecondary);
}

.line-horizontal.line-color-border::before,
.line-horizontal.line-color-border::after {
    background-color: var(--color-border);
}

.line-horizontal.line-color-white::before,
.line-horizontal.line-color-white::after {
    background-color: #ffffff;
}

.line-horizontal.line-color-black::before,
.line-horizontal.line-color-black::after {
    background-color: #000000;
}

/* Grow from left only */
.line-horizontal.line-left-only::after {
    display: none;
}

.line-horizontal.line-left-only.in-view::before {
    width: 80px;
}

/* Grow from right only */
.line-horizontal.line-right-only::before {
    display: none;
}

.line-horizontal.line-right-only.in-view::after {
    width: 80px;
}

/* Vertical line using ::before and ::after */
.line-vertical {
    position: relative;
    display: inline-block;
}

.line-vertical::before,
.line-vertical::after {
    content: '';
    position: absolute;
    width: 1px;
    background-color: var(--color-accent);
    left: 50%;
    transform: translateX(-50%);
    height: 0;
    transition: height var(--animation-duration) var(--animation-easing-smooth);
}

.line-vertical::before {
    top: 0;
}

.line-vertical::after {
    bottom: 0;
}

.line-vertical.in-view::before,
.line-vertical.in-view::after {
    height: 40px;
}

/* Vertical line delays */
.line-vertical.line-delay-100::before,
.line-vertical.line-delay-100::after { transition-delay: 100ms; }
.line-vertical.line-delay-200::before,
.line-vertical.line-delay-200::after { transition-delay: 200ms; }
.line-vertical.line-delay-300::before,
.line-vertical.line-delay-300::after { transition-delay: 300ms; }
.line-vertical.line-delay-400::before,
.line-vertical.line-delay-400::after { transition-delay: 400ms; }
.line-vertical.line-delay-500::before,
.line-vertical.line-delay-500::after { transition-delay: 500ms; }
.line-vertical.line-delay-600::before,
.line-vertical.line-delay-600::after { transition-delay: 600ms; }
.line-vertical.line-delay-700::before,
.line-vertical.line-delay-700::after { transition-delay: 700ms; }
.line-vertical.line-delay-800::before,
.line-vertical.line-delay-800::after { transition-delay: 800ms; }
.line-vertical.line-delay-1000::before,
.line-vertical.line-delay-1000::after { transition-delay: 1000ms; }
.line-vertical.line-delay-1200::before,
.line-vertical.line-delay-1200::after { transition-delay: 1200ms; }
.line-vertical.line-delay-1500::before,
.line-vertical.line-delay-1500::after { transition-delay: 1500ms; }

/* Vertical line color variations */
.line-vertical.line-color-accent::before,
.line-vertical.line-color-accent::after {
    background-color: var(--coloraccent);
}

.line-vertical.line-color-primary::before,
.line-vertical.line-color-primary::after {
    background-color: var(--colorprimary);
}

.line-vertical.line-color-secondary::before,
.line-vertical.line-color-secondary::after {
    background-color: var(--colorsecondary);
}

.line-vertical.line-color-border::before,
.line-vertical.line-color-border::after {
    background-color: var(--color-border);
}

.line-vertical.line-color-white::before,
.line-vertical.line-color-white::after {
    background-color: #ffffff;
}

.line-vertical.line-color-black::before,
.line-vertical.line-color-black::after {
    background-color: #000000;
}

/* Grow from top only */
.line-vertical.line-top-only::after {
    display: none;
}

.line-vertical.line-top-only.in-view::before {
    height: 80px;
}

/* Grow from bottom only */
.line-vertical.line-bottom-only::before {
    display: none;
}

.line-vertical.line-bottom-only.in-view::after {
    height: 80px;
}

/* Adjustable line length */
.line-horizontal.line-short.in-view::before,
.line-horizontal.line-short.in-view::after {
    width: 20px;
}

.line-horizontal.line-long.in-view::before,
.line-horizontal.line-long.in-view::after {
    width: 100px;
}

.line-vertical.line-short.in-view::before,
.line-vertical.line-short.in-view::after {
    height: 20px;
}

.line-vertical.line-long.in-view::before,
.line-vertical.line-long.in-view::after {
    height: 100px;
}

/* ==========================================
   ACCESSIBILITY & REDUCED MOTION
   ========================================== */

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .portfolio-item__image img,
    .fill-button::before,
    .fill-button::after,
    .fill-button__svg svg,
    .fill-button__svg::before,
    .fill-button,
    .fade-in-observer,
    .animate,
    .animate-repeat,
    .line-animate,
    .line-animate-repeat,
    .line-horizontal,
    .line-vertical {
        transition: none !important;
        animation: none !important;
    }

    .fade-in-observer,
    .animate,
    .animate-repeat {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
    }

    .line-animate::before,
    .line-animate-repeat::before,
    .line-horizontal::before,
    .line-horizontal::after,
    .line-vertical::before,
    .line-vertical::after {
        transition: none !important;
    }
}

/* Focus visible improvements */
*:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Skip to content link (if added) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-accent);
    color: var(--color-black);
    padding: var(--space-2) var(--space-4);
    text-decoration: none;
    z-index: var(--z-tooltip);
}

.skip-link:focus {
    top: 0;
}

@keyframes slide-down-infinite {
        0% {
            transform: translateY(-5px);
            opacity: 0;
        }
        20% {
            opacity: 1;
        }
        80% {
            opacity: 1;
        }
        100% {
            transform: translateY(10px);
            opacity: 0;
        }
    }

    @keyframes pulse-dot {
        0%, 100% {
            transform: scale(1);
            opacity: 1;
        }
        50% {
            transform: scale(1.5);
            opacity: 0.5;
        }
    }





.landing-button {
    display: flex;
    align-items: center;
    width: 60%;
    background: var(--colorbackground);
    border-radius: 5px;
    padding: .5rem 1rem;
    border: var(--colorborder);
    transition: background-color 0.3s ease;
}

.landing-button svg {
    height: 25px;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.landing-button a {
    color: var(--colorprimary);
    font-size: .9rem;
}

.landing-button:hover {
    background-color: var(--coloraccent);
}

.landing-button:hover svg {
    transform: rotate(45deg);
}

/* Navbar CTA Button - Capsule Style */
.navbar-cta-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(19, 37, 40, 0.95);
    border-radius: 50px;
    padding: 0.8rem 1rem 0.8rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 1rem;
}

.navbar-cta-button svg {
    height: 24px;
    width: 24px;
    padding: 0.8rem;
    background: #0D6065;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.navbar-cta-button a {
    color: #ffffff;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    white-space: nowrap;
}

.navbar-cta-button:hover {
    background: rgba(19, 37, 40, 1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.navbar-cta-button:hover svg {
    background: #BDFF69;
    transform: translateX(4px);
}

.section-divider {
    width: 100%;
    height: 10px;
    background-color: #BDFF69;
}

.highlight {
    font-style: italic;
    font-weight: 900;
}


/* ==========================================================================
    3. PRELOAD OVERLAY
========================================================================== */
.preload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* Use viewport width to prevent overflow */
    height: 100%;
    background-color: var(--colorsecondary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
    overflow: hidden; /* Prevent any internal overflow */
}

.preload-overlay.hidden {
    transform: translateY(-100%);
}



/* ==========================================================================
   NAVIGATION & HAMBURGER MENU
   ========================================================================== */

nav {
    padding: 1rem;
    position: fixed;
    display: flex;
    align-items: center;
    width: 100%;
    z-index: 1001; /* Higher than overlay to stay on top */
    background-color: transparent;
    transition: background-color 0.5s ease, backdrop-filter 0.5s ease, padding 0.3s ease;
}

/* Active state when menu is open */
nav.nav-active {
    background-color: var(--colorsecondary);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 50px;
    display: block;
    transition: height 0.3s ease;
}

/* Scrolled state - when scrolled 50% of landing section */
nav.nav-scrolled {
    background-color: #132528; /* transparent overlay */
    backdrop-filter: blur(30px); /* blur background */
    -webkit-backdrop-filter: blur(30px); /* Safari support */
}

/* Active state when menu is open - takes priority over scrolled state */
nav.nav-active {
    background-color: var(--colorsecondary);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

nav.nav-shrink {
    padding: 0.5rem 1rem;
    background-color: #132528;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 2px solid var(--coloraccent);
}

nav.nav-shrink .nav-logo img {
    height: 35px;
    transition: height 0.3s ease;
}

/* Adjust overlay position when nav is shrunk */
nav.nav-shrink ~ .nav-overlay {
    top: 59px;
    height: calc(100vh - 59px);
}

/* ==========================================================================
   HAMBURGER MENU OVERLAY
   ========================================================================== */

/* Overlay Container */
.nav-overlay {
    position: fixed;
    top: 82px;
    left: 0;
    width: 100%;
    height: calc(100vh - 82px);
    background-color: var(--colorsecondary);
    z-index: 999;
    display: flex;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease, top 0.3s ease;
}

/* Overlay Active State */
.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Overlay Content */
.nav-overlay-content {
    transform: translateY(30px);
    transition: transform 0.4s ease 0.1s;
    width: 100%;
}

.nav-overlay.active .nav-overlay-content {
    transform: translateY(0);
}

/* Menu List */
.nav-overlay-menu {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.nav-overlay-menu li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin: 0;
}

.nav-overlay-menu li a {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 800;
    line-height: normal;
}

/* Staggered animation for menu items */
.nav-overlay.active .nav-overlay-menu li:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.nav-overlay.active .nav-overlay-menu li:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.nav-overlay.active .nav-overlay-menu li:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.nav-overlay.active .nav-overlay-menu li:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.nav-overlay.active #overlayButton {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.nav-overlay.active .nav-overlay-image {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.nav-overlay.active .nav-overlay-media-links {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

#overlayButton {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-top: 2rem;
    width: fit-content;
    z-index: 1000;
}

/* Menu Links */
.nav-overlay-menu a {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--colorprimary);
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

/* ==========================================================================
   HAMBURGER BUTTON & ANIMATION
   ========================================================================== */

/* Hamburger Button */
.nav-hamburger-button {
    cursor: pointer;
    z-index: 1002; /* Higher than overlay */
    position: relative;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    border: var(--colorborder);
    padding: 0 1rem;
    border-radius: 3px;
    height: 43px;
    background-color: var(--colorsecondary);
}

.nav-hamburger-button p {
    font-weight: 400;
    margin: 0;
}

/* Hamburger Icon Container */
.nav-hamburger-icon {
    position: relative;
    width: 30px;
    height: 20px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Hamburger Bars */
.nav-hamburger-icon-bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--colorprimary);
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

.nav-hamburger-icon-bar:nth-child(2) {
    width: 20px;
}

.nav-hamburger-icon-bar:nth-child(3) {
    width: 25px;
}

/* Hamburger to X Animation */
.nav-hamburger-icon.active .nav-hamburger-icon-bar {
    width: 30px; /* Make all bars full width when forming X */
}

.nav-hamburger-icon.active .nav-hamburger-icon-bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.nav-hamburger-icon.active .nav-hamburger-icon-bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.nav-hamburger-icon.active .nav-hamburger-icon-bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ==========================================================================
   NAVIGATION BUTTONS
   ========================================================================== */

.nav-buttons {
    display: flex;
    gap: 1rem;
    margin-left: auto;
    align-items: center;
}

#navContactButton {
    width: 254px;
    margin-left: auto;
    margin-right: 0;
    display: none;
}

/* ==========================================================================
   OVERLAY IMAGE & SOCIAL MEDIA
   ========================================================================== */

.nav-overlay-image {
    border: var(--colorborder);
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-top: 2rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    height: 160px;
}

.nav-overlay-image img {
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-overlay-media-links {
    width: 100%;
    margin-top: 1rem;
    display: flex;
    gap: .5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-overlay-media-link {
    height: 35px;
    width: 35px;
    padding: .5rem;
    border: var(--colorborder);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.nav-overlay-media-link:hover {
    transform: translateY(-3px);
}

.nav-overlay-media-link a {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-overlay-media-link svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media screen and (min-width: 570px) {
    #navContactButton {
        display: flex;
    }

    #overlayButton {
        display: none;
    }

    .nav-overlay-image {
        height: 250px;
    }
}

@media screen and (min-width: 768px) {
    nav {
        padding: 1rem 2rem;
    }

    nav.nav-shrink {
        padding: 0.5rem 2rem;
    }

    .nav-overlay {
        padding: 1rem 2rem;
    }

    .nav-overlay-content {
        display: flex;
        margin-top: 2rem;
    }

    .nav-overlay-menu {
        width: 50%;
        margin-top: 0;
        gap: 2rem;
    }

    .nav-overlay-right {
        width: 50%;
        padding-top: 1rem;
    }

    .nav-overlay-image {
        margin-top: 0;
    }

    .nav-overlay-menu li a {
        font-size: 3.75rem;
    }

    .nav-overlay-image {
        height: 334px;
    }

    .nav-overlay-image img {
        height: 100%;
    }
}

@media screen and (min-width: 1024px) {
    nav {
        padding: 1rem;
    }

    .nav-overlay {
        padding: 1rem 6.25rem;
    }
}

@media screen and (min-width: 1248px) {
    nav {
        padding: 1rem 2rem;
    }
    
    .nav-overlay-menu {
        width: 30%;
        margin-top: 0;
        gap: 2rem;
    }

    .nav-overlay-right {
        width: 60%;
        margin-left: auto;
        padding-top: 1rem;
    }

    .nav-overlay-menu li a {
        font-size: 4rem;
    }

    .nav-overlay-image {
        height: 400px;
    }

    .nav-overlay-image img {
        width: 100%;
    }
}

















#heroLanding {
    height: 100vh;
}

.hero-overlay {
    height: 100%;
    width: 100%;
    position: relative;
    background-image: url('./images/hero-landing.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgb(0, 0, 0, .2);
}

.hero-overlay-header {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-overlay-header h1 {
    text-transform: uppercase;
    font-weight: 900;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    row-gap: .25rem !important;
    gap: .5rem;
    color: #dbe1d2;
}

.hero-overlay-header h1 span {
    display: inline-block;
}

.hero-overlay-header-container {
    overflow: hidden;
}

.hero-info-desktop {
    display: none;
}



@media screen and (min-width: 768px) {
    .hero-overlay-header h1 {
        font-size: 4rem;
        line-height: 4rem;
    }
}

@media screen and (min-width: 1024px) {
    #heroLanding {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .hero-overlay {
        height: 75%;
        width: 90%;
    }

    .hero-overlay-header h1 {
        max-width: 900px;
        gap: 1rem;
    }

    .hero-info-desktop {
        width: 100%;
        padding: 1rem;
        display: flex;
        margin-bottom: -62px;
        margin-top: 1rem;
    }

    .hero-info-desktop-scroll p,
    .hero-info-desktop-location p {
        font-weight: 700;
        text-transform: uppercase;
        font-size: .75rem;
        color: var(--coloraccent);
    }

    .hero-info-desktop-scroll {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        overflow: hidden;
    }

    .hero-info-desktop-scroll::after {
        content: '↓';
        font-size: 1rem;
        font-weight: 700;
        animation: slide-down-infinite 1.5s ease-in infinite;
        color: var(--coloraccent);
    }

    .hero-info-desktop-location {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .hero-info-desktop-location::before {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: var(--coloraccent);
        animation: pulse-dot 1.5s ease-in-out infinite;
    }

    @keyframes slide-down-infinite {
        0% {
            transform: translateY(-5px);
            opacity: 0;
        }
        20% {
            opacity: 1;
        }
        80% {
            opacity: 1;
        }
        100% {
            transform: translateY(10px);
            opacity: 0;
        }
    }

    @keyframes pulse-dot {
        0%, 100% {
            transform: scale(1);
            opacity: 1;
        }
        50% {
            transform: scale(1.5);
            opacity: 0.5;
        }
    }
}


@media screen and (min-width: 1248px) {
    .hero-info-desktop {
        padding: 1rem 2rem;
    }
}

























/* ==========================================================================
   VIEWPORT SECTION TRANSITIONS (vsect- namespaced)
   ========================================================================== */

.vsect-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.vsect-block {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font: var(--h2);

    background-color: var(--colorprimary);
    color: var(--colorsecondary);
    transition: background-color .5s ease-in-out,
                color .5s ease-in-out,
                border-color .5s ease-in-out,
                fill .5s ease-in-out;
    z-index: 0;
    position: relative;
    padding: 4rem 1rem;
}

/* Active section pulls its theme variables */
.vsect-block.vsect-active {
    background-color: var(--colorsecondary);
    color: var(--vsect-text, #fff);
}

/* Themed children */
.vsect-block.vsect-active .cta-header__title {
    color: var(--coloraccent) !important;
}

.vsect-block.vsect-active .cta-header__subtitle {
    color: var(--colorparagraph);
}







.cta-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cta-header__tag {
    font-size: 14px;
    text-transform: uppercase;
    line-height: normal;
    overflow: hidden;
}

.cta-header__title {
    text-transform: capitalize;
    color: var(--colorsecondary);
    padding-top: .5rem;
    padding-bottom: 1rem;
    overflow: hidden;
}

.cta-header__title h2 {
    font-size: 1.5rem;
    line-height: 1.75rem;
    overflow: hidden;
    font-weight: 400;
}

.cta-header__subtitle {
    color: var(--colorsecondary);
    max-width: 380px;
    overflow: hidden;
}







.contact-divider {
  position: relative;
  width: 1px;
  height: 80px;              /* adjust length */
  margin: 0 auto 2rem auto;
  background: #000000;          /* base gray line */
  overflow: hidden;
  border-radius: 2px;
  margin-top: 3rem;
}

.contact-divider::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--coloraccent);
  transform-origin: top;
  animation: wipeFill 1.5s linear infinite;
}

@keyframes wipeFill {
  0% {
    transform: scaleY(0);   /* start empty */
    top: 0;                 /* stick to top */
  }
  50% {
    transform: scaleY(1);   /* fully filled */
    top: 0;                 /* still anchored at top */
  }
  100% {
    transform: scaleY(1);   /* same size */
    top: 100%;              /* slide all the way down */
  }
}












@media screen and (min-width: 768px) {
    .cta-header__title h2 {
        font-size: 2.5rem;
        line-height: 2.75rem;
    }

    .cta-header__title {
        
    }

    .vsect-block {
        padding: 6.25rem 2rem;
    }
}




@media screen and (min-width: 1024px) {
    .cta-header__title {
        width: 80%;
    }

}









































/* ==========================================================================
   3. PROCESS SECTION STYLES
   ========================================================================== */

/* Section Container */
#ourProcess {
    
}

.process-header {
    padding: 4rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.process-intro__title {
    overflow: hidden;
    text-align: center;
}

.process-intro__title h2 {
    text-transform: capitalize;
    color: var(--coloraccent);
    font-weight: 400;
}

.process-intro__title h2 span {
    display: inline-block;
}

.process-intro__tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    max-width: 800px;
}

.process-intro__tab {
    display: inline-block;
    border: 2px solid var(--colorprimary);
    border-radius: 3px;
    padding: .25rem;
    color: var(--colorprimary);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.process-intro__tab:hover {
    background-color: var(--coloraccent);
    border-color: var(--coloraccent);
    color: var(--colorsecondary);
}

/* Process Steps */
.process-step {
    padding-bottom: 3rem;
}

/* Step Image */
.process-step-image {
    width: 100%;
    filter: brightness(0.8);
    margin-bottom: 1rem;
    display: inline-block;
    height: 250px; /* Fixed height to ensure consistency */
    overflow: hidden; /* Hide overflow to maintain clean edges */
}

.process-step-image img {
    width: 100%;
    height: 100%; /* Fill the parent container */
    display: block;
    object-fit: cover; /* Crop image to fill container while maintaining aspect ratio */
    object-position: center; /* Center the image within the container */
}

/* Step Content */
.process-step-content {
    padding: 1rem;
    padding-bottom: 3rem;
}

.step-content-wrapper {
    overflow: hidden;
}

.step-content__tag {
    overflow: hidden;
}

.step-content__tag h2 {
    font-weight: 900;
    color: var(--coloraccent);
}


.step-content__info,
.step-content__info-title,
.step-content__info-subtitle,
.step-content__info-description {
    overflow: hidden;
}
.step-content__info-title h3 {
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.step-content__info-title h3 span {
    display: inline-block;
}

.step-content__info-subtitle span {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.75rem;
    line-height: normal;
    color: var(--coloraccent);
}

.step-content__info-description p {
    margin-top: 1rem;
    color: var(--colorparagraph);
}

/* Step Outcome */
.step-content-outcome {
    padding: 1rem;
    background-color: var(--colorprimary);
    color: var(--colorsecondary);
    border-radius: 10px;
    margin-top: 2rem;
    max-width: 406px;
}

.step-content-outcome span {
    font-weight: 900;
    text-transform: uppercase;
    line-height: normal;
}




@media screen and (max-width: 391px) {
    .process-intro__title h2 {
        font-size: 36px;
        line-height: 40px;
    }
}

/* Tablet Styles (768px+) */
@media screen and (min-width: 768px) {
    .process-header {
        padding: 6.25rem 2rem;
    }

    .process-intro__title h2 {
        font-size: 3.5rem;
        line-height: 3.75rem;
    }

    /* Alternate layout for even steps */
    .process-step-wrapper .process-step:nth-child(2),
    .process-step-wrapper .process-step:nth-child(4),
    .process-step-wrapper .process-step:nth-child(6) {
        flex-direction: row-reverse;
    }

    .process-step-wrapper .process-step:nth-child(2) .process-step-content .step-content__tag,
    .process-step-wrapper .process-step:nth-child(4) .process-step-content .step-content__tag,
    .process-step-wrapper .process-step:nth-child(6) .process-step-content .step-content__tag {
        margin-left: auto;
    }

    .process-step {
        display: flex;
        align-items: stretch;
        padding: 0;
    }

    .process-step-image {
        width: 45%;
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
        height: 400px; /* Fixed height for tablet/desktop */
    }

    .process-step-content {
        width: 55%;
        padding: 2rem;
        padding-bottom: 3rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .process-step-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .step-content-wrapper {
        margin: auto 0;
    }
}

/* Desktop Styles (1024px+) */
@media screen and (min-width: 1024px) {
    .process-intro__title h2 {
        font-size: 4rem;
        line-height: 4.25rem;
        max-width: 720px;
    }

    .process-step-content {
        padding: 3rem;
    }
}

/* Large Desktop Styles (1248px+) */
@media screen and (min-width: 1248px) {
    .process-header {
        padding: 6.25rem;
    }

    .process-intro__title h2 {
        font-size: 4.5rem;
        line-height: 4.75rem;
        max-width: 1056px;
    }

    .step-content-wrapper {
        max-width: 591px;
        margin: auto;
    }

    .process-step-image {
        width: 40%;
        height: 500px; /* Larger fixed height for large desktop */
    }

    .process-step-content {
        width: 60%;
    }

    .step-content__info-title h3 {
        font-size: 2rem;
    }

    .step-content-outcome {
        max-width: 470px;
    }
}
























































/* ==========================================================================
    2. SERVICES SECTION
========================================================================== */

#services {
    padding: 4rem 1rem;
}

.services-intro {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
}

.services-intro__title {
    overflow: hidden;
}

.services-intro__title h2 {
    text-transform: capitalize;
    color: var(--coloraccent);
    font-weight: 400;
}

.services-intro__title h2 span {
    display: inline-block;
}

.services-intro__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.services-intro__tab {
    display: inline-block;
    border: 2px solid var(--colorprimary);
    border-radius: 3px;
    padding: .25rem;
    color: var(--colorprimary);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.services-intro__tab:hover {
    background-color: var(--coloraccent);
    border-color: var(--coloraccent);
    color: var(--colorsecondary);
}































.services-tabs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}










.services-tab-container {
    width: 100%;
    overflow: hidden;
}

.services-tab {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 65px;
    border: var(--colorborder);
    border-radius: 20px;
}

.services-tab:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.services-tab svg:nth-child(3) {
    height: 30px;
    color: white;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.services-tab.active svg:nth-child(3) {
    transform: rotate(180deg);
}

.services-tab.active {
    background: linear-gradient(to top, #132528, #0D6065);
}

.services-tab.active h2 {
    color: var(--colorprimary);
}

.services-tab svg {
    height: 40px;
    color: var(--coloraccent);
}

.services-tab h2 {
    font-size: 1rem;
    color: #ffffff;
}

.services-tab-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.services-tab-content.active {
    max-height: 700px;
    padding: 1rem;
}

.services-content-desktop {
    display: none;
}

.services-tab-content-intro__title,
.services-tab-content-intro__description,
.services-tab-content,
.services-tab-content-info {
    overflow: hidden;
}

.services-tab-content-intro__title h2 {
    padding-bottom: .5rem;
    font-weight: 400;
}

.services-tab-content-intro__description p {
    font-size: 1rem;
    line-height: 1.25rem;
}

.services-tab-content-checklist {
    width: 100%;
}

.services-tab-content-check {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.services-tab-content-check p {
    
}

.services-tab-content-check svg {
    height: 25px;
    color: var(--coloraccent);
}

.services-tab-image {
    width: 100%;
    border-radius: 10px;
    height: fit-content;
    margin-top: 1rem;
    outline: var(--colorborder);
    background-color: var(--coloraccent);
    overflow: hidden;
}

.services-tab-image img {
    border-radius: 10px;
    object-fit: cover;
}

.services-tab-content-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Fix for mobile: Ensure h2 and images are visible in services-tab-content */
@media screen and (max-width: 767px) {
    .services-tab-content .animate-repeat {
        opacity: 1 !important;
        transform: none !important;
    }

    .services-tab-content-intro__title,
    .services-tab-content-intro__description,
    .services-tab-content-info {
        overflow: visible;
    }
}




/* Desktop: New behavior */
@media screen and (min-width: 768px) {
    #services {
        padding: 6.25rem 2rem;
    }

    .services-intro__title h2 {
        font-size: 3.5rem;
        line-height: 3.75rem;
    }
    
    .services-tabs-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .services-tab-container {
        width: calc(50% - 0.5rem);
    }
    
    /* Hide mobile content on desktop */
    .services-tab-content {
        display: none !important;
        max-height: none;
    }
    
    /* Show desktop content area */
    .services-content-desktop {
        display: block;
        margin-top: 1rem;
        width: 100%;
    }
    
    .services-content-desktop .services-tab-content {
        display: flex !important;
        padding: 1rem;
        max-height: none;
    }

    .services-tab svg:nth-child(3) {
        display: none;
    }

    .services-tab svg {
        opacity: .5;
    }

    .services-tab.active svg {
        opacity: 1;
    }

}




@media screen and (min-width: 1024px) {
    .services-intro__title h2 {
        font-size: 4rem;
        line-height: 4.25rem;
        max-width: 720px;
    }

    .services-tab-content {
        flex-direction: row;
    }

    .services-tab-content-info {
        width: 50%;
    }

    .services-tab-image {
        width: 50%;
        height: 240px;
        margin-top: 0;
    }

    .services-tab-image img {
        height: 240px;
        width: 100%;
    }
}




@media screen and (min-width: 1248px) {
    #services {
        padding: 6.25rem;
    }

    .services-intro__title h2 {
        font-size: 4.5rem;
        line-height: 4.75rem;
        max-width: 1056px;
    }

    .services-tab-content-intro__title h2 {
        font-size: 2.75rem;
        line-height: 3.25rem;
        width: 80%;
    }

    .services-tab-image {
        height: 315px;
    }

    .services-tab-image img {
        height: 315px;
    }
}

































/* ==========================================================================
   5. CONTACT SECTION
   ========================================================================== */
#contactUs {
    background-color: var(--colorprimary);
    padding: 4rem 1rem;
}

.contact-us-wrapper {
    background-color: var(--colorsecondary);
    padding: 1rem;
    border-radius: 10px;
    border: var(--colorborder);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-us-intro {
    width: 100%;
    height: 100%;
}

.contact-intro span {
    text-transform: uppercase;
    font-weight: bold;
}

.contact-intro h2 {
    font-weight: 400;
    font-size: 2rem;
    padding-top: .5rem;
    padding-bottom: 2rem;
    color: var(--coloraccent);
}

.contact-intro h2 span {
    display: inline-block;
}


.contact-intro h2 span:nth-child(1),
.contact-intro h2 span:nth-child(2) {
    font-weight: 400;
}

.contact-intro h2 span:nth-child(4),
.contact-intro h2 span:nth-child(5) {
    color: var(--coloraccent);
}

.contact-headshot {
    width: 100%;
    aspect-ratio: 1 / 1; /* Makes it square */
    background: #1a1a1a;
    border: var(--colorborder);
    border-radius: 10px;
    overflow: hidden; /* Ensures image doesn't overflow */
}

.contact-headshot img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintains aspect ratio while filling container */
    object-position: center top; /* Aligns image to the top */
    border-radius: 10px;
}

.contact-intro-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: .5rem;
}

.contact-intro-info-about h4 {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.5rem;
}

.contact-intro-info-about p {
    font-size: 1rem;
    line-height: 1.25rem;
    font-weight: 300;
}

.contact-intro-info-links {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
}

.contact-intro-info-links a:nth-child(1) {
    font-size: 1rem;
    font-weight: 300;
    color: #d4d4d4;
}

.contact-intro-info-links a:nth-child(2) {
    font-size: 1rem;
    font-weight: 900;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.form-label {
    font-weight: 900;
}

.form-input,
.form-textarea,
.form-select {
    background-color: #2A2A2A;
    border-radius: 10px;
    padding: .5rem 1rem;
    border: var(--colorborder);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.form-select option {
    color: black;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--coloraccent);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(124, 122, 122, 0.1);
}

::placeholder {
    color: #D9D9D9;
    font-size: 1rem;
}

#contactButton a {
    font-size: 1rem;
}



@media screen and (min-width: 768px) {
    #contactUs {
        padding: 6.25rem 2.25rem;
    }

    .contact-us-wrapper {
        padding: 4rem;
    }

    .contact-intro h2 {
        font-size: 3rem;
        line-height: 3rem;
    }
}

@media screen and (min-width: 1024px) {
    #contactUs {
        padding: 6.25rem 6.25rem;
    }

    .contact-us-wrapper {
        padding: 4rem;
        flex-direction: row;
    }

    .contact-intro {
        width: 50%;
    }

    form {
        width: 50%;
    }

    .contact-headshot {
        width: 70%;
    }
}






































/* ==========================================================================
   13. FOOTER
========================================================================== */
.footer-section {
          background: var(--colorsecondary);
          position: relative;
        }
        .footer-container {
          padding: 1rem;
        }
        .footer-cta {
          padding-bottom: 1rem;
        }
        .single-cta svg {
          color: #0D6065;
          height: 25px;
          float: left;
          margin-top: 5px;
        }
        .cta-text {
          padding-left: 15px;
          display: inline-block;
        }
        .cta-text h4 {
          color: #fff;
          font-size: 20px;
          font-weight: 600;
          margin-bottom: 2px;
        }
        .cta-text span {
          font-size: 15px;
        }
        .footer-content {
          position: relative;
          z-index: 2;
        }
        .footer-pattern img {
          position: absolute;
          top: 0;
          left: 0;
          height: 330px;
          background-size: cover;
          background-position: 100% 100%;
        }
        .footer-logo {
          margin-bottom: 30px;
          padding: .5rem 1rem;
          border-radius: 10px;
          display: flex;
          justify-content: center;
          max-width: 200px;
        }
        .footer-logo img {
            border-radius: 5px;
        }
        .footer-text p {
          margin-bottom: 14px;
          font-size: 14px;
          line-height: 28px;
        }
        .footer-social-icon-wrapper {
          display: flex;
          padding-bottom: 1rem;
        }
        .footer-social-icon span {
          color: #fff;
          display: block;
          font-size: 20px;
          font-weight: 700;
          font-family: 'Poppins', sans-serif;
          margin-bottom: 20px;
        }
        .footer-social-icon a {
          color: #fff;
          font-size: 16px;
          margin-right: 15px;
        }
        .footer-social-icon svg {
          height: 40px;
          width: 40px;
          text-align: center;
          line-height: 38px;
          border-radius: 50%;
        }
        .facebook-bg{
          background: #3B5998;
        }
        .twitter-bg{
          background: #55ACEE;
        }
        .google-bg{
          background: #DD4B39;
        }
        .footer-widget {
          padding-top: 1rem;
        }
        .footer-widget-heading h3 {
          color: #fff;
          font-size: 20px;
          font-weight: 600;
          margin-bottom: 40px;
          position: relative;
        }
        .footer-widget-heading h3::before {
          content: "";
          position: absolute;
          left: 0;
          bottom: -15px;
          height: 2px;
          width: 50px;
          background: var(--coloraccent);
        }
        .footer-widget ul li {
          display: inline-block;
          float: left;
          width: 50%;
          margin-bottom: 12px;
        }
        .footer-widget ul li a:hover{
          color: var(--coloraccent);
        }
        .footer-widget ul li a {
          color: var(--colorprimary);
          text-transform: capitalize;
          text-decoration: none;
        }
        .subscribe-form {
          position: relative;
          overflow: hidden;
        }
        .subscribe-form input {
          width: 100%;
          padding: 14px 28px;
          background: #2E2E2E;
          border: 1px solid #2E2E2E;
          color: #fff;
        }
        .subscribe-form button {
            position: absolute;
            right: 0;
            background: var(--coloraccent);
            padding: 13px 20px;
            border: 1px solid #0D6065;
            top: 0;
            cursor: pointer;
        }
        .subscribe-form button svg {
          color: var(--colorsecondary) !important;
          height: 25px;
          transform: rotate(-6deg);
        }
        .copyright-area{
          background: #202020;
          padding-top: 1rem;
        }
        .copyright-text p {
          margin: 0;
          font-size: 14px;
          color: #878787;
          text-align: center;
        }
        .copyright-text p a{
          color: var(--coloraccent);
          text-decoration: none;
        }
        .footer-menu li {
          display: inline-block;
          margin-left: 20px;
        }
        .footer-menu li:hover a{
          color: #0BD3DF;
        }
        .footer-menu li a {
          font-size: 14px;
          color: #878787;
          text-decoration: none;
        }
        .footer-menu ul {
            list-style: none;
            margin-bottom: 0;
        }

/* Updated media query to ensure footer widgets stay on same line and proper CTA positioning */
@media screen and (min-width: 992px) {
  .footer-container {
    margin: 0 auto; /* Center the container */
    display: flex;
    flex-direction: column;
    padding: 1rem;
  }
  
  /* Footer CTA section - ensure it stays on top and centered */
  .footer-cta {
    width: 100%;
    order: 1;
  }
  
  .footer-cta .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
  }
  
  /* Footer content section - comes after CTA and centered */
  .footer-content {
    width: 100%;
    order: 2;
  }
  
  .footer-content .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    margin: 0 auto;
  }
  
  .footer-content .row > [class*="col-"] {
    flex: 1;
    max-width: none;
    margin-bottom: 0;
  }
  
  .footer-widget {
    height: 100%;
  }
}

body.light-mode #contact {
    margin-top: 10px;
}

body.light-mode .contact-header {
    color: var(--colorprimary)
}

option {
    color: var(--colorsecondary)
}

@media screen and (min-width: 1024px) {
    .footer-container {
        padding: 6.25rem;
    }

    .subscribe-form form {
        width: 100%;
    }
}