/* ==========================================================================
   Shared Service Page Styles
   ========================================================================== */

/* ==========================================================================
   Base Styles & Fonts
   ========================================================================== */

:root {
    --yellow: #FCB600;
    --white: #fff;
}

/* Roaster Font Face */
@font-face {
    font-family: 'Ginger';
    src: 
        url('../fonts/Ginger.woff') format('woff'),
        url('../fonts/Ginger.ttf') format('truetype'),
        url('../fonts/Ginger.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roaster';
    src: 
        url('../fonts/roaster.regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

h1,
h2,
h3,
h5 {
    font-family: 'Roaster', sans-serif;
}

p,
a,
span,
li,
select,
input,
textarea,
button {
    font-family: 'Poppins', sans-serif;
}

/* ==========================================================================
   General & Reusable Component Styles
   ========================================================================== */

/* Split Menu for Non-Hero Sections - REMOVED CONFLICTING STYLES */
/* Let main.css handle split-menu styles to avoid conflicts */

.hamburger-button {
    box-shadow: 0 0 10px 0 #18274B1F;
    font-family: 'Roaster', sans-serif !important;
}

.menu-items .menu-link {
    font-family: 'Roaster', sans-serif;
}

/* ==========================================================================
   LOGO VISIBILITY FOR SERVICE PAGES
   ========================================================================== */

/* Make split-menu transparent but visible for logo container */
#split-menu {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem 2rem !important;
}

/* Mobile Hamburger Behavior - Only show on mobile screens */
@media (max-width: 767px) {
  /* Force mobile behavior for service pages */
  #split-menu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  
  /* Show hamburger icon on mobile */
  .hamburger-icon {
    display: flex !important;
  }
  
  /* Hide text on mobile */
  .hidden.lg\\:inline {
    display: none !important;
  }
  
  /* Override any Tailwind classes that might cause white background */
  .menu-button {
    background-color: #444 !important;
    border: none !important;
    box-shadow: #18274B !important;
  }
}

/* Tablet behavior - show hamburger but different styling */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Show hamburger icon on tablet */
  .hamburger-icon {
    display: flex !important;
  }
  
  /* Hide text on tablet */
  .hidden.lg\\:inline {
    display: none !important;
  }
  
  /* Override any Tailwind classes that might cause white background */
  .menu-button {
    background-color: #444 !important;
    border: none !important;
    box-shadow: #18274B !important;
  }
}

/* Desktop behavior - hide hamburger, show text */
@media (min-width: 1024px) {
  /* Hide hamburger on desktop */
  .hamburger-icon {
    display: none !important;
  }
  
  /* Show text on desktop */
  .hidden.lg\\:inline {
    display: inline !important;
  }
}

/* Logo container styling */
#split-menu .logo-container {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate3d(0, 0, 0) !important;
    display: block !important;
    position: relative !important;
    z-index: 10 !important;
    cursor: pointer !important;
}

/* Logo link styling */
#split-menu .logo-container a {
    display: block !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

#split-menu .logo-container a:hover {
    opacity: 0.8 !important;
    transition: opacity 0.3s ease !important;
}

/* Logo image styling */
#split-menu .logo-container img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: auto !important;
    height: 2rem !important;
    position: relative !important;
    z-index: 11 !important;
}

#split-menu.hidden {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
}

#split-menu.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Menu Button Content (Green Overlay Menu) */
.menu-button-content {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: calc(100vw - 2.5rem); /* Prevent overflow with right-10 */
}

.menu-button-content.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    overflow-y: auto;
    max-height: 65vh;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.menu-button-content.open::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Essential menu functionality for service pages */
.menu-button {
    box-shadow: 0 0 10px 0 #18274B1F;
    font-family: 'Roaster', sans-serif !important;
    cursor: pointer;
}

