/*
Theme Name: Optima Force
Theme URI: https://optimaforce.dk
Author: Optima Force ApS
Author URI: https://optimaforce.dk
Description: Custom WordPress theme for Optima Force - Industrial Services. Built with Bootstrap 5, GSAP, ScrollTrigger, ScrollSmoother and Swiper.js
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: optima
Tags: custom-logo, custom-menu, featured-images, theme-options, translation-ready
*/

/* ==========================================================================
   CSS Custom Properties (Variables)
   ========================================================================== */
:root {
    /* Brand Colors */
    --of-primary: #004aad;
    --of-secondary: #043e8b;
    --of-accent: #ff5400;
    --of-gray: #a6a6a6;
    --of-gray-light: #f5f5f5;
    --of-gray-dark: #333333;
    --of-white: #ffffff;
    --of-black: #000000;

    /* Typography */
    --of-font-heading: 'Oswald', 'Impact', sans-serif;
    --of-font-body: 'Inter', 'Segoe UI', sans-serif;

    /* Spacing */
    --of-section-padding: 100px;
    --of-container-padding: 15px;
    --of-container-max-width: 1140px;
    --of-footer-gap: 50px;

    /* Transitions */
    --of-transition: 0.3s ease;
    --of-transition-slow: 0.6s ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto; /* ScrollSmoother handles this */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--of-font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--of-gray-dark);
    background-color: var(--of-white);
    overflow-x: hidden;
}

/* ScrollSmoother wrapper */
#smooth-wrapper {
    overflow: hidden;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#smooth-content {
    overflow: visible;
    width: 100%;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--of-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--of-gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--of-primary);
    text-decoration: none;
    transition: var(--of-transition);
}

a:hover {
    color: var(--of-accent);
}

/* Text Colors */
.text-primary { color: var(--of-primary) !important; }
.text-secondary { color: var(--of-secondary) !important; }
.text-accent { color: var(--of-accent) !important; }
.text-gray { color: var(--of-gray) !important; }
.text-white { color: var(--of-white) !important; }

/* Background Colors */
.bg-primary { background-color: var(--of-primary) !important; }
.bg-secondary { background-color: var(--of-secondary) !important; }
.bg-accent { background-color: var(--of-accent) !important; }
.bg-gray { background-color: var(--of-gray-light) !important; }
.bg-dark { background-color: var(--of-gray-dark) !important; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    font-family: var(--of-font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 32px;
    border: none;
    border-radius: 0;
    transition: var(--of-transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--of-accent);
    transition: var(--of-transition);
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn-primary {
    background-color: var(--of-primary);
    color: var(--of-white);
}

.btn-primary:hover {
    color: var(--of-white);
    background-color: var(--of-primary);
}

.btn-accent {
    background-color: var(--of-accent);
    color: var(--of-white);
}

.btn-accent::before {
    background: #e04a00;
}

.btn-accent:hover {
    background-color: var(--of-accent);
    color: var(--of-white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--of-white);
    color: var(--of-white);
}

.btn-outline:hover {
    background: var(--of-white);
    color: var(--of-primary);
}

.btn-outline::before {
    display: none;
}

.btn-lg {
    padding: 18px 42px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Topbar
   ========================================================================== */
.site-topbar {
    position: relative;
    z-index: 999;
    background: var(--of-secondary);
    padding: 8px 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-usps {
    display: flex;
    gap: 25px;
}

.topbar-usp {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-usp i {
    color: var(--of-accent);
}

.topbar-contact {
    display: flex;
    align-items: center;
}

.topbar-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--of-white);
    font-size: 0.85rem;
    transition: var(--of-transition);
}

.topbar-phone:hover {
    color: var(--of-accent);
}

.topbar-phone i {
    color: var(--of-accent);
    font-size: 1rem;
}

.topbar-phone-label {
    color: rgba(255, 255, 255, 0.7);
}

.topbar-phone strong {
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--of-primary);
}

.site-header.scrolled {
    /*background: var(--of-secondary);*/
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    transition: var(--of-transition);
}

.site-header.scrolled .header-inner {
    padding: 8px 0;
}

.site-logo img {
    height: auto;
    width: 100%;
    max-width: 280px;
    transition: var(--of-transition);
}

.site-header.scrolled .site-logo img {
    width: 240px;
}

/* Main Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 10px 18px;
    color: var(--of-white);
    font-family: var(--of-font-heading);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--of-accent);
    transform: scaleX(0);
    transition: var(--of-transition);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
    transform: scaleX(1);
}

.nav-menu a:hover {
    color: var(--of-white);
}

/* Dropdown Menu */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--of-secondary);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--of-transition);
    list-style: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu a {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.nav-menu .sub-menu a::after {
    left: 20px;
    right: 20px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--of-white);
    transition: var(--of-transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Header CTA */
.header-cta {
    margin-left: 20px;
}

.header-cta .btn {
    padding: 12px 24px;
    font-size: 0.85rem;
}

/* Mobile-only elements - hidden on desktop */
.mobile-menu-overlay,
.mobile-menu-header,
.mobile-menu-footer,
.submenu-toggle {
    display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--of-secondary);
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(4, 62, 139, 1.0) 0%,
        rgba(4, 62, 139, 0.4) 50%,
        rgba(0, 74, 173, 1.0) 100%
    );
}

