/* ===== MEDICUM DESIGN SYSTEM ===== */

/* CSS Custom Properties - Color Theme */
:root {
  /* Primary Colors - Updated to match the image */
  --brand-primary: #050F38; /* Dark blue/purple from the image */
  --brand-secondary: #8B5CF6; /* Vibrant purple for accents */
  --brand-navy: #050F38; /* Darker navy for headings */
  
  /* Text Colors */
  --text-primary: #050F38; /* Dark grey/black from the image */
  --text-secondary: #475569; /* Medium grey for body text */
  --text-muted: #64748B; /* Light grey for secondary text */
  
  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #F8FAFC; /* Very light grey background */
  --bg-muted: #F1F5F9; /* Lighter grey for borders */
  
  /* Interactive Colors */
  --hover-primary: #F1F5F9;
  --hover-secondary: #F8FAFC;
  --focus-ring: #2E3A59;
  
  /* Card & Overlay */
  --card-bg: rgba(255, 255, 255, 0.92); /* Semi-transparent white */
  --overlay-light: rgba(255, 255, 255, 0.85);
  --overlay-dark: rgba(0, 0, 0, 0.35);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(5, 15, 56, 0.08);
  --shadow-md: 0 10px 30px rgba(5, 15, 56, 0.12);
  --shadow-lg: 0 20px 40px rgba(5, 15, 56, 0.15);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  
  /* Typography - Updated to match the clean sans-serif from the image */
  --font-family: 'Century Gothic', sans-serif !important;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 3rem;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.35s ease;
  
  /* Z-index */
  --z-dropdown: 50;
  --z-header: 60;
  --z-modal: 100;
}

/* ===== RESET & BASE STYLES ===== */
* {
  box-sizing: border-box;
}

/* Apply Century Gothic font to text elements only, not icons */
body,
h1, h2, h3, h4, h5, h6,
p,
a,
span,
div,
button,
input,
textarea,
label,
li,
td,
th {
  font-family: 'Century Gothic', sans-serif !important;
}



*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Century Gothic', sans-serif !important;
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
  padding-top: 56px; /* Reduced header height */
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-md);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand-navy);
  letter-spacing: -0.025em; /* Tighter letter spacing for modern look */
}

/* Section headings with better spacing */
.section h2 {
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-3xl);
  font-weight: 700;
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  margin: 0 0 var(--space-md);
  color: var(--text-secondary);
  line-height: 1.7; /* Slightly more relaxed line height */
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-base);
}

a:hover {
  color: var(--brand-secondary);
}

/* ===== LAYOUT COMPONENTS ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: calc(var(--space-2xl) + 60px) 0 var(--space-2xl) 0;
}

.section-sm {
  padding: var(--space-xl) 0;
}

.section-lg {
  padding: calc(var(--space-2xl) * 2) 0;
}

.center {
  text-align: center;
}

/* Centered content with max-width for better readability */
.center .container {
  max-width: 800px;
}

.center p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition-base);
  transform: translateY(0);
}

/* Top grey bar */
.top-bar {
  height: 4px;
  background: #475569;
  width: 100%;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  border-bottom-color: rgba(0, 0, 0, 0.04);
}

/* Smooth transitions for header elements */
.header .brand-content,
.header .nav,
.header .menu {
  transition: all var(--transition-base);
}

/* Optional: Add a subtle animation when header becomes scrolled */
.header.is-scrolled {
  animation: headerSlideDown 0.3s ease-out;
}

@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.nav {
  width: 100%;
  padding: var(--space-sm) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-height: 48px;
}

.nav-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.nav-container {
  max-width: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

/* Brand/Logo */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--brand-primary);
  flex-shrink: 0; /* Prevent logo from shrinking */
}

.site-logo {
  width: 160px;
  height: 32px;
  object-fit: contain;
}

/* Navigation Menu */
.menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-sm);
  margin-left: auto;
  justify-content: flex-end;
  min-width: 0;
  flex-shrink: 0;
  flex: 1;
}

/* Language selector at top right */
.language-selector {
  margin-bottom: 8px;
  margin-left: auto; /* Push to far right */
  align-self: flex-end; /* Ensure it's at the end */
}

.language-selector .link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition-base);
}

.language-selector .link:hover {
  color: var(--brand-secondary);
}

.nav-menu {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  width: 100%; /* Take full width of parent */
}

/* Ensure menu is visible on larger screens */
@media (min-width: 961px) {
  .nav-menu {
    display: flex !important;
  }
  
  .language-selector {
    display: block !important;
  }
  
  .hamburger {
    display: none !important;
  }
  
  .drawer {
    display: none !important;
  }
}

.menu a.link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem; /* Slightly smaller nav text */
}

.menu a.link:hover,
.menu a.link.active {
  color: var(--brand-secondary);
}

