/* ==============================================
   MUSEO CYRL FONT - Global Font
   ============================================== */

@font-face {
    font-family: 'Museo Cyrl';
    src: url('../fonts/fonts/museo-cyrl-300.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Museo Cyrl';
    src: url('../fonts/fonts/museo-cyrl-700.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Global font override */
body,
html,
h1, h2, h3, h4, h5, h6,
p, span, a, li, td, th,
input, select, textarea, button,
.mil-text-m, .mil-text-s, .mil-text-l, .mil-text-xs,
.mil-btn, .mil-top-menu ul li > a {
    font-family: 'Museo Cyrl', 'Switzer-Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* ==============================================
   HEADER STYLES - Professional Modern Design
   ============================================== */

/* Top Panel Override */
.mil-top-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 999;
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.mil-top-panel .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1320px;
    padding: 0 24px;
}

/* Logo Styles */
.mil-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.mil-logo img {
    height: 36px;
    width: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mil-logo:hover img {
    transform: scale(1.03);
    opacity: 0.9;
}

/* Header Inner Layout */
.mil-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 40px;
    padding: 0;
}

/* Navigation Menu Redesign */
.mil-top-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mil-top-menu ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mil-top-menu ul li {
    position: relative;
    margin: 0;
}

.mil-top-menu ul li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    color: #3a3a4a;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
    position: relative;
    background: transparent;
}

.mil-top-menu ul li > a::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #0052A6;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.mil-top-menu ul li > a:hover {
    color: #0052A6;
    background: rgba(0, 82, 166, 0.04);
}

.mil-top-menu ul li > a:hover::before {
    width: 24px;
}

.mil-top-menu ul li.mil-active > a {
    color: #0052A6;
    font-weight: 600;
}

.mil-top-menu ul li.mil-active > a::before {
    width: 100%;
    max-width: 50px;
}

/* Dropdown Arrow - Simple Chevron */
.mil-top-menu ul li.mil-has-children > a::after {
    content: '' !important;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    position: absolute;
    right: 8px;
    top: 50%;
    margin-top: -5px;
    transition: transform 0.25s ease;
    opacity: 0.7;
}

.mil-top-menu ul li.mil-has-children:hover > a::after {
    transform: rotate(225deg);
    margin-top: -2px;
    opacity: 1;
}

/* Dropdown Menu */
.mil-top-menu ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(10px);
    min-width: 200px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.mil-top-menu ul li:hover ul {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.mil-top-menu ul li ul li {
    margin: 0;
}

.mil-top-menu ul li ul li a {
    display: flex;
    padding: 12px 16px;
    color: #3a3a4a;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-align: left;
    justify-content: flex-start;
}

.mil-top-menu ul li ul li a::before {
    display: none !important;
}

.mil-top-menu ul li ul li a:hover {
    background: rgba(0, 82, 166, 0.06);
    color: #0052A6;
    padding-left: 20px;
}

/* Header Actions (right side) */
.mil-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* ==============================================
   LANGUAGE SWITCHER - Professional Style
   ============================================== */

.lang-switcher {
    position: relative;
    z-index: 1000;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: 1.5px solid #e0e4e8;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.lang-btn:hover {
    border-color: #0052A6;
    background: rgba(0, 82, 166, 0.03);
}

.lang-btn.active {
    border-color: #0052A6;
    background: rgba(0, 82, 166, 0.05);
}

.lang-flag {
    font-size: 16px;
    line-height: 1;
}

.lang-code {
    font-weight: 600;
    font-size: 13px;
    color: #3a3a4a;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.lang-arrow {
    width: 10px;
    height: 10px;
    color: #666;
    transition: transform 0.25s ease;
    margin-left: 2px;
}

.lang-btn.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    overflow: hidden;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
}

.lang-option:hover {
    background: #f5f5f7;
}

.lang-option.active {
    background: #e8f4ff;
    color: #0052A6;
    font-weight: 600;
}

.lang-option .lang-flag {
    font-size: 20px;
}

/* ==============================================
   CTA BUTTON - Professional Style
   ============================================== */

.mil-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #0052A6 0%, #003d7a 100%);
    color: #ffffff !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 82, 166, 0.25);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.mil-cta-btn:hover {
    background: linear-gradient(135deg, #003d7a 0%, #00295a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 82, 166, 0.35);
    color: #ffffff !important;
}

.mil-cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 82, 166, 0.25);
}