.hero-row {
    padding: 120px 0 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    display: inline-block;
    color: var(--of-accent);
    font-family: var(--of-font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    position: relative;
    padding-left: 60px;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 45px;
    height: 3px;
    background: var(--of-accent);
}

.hero-title {
    color: var(--of-white);
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--of-accent);
}

.hero-description {
    color: var(--of-gray);
    font-size: 1.2rem;
    max-width: 550px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Hero Orange Accent Rectangle */
.hero-accent {
    position: absolute;
    right: 10%;
    bottom: 0;
    width: 80px;
    height: 200px;
    background: var(--of-accent);
    z-index: 1;
}

/* Hero Image on Right Side */
.hero-image-wrapper {
    position: relative;
    height: 100%;
}

.hero-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Blue box with text - in front of hero image */
.hero-image-accent-blue {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 200px;
    height: 200px;
    background: var(--of-primary);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-accent-label {
    font-family: var(--of-font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--of-accent);
    line-height: 1;
    display: block;
}

.hero-accent-text {
    font-family: var(--of-font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--of-white);
    display: block;
    margin-top: 5px;
}

/* Orange box below hero image */
.hero-image-accent-orange {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: var(--of-accent);
    z-index: -1;
}

/* Hero Split Layout */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.hero-split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 60px 60px;
    background: var(--of-secondary);
}

.hero-split-media {
    position: relative;
    overflow: hidden;
}

.hero-split-media video,
.hero-split-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
    padding: var(--of-section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    color: var(--of-accent);
    font-family: var(--of-font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
}

.section-title {
    margin-bottom: 20px;
}

.section-description {
    color: var(--of-gray);
    font-size: 1.1rem;
}

/* Section with accent bar */
.section-accent-bar {
    position: relative;
}

.section-accent-bar::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background: var(--of-accent);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    background: var(--of-white);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: var(--of-transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--of-transition-slow);
}

.service-card:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(4, 62, 139, 0.7), rgba(4, 62, 139, 0.3));
    opacity: 1;
    transition: var(--of-transition);
}

.service-card:hover .service-card-overlay {
    opacity: 0;
}

.service-card-content {
    padding: 30px;
    position: relative;
}

.service-card-icon {
    position: absolute;
    top: -30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--of-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--of-white);
    font-size: 1.5rem;
}

.service-card-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card-title a {
    color: inherit;
    transition: var(--of-transition);
}

.service-card-title a:hover {
    color: var(--of-accent);
}

