/* Modern color palette and variables */
:root {
    --primary: #003674;
    --primary-dark: #002855;
    --secondary: #5A6166;
    --accent: #8A6DA8;  /* Soft muted purple (professional) */
    --background: #f5f7fa;
    --surface: #ffffff;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --success: #48bb78;
    --border: #e2e8f0;
    --company-gold: #FDB813;
    --company-gray: #858F95;
    --warning: #F6AD55;
    --info: #4299E1;
}

/* Navigation styles */
.nav-menu {
    position: fixed; /* Or sticky, depending on desired behavior */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10; /* Ensure nav is above content and video */
    background-color: #ffffff !important;
    border-bottom: 1px solid var(--border);
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: #ffffff !important;
}

.nav-link {
    position: relative;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile menu styles */
.mobile-menu {
    display: block;
    transform: translateX(100%);
    background-color: var(--surface);
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    position: fixed;
    top: 4rem;
    right: 0;
    width: 100%;
    height: calc(100vh - 4rem);
    z-index: 50;
    overflow-y: auto;
    will-change: transform; /* Optimize for animation */
}

.mobile-menu a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mobile-menu a:hover {
    background-color: var(--surface);
    color: var(--primary);
    transform: translateX(0.5rem);
}

.mobile-menu a:active {
    background-color: var(--surface-active);
}

/* Hamburger menu button styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger-menu:focus {
    outline: none;
}

.hamburger-menu div {
    width: 2rem;
    height: 0.25rem;
    background: var(--text-primary);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.hamburger-menu.active div:first-child {
    transform: rotate(45deg);
}

.hamburger-menu.active div:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active div:nth-child(3) {
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    .nav-menu .hidden {
        display: none;
    }
}

/* Rest of the existing CSS remains exactly the same */
/* Base styles */
/* html, body background set to transparent below */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
    /* background-color: var(--background); <-- Removed */
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* background-image: ... <-- Removed */
    /* background-size: ... <-- Removed */
    /* background-attachment: fixed; <-- Removed */
}

/* Typography enhancements */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(120deg, var(--company-gold), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero section text enhancements */
#intro .content-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    padding-bottom: 4rem;
}

#intro h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
    line-height: 1.2;
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

#intro p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.5s;
}

@media (min-width: 768px) {
    #intro h1 {
        font-size: 4.5rem;
    }

    #intro p {
        font-size: 1.5rem;
    }
}

/* Showcase section styles */
.showcase-section {
    min-height: 90vh;
    padding: 3rem 0;
    background: linear-gradient(to bottom, var(--background), var(--surface));
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(108, 64, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.showcase-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
}

.showcase-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--primary);
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showcase-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.showcase-image:hover::after {
    opacity: 0.5;
}

/* Hero section enhancements */
#intro {
    background: var(--background);
    z-index: 1;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 15%, rgba(0, 54, 116, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 85% 85%, rgba(108, 64, 153, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(253, 184, 19, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(94, 123, 71, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 15% 85%, rgba(133, 143, 149, 0.14) 0%, transparent 30%);
    pointer-events: none;
}

#intro::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--background));
    pointer-events: none;
}

/* Services cards styling */
#services {
    position: relative;
    overflow: hidden;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 0% 0%, rgba(0, 54, 116, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

#services .content-wrapper {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

#services .content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

#services .content-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

#services .content-wrapper:hover::before {
    transform: scaleX(1);
}

/* Contact form styling */
form input, form textarea {
    width: 100%;
    padding: 1.25rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

form input:focus, form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 54, 116, 0.2);
    outline: none;
    transform: translateY(-2px);
}

/* Logo styling */
.logo-image {
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.8);
}