.mil-cta-btn i {
    font-size: 14px;
}

.mil-cta-btn .cta-text {
    display: inline;
}

/* ==============================================
   HEADER RESPONSIVE STYLES
   ============================================== */

@media (max-width: 1200px) {
    .mil-top-panel {
        height: 65px;
    }
    
    .mil-top-menu {
        display: none;
    }
    
    .lang-switcher {
        display: none;
    }
    
    .mil-cta-btn .cta-text {
        display: none;
    }
    
    .mil-cta-btn {
        padding: 12px;
        min-width: 48px;
    }
    
    .mil-header-inner {
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .mil-top-panel {
        height: 60px;
    }
    
    .mil-top-panel .container {
        padding: 0 16px;
    }
    
    .mil-logo img {
        height: 28px;
    }
    
    .mil-cta-btn {
        padding: 10px;
        min-width: 44px;
    }
    
    .mil-cta-btn i {
        font-size: 16px;
    }
}

/* ==============================================
   OLD STYLES (keep for compatibility)
   ============================================== */

.calc-btn {
    margin-top: 24px;
    cursor: pointer;
}

.text-center {
    text-align: center !important;
}

/* Legacy Language Switcher - Google Translate Style */
.mil-lang-switcher {
    position: relative;
    display: inline-block;
    margin-right: 15px;
}

.mil-lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background-color: transparent;
    border: 1px solid #dadce0;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    color: #5f6368;
}

.mil-lang-btn:hover {
    background-color: #f8f9fa;
    border-color: #dadce0;
}

.mil-lang-btn.active {
    background-color: #f8f9fa;
}

.mil-lang-icon {
    color: #5f6368;
    width: 18px;
    height: 18px;
}

.mil-lang-text {
    color: #5f6368;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mil-lang-arrow {
    transition: transform 0.2s ease;
    color: #5f6368;
    width: 10px;
    height: 10px;
}

.mil-lang-btn.active .mil-lang-arrow {
    transform: rotate(180deg);
}

.mil-lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background-color: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    min-width: 160px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

.mil-lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mil-lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #202124;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 400;
    font-size: 14px;
}

.mil-lang-option:hover {
    background-color: #f8f9fa;
}

.mil-lang-option.active {
    background-color: #e8f0fe;
    color: #1967d2;
}

.mil-flag-icon {
    flex-shrink: 0;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mil-lang-switcher {
        margin-right: 10px;
    }
    
    .mil-lang-btn {
        padding: 6px 12px;
        gap: 4px;
    }
    
    .mil-lang-icon {
        width: 16px;
        height: 16px;
    }
    
    .mil-lang-text {
        font-size: 13px;
    }
    
    .mil-lang-dropdown {
        min-width: 140px;
    }
}


/* --- CARD GENERAL --- */
.insurance-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 34px 28px 32px;
  box-shadow:
      0 10px 25px rgba(0,0,0,0.04),
      0 5px 10px rgba(0,0,0,0.03);
  border: 1px solid rgba(0, 82, 166, 0.12);

  transition: 
      transform 0.25s cubic-bezier(.17,.67,.67,1.25),
      box-shadow 0.25s ease,
      border-color 0.25s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* shine subtle */
.insurance-card::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: radial-gradient(
    circle at 0% 0%, 
    rgba(0,82,166,0.09), 
    transparent 70%
  );
  transition: transform 0.6s ease;
}

.insurance-card:hover::before {
  transform: translate(10px, 10px);
}

.insurance-card:hover {
  transform: translateY(-6px);
  border-color: #0052A6;
  box-shadow:
      0 20px 45px rgba(0,82,166,0.15),
      0 10px 20px rgba(0,82,166,0.12);
}

/* --- ICON BADGE --- */
.insurance-card__icon-wrapper {
  width: 110px;
  height: 110px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f6f9ff, #eef4ff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
      inset 0 3px 8px rgba(255,255,255,0.7),
      0 6px 18px rgba(0,82,166,0.08);
}

.insurance-card__icon-wrapper img {
  max-width: 72px;
  max-height: 72px;
}

/* --- TITLE --- */
.insurance-card__title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0052A6;
  margin-bottom: 18px;
}

/* --- BUTTON --- */
.insurance-card__btn {
  display: block;
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  color: #0052A6;
  border: 2px solid #0052A6;
  background: #fff;
  transition: all 0.25s;
}