/* Clickable image link */
.service-card-image-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.service-card-excerpt {
    color: var(--of-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--of-primary);
    font-family: var(--of-font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.service-card-link:hover {
    color: var(--of-accent);
    gap: 15px;
}

/* Orange Accent Strip */
.service-card-accent {
    position: absolute;
    bottom: 0;
    left: 30px;
    width: 50px;
    height: 5px;
    background: var(--of-accent);
    transition: var(--of-transition);
}

.service-card:hover .service-card-accent {
    width: calc(100% - 60px);
}

/* ==========================================================================
   Focus Areas / Features
   ========================================================================== */
.focus-section {
    background: var(--of-gray-light);
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.focus-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--of-white);
    position: relative;
    transition: var(--of-transition);
}

.focus-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--of-primary);
    transform: scaleX(0);
    transition: var(--of-transition);
}

.focus-item:hover::before {
    transform: scaleX(1);
}

.focus-item:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.focus-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--of-primary);
    color: var(--of-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--of-transition);
}

.focus-item:hover .focus-icon {
    background: var(--of-accent);
}

.focus-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.focus-text {
    color: var(--of-gray);
    font-size: 0.9rem;
	margin: 0;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
}

.about-image-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

.about-image {
    position: relative;
    overflow: hidden;
    flex: 1;
    min-height: 400px;
}

.about-image .parallax-wrapper {
    height: 100% !important;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: var(--of-accent);
    z-index: -1;
}

.about-stats {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--of-primary);
    padding: 30px;
    color: var(--of-white);
}

.stat-number {
    font-family: var(--of-font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--of-accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-content {
    padding-right: 30px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--of-gray-light);
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list-icon {
    width: 24px;
    height: 24px;
    background: var(--of-accent);
    color: var(--of-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
}

/* ==========================================================================
   Two Column Content/Image Layout (generic)
   ========================================================================== */
.content-image-row {
    display: flex;
    align-items: stretch;
    gap: 80px;
}

.content-image-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.content-image-row .content-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-image-row .image-column {
    display: flex;
}

.content-image-row .image-column .about-image-wrapper,
.content-image-row .image-column .about-image,
.content-image-row .image-column .parallax-wrapper {
    flex: 1;
    height: 100% !important;
    min-height: 400px;
}

.content-image-row .image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bootstrap row with stretch alignment for content/image layouts */
.row.align-items-stretch > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.row.align-items-stretch .about-image-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.row.align-items-stretch .about-image {
    flex: 1;
}

.row.align-items-stretch .about-image .parallax-wrapper {
    height: 100% !important;
    min-height: 100%;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    position: relative;
    background-color: var(--of-secondary);
    overflow: hidden;
}

/* Parallax Background Container */
.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.cta-bg img {
    width: 100%;
    height: 130%;
    object-fit: cover;
    position: absolute;
    top: -15%;
    left: 0;
}

/* Dark overlay for text readability */
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 62, 139, 0.75);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 0;
}

.cta-title {
    color: var(--of-white);
    margin-bottom: 20px;
}

.cta-text {
    color: var(--of-gray);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    position: relative;
    color: var(--of-white);
}

.footer-main {
    position: relative;
    background: var(--of-secondary);
    padding: 80px 0;
    --footer-gap-large: 80px;
    --footer-gap-small: 30px;
}

.footer-main > .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    /* 40% for col1, then 20% each for cols 2-4 (approx with gaps) */
    grid-template-columns: 2fr 1fr 1fr 1fr;
    column-gap: var(--footer-gap-small);
    row-gap: var(--footer-gap-small);
}

/* Add extra margin after first column to create larger gap */
.footer-grid > *:nth-child(1) {
    margin-right: calc(var(--footer-gap-large) - var(--footer-gap-small));
}

.footer-company {
    position: relative;
}