/* Update all navigation hover effects to use violet */
.menu a.link:hover,
.menu a.link.active,
.language-selector .link:hover {
  color: var(--brand-secondary);
}

/* Dropdown Menus */
.dropdown {
  position: relative;
}

.dropdown .panel {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  width: auto;
  min-width: fit-content;
  background: var(--bg-primary);
  border: 1px solid var(--bg-muted);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 6px;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: all 0.18s ease;
}

/* Add invisible bridge to prevent gap issues */
.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
}

.dropdown:hover .panel,
.dropdown:focus-within .panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Keep panel open when hovering over it */
.dropdown .panel:hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown .panel a {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  width: max-content;
}

.dropdown .panel a:hover {
  background: var(--hover-secondary);
  color: var(--brand-secondary);
}

/* Portfolio dropdown specific styling */
.dropdown .panel .location-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  width: max-content;
}

.dropdown .panel .location-item:hover {
  background-color: transparent !important;
  color: var(--brand-secondary);
}

.dropdown .panel .location-item .location-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.dropdown .panel .location-item .count-badge {
  background: var(--bg-muted);
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 500;
  min-width: 20px;
  text-align: center;
}

/* Mobile Navigation */
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  padding: var(--space-sm);
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  transition: all var(--transition-base);
  z-index: 1003;
}

/* Ensure drawer is hidden on desktop by default */
@media (min-width: 961px) {
  .drawer {
    display: none !important;
  }
}



.hamburger:hover {
  background: var(--hover-primary);
}

/* Mobile Menu Drawer - Updated to work with enhancements.js */
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999; /* Ensure it's above everything */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none; /* Prevent interaction when hidden */
  /* Debug: temporary outline to see if drawer is positioned correctly */
  /* outline: 2px solid red; */
}

.drawer.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto; /* Allow interaction when shown */
}

.drawer-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh; /* Use viewport height to ensure full coverage */
  background: white;
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 10001; /* Ensure it's above the backdrop */
  /* Ensure proper positioning on mobile */
  position: fixed;
}

.drawer.show .drawer-inner {
  transform: translateX(0);
}

/* Mobile drawer responsive adjustments */
@media (max-width: 480px) {
  .drawer-inner {
    width: 280px;
    padding: 1.5rem 1rem;
    height: 100vh; /* Ensure full viewport height on small screens */
  }
}

/* iOS Safari and mobile browser fixes */
@supports (-webkit-touch-callout: none) {
  .drawer {
    /* iOS Safari specific fixes */
    -webkit-overflow-scrolling: touch;
  }
  
  .drawer-inner {
    /* Ensure proper height on iOS */
    height: 100vh;
    height: -webkit-fill-available;
  }
}

.drawer-inner a {
  display: block;
  padding: 1rem 0;
  text-decoration: none;
  color: var(--text-primary);
  border-bottom: 1px solid var(--bg-muted);
  font-size: 1.1rem;
  transition: all var(--transition-base);
  font-weight: 500;
  position: relative;
}

.drawer-inner a:hover {
  background: var(--hover-primary);
  color: var(--brand-secondary);
  padding-left: 0.5rem;
}

.drawer-inner a:active {
  background: var(--bg-muted);
}

/* Mobile Language Selector */
.mobile-language-selector {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--bg-muted);
  padding-bottom: 1rem;
  display: block !important; /* Ensure it's visible on mobile */
  position: relative;
  z-index: 10002; /* Ensure it's above other drawer content */
}

.mobile-language-toggle {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  background: none;
  border: none;
  color: inherit;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 500;
}

.mobile-language-toggle:hover {
  background: var(--hover-primary);
  border-radius: var(--radius-sm);
}

.mobile-language-panel {
  display: none;
  padding: 0.5rem 0;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
}

.mobile-language-panel.show {
  display: block;
}

.mobile-language-option {
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--bg-muted);
}

.mobile-language-option:last-child {
  border-bottom: none;
}

.mobile-language-option.active {
  color: var(--brand-secondary);
  font-weight: 500;
}

/* Mobile Menu Items */
.mobile-menu-item {
  position: relative;
}

.mobile-menu-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.mobile-menu-item > a::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  transition: transform var(--transition-base);
}

.mobile-menu-item.open > a::after {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: none;
  padding-left: 1rem;
  background: var(--bg-secondary);
  margin: 0.5rem 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.mobile-menu-item.open .mobile-submenu {
  display: block;
}

.mobile-submenu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: none;
  transition: all var(--transition-base);
}

.mobile-submenu a:hover {
  color: var(--brand-secondary);
  background: var(--hover-primary);
  padding-left: 1.5rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  justify-content: center;
  font-size: 0.95rem; /* Slightly smaller button text */
}