.insurance-card__btn:hover {
  background: #0052A6;
  color: #fff;
  box-shadow: 0 12px 22px rgba(0,82,166,0.25);
  transform: translateY(-2px);
}

.insurance-card__btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(0,82,166,0.18);
}

/* --- RESPONSIVE --- */
@media (max-width: 575px) {
  .insurance-card {
    padding: 26px 22px;
  }

  .insurance-card__title {
    font-size: 1.25rem;
  }

  .insurance-card__icon-wrapper {
    width: 95px;
    height: 95px;
  }

  .insurance-card__icon-wrapper img {
    max-width: 62px;
  }
}


.h1-custom{
    font-size: 60px;
    max-width: 600px;
    margin: 0 auto;
    text-wrap: balance;
    margin-top: 30px;
}

@media (max-width: 992px) {
.h1-custom{
  font-size: 48px;
}
}
@media (max-width: 575px) {
.h1-custom{
  font-size: 42px;
}
}


/* ==============================================
   SERVICES HERO SECTION - Modern Card Grid
   ============================================== */

.services-hero {
    position: relative;
    padding: 100px 0 180px;
    background: linear-gradient(180deg, #f8f9fa 0%, #e8ecef 100%);
    overflow: hidden;
    min-height: 100vh;
}

/* Header Styles */
.services-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.services-title {
    font-size: 52px;
    font-weight: 800;
    color: #0052A6;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.services-subtitle {
    font-size: 20px;
    color: #5a6678;
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
}

/* Services Grid - 3 Cards Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.services-grid--3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    gap: 30px;
}

/* Service Card Base */
.service-card {
    background: #0052A6;
    border-radius: 28px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    min-height: 380px;
    box-shadow: 0 15px 40px rgba(0, 82, 166, 0.25);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 82, 166, 0.35);
}