/* Primary blue background - extends from far left to middle of large gap */
.footer-company::before {
    content: '';
    position: absolute;
    top: -80px;
    bottom: -80px;
    left: -9999px;
    /* Right edge: half of large gap beyond column edge */
    right: calc(-1 * var(--footer-gap-large) / 2);
    background: var(--of-primary);
    z-index: -1;
}

/* Footer Orange Accent - centered in the large gap between col 1 and col 2 */
.footer-accent {
    position: absolute;
    bottom: 0;
    width: 30px;
    height: 0;
    max-height: 160px;
    background: var(--of-accent);
    z-index: 10;
    /* Uses JS to position dynamically, fallback centers at 35% */
    left: 35%;
    transform: translateX(-50%);
}

/* Mobile footer accent - hidden on desktop */
.footer-accent-mobile {
    display: none;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    height: 24px;
    width: auto;
    max-width: 200px;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-contact-icon {
    color: var(--of-accent);
    font-size: 1rem;
    width: 20px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--of-transition);
}

.footer-contact-item a:hover {
    color: var(--of-accent);
}

.footer-title {
    font-size: 1.1rem;
    color: var(--of-white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--of-accent);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--of-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-menu a::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--of-accent);
    transition: var(--of-transition);
}

.footer-menu a:hover {
    color: var(--of-white);
}

.footer-menu a:hover::before {
    width: 15px;
}

/* Footer menu in sidebar (light background) */
.bg-gray .footer-menu a {
    color: var(--of-secondary);
}

.bg-gray .footer-menu a:hover {
    color: var(--of-primary);
}

/* Footer Bottom */
.footer-bottom {
    background: var(--of-black);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: var(--of-accent);
}

/* ==========================================================================
   Page Header
   ========================================================================== */
.page-header {
    position: relative;
    padding: 180px 0 100px;
    background-color: var(--of-secondary);
}

/* Parallax Background Container */
.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.page-header-bg img {
    width: 100%;
    height: 130%;
    object-fit: cover;
    position: absolute;
    top: -15%;
    left: 0;
}

/* Dark overlay for text readability */
.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 62, 139, 0.7);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header-title {
    color: var(--of-white);
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--of-gray);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
	color: var(--of-accent);
}

.breadcrumb a:hover {
    color: var(--of-accent);
}

.breadcrumb-separator {
    color: var(--of-accent);
}

/* Page Header Accent */
.page-header-accent {
    position: absolute;
    bottom: -80px;
    right: 12%;
    width: 50px;
    height: 0;
    max-height: 220px;
    background: var(--of-accent);
    z-index: 10;
}

/* ==========================================================================
   Contact Form
   ========================================================================== */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-family: var(--of-font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    color: var(--of-gray-dark);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--of-gray-light);
    border-radius: 0;
    font-family: var(--of-font-body);
    font-size: 1rem;
    transition: var(--of-transition);
    background: var(--of-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--of-primary);
}

.form-control::placeholder {
    color: var(--of-gray);
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a6a6a6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
}

/* Form Messages */
.form-message {
    padding: 15px 20px;
    margin-bottom: 25px;
}