.logo-image.animate-logo {
    animation: logoEntrance 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.logo-image:hover {
    transform: scale(1.1);
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Button styling */
button, .button {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

button::after, .button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 50%);
    transform: scale(0);
    transition: transform 0.5s ease;
}

button:hover, .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

button:hover::after, .button:hover::after {
    transform: scale(1);
}

/* Enhanced transitions */
.transition-all {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Container responsiveness */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    max-width: 1400px;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Testimonials */
.testimonial-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.2;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Button styles */
.button-group {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.7s;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: white;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.primary-button:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    border: 2px solid var(--primary);
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Media Queries */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .container {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .showcase-section {
        padding: 3rem 0;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--surface);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 6px;
    border: 3px solid var(--surface);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Utility classes */
.overflow-x-hidden {
    overflow-x: hidden;
}

.min-h-screen {
    min-height: 100vh;
}

.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.z-10 {
    z-index: 10;
}

.bg-white {
    background-color: var(--surface);
}

.bg-gray-50 {
    background-color: var(--surface);
}

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

.text-gray-600 {
    color: var(--text-secondary);
}

.text-gray-500 {
    color: var(--text-secondary);
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.text-white {
    color: white;
}

.text-primary {
    color: var(--primary);
}

.rounded-full {
    border-radius: 9999px;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

/* Spacing utilities */
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-4 {
    margin-right: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Grid utilities */
.grid {
    display: grid;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

/* Flex utilities */
.flex {
    display: flex;
}

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

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

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

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

/* Width and height utilities */
.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.w-48 {
    width: 12rem;
}

.h-48 {
    height: 12rem;
}

.w-full {
    width: 100%;
}

.h-64 {
    height: 16rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-6xl {
    max-width: 72rem;
}

/* Text utilities */
.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

/* Blog Section Enhancements */
.news-section {
    padding: 4rem 0;
    background-color: var(--background);
}

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
}

.news-image-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.news-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-image:hover {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.news-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.news-excerpt {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .news-container {
        grid-template-columns: 1fr;
    }
}

#contactModal {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

#contactModal .bg-white {
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.news-image.lazy {
    filter: blur(10px);
    transition: filter 0.3s ease;
}

.news-image.loaded {
    filter: none;
}

/* Add these styles for lazy loading images */
.lazy-image {
    filter: blur(10px);
    transition: filter 0.3s ease-out;
}

.lazy-image.loaded {
    filter: none;
}

.process-section {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-content {
    /* existing styles remain the same */
    flex: 1;
}

.process-illustration {
    display: none; /* Hidden by default on mobile */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .process-section {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .process-illustration {
        display: block;
        width: 300px; /* Adjust as needed */
        height: 300px; /* Adjust as needed */
    }

    .process-illustration img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
        transition: transform 0.3s ease;
    }

    .process-illustration img:hover {
        transform: scale(1.05);
    }
}

.process-section.active .process-illustration {
    opacity: 1;
    transform: translateY(0);
}

/* Process SVG Animations */
.process-illustration img {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.process-illustration:nth-child(odd) img {
    animation-delay: 1s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Add subtle rotation for specific illustrations */
#consultation .process-illustration img {
    animation: floatRotate 8s ease-in-out infinite;
}

#planning .process-illustration img {
    animation: floatScale 7s ease-in-out infinite;
}

#contract .process-illustration img {
    animation: floatBounce 5s ease-in-out infinite;
}

#installation .process-illustration img {
    animation: floatSway 6s ease-in-out infinite;
}

@keyframes floatRotate {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes floatScale {
    0% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
    100% {
        transform: translateY(0px) scale(1);
    }
}

@keyframes floatBounce {
    0%, 100% {
        transform: translateY(0px);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-12px);
    }
}

@keyframes floatSway {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-15px) translateX(10px);
    }
    100% {
        transform: translateY(0px) translateX(0px);
    }
}

/* Ensure illustrations are visible regardless of section state */
.process-illustration {
    opacity: 1 !important;
    transform: none !important;
}

/* Add to existing mobile menu styles */
.submenu-toggle svg {
    transition: transform 0.2s ease-in-out;
}

.rotate-180 {
    transform: rotate(180deg);
}

.modal-overlay {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#contactModal {
    z-index: 1000;
}

#contactModal .bg-white {
    max-height: 90vh;
    overflow-y: auto;
}

/* Core Values Section Styling */
.core-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

@media (min-width: 1024px) {
    .core-values-grid {
        grid-template-columns: repeat(3, minmax(300px, 400px));
        justify-content: center;
        gap: 3rem;
        padding: 2rem 4rem;
    }
}

.value-card {
    background: var(--surface);
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-content {
    padding: 1.5rem;
}

.value-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(120deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.value-details {
    padding: 1rem;
    background: linear-gradient(to right, rgba(0,54,116,0.05), rgba(108,64,153,0.05));
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.value-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.value-details li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.value-details li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .core-values-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

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

/* Hero Section Styling */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section img {
    filter: brightness(0.8);
    transition: transform 15s ease;
}

.hero-section:hover img {
    transform: scale(1.1);
}

.hero-section h1 {
    background: none;
    -webkit-text-fill-color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3),
                 0 4px 12px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
    position: relative;
}

.hero-section h1::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--company-gold), var(--accent));
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Update Core Values Grid spacing */
.core-values-grid {
    margin-top: -4rem; /* Pull the grid up into the hero section */
    position: relative;
    z-index: 10;
}

/* Adjust value cards for overlap */
.value-card {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
    }

    .core-values-grid {
        margin-top: -2rem;
    }
}

/* Darken the overlay gradient for better contrast */
.hero-section .bg-gradient-to-b {
    background: linear-gradient(
        to bottom,
        rgba(0, 38, 85, 0.85) 0%,
        rgba(0, 38, 85, 0.95) 100%
    );
}

.translate-x-full {
    transform: translateX(100%);
}

.translate-x-0 {
    transform: translateX(0);
}

/* Add to existing selection styles */
::selection {
    background: var(--accent) !important;
    color: white !important;
}

::-moz-selection {
    background: var(--accent) !important;
    color: white !important;
}

/* Styles from process-graphic.css */
.process-graphic-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    overflow: hidden;
}

.process-graphic-wrapper {
    position: relative;
    width: 100%;
}

.process-graphic {
    width: 100%;
    height: auto;
    display: block;
}

.process-title {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2rem;
    display: block;
}

.process-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    transition: all 0.1s linear !important;
    pointer-events: none;
    z-index: 10;
}

.process-graphic-side {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    width: 100%;

    position: sticky;
    top: 4rem;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 4px solid orange; */
}

.nav-btn {
    padding: 1rem;
    background: white;
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #4B5563;
}

.nav-btn:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    color: #2563EB;
    transform: translateY(-2px);
}

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

.process-container {
    min-height: 100vh;
    width: 100%;
    position: relative;
    padding-top: 4rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.process-steps-side {
    width: 100%;
    min-height: 50vh;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    position: relative;
    z-index: 5;
    padding: 2rem;
   /* border: 4px solid red; */
}

.process-section {
    width: 100%;
    min-height: 200px;
    position: relative;
    opacity: 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    /* border: 2px solid blue; */
    border-radius: 1rem; /* Added to make the corners rounded */
    z-index: 6;
    transition: opacity 0.3s ease;
    pointer-events: none;
    margin-bottom: 2rem;
}

.process-section.active {
    opacity: 1;
    position: relative;
    pointer-events: all;
}

.process-content {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(135deg, #fbf8fc, #f9f9f1);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    /* border: 2px solid purple; */
    position: relative;
    z-index: 7;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.process-section.active .process-content {
    opacity: 1;
    transform: translateY(0);
}

.process-content img {
    width: 50%;
    max-width: 50%;
    height: auto;
    margin-top: 2rem;
    display: block;
    border: 2px solid green;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
}

.process-section.active .process-content img {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .process-container {
        display: block;
        padding-top: 0;
        min-height: 100vh;
    }

    .process-graphic-side {
        width: 50%;
        height: calc(100vh - 4rem);
        position: fixed;
        top: 4rem;
        left: 0;
    }

    .process-steps-side {
        width: 50%;
        margin-left: 50%;
        min-height: calc(100vh - 4rem);
        padding: 4rem 2rem;
        background: linear-gradient(135deg, #f8fafc, #f9f1f5);;
        position: relative;
    }

    .process-section {
        min-height: calc(100vh - 8rem);
    }
}

@media (max-width: 768px) {
    .process-container {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .process-graphic-side {
        height: 35vh;
        min-height: 250px;
        max-height: 300px;
        position: sticky;
        top: 4rem;
        z-index: 10;
        order: 1;
    }

    .process-steps-side {
        margin-top: 0;
        padding-top: 1rem;
        order: 2;
        position: relative;
        z-index: 5;
        background: linear-gradient(135deg, #f8fafc, #f1f5f9);
        width: 100%;
        min-height: auto;
    }

    .process-section {
        min-height: auto;
        margin-bottom: 2rem;
    }

    .process-graphic-container {
        padding: 10px;
    }

    .process-title {
        max-width: 300px;
        margin: 0 auto 1rem;
    }

    .process-steps-side {
        margin-left: 0;
        width: 100%;
    }

    .process-section {
        min-height: 50vh;
    }
}

.step-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.step-title {
    position: relative;
    display: inline-block;
    color: #003366;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
}

.step-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6, #60A5FA);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.process-content:hover .step-title::after {
    width: 100%;
}

.step-title::before {
    content: attr(data-number);
    position: absolute;
    left: -60px;
    top: -10px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3B82F6, #60A5FA);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(59,130,246,0.3);
    animation: pulse 2s infinite;
}

.step-text {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 500px;
    font-family: 'Inter', sans-serif;
}

.gold-text {
    color: #C5A572;
}

.gray-text {
    color: #666666;
}
.dark-green-text {
    color: #196819; /* Dark green color */
}

.purple-text {
    color: #6B5B95;
}

/* Animation states */
.process-section {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-section.active {
    opacity: 1;
}

.step-description {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.process-section.active .step-description {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Video Background Section */
.hero-video {
  position: relative; /* Changed from fixed */
  min-height: 100vh; /* Ensure it fills initial viewport */
  overflow: hidden;
  background-color: #000; /* Fallback background */
  display: flex; /* Use flex to center overlay */
  align-items: center; /* Center overlay vertically */
  justify-content: center; /* Center overlay horizontally */
  /* z-index: 1; <-- Removed */
}

/* Ensure the main content wrapper sits above the fixed video background */
.page-content-wrapper {
  position: relative; /* Keep for potential child positioning */
  /* No z-index needed */
  /* background: none; <-- Removed */
}

/* Restore default body background */
body {
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--background); /* Restore default background */
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hero-video__overlay {
  position: absolute;
  inset: 0;
  /* z-index: 2; <-- Removed */
  display: flex;
  flex-direction: column; /* Stack content vertically */
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3); /* Optional: slight dark overlay for text contrast */
  text-align: center;
  padding-bottom: 5vh; /* Add padding to push content up slightly */
}

/* Ensure text inside overlay is styled correctly */
.hero-video__overlay h1,
.hero-video__overlay p {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Add shadow for readability */
  background: none; /* Override default gradient */
  -webkit-text-fill-color: white; /* Ensure text is white */
}


.hero-video__media {
  /* filter: blur(8px) brightness(0.8); <-- Filter removed for testing */
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%; /* Ensure it covers width */
  min-height: 100%; /* Ensure it covers height */
  width: auto;
  height: auto;
  object-fit: cover; /* Cover the area, cropping if needed */
  transform: translate(-50%, -50%);
  /* z-index: 1; <-- Already removed, ensure it stays removed */
}

/* Accessibility: Hide video if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-video__media {
    display: none;
  }
  /* Show the poster image as a static background */
  .hero-video {
     /* The poster is set in HTML, this provides a fallback background color */
     background-color: var(--primary-dark); /* Or another suitable color */
     /* If you want the poster image here too: */
     /* background-image: url('/static/images/hero-drone-poster.webp'); */
     /* background-size: cover; */
     /* background-position: center; */
  }
}

/* Ensure the nav bar is above the video */
/* The existing .nav-menu likely has position:fixed or sticky and a z-index */
/* If not, uncomment and adjust: */
/*
.nav-menu {
    position: relative; // Or fixed/sticky
    z-index: 10; // Ensure it's above hero-video__overlay (z-index: 2)
}
*/

/* Scroll indicator overrides */
.scroll-indicator-link {
  cursor: pointer;
}
.scroll-indicator svg {
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.4));
  transition: opacity .3s ease;
}
body.scrolled .scroll-indicator-link { opacity: 0; pointer-events:none; } /* Hide link too */