/* Card Color Variations - Brand Colors */
.service-card--red {
    background: linear-gradient(145deg, #E43A36 0%, #c62828 100%);
}

.service-card--red:hover {
    box-shadow: 0 25px 60px rgba(228, 58, 54, 0.4);
}

.service-card--red .service-card__badge {
    background: rgba(198, 40, 40, 0.6);
}

.service-card--red .service-card__arrow {
    background: rgba(198, 40, 40, 0.5);
}

.service-card--red:hover .service-card__arrow {
    background: #c62828;
}

.service-card--blue {
    background: linear-gradient(145deg, #0052A6 0%, #003d7a 100%);
}

.service-card--blue:hover {
    box-shadow: 0 25px 60px rgba(0, 82, 166, 0.4);
}

.service-card--red {
    background: linear-gradient(145deg, #E43A36 0%, #c12d2a 100%);
}

.service-card--red:hover {
    box-shadow: 0 25px 60px rgba(228, 58, 54, 0.4);
}

/* Green variant for Carte Verde (Green Card) - Symbolic green color */
.service-card--green {
    background: linear-gradient(145deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
}

.service-card--green:hover {
    box-shadow: 0 25px 60px rgba(22, 163, 74, 0.4);
}

/* Green card badge - darker green background */
.service-card--green .service-card__badge {
    background: rgba(21, 128, 61, 0.6);
    backdrop-filter: blur(10px);
}

/* Green card arrow button - red style */
.service-card--green .service-card__arrow {
    background: #E43A36;
}

.service-card--green:hover .service-card__arrow {
    background: #c62828;
    transform: translateX(4px);
}

.service-card--dark {
    background: linear-gradient(145deg, #1a1a2e 0%, #0d0d15 100%);
}

.service-card--dark:hover {
    box-shadow: 0 25px 60px rgba(26, 26, 46, 0.5);
}

/* Card Header */
.service-card__header {
    margin-bottom: 20px;
}

.service-card__title {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card__subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Card Image */
.service-card__image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 0;
}

.service-card__image img {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.25)) brightness(1.1);
    transition: transform 0.4s ease;
}

.service-card:hover .service-card__image img {
    transform: scale(1.1);
}

.service-card__image img.fallback-icon {
    max-height: 120px;
    filter: brightness(0) invert(1) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* Card Footer */
.service-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.service-card__badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.service-card__arrow {
    width: 52px;
    height: 52px;
    background: #E43A36;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-left: auto; /* Always push arrow to the right */
}

.service-card:hover .service-card__arrow {
    background: #c62828;
    transform: translateX(4px);
    color: #ffffff !important;
}

.service-card__arrow svg {
    width: 20px;
    height: 20px;
    color: inherit !important;
}

.service-card__arrow svg path {
    stroke: #ffffff !important;
}

/* ==============================================
   ANIMATED CITY SKYLINE BACKGROUND
   ============================================== */

.city-skyline-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    pointer-events: none;
    overflow: hidden;
}

/* SVG Skyline Layers */
.skyline-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-repeat: repeat-x;
    background-position: bottom left;
    background-size: auto 100%;
}

/* Back Layer - Farthest Buildings */
.skyline-back {
    height: 180px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 180' fill='%23d0d5db'%3E%3Crect x='0' y='80' width='40' height='100'/%3E%3Crect x='50' y='60' width='35' height='120'/%3E%3Crect x='95' y='90' width='45' height='90'/%3E%3Crect x='150' y='40' width='30' height='140'/%3E%3Crect x='190' y='70' width='50' height='110'/%3E%3Crect x='250' y='50' width='35' height='130'/%3E%3Crect x='295' y='100' width='40' height='80'/%3E%3Crect x='345' y='30' width='25' height='150'/%3E%3Crect x='380' y='65' width='55' height='115'/%3E%3Crect x='445' y='85' width='30' height='95'/%3E%3Crect x='485' y='45' width='40' height='135'/%3E%3Crect x='535' y='75' width='35' height='105'/%3E%3Crect x='580' y='55' width='45' height='125'/%3E%3Crect x='635' y='95' width='30' height='85'/%3E%3Crect x='675' y='35' width='50' height='145'/%3E%3Crect x='735' y='70' width='35' height='110'/%3E%3Crect x='780' y='50' width='40' height='130'/%3E%3Crect x='830' y='80' width='45' height='100'/%3E%3Crect x='885' y='60' width='30' height='120'/%3E%3Crect x='925' y='40' width='55' height='140'/%3E%3Crect x='990' y='90' width='35' height='90'/%3E%3Crect x='1035' y='65' width='40' height='115'/%3E%3Crect x='1085' y='45' width='30' height='135'/%3E%3Crect x='1125' y='75' width='45' height='105'/%3E%3Crect x='1180' y='55' width='20' height='125'/%3E%3C/svg%3E");
    animation: skyline-scroll 80s linear infinite;
    opacity: 0.6;
}

/* Mid Layer - Middle Buildings */
.skyline-mid {
    height: 200px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' fill='%23b8bfc8'%3E%3Crect x='10' y='100' width='50' height='100'/%3E%3Crect x='70' y='70' width='40' height='130'/%3E%3Crect x='120' y='120' width='60' height='80'/%3E%3Crect x='190' y='50' width='35' height='150'/%3E%3Crect x='235' y='90' width='55' height='110'/%3E%3Crect x='300' y='60' width='45' height='140'/%3E%3Crect x='355' y='110' width='35' height='90'/%3E%3Crect x='400' y='40' width='50' height='160'/%3E%3Crect x='460' y='80' width='40' height='120'/%3E%3Crect x='510' y='100' width='55' height='100'/%3E%3Crect x='575' y='55' width='35' height='145'/%3E%3Crect x='620' y='85' width='45' height='115'/%3E%3Crect x='675' y='65' width='50' height='135'/%3E%3Crect x='735' y='105' width='40' height='95'/%3E%3Crect x='785' y='45' width='35' height='155'/%3E%3Crect x='830' y='75' width='55' height='125'/%3E%3Crect x='895' y='95' width='45' height='105'/%3E%3Crect x='950' y='55' width='40' height='145'/%3E%3Crect x='1000' y='115' width='50' height='85'/%3E%3Crect x='1060' y='70' width='35' height='130'/%3E%3Crect x='1105' y='90' width='45' height='110'/%3E%3Crect x='1160' y='60' width='40' height='140'/%3E%3C/svg%3E");
    animation: skyline-scroll 60s linear infinite;
    opacity: 0.7;
}

/* Front Layer - Closest Buildings */
.skyline-front {
    height: 220px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 220' fill='%239ea5af'%3E%3Crect x='0' y='120' width='70' height='100'/%3E%3Crect x='80' y='80' width='55' height='140'/%3E%3Crect x='145' y='140' width='80' height='80'/%3E%3Crect x='235' y='60' width='45' height='160'/%3E%3Crect x='290' y='100' width='65' height='120'/%3E%3Crect x='365' y='70' width='50' height='150'/%3E%3Crect x='425' y='130' width='75' height='90'/%3E%3Crect x='510' y='50' width='40' height='170'/%3E%3Crect x='560' y='90' width='60' height='130'/%3E%3Crect x='630' y='110' width='55' height='110'/%3E%3Crect x='695' y='65' width='45' height='155'/%3E%3Crect x='750' y='125' width='70' height='95'/%3E%3Crect x='830' y='55' width='50' height='165'/%3E%3Crect x='890' y='95' width='65' height='125'/%3E%3Crect x='965' y='75' width='45' height='145'/%3E%3Crect x='1020' y='115' width='55' height='105'/%3E%3Crect x='1085' y='60' width='40' height='160'/%3E%3Crect x='1135' y='100' width='65' height='120'/%3E%3C/svg%3E");
    animation: skyline-scroll 40s linear infinite;
    opacity: 0.85;
}

@keyframes skyline-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Road Container */
.road-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    z-index: 5;
}

/* Road Surface */
.road {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #5a5a62 0%, #4a4a52 50%, #3d3d45 100%);
    overflow: hidden;
}

/* Lane Divider (center dashed line) */
.lane-divider {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    transform: translateY(-50%);
    background: repeating-linear-gradient(
        90deg,
        #FFD700 0px,
        #FFD700 30px,
        transparent 30px,
        transparent 60px
    );
    z-index: 1;
}

/* Road edge markings */
.road::before,
.road::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #ffffff;
}

