/* ============================================
   CSS Variables & Reset
   ============================================ */
   :root {
    --header-height-mobile: 4vh;
    --footer-height: 6vh;
    --content-height-mobile: calc(100vh - var(--header-height-mobile) - var(--footer-height));
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #222;
    overflow-x: hidden;
    min-height: 100vh;
  }
  
  /* ============================================
     Mobile Header (visible only on small screens)
     ============================================ */
  .mobile-header {
    height: var(--header-height-mobile);
    background: white;
    padding: 1%;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .mobile-logo-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-logo {
    max-height: 60px;
    height: auto;
  }
  
  .mobile-lang-dropdown {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  /* ============================================
     Desktop Language Dropdown - Fixed Position
     ============================================ */
  .language-dropdown-fixed {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  .language-dropdown-fixed .dropdown-toggle {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }
  
  /* ============================================
     Desktop Logo - Fixed Position
     ============================================ */
  .logo-fixed {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
  }
  
  .logo-fixed img {
    max-height: 80px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  }
  
  /* ============================================
     Full Screen Services Layout - Desktop
     ============================================ */
  .fullscreen-services {
    display: flex;
    width: 100%;
    height: 100vh;
  }
  
  .service-column {
    flex: 1;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: flex 0.5s ease;
  }
  
  /* Overlay covering entire column */
  .service-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
    pointer-events: none;
    z-index: 1;
  }
  
  .service-column:hover::before {
    background: rgba(0, 0, 0, 0.25);
  }
  
  .service-content {
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 3rem;
    text-align: center;
    z-index: 2;
  }
  
  /* Desktop hover effect */
  .service-column:has(.service-content:hover) {
    flex: 1.2;
  }
  
  .service-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    font-weight: 600;
  }
  
  .service-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 400px;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  }
  
  .service-content .btn {
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }
  
  .service-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  
  /* ============================================
     Footer
     ============================================ */
  footer {
    background: #0b2e4f;
    color: #fff;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
    width: 100%;
    height: var(--footer-height);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  
  /* ============================================
     Mobile Responsive (Tablet and Below)
     ============================================ */
  @media (max-width: 991px) {
    /* Adjust for mobile header */
    .fullscreen-services {
      flex-direction: column;
      height: var(--content-height-mobile);
    }
    
    .service-column {
      /* Each column takes exactly 1/3 of available content height */
      height: calc(var(--content-height-mobile) / 3);
      flex: none;
    }
    
    .service-content {
      /* Remove top offset on mobile */
      top: 0;
      padding: 2rem 1.5rem;
      justify-content: center;
    }
    
    .service-content h2 {
      font-size: 1.8rem;
      margin-bottom: 1rem;
    }
    
    .service-content p {
      font-size: 0.95rem;
      margin-bottom: 1.5rem;
      max-width: 320px;
    }
    
    .service-content .btn {
      font-size: 0.9rem;
      padding: 0.5rem 1.5rem;
    }
    
    /* No hover effect on mobile */
    .service-column:has(.service-content:hover) {
      flex: none;
    }
    
    /* Stronger overlay on mobile for better text readability */
    .service-column::before {
      background: rgba(0, 0, 0, 0.5);
    }
  }
  
  /* ============================================
     Small Mobile Phones
     ============================================ */
  @media (max-width: 576px) {
    :root {
      --header-height-mobile: 80px; /* Fixed pixel height for very small screens */
    }
    
    .mobile-logo {
      max-height: 50px;
    }
    
    .service-content {
      padding: 1.5rem 1rem;
    }
    
    .service-content h2 {
      font-size: 1.5rem;
      margin-bottom: 0.75rem;
    }
    
    .service-content p {
      font-size: 0.9rem;
      margin-bottom: 1rem;
      line-height: 1.4;
    }
    
    .service-content .btn {
      font-size: 0.85rem;
      padding: 0.4rem 1.2rem;
    }
    
    footer {
      font-size: 0.75rem;
      padding: 0.3rem 0.5rem;
      line-height: 1.3;
    }
  }
  
  /* ============================================
     Landscape Mobile Orientation
     ============================================ */
  @media (max-width: 991px) and (orientation: landscape) {
    :root {
      --header-height-mobile: 60px;
    }
    
    .service-column {
      /* In landscape, make columns scrollable if needed */
      min-height: calc(var(--content-height-mobile) / 3);
    }
    
    .service-content h2 {
      font-size: 1.5rem;
    }
    
    .service-content p {
      font-size: 0.9rem;
    }
  }
  
  /* ============================================
     Utility Classes
     ============================================ */
  .dropdown-menu {
    min-width: auto;
  }
  
  .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
  }
  
  .dropdown-item svg {
    flex-shrink: 0;
  }
  
  /* Ensure flag SVGs display properly */
  svg[id^="flag-icons"] {
    display: inline-block;
    vertical-align: middle;
  }