/* Override Tailwind classes for mobile/tablet hamburger button */
@media (max-width: 1023px) {
  .menu-button {
    background-color: #444 !important;
    border: none !important;
    box-shadow: #18274B !important;
    color: white !important;
  }
  
  /* Force dark background for hamburger button */
  #header-menu-button {
    background-color: #444 !important;
    border: none !important;
    box-shadow: #18274B !important;
  }
}

/* Menu items styling */
.menu-items .menu-link {
    font-family: 'Roaster', sans-serif;
    cursor: pointer;
}

.menu-items .menu-link:hover {
    background: white !important;
    color: #FCB600 !important;
    border-bottom: 3px solid #FCB600;
    border-radius: 8px;
    padding-left: 60px;
    transform: translateX(0);
}

/* Menu Link Hover Effects */
.menu-button-content .menu-link {
    position: relative;
    overflow: visible;
    transition: all 0.3s ease-in-out;
    padding-left: 0;
}

.menu-button-content .menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 3px;
    background-color: #FCB600;
    transition: width 0.3s ease-in-out;
    z-index: 1;
    border-radius: 2px;
}

.menu-button-content .menu-link:hover::before {
    width: 55px !important;
}

.menu-button-content .menu-link:hover {
    background: white !important;
    color: #FCB600 !important;
    border-bottom: 3px solid #FCB600;
    border-radius: 8px;
    padding-left: 60px;
    transform: translateX(0);
}

/* Prevent horizontal scrollbar */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* ==========================================================================
   Hero Section Styles
   ========================================================================== */

.hero-section {
    position: relative;
    overflow: hidden;
    height: 100vh; /* Default desktop height */
}

.hero-container {
    position: relative;
    z-index: 20;
}