.form-message-success {
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.form-message-error {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-item {
    border-bottom: 1px solid var(--of-gray-light);
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 25px 50px 25px 0;
    background: none;
    border: none;
    font-family: var(--of-font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--of-gray-dark);
    cursor: pointer;
    position: relative;
    transition: var(--of-transition);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--of-primary);
    transition: var(--of-transition);
}

.faq-question:hover {
    color: var(--of-primary);
}

.faq-item.active .faq-question::after {
    content: '−';
    color: var(--of-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 0 25px;
    color: var(--of-gray);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ==========================================================================
   Google Maps
   ========================================================================== */
.map-wrapper {
    position: relative;
    height: 450px;
    background: var(--of-gray-light);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   Swiper Carousel
   ========================================================================== */
.swiper {
    width: 100%;
    padding-bottom: 60px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--of-gray);
    opacity: 1;
    border-radius: 0;
}

.swiper-pagination-bullet-active {
    background: var(--of-accent);
}

.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
    background: var(--of-primary);
    color: var(--of-white);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1.2rem;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--of-accent);
}

/* Process Swiper - Equal height cards */
.process-swiper .swiper-wrapper {
    align-items: stretch;
}

.process-swiper .swiper-slide {
    height: auto;
}

.process-swiper .service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.process-swiper .service-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.process-swiper .service-card-excerpt {
    /*margin-top: auto;*/
}

/* ==========================================================================
   Parallax Image Wrapper
   ========================================================================== */
.parallax-wrapper {
    position: relative;
    overflow: hidden;
}

.parallax-wrapper img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    position: absolute;
    top: -10%;
    left: 0;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Orange Rectangle Animation Elements */
.orange-rect {
    position: absolute;
    background: var(--of-accent);
    z-index: 1;
}

/* ==========================================================================
   Single Service Page Sections
   ========================================================================== */

/* Hero Intro */
.service-hero .hero-intro {
    font-size: 1.2rem;
    max-width: 650px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.85);
}

.service-hero .hero-buttons {
    margin-top: 30px;
}

/* Service Main Content */
.service-main-content {
    padding-top: 80px;
    padding-bottom: 60px;
}

/* Service Sections */
.service-section {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--of-gray-light);
}

.service-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-section-title {
    font-size: 1.75rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-section-title .section-icon {
    color: var(--of-accent);
    font-size: 1.5rem;
}

.service-section-description {
    color: var(--of-gray);
    font-size: 1.05rem;
    margin-bottom: 25px;
    line-height: 1.8;
}

/* Service List (bullet points) */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 15px;
    background: var(--of-gray-light);
    transition: var(--of-transition);
}

.service-list li:hover {
    background: #e8e8e8;
}

.service-list li i {
    color: var(--of-accent);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-list li span {
    font-size: 0.95rem;
    color: var(--of-gray-dark);
}

/* Tasks Grid */
.tasks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--of-white);
    border-left: 4px solid var(--of-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--of-transition);
}

.task-item:hover {
    border-left-color: var(--of-accent);
    transform: translateX(5px);
}

.task-item i {
    color: var(--of-primary);
    font-size: 1.3rem;
}

.task-item span {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-box {
    padding: 25px;
}

.sidebar-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-title i {
    font-size: 1.2rem;
}

.sidebar-phone {
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
    margin-top: 5px;
}

.sidebar-services .footer-menu li {
    margin-bottom: 8px;
}

.sidebar-services .footer-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-services .footer-menu a i {
    color: var(--of-accent);
    font-size: 1rem;
}

/* Quality Section */
.service-quality {
    overflow: hidden;
}

.quality-image-wrapper {
    position: relative;
    padding: 30px;
    min-height: 400px;
}

.quality-image-bg {
    position: absolute;
    top: 0;
    left: 30px;
    right: 0;
    bottom: 0;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.quality-image-bg img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center;
}

.quality-image {
    width: 100%;
    height: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.quality-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--of-accent);
    color: var(--of-white);
    padding: 25px 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.quality-badge i {
    font-size: 2.5rem;
}

.quality-badge span {
    font-family: var(--of-font-heading);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* 24/7 Section */
.service-247 .focus-item {
    height: 100%;
}

.service-247 .focus-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
}

.service-247 .focus-text {
    font-weight: 500;
    color: var(--of-gray-dark);
}

/* Why Us Section */
.service-why-us {
    padding: 80px 0;
}

.why-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--of-transition);
}

.why-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.why-item i {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.why-item span {
    font-size: 1rem;
    color: var(--of-white);
}

/* Hero Media */
.hero-media-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.hero-media-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.hero-media-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    max-height: 400px;
}

.has-hero-media .page-header-content {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Service Gallery Section */
.service-gallery {
    background: var(--of-gray-light);
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 74, 173, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--of-white);
    font-size: 2rem;
}