.road::before {
    top: 2px;
}

.road::after {
    bottom: 2px;
}

/* Lanes */
.lane {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    overflow: visible;
}

.lane-top {
    top: 0;
}

.lane-bottom {
    bottom: 0;
}

/* Cars Base Styling - Using PNG Image */
.car {
    position: absolute;
    height: 22px;
    width: auto;
    z-index: 5;
}

.car-img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Flip cars going opposite direction */
.car-img.car-flipped {
    transform: scaleX(-1);
}

/* Top Lane Cars (moving RIGHT to LEFT) */
.car-lane-top {
    top: 50%;
    transform: translateY(-50%);
}

.car-lane-top.car-1 {
    animation: car-move-reverse 14s linear infinite;
    height: 25px;
}

.car-lane-top.car-2 {
    animation: car-move-reverse 20s linear infinite;
    animation-delay: -8s;
    height: 23px;
}

/* Bottom Lane Cars (moving LEFT to RIGHT) */
.car-lane-bottom {
    top: 35%;
    transform: translateY(-50%);
}

.car-lane-bottom.car-3 {
    animation: car-move 16s linear infinite;
    height: 25px;
}

.car-lane-bottom.car-4 {
    animation: car-move 22s linear infinite;
    animation-delay: -11s;
    height: 23px;
}

/* Animations */
@keyframes car-move {
    0% {
        left: -80px;
    }
    100% {
        left: calc(100% + 20px);
    }
}

@keyframes car-move-reverse {
    0% {
        left: calc(100% + 20px);
    }
    100% {
        left: -80px;
    }
}

/* Ground under road */
.city-skyline-bg::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(180deg, #5a5a62 0%, #4a4a52 100%);
    z-index: 4;
}

.city-skyline-bg::after {
    display: none;
    animation: road-lines 2s linear infinite;
}

@keyframes road-lines {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(60px);
    }
}

/* ==============================================
   RESPONSIVE STYLES
   ============================================== */

@media (max-width: 1200px) {
    .services-grid--3 {
        max-width: 900px;
        gap: 24px;
    }
    
    .service-card {
        min-height: 340px;
        padding: 28px;
    }
}