.btn-filled {
  display: inline-block;
  background: var(--bg-primary);
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  border-radius: var(--radius-full);
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.btn-filled:hover {
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
  color: var(--bg-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: var(--bg-primary);
  color: var(--brand-navy);
  border-color: var(--brand-navy);
  border-width: 1px;
  border-style: solid;
}

.btn-outline:hover {
  background: var(--brand-navy);
  color: var(--bg-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
}

.btn-ghost:hover {
  background: var(--hover-primary);
  color: var(--brand-secondary);
}

/* ===== CIRCULAR ARROW BUTTON ===== */
.btn-circular-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 500;
  color: var(--brand-primary);
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: 0.95rem;
}

.btn-circular-arrow .arrow-circle {
  position: relative;
  width: 32px;
  height: 32px;
}

.btn-circular-arrow .arrow-default {
  display: block;
  width: 100%;
  height: 100%;
  transition: opacity 0.15s ease;
}

.btn-circular-arrow .arrow-hover {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.btn-circular-arrow:hover {
  /* SVG switching handles the color change */
}

.btn-circular-arrow:hover .arrow-default {
  opacity: 0;
}

.btn-circular-arrow:hover .arrow-hover {
  opacity: 1;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 504px; /* Reduced by 10% from 560px */
  height: 63vh; /* Reduced by 10% from 70vh */
  max-height: 720px; /* Reduced by 10% from 800px */
  isolation: isolate;
  overflow: hidden;
  z-index: 1;
}

/* Legacy Hero Track (kept for backward compatibility) */
.hero-track {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.slides {
  position: absolute;
  inset: 0;
  display: flex;
  height: 100%;
  width: 300%; /* Ensure all slides are visible */
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
}

.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  min-width: 100%;
  min-height: 100%;
}

.hero-card {
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 440px;
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  z-index: 20;
  /* Ensure visibility */
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.hero-card h2 {
  margin: 0 0 16px;
  font-size: var(--font-size-3xl);
  color: var(--brand-navy);
  font-weight: 700;
  line-height: 1.2;
}

.hero-card p {
  margin: 0 0 24px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
}

/* Legacy Carousel Controls (kept for backward compatibility) */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--overlay-dark);
  color: var(--bg-primary);
  border: 0;
  cursor: pointer;
  transition: background var(--transition-base);
}

.arrow:hover {
  background: var(--brand-secondary);
}

.arrow.prev {
  left: 12px;
}

.arrow.next {
  right: 12px;
}

/* ===== SWIPER STYLES ===== */
.hero-swiper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-pagination {
  pointer-events: auto;
}

.hero-swiper .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-swiper .swiper-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  min-width: 100%;
  min-height: 100%;
}

/* Swiper Navigation Arrows */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-primary);
  border: 2px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-base);
  margin: 0;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: var(--brand-secondary);
  color: white;
  border-color: var(--brand-secondary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.hero-swiper .swiper-button-prev {
  left: 12px;
}

.hero-swiper .swiper-button-next {
  right: 12px;
}

/* Swiper Pagination */
.hero-swiper .swiper-pagination {
  position: absolute;
  bottom: 30px;
  right: 30px;
  display: flex;
  gap: 12px;
  z-index: 20;
  padding: 10px 20px;
  min-width: 80px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition-base);
  opacity: 1;
  margin: 0;
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
  display: inline-block;
  vertical-align: middle;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
  transform: scale(1.2);
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.hero-swiper .swiper-pagination-bullet:hover {
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
  transform: scale(1.1);
}

/* Responsive Swiper Styles */
@media (max-width: 768px) {
  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .hero-swiper .swiper-button-next::after,
  .hero-swiper .swiper-button-prev::after {
    font-size: 16px;
  }
  
  .hero-swiper .swiper-pagination {
    bottom: 20px;
    right: 20px;
    padding: 6px 12px;
    gap: 8px;
    min-width: 70px;
    justify-content: center;
  }
  
  .hero-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    box-sizing: border-box;
    flex-shrink: 0;
  }
}

/* Legacy Carousel Styles (kept for backward compatibility) */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: var(--space-sm);
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 0;
  cursor: pointer;
  transition: background var(--transition-base);
}

.indicator.active {
  background: var(--brand-secondary); /* Vibrant purple for active indicator */
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--bg-muted);
}

.card-body {
  padding: var(--space-lg);
}

.card-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--bg-muted);
  background: var(--bg-secondary);
}