.hero-title,
.hero-title p {
    font-family: 'Roaster', sans-serif !important;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Ensure hero title text uses Roaster font */
.hero-section h1 {
    font-family: 'Roaster', sans-serif !important;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.hero-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 30;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    padding: 1.5rem 0; /* Default padding for desktop */
}

/* Separator styling */
.hero-bottom-bar .separator {
    width: 1px;
    height: 24px;
    background-color: #FCB600;
    margin: 0 2rem;
}

.hero-bottom-bar span,
.hero-bottom-bar .bar-item {
    font-family: 'Roaster', sans-serif !important;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: black !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* More specific targeting for bottom bar text */
.hero-bottom-bar .flex span,
.hero-bottom-bar .flex .bar-item {
    font-family: 'Roaster', sans-serif !important;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Force font application with higher specificity */
.hero-section .hero-container .hero-content .hero-title,
.hero-section .hero-container .hero-content h1 {
    font-family: 'Roaster', 'Arial', sans-serif !important;
    font-weight: 300 !important;
    letter-spacing: 0.02em !important;
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.hero-section .hero-bottom-bar .flex .bar-item {
    font-family: 'Roaster', 'Arial', sans-serif !important;
    font-weight: 300 !important;
    letter-spacing: 0.02em !important;
}

/* Override Tailwind classes */
.text-8xl {
    font-family: 'Roaster', 'Arial', sans-serif !important;
    font-weight: 300 !important;
    letter-spacing: 0.02em !important;
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Specific targeting for hero title */
.hero-title {
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    font-size: 5rem !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Debug: Force visibility of hero section */
.hero-section {
    background-color: black !important;
    opacity: 1 !important;
    visibility: visible !important;
    
}

.hero-container {
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-content {
    opacity: 1 !important;
    visibility: visible !important;
}

.text-xl {
    font-family: 'Roaster', 'Arial', sans-serif !important;
    font-weight: 300 !important;
    letter-spacing: 0.02em !important;
}

.hero-bottom-bar .flex {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure vertical separators are visible */
.hero-bottom-bar .w-px {
    width: 1px !important;
    height: 24px !important;
    background-color: #FCB600 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Debug: Force visibility of all bottom bar elements */
.hero-bottom-bar * {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.hero-bottom-bar .flex * {
    display: inline !important;
}

/* Additional debugging for text visibility */
.hero-bottom-bar span {
    color: #000000 !important;
    font-size: 1.25rem !important;
    line-height: 1.75rem !important;
    font-weight: 300 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline !important;
}

/* ==========================================================================
   Geometric Pattern Section Styles
   ========================================================================== */

.geometric-section {
    position: relative;
    overflow: hidden;
    height: 100vh; /* Default desktop height */
}

.geometric-container {
    position: relative;
    z-index: 20;
}

.geometric-video-container {
    position: relative;
}

.geometric-video-container video {
    filter: brightness(0.8);
}

/* ==========================================================================
   Projects Section Styles
   ========================================================================== */

.projects-section::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* Projects Section - Smooth Infinite Scroll */
.section-5 {
    height: auto; /* Default auto height */
}

.section-5-container {
    height: 100%;
    margin: 0 auto;
    padding: 3rem 0;
}

/* Section line styling */
.section-line {
    height: 2px;
    width: 100px;
    background-color: #FCB600;
    margin-bottom: 1.5rem;
}

/* Section header styling */
.section-5-header {
    margin-bottom: 3rem;
    gap: 1rem;
}

.section-5-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 0.5rem 0;
}

.section-5-header p {
    font-size: 1.125rem;
    line-height: 1.5;
    max-width: 56rem;
    padding: 0 1rem;
}

.projects-container {
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    width: 100%;
    height: 600px;
}

.projects-container::-webkit-scrollbar {
    display: none;
}

.projects-row {
    display: flex;
    gap: 1.5rem;
    animation: scroll-projects 40s linear infinite;
    white-space: nowrap;
    height: 100%;
}

.projects-row:hover {
    animation-play-state: paused;
}

.project-column {
    flex-shrink: 0;
    height: 100%;
    width: 260px;
    /* Fixed width for consistent sizing */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-card {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: scale(1.02);
}

/* Default pattern: Tall top, Short bottom */
.project-column .project-card:first-child {
    flex: 0 0 55%;
}

.project-column .project-card:last-child {
    flex: 0 0 40%;
}

/* Alternating pattern: Short top, Tall bottom for even columns */
.project-column:nth-child(even) .project-card:first-child {
    flex: 0 0 40%;
}

.project-column:nth-child(even) .project-card:last-child {
    flex: 0 0 55%;
}

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

/* Bigger cards (55% height) - eliminate whitespaces while showing logos */
.project-column .project-card:first-child .project-image img,
.project-column:nth-child(even) .project-card:last-child .project-image img {
    object-fit: fill;
    width: 100%;
    height: 100%;
}

/* Smaller cards (40% height) - zoom to cover full container, no whitespaces */
.project-column .project-card:last-child .project-image img,
.project-column:nth-child(even) .project-card:first-child .project-image img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
}

/* ==========================================================================
   Footer Section Styles
   ========================================================================== */

.footer-section {
    position: relative;
    z-index: 1;
}

.footer-main {
    position: relative;
    z-index: 2;
    padding: 2.5rem 0; /* Default padding */
}

.footer-logo-container {
    width: 100%;
    height: 100%;
}

.das-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh; /* Default desktop height */
    width: 100%;
}

.das-logo img {
    filter: brightness(1.1);
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.contact-info {
    position: relative;
    z-index: 3;
}

.contact-icon {
    transition: all 0.3s ease;
}

.contact-icon:hover {
    transform: scale(1.1);
    background-color: #FFC107 !important;
}

.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* ==========================================================================
   Mobile Responsive Design for Service Pages
   ========================================================================== */

/* Mobile First Approach - Base Mobile Styles (320px and up) */
@media (max-width: 767px) {
  
  /* Header Responsive for Service Pages */
  .main {
    position: relative;
  }

  /* Show header on mobile by default for service pages */
  #split-menu {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0.75rem 1rem;
    height: 60px;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .logo-container img {
    height: 32px !important;
  }

  #header-menu-button {
    padding: 0.5rem !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    background-color: #444 !important;
    border: none !important;
    box-shadow: #18274B !important;
    color: white !important;
    transition: all 0.3s ease !important;
  }
  
  /* Hamburger Icon Styles - Imported from responsive.css */
  .hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 20px;
    height: 16px;
  }
  
  .hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white !important;
    transition: all 0.3s ease;
    border-radius: 1px;
  }
  
  /* Hamburger Animation - Transform to X */
  .hamburger-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
  }
  
  .hamburger-icon.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .hamburger-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
  }

  /* Menu Content Mobile */
  .menu-button-content {
    top: 60px !important;
    right: 1rem !important;
    width: calc(100vw - 2rem) !important;
    height: 70vh !important;
    border-radius: 1rem !important;
  }

  /* Hero Section Responsive */
  .hero-section {
    height: 30dvh; /* Compact height for mobile like in the image */
    position: relative;
    margin-top: 60px; /* Account for fixed header */
  }

  /* Geometric Section Responsive */
  .geometric-section {
    height: 30dvh; /* Compact height for mobile */
  }

  .hero-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 20;
  }

    .hero-title {
    font-size: 3rem !important;
    line-height: 1;
    margin: 0;
    }
    
    .section-5-header h1 {
        font-size: 3rem;
    }

    .project-column {
        width: 280px;
        /* Smaller width for mobile */
        gap: 1rem;
    }

    .projects-grid {
        gap: 1rem;
    }
    
    .contact-info .space-y-4 {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-bottom-bar {
    padding: 0.5rem 0 !important; /* Reduced padding for mobile */
  }
  
  /* Mobile bottom bar - horizontal row with smaller text */
  .hero-bottom-bar .flex {
    flex-direction: row !important;
    gap: 0.5rem !important;
    justify-content: center !important;
    align-items: center !important;
    max-width: 95% !important; /* Wider for mobile */
    margin: 0 auto !important;
    flex-wrap: nowrap !important;
  }
  
  .hero-bottom-bar .separator {
    width: 1px !important;
    height: 12px !important;
    background-color: #FCB600 !important;
    margin: 0 0 !important;
    flex-shrink: 0 !important;
    }
    
    .hero-bottom-bar span {
    font-size: 0.625rem !important; /* 10px font size for mobile */
    line-height: 1.2 !important;
    white-space: nowrap !important;
    flex-shrink: 1 !important;
  }

  /* Projects Section Mobile */
  .section-5 {
    height: 70dvh !important; /* 70dvh for mobile */
  }

  .section-5-container {
    padding: 2rem 0 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .section-line {
    width: 80px !important;
    margin-bottom: 1rem !important;
  }

  .section-5-header {
    margin-bottom: 1.5rem !important;
    padding: 0 1rem !important;
    flex-shrink: 0 !important;
  }

  .section-5-header h1 {
    font-size: 1.875rem !important; /* 30px */
    margin: 0.5rem 0 !important;
  }

  .section-5-header p {
    font-size: 0.875rem !important; /* 14px */
    line-height: 1.4 !important;
  }

  .projects-container {
    height: calc(70dvh - 180px) !important; /* Adjust for header */
    flex-grow: 1 !important;
  }

  /* Reduce card width for mobile */
  .project-column {
    width: 200px !important; /* Reduced from 260px */
  }

  /* Footer Section Mobile */
  .footer-section {
    height: 40dvh !important; /* 40dvh for mobile */
  }

  .footer-main {
    padding: 1rem 0 !important;
    height: 100% !important;
  }

  .footer-logo-container {
    height: 100% !important;
  }

  .das-logo {
    height: 100% !important;
    padding: 0 1rem !important;
  }

  .das-logo img {
    max-width: 90vw !important;
    height: auto !important;
    max-height: 35dvh !important;
  }
}

/* Tablet Styles (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  
  /* Show header on tablet by default for service pages */
  #split-menu {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0.75rem 2rem;
    height: 70px;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .logo-container img {
    height: 40px !important;
  }

  #header-menu-button {
    padding: 0.5rem !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    background-color: #444 !important;
    border: none !important;
    box-shadow: #18274B !important;
    color: white !important;
    transition: all 0.3s ease !important;
  }

  /* Menu Content Tablet */
  .menu-button-content {
    top: 70px !important;
    right: 2rem !important;
    width: 300px !important;
    height: 65vh !important;
    border-radius: 1.5rem !important;
  }

  /* Hero Section Tablet */
  .hero-section {
    height: 40dvh; /* Moderate height for tablet */
    margin-top: 70px; /* Account for fixed header */
  }

  /* Geometric Section Tablet */
  .geometric-section {
    height: 40dvh; /* Moderate height for tablet */
  }

  .hero-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 20;
  }

  /* Tablet bottom bar - horizontal row with medium text */
  .hero-bottom-bar {
    padding: 0.75rem 0 !important;
  }
  
  .hero-bottom-bar .flex {
    flex-direction: row !important;
    gap: 0.75rem !important;
    justify-content: center !important;
    align-items: center !important;
    max-width: 90% !important;
    margin: 0 auto !important;
  }
  
  .hero-bottom-bar .separator {
    width: 1px !important;
    height: 16px !important;
    background-color: #FCB600 !important;
    margin: 0 0.75rem !important;
  }
  
  .hero-bottom-bar span {
    font-size: 0.875rem !important; /* 14px font size for tablet */
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  /* Projects Section Tablet */
  .section-5 {
    height: 70dvh !important; /* 70dvh for tablet */
  }

  .section-5-container {
    padding: 2.5rem 0 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .section-line {
    width: 90px !important;
  }

  .section-5-header {
    margin-bottom: 2rem !important;
    padding: 0 2rem !important;
  }

  .section-5-header h1 {
    font-size: 2.25rem !important; /* 36px */
  }

  .section-5-header p {
    font-size: 1rem !important; /* 16px */
    line-height: 1.5 !important;
  }

  .projects-container {
    height: calc(70dvh - 200px) !important; /* Adjust for header */
    flex-grow: 1 !important;
  }

  /* Reduce card width for tablet */
  .project-column {
    width: 220px !important; /* Reduced from 260px */
  }

  /* Footer Section Tablet */
  .footer-section {
    height: 40dvh !important; /* 40dvh for tablet */
  }

  .footer-main {
    padding: 1.5rem 0 !important;
    height: 100% !important;
  }

  .footer-logo-container {
    height: 100% !important;
  }

  .das-logo {
    height: 100% !important;
    padding: 0 2rem !important;
  }

  .das-logo img {
    max-width: 80vw !important;
    height: auto !important;
    max-height: 36dvh !important;
  }
}

/* Desktop Styles (1024px and up) */
@media (min-width: 1024px) {
  
  /* Header on desktop - controlled by GSAP animations */
  #split-menu {
    display: flex;
    background: transparent;
    height: 80px;
    padding: 1rem 2rem;
    /* GSAP will control visibility, opacity, and transform */
  }
  
  /* Ensure hamburger is hidden on desktop */
  .hamburger-icon {
    display: none !important;
  }
  
  /* Ensure text is shown on desktop */
  .hidden.lg\\:inline {
    display: inline !important;
  }
  
  /* Reset button styling for desktop */
  #header-menu-button {
    padding: 0.375rem 1rem !important;
    width: auto !important;
    height: auto !important;
    background-color: black !important;
    border: 2px solid white !important;
    border-radius: 9999px !important;
  }

  /* Desktop bottom bar - full width with larger text */
  .hero-bottom-bar {
    padding: 1.5rem 0 !important;
  }
  
  .hero-bottom-bar .flex {
    flex-direction: row !important;
    gap: 1rem !important;
    justify-content: center !important;
    align-items: center !important;
    max-width: 100% !important;
  }
  
  .hero-bottom-bar .separator {
    width: 1px !important;
    height: 24px !important;
    background-color: #FCB600 !important;
    margin: 0 2rem !important;
  }
  
  .hero-bottom-bar span {
    font-size: 1.5rem !important; /* 24px font size for desktop */
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  /* Projects Section Desktop - Full height */
  .section-5 {
    height: auto !important; /* Auto height for desktop */
    min-height: 100vh !important;
  }

  .section-5-container {
    padding: 3rem 0 !important;
  }

  .section-5-header {
    margin-bottom: 4rem !important;
  }

  .section-5-header h1 {
    font-size: 2.5rem !important; /* 40px */
  }

  .section-5-header p {
    font-size: 1.125rem !important; /* 18px */
  }

  .projects-container {
    height: 600px !important; /* Fixed height for desktop */
  }

  /* Footer Section Desktop - Original height */
  .footer-section {
    height: auto !important;
  }

  .footer-main {
    padding: 2.5rem 0 !important;
  }

  .das-logo {
    height: 80vh !important; /* Original desktop height */
    padding: 0 !important;
  }

  .das-logo img {
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
  }
}

/* Common Responsive Utilities for Service Pages */
@media (max-width: 1023px) {
  
  /* Show mobile/tablet header for service pages */
  #split-menu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  /* Adjust main content padding */
  .main {
    padding-top: 0;
    margin-top: 0;
  }

  /* Remove any default margins/padding that might cause white space */
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  /* Section padding adjustments */
  .hero-section,
  .geometric-section,
  .section-5,
  .footer-section {
    padding-left: 0;
    padding-right: 0;
    margin: 0;
  }
}

/* Additional Mobile Fixes for Service Pages */
@media (max-width: 767px) {
  
  /* Remove any potential white space */
  * {
    box-sizing: border-box;
  }

  /* Ensure no extra margins on hero section */
  .hero-section {
    margin: 0;
    padding: 0;
  }

  /* Fix any potential scroll issues */
  html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
  }

  /* Ensure video containers have no extra spacing */
  .geometric-video-container {
    margin: 0;
    padding: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem; /* Even smaller for very small screens */
    }
    
    .hero-section {
        height: 30dvh; /* Even more compact for very small screens */
    }
    
    .geometric-section {
        height: 30dvh; /* Even more compact for very small screens */
    }
    
    .project-column {
        width: 240px;
        /* Even smaller for very small screens */
    }
    
    .das-logo {
        height: 300px;
    }
    
    .hero-bottom-bar span {
        font-size: 8px;
    }
}

/* ==========================================================================
   Animation Keyframes
   ========================================================================== */

@keyframes scroll-projects {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   GSAP Animation Initial States
   ========================================================================== */

.hero-title {
    opacity: 0;
    transform: translateY(30px);
}

.geometric-video-container {
    opacity: 0;
    transform: scale(0.9);
}

.section-5-header {
    opacity: 0;
    transform: translateY(30px);
}

.projects-row {
    opacity: 0;
    transform: translateX(50px);
}

.footer-main {
    opacity: 0;
    transform: translateY(30px);
}

.video-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999 !important;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal-overlay.visible {
    display: flex !important;
}

.video-modal-overlay.show {
    opacity: 1 !important;
    visibility: visible !important;
}

.video-modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    max-height: 800px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.video-modal-overlay.show .video-modal-container {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #FCB600;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(252, 182, 0, 0.3);
}

.video-modal-close:hover {
    background: #e6a500;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(252, 182, 0, 0.4);
}

.video-modal-close:active {
    transform: scale(0.95);
}

.video-modal-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Responsive Design for Video Modal */
@media (max-width: 768px) {
    .video-modal-container {
        width: 95%;
        height: 70vh;
        margin: 20px;
    }
    
    .video-modal-close {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
    }
    
    .video-modal-close svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .video-modal-container {
        width: 98%;
        height: 60vh;
        margin: 10px;
    }
    
    .video-modal-close {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
    }
    
    .video-modal-close svg {
        width: 18px;
        height: 18px;
    }
}