@media (max-width: 992px) {
    .services-hero {
        padding: 80px 0 160px;
    }
    
    .services-title {
        font-size: 42px;
    }
    
    .services-subtitle {
        font-size: 18px;
    }
    
    .services-grid--3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .service-card {
        min-height: 320px;
        padding: 24px;
    }
    
    .service-card__title {
        font-size: 22px;
    }
    
    .service-card__image img {
        max-height: 140px;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 100px 0 160px;
    }
    
    .services-title {
        font-size: 32px;
    }
    
    .services-subtitle {
        font-size: 16px;
    }
    
    .services-grid--3 {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 450px;
        padding: 0;
    }
    
    .service-card {
        min-height: auto;
        padding: 24px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .service-card__header {
        flex: 1 1 55%;
        min-width: 0;
    }
    
    .service-card__image {
        flex: 0 0 35%;
        padding: 10px;
    }
    
    .service-card__image img {
        max-height: 90px;
    }
    
    .service-card__image img.fallback-icon {
        max-height: 70px;
    }
    
    .service-card__footer {
        flex: 0 0 100%;
        margin-top: 15px;
    }
    
    .service-card__title {
        font-size: 20px;
    }
    
    .service-card__subtitle {
        font-size: 11px;
    }
    
    .city-skyline-bg {
        height: 180px;
    }
    
    .skyline-back {
        height: 140px;
    }
    
    .skyline-mid {
        height: 160px;
    }
    
    .skyline-front {
        height: 175px;
    }
    
    .road-container {
        height: 40px;
    }
    
    .car {
        height: 16px;
    }
    
    .car-lane-top.car-1,
    .car-lane-bottom.car-3 {
        height: 15px;
    }
    
    .car-lane-top.car-2,
    .car-lane-bottom.car-4 {
        height: 14px;
    }
    
    .lane-divider {
        height: 2px;
    }
}

@media (max-width: 480px) {
    .services-header {
        margin-bottom: 40px;
    }
    
    .services-title {
        font-size: 28px;
    }
    
    .services-subtitle {
        font-size: 14px;
    }
    
    .service-card {
        min-height: 200px;
    }
    
    .service-card__title {
        font-size: 18px;
    }
    
    .service-card__badge {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .service-card__arrow {
        width: 40px;
        height: 40px;
    }
}

/* Trees decoration (optional enhancement) */
.city-skyline-bg .tree {
    position: absolute;
    bottom: 35px;
    z-index: 4;
}

.tree::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 15px;
    background: #6b8e6b;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.tree::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 35px;
    background: #7fa87f;
    border-radius: 50% 50% 45% 45%;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
}

/* ============================================
   MOBILE MENU - Professional Slide-in Menu
   ============================================ */

/* Mobile Menu Toggle Button (Burger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    gap: 5px;
    z-index: 100;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a2e;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Panel */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: #ffffff;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu-panel.active {
    transform: translateX(0);
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e8eef3;
    background: #fafbfc;
}

.mobile-menu-logo img {
    height: 32px;
    width: auto;
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f1f3f5;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: #1a1a2e;
    transition: all 0.2s ease;
}

.mobile-menu-close:hover {
    background: #0052A6;
    color: #ffffff;
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
    flex: 1;
    padding: 16px 0;
}

.mobile-menu-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-nav > ul > li {
    border-bottom: 1px solid #f1f3f5;
}

.mobile-menu-nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    color: #1a1a2e;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-menu-nav > ul > li > a i {
    width: 24px;
    text-align: center;
    color: #0052A6;
    font-size: 18px;
}

.mobile-menu-nav > ul > li > a:hover,
.mobile-menu-nav > ul > li.active > a {
    background: linear-gradient(90deg, rgba(0, 82, 166, 0.08) 0%, transparent 100%);
    color: #0052A6;
}

.mobile-menu-nav > ul > li.active > a {
    border-left: 3px solid #0052A6;
}

/* Submenu Arrow */
.submenu-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.has-submenu.open .submenu-arrow {
    transform: rotate(180deg);
}

/* Mobile Submenu */
.mobile-submenu {
    display: none;
    background: #f8f9fa;
    padding: 8px 0;
}

.has-submenu.open .mobile-submenu {
    display: block;
}

.mobile-submenu li a {
    display: block;
    padding: 12px 24px 12px 62px;
    color: #555;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
}

.mobile-submenu li a:hover {
    color: #0052A6;
    background: rgba(0, 82, 166, 0.05);
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    padding: 20px 24px;
    background: #f8f9fa;
    border-top: 1px solid #e8eef3;
}

/* Mobile Language Switcher */
.mobile-lang-switcher {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.mobile-lang-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.mobile-lang-options {
    display: flex;
    gap: 8px;
}

.mobile-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid #e0e4e8;
    border-radius: 8px;
    color: #1a1a2e;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-lang-btn:hover {
    border-color: #0052A6;
    color: #0052A6;
}

.mobile-lang-btn.active {
    background: #0052A6;
    border-color: #0052A6;
    color: #ffffff;
}

.mobile-lang-btn .lang-flag {
    font-size: 16px;
}