/* Gallery Page Intro Content */
.gallery-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.gallery-intro p {
    font-size: 1.1rem;
    color: var(--of-gray-dark);
    line-height: 1.7;
}

/* Gallery Page Filter Tabs */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.gallery-filter-btn {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--of-gray);
    border-radius: 50px;
    font-family: var(--of-font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--of-gray-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-filter-btn:hover {
    border-color: var(--of-primary);
    color: var(--of-primary);
}

.gallery-filter-btn.active {
    background: var(--of-primary);
    border-color: var(--of-primary);
    color: var(--of-white);
}

.gallery-filter-btn .filter-count {
    opacity: 0.7;
    font-size: 0.85em;
    margin-left: 4px;
}

/* Gallery Filterable Items Animation */
.gallery-filterable {
    position: relative;
}

.gallery-filterable-item {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.gallery-filterable-item.hiding {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.gallery-filterable-item.hidden {
    display: none;
}

.gallery-filterable-item.showing {
    animation: galleryItemShow 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes galleryItemShow {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Gallery Item Album Label */
.gallery-item-album {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--of-white);
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-album {
    opacity: 1;
}

/* Lightbox customization */
.lb-outerContainer {
    border-radius: 8px;
    overflow: hidden;
}

.lb-dataContainer {
    padding: 10px 0;
}

.lb-caption {
    font-size: 1rem;
    font-weight: 500;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    :root {
        --of-section-padding: 80px;
    }

    /* Topbar responsive */
    .topbar-usps {
        display: none;
    }

    .topbar-inner {
        justify-content: center;
    }

    .hero-split {
        grid-template-columns: 1fr;
    }

    .hero-split-content {
        padding: 120px 30px 60px;
        min-height: 60vh;
    }

    .hero-split-media {
        height: 50vh;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        order: -1;
    }

    .about-image {
        min-height: 300px;
    }

    /* Gallery responsive */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Hero media responsive */
    .hero-media-wrapper {
        margin-top: 30px;
    }

    .has-hero-media .hero-buttons {
        margin-bottom: 20px;
    }

    /* Reset stretch for mobile - stack vertically */
    .row.align-items-stretch .about-image-wrapper {
        min-height: 300px;
    }

    .row.align-items-stretch .about-image .parallax-wrapper {
        min-height: 300px;
    }

    .footer-main::before {
        display: none;
    }

    .footer-main {
        background: var(--of-primary);
        padding-top: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .footer-grid > *:nth-child(1) {
        margin-right: 0;
    }

    /* Company column (1st) - full width */
    .footer-company {
        grid-column: 1 / -1;
        position: relative;
        padding-bottom: 30px;
        margin-bottom: 10px;
    }

    /* Services column (2nd) - full width */
    .footer-grid > .footer-column:nth-of-type(1) {
        grid-column: 1 / -1;
    }

    /* Genveje (3rd) and Fokusområder (4th) - side by side 50% each */
    .footer-grid > .footer-column:nth-of-type(2),
    .footer-grid > .footer-column:nth-of-type(3) {
        grid-column: auto;
    }

    /* Secondary blue background behind company column on mobile */
    .footer-company::before {
        content: '';
        position: absolute;
        top: -50px;
        bottom: 0;
        left: -20px;
        right: -20px;
        background: var(--of-secondary);
        z-index: -1;
    }

    /* Hide desktop footer accent on mobile */
    .footer-accent {
        display: none;
    }

    /* Mobile footer accent - horizontal line between company and other columns */
    .footer-accent-mobile {
        display: block;
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 20px;
        background: var(--of-accent);
        z-index: 10;
    }

    /* Smaller logos on mobile */
    .site-logo img {
        height: 22px;
        max-width: 140px;
    }

    .site-header.scrolled .site-logo img {
        height: 20px;
    }

    .footer-logo img {
        height: 20px;
        max-width: 160px;
    }

    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        opacity: 0;
        visibility: hidden;
        transition: var(--of-transition);
        z-index: 998;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile Navigation */
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: var(--of-primary);
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(100%);
        z-index: 999;
        overflow-y: auto;
    }

    .main-navigation.active {
        right: 0;
        transform: translateX(0);
    }

    /* Mobile Menu Header */
    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 24px 24px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-logo {
        display: block;
    }

    .mobile-menu-logo img {
        height: 22px;
        width: auto;
    }

    .mobile-menu-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: 50%;
        color: var(--of-white);
        font-size: 1.2rem;
        cursor: pointer;
        transition: var(--of-transition);
    }

    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    /* Mobile Nav Menu */
    .nav-menu {
        flex-direction: column;
        width: 100%;
        padding: 16px 0;
    }

    .nav-menu > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-menu > li > a {
        display: flex;
        align-items: center;
        padding: 16px 24px;
        font-size: 1rem;
        font-weight: 500;
    }

    /* Parent items with children - make clickable link and toggle separate */
    .nav-menu > li.menu-item-has-children {
        position: relative;
    }

    .nav-menu > li.menu-item-has-children > a {
        padding-right: 60px;
    }

    /* Submenu Toggle Button */
    .submenu-toggle {
        position: absolute;
        top: 0;
        right: 0;
        width: 56px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--of-white);
        font-size: 1rem;
        cursor: pointer;
        transition: var(--of-transition);
    }

    .submenu-toggle:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .submenu-toggle i {
        transition: transform 0.3s ease;
    }

    .submenu-toggle.active i {
        transform: rotate(180deg);
    }

    /* Submenu Styling */
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
        margin: 0;
        background: var(--of-secondary);
        box-shadow: none;
        border-radius: 0;
        min-width: 100%;
        display: none;
    }

    .nav-menu .sub-menu.active {
        display: block;
    }

    .nav-menu .sub-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu .sub-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu .sub-menu a {
        padding: 14px 24px 14px 40px;
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.85);
    }

    .nav-menu .sub-menu a:hover {
        color: var(--of-white);
        background: rgba(255, 255, 255, 0.05);
    }

    /* Mobile Menu CTA */
    .header-cta {
        margin: 0;
        padding: 24px;
        width: 100%;
    }

    .header-cta .btn {
        width: 100%;
        text-align: center;
    }

    /* Mobile Menu Footer */
    .mobile-menu-footer {
        margin-top: auto;
        padding: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .mobile-menu-contact {
        display: flex;
        align-items: center;
        gap: 12px;
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.95rem;
        text-decoration: none;
        transition: var(--of-transition);
    }

    .mobile-menu-contact:hover {
        color: var(--of-white);
    }

    .mobile-menu-contact i {
        color: var(--of-accent);
        font-size: 1.1rem;
        width: 20px;
    }
}

@media (max-width: 767px) {
    :root {
        --of-section-padding: 60px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .focus-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery responsive mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-overlay i {
        font-size: 1.5rem;
    }

    /* Service page responsive */
    .service-list {
        grid-template-columns: 1fr;
    }

    .tasks-grid {
        grid-template-columns: 1fr;
    }

    .why-items-grid {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        margin-top: 40px;
    }

    .service-section-title {
        font-size: 1.4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Services column (2nd) - full width on small screens too */
    .footer-grid > .footer-column:nth-of-type(1) {
        grid-column: 1 / -1;
    }

    /* Keep Genveje and Fokusområder side by side on small screens */
    .footer-grid > .footer-column:nth-of-type(2),
    .footer-grid > .footer-column:nth-of-type(3) {
        grid-column: auto;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-stats {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: -50px;
        display: inline-block;
    }

    .about-image-accent {
        width: 150px;
        height: 150px;
        right: -15px;
        bottom: -15px;
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Topbar smaller screens */
    .topbar-phone-label {
        display: none;
    }

    .site-topbar {
        padding: 6px 0;
    }

    .page-header {
        padding: 140px 0 60px;
    }

    .hero-accent {
        display: none;
    }
}