/* ===== BUSINESS SECTION ===== */
.business {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-gap: 0;
  padding: 0;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.business-left {
  background: var(--brand-navy); /* Dark blue/purple background */
  color: var(--bg-primary);
  padding: 32px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.business-left .subheading {
  font-size: 0.85rem;
  color: #8FB6FF;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.business-left h3 {
  color: var(--bg-primary);
  margin: 0 0 16px;
  font-size: 1.25rem;
  font-weight: 600;
}

.business-left p {
  color: #E2E8F0; /* Light grey text on dark background */
  line-height: 1.6;
  margin-bottom: 24px;
}

.button-container {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.business-right {
  min-height: 600px;
  height: 100%;
  padding: 0;
  margin: 0;
  background: #e9eef8 url('/images/BusinessWomanAndDrTalking.jpg') center/cover no-repeat;
}

/* ===== PORTFOLIO STYLES ===== */
.portfolio-header {
  padding: 60px 20px 40px;
  text-align: center;
}

.portfolio-header h1 {
  font-size: 48px;
  color: var(--brand-navy);
  margin: 0 0 8px;
  font-weight: 800;
  line-height: 1.1;
}

.portfolio-header h2 {
  font-size: 32px;
  color: var(--brand-navy);
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
}

.property-list {
  padding: 0 20px 60px;
}

.property-item {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--bg-muted);
}

.property-item:last-child {
  border-bottom: none;
}

.property-image {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

.property-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.property-name {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--brand-navy);
  margin: 0 0 8px;
}

.property-address {
  font-size: var(--font-size-base);
  color: var(--brand-secondary);
  margin: 0 0 var(--space-lg);
}

.property-description {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin: 0 0 var(--space-xl);
  line-height: 1.6;
}

/* ===== CONTACT STYLES ===== */
.contact-section {
  padding: 120px 20px 60px 20px;
  min-height: 60vh;
  position: relative;
}

.contact-header {
  text-align: left;
  margin-bottom: 50px;
  max-width: 600px;
}

.contact-header h1 {
  font-size: 2.5rem;
  margin: 0 0 20px;
  color: var(--text-primary);
  font-weight: 700;
}

.contact-header h2 {
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  font-weight: 400;
  margin: 0;
}

/* Contact Content Layout - Two Columns */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  max-width: 1200px;
}

.content-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.content-column p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.content-column h3 {
  font-size: var(--font-size-xl);
  color: var(--text-primary);
  font-weight: 600;
  margin: 0 0 var(--space-md);
}

/* Contact Information Section - Traditional Layout */
.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  max-width: 800px;
}

.contact-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-muted);
  transition: all var(--transition-base);
}

.contact-info-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-secondary);
}

.contact-info-content {
  flex: 1;
}

.contact-info-content a {
  color: var(--brand-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--font-size-lg);
  transition: color var(--transition-base);
}

.contact-info-content a:hover {
  color: var(--brand-primary);
}

.contact-info-content span {
  line-height: 1.5;
}

.contact-info-label {
  min-width: 120px;
  text-align: right;
}

.contact-info-label span {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Left Column - Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.content-block h3 {
  font-size: var(--font-size-xl);
  color: var(--brand-primary);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.content-block p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: var(--font-size-base);
  margin-bottom: var(--space-md);
}

/* Right Column - Contact Form */
.contact-form-container {
  background: var(--bg-secondary);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  font-size: var(--font-size-xl);
  color: var(--brand-primary);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.contact-form > p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

/* Form Styles */
.rental-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  font-weight: 500;
  color: var(--text-primary);
  font-size: var(--font-size-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--space-md);
  border: 1px solid var(--bg-muted);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-base);
  transition: border-color var(--transition-base);
  background: var(--bg-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-secondary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Captcha Styles */
.captcha-group {
  background: var(--bg-primary);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  border: 1px solid var(--bg-muted);
}

.captcha-group p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

.captcha-options {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

.captcha-option {
  width: 48px;
  height: 48px;
  border: 2px solid var(--bg-muted);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
}

.captcha-option:hover {
  border-color: var(--brand-secondary);
  color: var(--brand-secondary);
}

.captcha-option.active {
  border-color: var(--brand-secondary);
  background: var(--brand-secondary);
  color: white;
}

/* Checkbox Styles */
.checkbox-group {
  margin-top: var(--space-md);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--brand-secondary);
}

/* ===== NEW CONTACT INFO GRID LAYOUT ===== */
.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  max-width: 800px;
}

.contact-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-lg);
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-muted);
  transition: all var(--transition-base);
}

.contact-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-secondary);
}

.contact-content-left {
  text-align: left;
}

.contact-content-left a {
  color: var(--brand-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--font-size-lg);
  transition: color var(--transition-base);
}

.contact-content-left a:hover {
  color: var(--brand-primary);
}

.contact-content-left p {
  margin: 0;
  line-height: 1.5;
}

.contact-title-right {
  text-align: right;
  min-width: 120px;
}