/* Mobile CTA Button */
.mobile-cta-btn span, .mobile-cta-btn i{
    color: #fff!important;
}
.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #0052A6 0%, #003d7a 100%);
    color: #ffffff!important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 82, 166, 0.25);
}

.mobile-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 166, 0.35);
}

.mobile-cta-btn i {
    font-size: 18px;
}

/* Prevent body scroll when menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Mobile Menu Responsive - Show on tablet and mobile */
@media (max-width: 1200px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mil-top-menu {
        display: none;
    }
    
    .lang-switcher {
        display: none;
    }
    
    .mil-cta-btn .cta-text {
        display: none;
    }
    
    .mil-cta-btn {
        padding: 10px;
        min-width: 44px;
    }
}

@media (max-width: 576px) {
    .mobile-menu-panel {
        width: 100%;
        max-width: 100%;
    }
    
    .mil-header-inner {
        padding: 0 16px;
    }
}

/* ==============================================
   COOKIE CONSENT BANNER
   ============================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #ffffff;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.12);
    border-top: 1px solid rgba(0, 82, 166, 0.1);
    padding: 0;
    animation: cookieSlideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes cookieSlideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.cookie-consent__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 18px 28px;
}

.cookie-consent__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #eef4ff 0%, #dce8f8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0052A6;
}

.cookie-consent__text {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #3a3a4a;
    margin: 0;
}

.cookie-consent__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    white-space: nowrap;
}

.cookie-consent__btn--accept {
    background: linear-gradient(135deg, #0052A6 0%, #003d7a 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 82, 166, 0.25);
}

.cookie-consent__btn--accept:hover {
    background: linear-gradient(135deg, #003d7a 0%, #00295a 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 82, 166, 0.35);
}

.cookie-consent__btn--decline {
    background: transparent;
    color: #666;
    border: 1.5px solid #d0d5db;
}

.cookie-consent__btn--decline:hover {
    border-color: #999;
    color: #333;
    background: #f5f5f7;
}

.cookie-consent__link {
    color: #0052A6;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.cookie-consent__link:hover {
    color: #003d7a;
}

/* Cookie Consent Responsive */
@media (max-width: 768px) {
    .cookie-consent__inner {
        flex-wrap: wrap;
        padding: 16px 20px;
        gap: 14px;
    }

    .cookie-consent__icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .cookie-consent__icon svg {
        width: 22px;
        height: 22px;
    }

    .cookie-consent__text {
        flex: 1 1 calc(100% - 60px);
        font-size: 13px;
    }

    .cookie-consent__actions {
        width: 100%;
        justify-content: stretch;
    }

    .cookie-consent__btn {
        flex: 1;
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .cookie-consent__inner {
        padding: 14px 16px;
        gap: 12px;
    }

    .cookie-consent__text {
        font-size: 12px;
        line-height: 1.5;
    }
}

/* ==============================================
   CONTACT FORM ALERTS - Professional Style
   ============================================== */

.contact-alert {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
    border-radius: 16px;
    margin-top: 24px;
    background: #fafbfc;
    border: 1.5px solid #eef0f4;
    animation: alertFadeIn 0.4s ease forwards;
}

@keyframes alertFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-alert--success {
    border-color: #eef0f4;
}

.contact-alert--error {
    border-color: #fecaca;
    background: #fefafa;
}

.contact-alert__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.contact-alert--success .contact-alert__icon {
    background: linear-gradient(145deg, #0052A6 0%, #003d7a 100%);
    box-shadow: 0 4px 16px rgba(0, 82, 166, 0.25);
}

.contact-alert--success .contact-alert__icon i {
    color: #fff !important;
}

.contact-alert--error .contact-alert__icon {
    background: linear-gradient(145deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.25);
}

.contact-alert--error .contact-alert__icon i {
    color: #fff !important;
}

.contact-alert__content {
    flex: 1;
}

.contact-alert__title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #1a1a2e;
    letter-spacing: -0.2px;
}

.contact-alert__text {
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
    color: #7a8599;
}

@media (max-width: 576px) {
    .contact-alert {
        padding: 18px 20px;
        gap: 14px;
        border-radius: 14px;
    }

    .contact-alert__icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 12px;
        font-size: 18px;
    }

    .contact-alert__title {
        font-size: 15px;
    }

    .contact-alert__text {
        font-size: 12px;
    }
}