.contact-title-right h3 {
  font-size: var(--font-size-lg);
  color: var(--text-primary);
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.privacy-link {
  color: var(--brand-secondary);
  text-decoration: underline;
  transition: color var(--transition-base);
}

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

/* Submit Button */
.btn-submit {
  background: var(--brand-secondary);
  color: white;
  border: none;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-submit:hover {
  background: var(--brand-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.contact-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.contact-link:hover {
  text-decoration: none;
  color: inherit;
}

.contact-link:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* ===== DECORATIVE ELEMENTS ===== */
.dots {
  height: 140px;
  background: 
    radial-gradient(circle, var(--brand-primary) 6px, transparent 6px) 0 0/50px 50px;
  background-position: 0 0;
  opacity: 1;
  width: 100%;
  background-repeat: repeat;
}

.violet-decoration {
  position: fixed !important;
  bottom: 0 !important;
  right: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

.violet-decoration img {
  width: 180px !important;
  height: auto !important;
  opacity: 0.8 !important;
}

/* Responsive violet decoration */
@media (max-width: 768px) {
  .violet-decoration img {
    width: 120px !important;
  }
}

@media (max-width: 480px) {
  .violet-decoration img {
    width: 80px !important;
  }
}


/* ===== FOOTER ===== */
footer {
  background: var(--brand-navy);
  color: var(--bg-primary);
  padding: var(--space-lg) 20px;
  display: block !important;
  visibility: visible !important;
}

footer a {
  color: var(--bg-primary);
  text-decoration: none;
}

footer a:hover {
  color: var(--brand-secondary);
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.p-0 { padding: 0; }
.p-1 { padding: var(--space-xs); }
.p-2 { padding: var(--space-sm); }
.p-3 { padding: var(--space-md); }
.p-4 { padding: var(--space-lg); }
.p-5 { padding: var(--space-xl); }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 960px) {
  .nav-menu {
    display: none !important;
  }
  
  .language-selector {
    display: none !important;
  }
  
  .hamburger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.25rem;
    transition: all var(--transition-base);
    margin-left: auto;
    z-index: 10000; /* Ensure it's above the drawer */
    position: relative;
  }
  
  .drawer {
    display: block;
    position: fixed !important;
    z-index: 9999 !important;
  }
  
  /* Ensure hamburger is always visible and clickable */
  .hamburger {
    position: relative !important;
    z-index: 10000 !important;
  }
  
  .hamburger:hover {
    background: var(--hover-primary);
  }
  
  .hamburger:active {
    background: var(--bg-muted);
  }
  
  .menu {
    margin-left: auto;
    align-items: center;
    gap: 0.5rem;
  }
  
  .hero {
    min-height: auto; /* Remove fixed height on mobile */
    height: auto; /* Allow natural height */
    max-height: none;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  
  .hero-swiper {
    height: 54vh; /* Set carousel height */
    min-height: 432px;
    max-height: 540px;
  }
  
    .hero-card {
    position: relative; /* Change from absolute to relative */
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    max-width: none;
    padding: 20px;
    margin: 20px 16px;
    border-radius: var(--radius-lg);
  }
  
  /* Hide dots pattern on mobile */
  .dots {
    display: none;
  }
  
  
  .hero-card h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: 12px;
  }
  
  .hero-card p {
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
  }
  
  .business {
    grid-template-columns: 1fr;
  }
  
  .business-right {
    order: -1;
    min-height: 220px;
  }
  
  .brand-content {
    gap: 8px;
  }
  
  .brand-name {
    font-size: 1.25rem;
  }
  
  .brand-tagline {
    font-size: 0.7rem;
  }
  
  .property-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .property-image {
    height: 240px;
  }
  
  .portfolio-header h1 {
    font-size: 36px;
    line-height: 1.1;
  }
  
  .portfolio-header h2 {
    font-size: 28px;
    line-height: 1.2;
  }
  
  .contact-section {
    padding: 60px 20px;
  }
  
  .contact-header h1 {
    font-size: 2.5rem;
  }
  
  .contact-cards {
    gap: 20px;
  }
  
  .contact-card {
    padding: 20px;
    min-width: 240px;
  }
  
  /* Contact Content Responsive */
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .contact-form-container {
    padding: var(--space-lg);
  }
  
  .captcha-options {
    gap: var(--space-sm);
  }
  
  .captcha-option {
    width: 40px;
    height: 40px;
    font-size: var(--font-size-base);
  }
  
  .contact-card-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
  }
  
  /* Contact Content Responsive */
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  /* Contact Cards Responsive */
  .contact-cards {
    gap: 15px;
  }
  
  .contact-card {
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .nav {
    padding: var(--space-sm) var(--space-md);
  }
  
  .brand-logo {
    width: 48px;
    height: 48px;
  }
  
  .hero-card {
    padding: 20px;
  }
  
  .hero-card h2 {
    font-size: var(--font-size-2xl);
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .section-lg {
    padding: var(--space-2xl) 0;
  }
  
  .contact-cards {
    gap: 15px;
  }
  
  .contact-card {
    min-width: 200px;
  }
  
  /* Contact Info Grid Mobile */
  .contact-item {
    padding: var(--space-md);
  }
  
  .contact-content-left a {
    font-size: var(--font-size-base);
  }
  
  .contact-title-right h3 {
    font-size: var(--font-size-base);
  }
  
  .contact-card-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    color: var(--brand-secondary);
  }
  
  .contact-card-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .contact-header {
    text-align: center;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    width: 40px;
    height: 40px;
  }
  
  .hero {
    min-height: auto; /* Remove fixed height on mobile */
    height: auto; /* Allow natural height */
    max-height: none;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  
  .hero-swiper {
    height: 45vh; /* Set carousel height */
    min-height: 360px;
    max-height: 400px;
  }
  
    .hero-card {
    position: relative; /* Change from absolute to relative */
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    max-width: none;
    padding: 16px;
    margin: 16px 12px;
    border-radius: var(--radius-lg);
  }
  
  /* Hide dots pattern on small mobile */
  .dots {
    display: none;
  }
  
  
  .hero-card h2 {
    font-size: var(--font-size-xl);
    margin-bottom: 8px;
  }
  
  .hero-card p {
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.4;
  }
  
  .arrow {
    width: 28px;
    height: 28px;
  }
  
  .arrow.prev {
    left: 8px;
  }
  
  .arrow.next {
    right: 8px;
  }
  
  .carousel-indicators {
    bottom: 12px;
    right: 12px;
  }
  
  .contact-header h1 {
    font-size: 2rem;
  }
  
  .contact-header h2 {
    font-size: var(--font-size-lg);
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .contact-cards {
    gap: 15px;
  }
  
  .contact-card {
    min-width: 200px;
    padding: 18px;
  }
  
  .contact-card-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    color: var(--brand-secondary);
  }
  
  .contact-card-icon i {
    font-size: 20px;
  }
  
  .contact-form-container {
    padding: var(--space-md);
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: var(--space-sm);
  }
  
  .captcha-option {
    width: 36px;
    height: 36px;
    font-size: var(--font-size-sm);
  }
  
  .portfolio-header h1 {
    font-size: 28px;
    line-height: 1.1;
  }
  
  .portfolio-header h2 {
    font-size: 24px;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
.btn:focus {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Remove focus outline from menu items to prevent unwanted rectangles */
.menu a:focus,
.dropdown a:focus {
  outline: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000000;
    --text-secondary: #333333;
    --bg-primary: #ffffff;
    --bg-secondary: #f0f0f0;
  }
}

/* ===== PORTFOLIO SPECIFIC STYLES ===== */



/* Portfolio title section */
.portfolio-title-section {
  padding: 120px 20px 40px;
  text-align: center;
  background: var(--bg-primary);
}

.portfolio-title-section h1 {
  font-size: 48px;
  color: var(--brand-primary);
  margin: 0;
  font-weight: 700;
  font-family: var(--font-family);
}

/* Portfolio grid section */
.portfolio-grid-section {
  padding: 0 20px 80px;
  background: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.portfolio-card {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.portfolio-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.city-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.count-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.count-wrapper i {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.count {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
}

/* Responsive design */
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .portfolio-title-section h1 {
    font-size: 36px;
  }
  

}

/* Stats section */
.stats-section {
  padding: 120px 20px 60px 20px;
  background: var(--bg-secondary);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-item h3 {
  font-size: 48px;
  color: var(--brand-primary);
  margin: 0 0 8px;
  font-weight: 800;
}

.stat-item p {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 500;
}

/* ===== PAGE HEADER STYLES ===== */
.page-header {
  padding: 120px 20px 60px 20px;
  text-align: center;
  background: var(--bg-secondary);
}

.page-header h1 {
  font-size: 2.5rem;
  margin: 0 0 20px;
  color: var(--brand-navy);
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== WHAT WE DO SECTION ===== */
.what-we-do {
  padding: 140px 20px 80px 20px;
  position: relative;
  background: var(--bg-primary);
  min-height: 100vh;
}

.what-we-do .content-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.what-we-do .content-text {
  flex: 1;
  max-width: 100%;
  padding-right: 0;
}

.what-we-do .content-text h2 {
  font-size: 2.5rem;
  margin: 0 0 30px;
  color: var(--brand-primary);
  font-weight: 700;
  line-height: 1.2;
}

.what-we-do .content-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 25px;
  max-width: 100%;
}

.what-we-do .content-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(10, 20, 60, 0.15);
  margin-top: 30px;
  position: relative;
  z-index: 2;
}

.what-we-do .content-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}



/* ===== OUR BUSINESS SECTION ===== */
.our-business {
  padding: 120px 20px 60px 20px;
  position: relative;
}

.content-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
}

.content-text h2 {
  font-size: 2rem;
  margin: 0 0 20px;
  color: var(--brand-navy);
  padding-top: 0;
}

.content-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.content-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(10, 20, 60, 0.15);
}

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

/* Circular image for our-business section */
.our-business .content-image {
  border-radius: 50%;
  width: 400px;
  height: 400px;
  margin: 0;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.our-business .content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}





/* ===== OUR TEAM SECTION ===== */
.our-team {
  padding: 140px 20px 80px 20px;
  background: var(--bg-primary);
}

.our-team h2 {
  text-align: left;
  font-size: 2.5rem;
  margin: 0 0 60px;
  color: var(--brand-primary);
  font-weight: 700;
  line-height: 1.2;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.team-member:hover {
  transform: translateY(-2px);
}

.team-member:hover .team-member-avatar {
  border-color: var(--brand-primary);
}

.team-member-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #E2E8F0;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 1.8rem;
  font-weight: 700;
  border: 3px solid #E2E8F0;
  overflow: hidden;
  transition: all var(--transition-base);
}

.team-member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-member h3 {
  margin: 0 0 12px;
  color: var(--brand-primary);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.team-member .title {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 18px;
  line-height: 1.4;
  font-weight: 500;
}

.team-contact-links a {
  color: #2563EB;
  text-decoration: underline;
  font-size: 1rem;
  transition: color var(--transition-base);
  font-weight: 500;
}

.team-contact-links a:hover {
  color: #1D4ED8;
}

/* ===== TEAM MODAL STYLES ===== */
.team-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.team-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.3s ease;
}

.team-modal.active .modal-content {
  transform: scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  z-index: 10;
}

.modal-close:hover {
  background: var(--hover-primary);
  color: var(--text-primary);
}

.modal-body {
  display: flex;
  gap: 30px;
  padding: 40px;
}

.modal-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}

.modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.modal-info {
  flex: 1;
}

.modal-name {
  font-size: 1.8rem;
  margin: 0 0 8px;
  color: var(--brand-navy);
  font-weight: 700;
}

.modal-title {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 500;
}

.modal-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.modal-email {
  color: #2563EB;
  text-decoration: underline;
  font-size: 1rem;
  display: inline-block;
}

.modal-email:hover {
  color: #1D4ED8;
}

/* ===== OUR BUSINESS SPECIFIC STYLES ===== */
.subheading {
  font-size: 1.1rem;
  color: var(--brand-secondary);
  margin-bottom: 20px;
  font-weight: 500;
}

.content-text .subheading {
  font-size: 1.1rem;
  color: var(--brand-secondary);
  margin-bottom: 20px;
  font-weight: 500;
}

/* ===== Second Section with Large Image ===== */
.second-section {
  position: relative;
  margin-bottom: 60px;
}

.large-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
}

.overlay-text {
  position: absolute;
  bottom: 40px;
  right: 40px;
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: var(--radius-lg);
  max-width: 400px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.overlay-text .subheading {
  font-size: 1.1rem;
  color: var(--brand-secondary);
  margin-bottom: 15px;
  text-align: left;
}

.overlay-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  .what-we-do .content-grid {
    flex-direction: column;
    gap: 40px;
  }
  
  .what-we-do .content-text {
    flex: 1;
    max-width: 100%;
    padding-right: 0;
  }
  
  .what-we-do .content-text h2 {
    font-size: 2rem;
  }
  
  .what-we-do .content-text p {
    font-size: 1rem;
  }
  

  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .our-team h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .team-member-avatar {
    width: 120px;
    height: 120px;
  }
  
  .team-member h3 {
    font-size: 1.2rem;
  }
  
  .team-member .title {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .what-we-do,
  .our-team {
    padding: 40px 20px;
  }
  
  .what-we-do .content-text h2 {
    font-size: 1.8rem;
  }
  
  .our-team h2 {
    font-size: 1.8rem;
  }
  
  .team-member-avatar {
    width: 80px;
    height: 80px;
  }
}

/* ===== MOBILE SUBMENU STYLES ===== */
.mobile-menu-item {
  position: relative;
}

.mobile-submenu {
  display: none;
  padding: 0.5rem 0;
  padding-left: 20px;
  margin-top: 10px;
  border-left: 2px solid var(--bg-muted);
}

.mobile-menu-item.open .mobile-submenu {
  display: block;
}

.mobile-submenu a {
  display: block;
  padding: 8px 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
}

.mobile-submenu a:hover {
  color: var(--brand-secondary);
}

/* ===== RESPONSIVE DESIGN UPDATES ===== */
@media (max-width: 960px) {
  
  .stat-item h3 {
    font-size: 36px;
  }
  
  .content-grid {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .what-we-do .content-grid {
    flex-direction: column;
    gap: 30px;
    text-align: left;
  }
  
  .our-business .content-image {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }
  

  

  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .team-member-avatar {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }
  
  .modal-body {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 30px 20px;
  }
  
  .modal-avatar {
    width: 100px;
    height: 100px;
    font-size: 2rem;
  }
  
  .modal-name {
    font-size: 1.5rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .content-text h2 {
    font-size: 1.5rem;
  }
  
  .overlay-text {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    margin-top: -60px;
    margin-left: 20px;
    margin-right: 20px;
  }
}

/* Print styles */
@media print {
  .header,
  .hamburger,
  .arrow,
  .carousel-indicators,

  
  .hero {
    min-height: auto;
  }
  
  .hero-card {
    position: static;
    transform: none;
    margin: var(--space-lg) 0;
  }
}
@media (min-width: 992px) {
  .hero {
    /* Match the ratio of your cropped desktop image */
    aspect-ratio: 1920 / 820;
    width: 100%;
    height: auto;               /* Let aspect-ratio decide the height */
    min-height: 0;              /* Remove forced min height */
    max-height: 720px;          /* Reduced by 10% from 800px */
  }

  /* Ensure all hero slide wrappers use hero's height */
  .hero-track,
  .slides,
  .slide { 
    height: 100%;
  }

  .slide img {
    min-width: 0;
    min-height: 0;
    object-fit: cover;
    object-position: 50% 35%;   /* Adjust if you want more top/bottom visible */
  }
}

/* Contact Cards Layout */
.contact-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: var(--space-2xl);
  flex-wrap: wrap;
  padding: 0 20px;
}

.contact-card {
  background: var(--bg-primary);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  text-align: left;
  box-shadow: none;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 320px;
  max-width: 380px;
}

.contact-card:hover {
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #CBD5E1;
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--text-primary);
  flex-shrink: 0;
  flex: 0 0 60px;
}

.contact-card-icon i {
  font-size: 24px;
  color: inherit;
}

.contact-card-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--text-primary);
  font-weight: 600;
}

.contact-card p {
  color: var(--brand-secondary);
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: normal;
}

.contact-card .email-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-card .address-text {
  line-height: 1.5;
}

.contact-card a {
  text-decoration: none;
  color: inherit;
}

.contact-card a:hover {
  text-decoration: none;
  color: inherit;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
  .contact-section {
    padding: 100px 15px 40px 15px;
  }
  
  .contact-header {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .contact-header h1 {
    font-size: 2rem;
  }
  
  .contact-header h2 {
    font-size: 1.1rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
  }
  
  .contact-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: var(--space-xl);
  }
  
  .contact-card {
    min-width: 100%;
    max-width: 100%;
    padding: 20px;
  }
  
  .contact-card-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
  }
  
  .contact-card-icon i {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 80px 10px 30px 10px;
  }
  
  .contact-header h1 {
    font-size: 1.8rem;
  }
  
  .contact-card {
    padding: 15px;
    gap: 15px;
  }
  
  .contact-card-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }
  
  .contact-card-icon i {
    font-size: 18px;
  }
  
  .contact-card h3 {
    font-size: 1rem;
  }
  
  .contact-card p {
    font-size: 0.9rem;
    word-break: keep-all;
    overflow-wrap: normal;
  }
  
  .contact-card .email-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .contact-card .address-text {
    line-height: 1.5;
  }
}

/* Add padding to body to account for fixed header */
body {
  padding-top: 56px; /* Reduced header height */
}

/* Mobile header height reduction */
@media (max-width: 768px) {
  body {
    padding-top: 48px; /* Even smaller header on mobile */
  }
  
  .nav-container {
    height: 48px !important; /* Reduced from 100px */
    padding: 8px 0;
  }
  
  .site-logo {
    width: 120px; /* Smaller logo on mobile */
    height: 24px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 44px; /* Smallest header on very small screens */
  }
  
  .nav-container {
    height: 44px !important;
    padding: 6px 0;
  }
  
  .site-logo {
    width: 100px;
    height: 20px;
  }
}

/* Legal Content Styles */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl) 0;
  line-height: 1.6;
}

.legal-content h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
  text-align: center;
}

.legal-content h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin: var(--space-xl) 0 var(--space-md) 0;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: var(--space-sm);
}

.legal-content h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin: var(--space-lg) 0 var(--space-sm) 0;
}

.legal-content p {
  margin-bottom: var(--space-md);
  text-align: justify;
}

.legal-content ul {
  margin: var(--space-md) 0;
  padding-left: var(--space-lg);
}

.legal-content li {
  margin-bottom: var(--space-sm);
}

.legal-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--secondary-color);
}

.legal-content strong {
  font-weight: 600;
}

/* Mobile responsive legal content */
@media (max-width: 768px) {
  .legal-content {
    padding: var(--space-lg) var(--space-md);
  }
  
  .legal-content h1 {
    font-size: 2rem;
  }
  
  .legal-content h2 {
    font-size: 1.5rem;
  }
  
  .legal-content h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .legal-content {
    padding: var(--space-md) var(--space-sm);
  }
  
  .legal-content h1 {
    font-size: 1.8rem;
  }
  
  .legal-content h2 {
    font-size: 1.3rem;
  }
  
  .legal-content h3 {
    font-size: 1.1rem;
  }
}