/* ========== CSS CUSTOM PROPERTIES ========== */
:root {
  /* Brand Colors */
  --navy-deep:    #0D2545;
  --navy-mid:     #1A3C6B;
  --navy-light:   #2D70BA;
  --amber:        #F9A01B;
  --amber-light:  #FBBC56;
  --amber-glow:   rgba(249, 160, 27, 0.15);

  /* Surface Colors */
  --surface-light:  #F5F7FA;
  --surface-warm:   #FDF8EE;
  --surface-card:   #FFFFFF;
  --surface-dark:   #0D2545;

  /* Text */
  --text-primary:   #0D2545;
  --text-secondary: #3D5A80;
  --text-muted:     #6B7E99;
  --text-light:     #FFFFFF;

  /* UI */
  --border-light:   rgba(45, 112, 186, 0.12);
  --shadow-sm:      0 2px 8px rgba(13, 37, 69, 0.08);
  --shadow-md:      0 8px 24px rgba(13, 37, 69, 0.12);
  --shadow-lg:      0 20px 48px rgba(13, 37, 69, 0.18);
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      24px;

  /* Gradients */
  --grad-amber:   linear-gradient(135deg, #F9A01B 0%, #E8850A 100%);
  --grad-navy:    linear-gradient(135deg, #0D2545 0%, #1A3C6B 100%);
  --grad-hero:    linear-gradient(to right, rgba(13, 37, 69, 0.97) 0%, rgba(13, 37, 69, 0.82) 50%, rgba(13, 37, 69, 0.15) 100%);
  --grad-stripe:  linear-gradient(90deg, #F9A01B 0%, #2D70BA 100%);
}

/* ========== RESET & BASE STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--surface-light);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== HEADER STYLES ========== */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: all 0.35s ease;
}

.main-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(13, 37, 69, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 37, 69, 0.07);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.4rem 1.5rem 0.4rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Changed from flex-start */
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0; /* Prevents logo from shrinking */
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  transition: all 0.3s ease;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
  color: var(--amber);
}

.main-header.scrolled .mobile-menu-toggle {
  color: var(--navy-mid);
}

.main-nav {
  transition: all 0.3s ease;
  margin-left: auto; /* Pushes nav to the right */
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.4rem;
  align-items: center;
  flex-wrap: wrap;
  margin-left: auto; /* Additional push to right */
}

.nav-links li {
  position: relative;
}

.nav-links a,
.dropdown-toggle {
  text-decoration: none;
  font-weight: 500;
  background: none;
  border: none;
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
}

.main-header.scrolled .nav-links a,
.main-header.scrolled .dropdown-toggle {
  color: var(--navy-mid);
}

.main-header.scrolled .nav-links a:hover,
.main-header.scrolled .dropdown-toggle:hover {
  color: var(--amber);
}

.nav-links a:hover,
.dropdown-toggle:hover {
  color: var(--amber);
}

/* Active nav indicator */
.nav-links a::after,
.dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.dropdown-toggle:hover::after {
  transform: scaleX(1);
}

.dropdown-toggle i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #FFFFFF;
  list-style: none;
  padding: 0.6rem 0;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(13, 37, 69, 0.14), 0 2px 8px rgba(13, 37, 69, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.22s ease;
  z-index: 1001;
  border: 1px solid var(--border-light);
  border-top: 2px solid var(--amber);
}

.dropdown:first-child .dropdown-menu {
  min-width: 210px;
}

.dropdown:nth-child(2) .dropdown-menu {
  min-width: 155px;
  width: auto;
}

.dropdown:nth-child(3) .dropdown-menu,
.dropdown.dropdown-project .dropdown-menu {
  min-width: 155px;
  width: auto;
}

.dropdown-menu-right {
  left: 0;
  right: auto;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
}

.dropdown-menu a {
  color: var(--navy-mid);
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

/* Remove the ::after underline effect on dropdown links */
.dropdown-menu a::after {
  display: none;
}

.dropdown:nth-child(2) .dropdown-menu a,
.dropdown:nth-child(3) .dropdown-menu a,
.dropdown.dropdown-project .dropdown-menu a {
  padding: 0.6rem 0.9rem;
}

.dropdown-menu a:hover {
  background: var(--amber-glow);
  color: var(--amber);
  padding-left: 1.5rem;
}

.dropdown-menu a:hover::before {
  content: '—';
  color: var(--amber);
  font-size: 0.7rem;
  margin-right: 0.4rem;
  font-weight: 700;
}

.dropdown:nth-child(2) .dropdown-menu a:hover,
.dropdown:nth-child(3) .dropdown-menu a:hover,
.dropdown.dropdown-project .dropdown-menu a:hover {
  padding-left: 1.2rem;
}

.main-header.scrolled .dropdown-menu a {
  color: var(--navy-mid);
}

.main-header.scrolled .dropdown-menu a:hover {
  background: var(--amber-glow);
  color: var(--amber);
}

/* ========== HERO SECTION ========== */
#Hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--grad-hero);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  padding: 2rem;
}

/* Eyebrow label above heading */
.hero-content h2 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
  animation: fadeInLeft 1s ease;
}

.hero-content h1 {
  font-size: 3.4rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.15;
  animation: fadeInLeft 1s ease 0.2s both;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Amber highlight on last word */
.hero-content h1 span {
  color: var(--amber);
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 2.2rem;
  animation: fadeInLeft 1s ease 0.4s both;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  line-height: 1.75;
}

.video-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 2rem;
  background: var(--amber);
  border: 2px solid var(--amber);
  border-radius: 0;
  color: var(--navy-deep);
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: fadeInLeft 1s ease 0.6s both;
  text-transform: uppercase;
}


.video-btn:hover {
  background: transparent;
  color: var(--amber);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(249, 160, 27, 0.35);
}


@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ========== MODAL STYLES ========== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 15, 35, 0.92);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  background-color: transparent;
  margin: 0 auto;
  padding: 0;
  width: 90%;
  max-width: 1000px;
  border-radius: 0;
}

.close {
  position: absolute;
  right: -45px;
  top: -45px;
  color: #ffffff;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.1);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.2);
}

.close:hover {
  color: var(--amber);
  background: rgba(249, 160, 27, 0.15);
  transform: scale(1.1) rotate(90deg);
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.video-container video,
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  outline: none;
  border: none;
}

/* ========== SECTION SHARED ========== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

.section-title {
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  color: var(--navy-deep);
  margin-bottom: 1rem;
  position: relative;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: var(--grad-stripe);
  border-radius: 2px;
}

/* ========== ABOUT US SECTION ========== */
#AboutUs {
  padding: 110px 2rem 120px;
  background: var(--surface-light);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(13, 37, 69, 0.08);
}

/* Faint amber circle decoration — understated */
#AboutUs::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,160,27,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.asymmetrical-wrapper {
  display: flex;
  gap: 5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 3.5rem;
}

.about-images-wrapper {
  flex: 1.2;
  position: relative;
  min-height: 500px;
  min-width: 450px;
}

.about-image-col {
  position: absolute;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: none;
}

.about-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
}

.about-image-col-back {
  width: 380px;
  height: 340px;
  top: 0;
  left: 0;
  z-index: 1;
  transform: translateY(-20px);
  /* Navy border accent on back image */
  outline: 3px solid rgba(45, 112, 186, 0.25);
  outline-offset: 6px;
}

.about-image-col-front {
  width: 380px;
  height: 340px;
  bottom: -30px;
  right: 30px;
  z-index: 2;
  transform: translateY(20px);
  /* Amber border on front image — signature touch */
  outline: 3px solid var(--amber);
  outline-offset: 6px;
}

.content-container {
  flex: 1;
  min-width: 400px;
}

.content-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.title-underline {
  width: 60px;
  height: 3px;
  background: var(--grad-stripe);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.content-text {
  margin-bottom: 2rem;
}

.content-text p {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.content-text p:first-child {
  padding-left: 1.2rem;
  border-left: 2px solid var(--amber);
}

.highlight-text {
  background: var(--surface-warm);
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--amber);
  margin-top: 1rem;
  color: var(--navy-mid) !important;
}

/* ========== EXPERTISE SECTION ========== */
#ExpertiseSection {
  padding: 110px 2rem 120px;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
  padding-top: 110px;
}

#ExpertiseSection .container {
  position: relative;
  z-index: 2;
}

/* Override section-title for dark background */
#ExpertiseSection .section-title {
  color: #FFFFFF;
}

#ExpertiseSection .section-title::after {
  background: var(--grad-stripe);
}

/* Subtle grid lines on dark bg */
#ExpertiseSection::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 112, 186, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 112, 186, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 0;
  pointer-events: none;
}

.expertise-wrapper {
  display: flex;
  gap: 4rem;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 3.5rem;
}

.expertise-description {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.expertise-description h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.9rem;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.expertise-description > p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.expertise-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1;
}

.expertise-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  border-left: 3px solid var(--amber);
  border: 1px solid rgba(45, 112, 186, 0.2);
  border-left: 3px solid var(--amber);
}

.expertise-feature-item:hover {
  transform: translateX(5px);
  background: rgba(249, 160, 27, 0.08);
  border-color: rgba(249, 160, 27, 0.3);
  border-left-color: var(--amber);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.expertise-feature-item i {
  color: var(--amber);
  font-size: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.feature-content {
  flex: 1;
}

.feature-content strong {
  display: block;
  color: #FFFFFF;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.feature-content span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.expertise-slider-container {
  flex: 1;
  min-width: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.expertise-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
  height: 600px;
  min-height: 380px;
  /* Amber frame */
  outline: 2px solid rgba(249, 160, 27, 0.3);
  outline-offset: 4px;
}

.expertise-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.expertise-slide {
  min-width: 100%;
  position: relative;
  height: 100%;
  min-height: 380px;
}

.expertise-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expertise-dots {
  text-align: center;
  margin-top: 1.2rem;
}

.expertise-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.expertise-dot.active {
  background: var(--amber);
  transform: scale(1.3);
  width: 24px;
  border-radius: 4px;
}

/* ========== SPECIALIZED AREA SECTION ========== */
#SpecializedArea {
  min-height: auto;
  padding: 110px 2rem 120px;
  background: var(--surface-light);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(13, 37, 69, 0.08);
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 1.6rem auto 3.5rem auto;
  line-height: 1.7;
}

.business-grid-4x2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-bottom: 8px; /* absorbs the translateY(-8px) card hover lift */
}

.business-card {
  background: var(--surface-card);
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  height: 270px; /* fixed height prevents layout shift on description expand */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
}

/* Top amber bar that grows on hover */
.business-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-stripe);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.business-card:hover::before {
  transform: scaleX(1);
}

.business-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(249, 160, 27, 0.2);
}

.business-card i {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  display: block;
  color: var(--amber);
  filter: drop-shadow(0 2px 6px rgba(249, 160, 27, 0.25));
  transition: transform 0.3s ease, color 0.3s ease;
}

.business-card:hover i {
  transform: scale(1.12) translateY(-3px);
  color: var(--navy-mid);
}

.business-card h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  color: var(--navy-mid);
  font-weight: 600;
  line-height: 1.4;
  position: relative;
}

.card-description {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin 0.35s ease;
}

.business-card:hover .card-description {
  max-height: 100px;
  opacity: 1;
  margin-top: 0.5rem;
}

/* ========== CLIENTS SECTION ========== */
.clients-section {
  padding: 90px 2rem;
  background: var(--navy-deep);
  overflow: hidden;
  position: relative;
}

/* Match Expertise grid-line texture */
.clients-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 112, 186, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 112, 186, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 0;
  pointer-events: none;
}

.clients-slider-container {
  position: relative;
  z-index: 1;
}

.clients-section .section-title {
  margin-bottom: 3rem;
  color: #FFFFFF;
}

.clients-section .section-title::after {
  background: var(--grad-stripe);
}

.clients-slider-container {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.clients-slider-row {
  margin-bottom: 1.5rem;
  overflow: hidden;
  width: 100%;
}

.clients-slider-row:first-child {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(249, 160, 27, 0.2);
  margin-bottom: 0.75rem;
}

.clients-track {
  display: flex;
  gap: 1.5rem;
  width: fit-content;
}

.track-1 {
  animation: scrollRight 35s linear infinite;
}

.track-2 {
  animation: scrollLeft 35s linear infinite;
}

.clients-slide {
  flex: 0 0 auto;
  width: 180px;
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  filter: grayscale(30%);
}

.clients-slide:hover {
  transform: scale(1.06) translateY(-3px);
  box-shadow: var(--shadow-md);
  filter: grayscale(0%);
  border-color: rgba(249, 160, 27, 0.3);
}

.clients-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes scrollRight {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollLeft {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ========== SERVICES SECTION ========== */
#Services {
  padding: 110px 2rem 120px;
  background: var(--surface-light);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(13, 37, 69, 0.08);
}

.services-new-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

.service-column.column-up {
  transform: translateY(-30px);
}

.service-column.column-down {
  transform: translateY(30px);
}

.service-image-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-image-item {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Amber sweep on image hover */
.service-image-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(249, 160, 27, 0.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-image-item:hover::after {
  opacity: 1;
}

.image-placeholder {
  width: 100%;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--grad-navy);
  color: var(--amber-light);
  gap: 15px;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-column.column-content {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

/* Amber corner accent on content card */
.service-column.column-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-stripe);
}

.service-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 1rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.service-description {
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.service-features li i {
  color: var(--amber);
  font-size: 1rem;
  flex-shrink: 0;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad-navy);
  color: white;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  width: fit-content;
  border: 1px solid rgba(45, 112, 186, 0.3);
}

.service-btn i {
  transition: transform 0.3s ease;
}

.service-btn:hover {
  background: var(--grad-amber);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(249, 160, 27, 0.3);
  border-color: transparent;
}

.service-btn:hover i {
  transform: translateX(5px);
}

/* ========== FOOTER STYLES ========== */
.footer {
  background: var(--navy-deep);
  color: #f0f4f8;
  padding: 3.5rem 0 0 0;
  position: relative;
  padding-top: 3.5rem;
}

.footer-top {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding-bottom: 2.5rem;
}

.footer-about {
  flex: 1.2;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  width: 360px;
  height: auto;
  display: block;
}

.footer-addresses {
  width: 100%;
  margin-bottom: 1.5rem;
}

.address-item {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}

.address-item i {
  color: var(--amber);
  font-size: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.address-details {
  flex: 1;
}

.address-details strong {
  display: block;
  font-size: 0.7rem;
  color: var(--amber);
  margin-bottom: 0.2rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.address-details p {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  font-size: 1.3rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
  background: var(--amber);
  color: var(--navy-deep);
  transform: translateY(-3px);
  border-color: var(--amber);
}

.footer-links-group {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  margin-right: 2rem;
}

.footer-links h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  color: var(--amber);
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.6rem;
}

.footer-links ul li a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease, padding 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links ul li a:hover {
  color: var(--amber);
}

.copyright {
  text-align: center;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.02em;
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--amber);
  color: var(--navy-deep);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(249, 160, 27, 0.4);
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  transform: translateY(-5px);
  background: var(--amber-light);
  box-shadow: 0 10px 30px rgba(249, 160, 27, 0.5);
}

.back-to-top-btn:active {
  transform: scale(0.95);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
  .about-image-col-back,
  .about-image-col-front {
    width: 340px;
    height: 300px;
  }

  .about-image-col-front {
    right: 20px;
    bottom: -20px;
  }

  .about-images-wrapper {
    min-height: 460px;
    min-width: 400px;
  }

  .business-grid-4x2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .expertise-slider {
    min-height: 350px;
  }
}

@media (max-width: 992px) {
  .asymmetrical-wrapper {
    flex-direction: column;
    gap: 4rem;
  }

  .expertise-wrapper {
    flex-direction: column;
  }

  .about-images-wrapper {
    min-width: 100%;
    min-height: 480px;
    margin-bottom: 2rem;
  }

  .about-image-col-back {
    width: 350px;
    height: 310px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    top: 0;
  }

  .about-image-col-front {
    width: 350px;
    height: 310px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    right: auto;
  }

  .content-container {
    min-width: 100%;
    text-align: center;
  }

  .title-underline {
    margin: 0 auto 1.5rem;
  }

  .business-grid-4x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .services-new-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-column.column-up,
  .service-column.column-down {
    transform: translateY(0);
  }

  .service-image-stack {
    flex-direction: row;
    gap: 1rem;
  }

  .service-image-item {
    flex: 1;
  }

  .service-column.column-content {
    order: 3;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-about {
    align-items: flex-start;
    width: 100%;
  }

  .footer-links-group {
    margin-right: 0;
    justify-content: flex-start;
  }

  .footer-links h4::after {
    left: 0;
    transform: none;
  }

  .expertise-slider {
    min-height: 320px;
  }

  .back-to-top-btn {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 768px) {
  #AboutUs,
  #ExpertiseSection,
  #SpecializedArea,
  #Services {
    padding: 70px 1rem 80px;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
    white-space: normal;
  }

  .hero-content h2 {
    font-size: 0.85rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .video-btn {
    font-size: 0.9rem;
    padding: 0.75rem 1.6rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .content-title {
    font-size: 1.75rem;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background: var(--navy-deep);
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    border-right: 1px solid rgba(249, 160, 27, 0.2);
    margin-left: 0; /* Reset margin for mobile */
  }

  .main-header.scrolled .main-nav {
    background: var(--navy-deep);
  }

  .main-nav.active {
    left: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0.5rem;
    margin-left: 0; /* Reset margin for mobile */
  }

  .nav-links a,
  .dropdown-toggle {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    line-height: 1.4;
    width: 100%;
    justify-content: space-between;
    color: rgba(255,255,255,0.9);
  }

  .nav-links a::after,
  .dropdown-toggle::after {
    display: none;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-menu,
  .dropdown:first-child .dropdown-menu,
  .dropdown:nth-child(2) .dropdown-menu,
  .dropdown:nth-child(3) .dropdown-menu,
  .dropdown.dropdown-project .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.06);
    margin-top: 0.5rem;
    margin-left: 0;
    margin-bottom: 0.5rem;
    box-shadow: none;
    display: none;
    width: 100%;
    min-width: 100%;
    padding: 0.5rem 0;
    border-radius: var(--radius-sm);
    border: none;
    border-top: none;
  }

  .dropdown-menu.active {
    display: block;
  }

  .dropdown-menu li {
    width: 100%;
  }

  .dropdown-menu a {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
    white-space: normal;
    width: 100%;
  }

  .dropdown-menu a:hover {
    background: rgba(249, 160, 27, 0.12);
    color: var(--amber);
    padding-left: 1.2rem;
  }

  .dropdown-menu a:hover::before {
    display: none;
  }

  .dropdown-toggle i {
    font-size: 0.85rem;
  }

  .about-images-wrapper {
    min-height: 400px;
  }

  .about-image-col-back,
  .about-image-col-front {
    width: 280px;
    height: 250px;
  }

  .about-image-col-back {
    transform: translateX(-50%) translateY(-15px);
  }

  .about-image-col-front {
    transform: translateX(-50%) translateY(15px);
  }

  .expertise-slider {
    min-height: 280px;
  }

  .business-grid-4x2 {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .business-card {
    min-height: auto;
    padding: 1.5rem;
  }

  .clients-slide {
    width: 140px;
    height: 80px;
  }

  .close {
    right: -30px;
    top: -30px;
    width: 40px;
    height: 40px;
    font-size: 26px;
  }

  .footer-logo img {
    width: 250px;
  }

  .address-item i {
    font-size: 1rem;
  }

  .address-details p {
    font-size: 0.78rem;
  }

  .back-to-top-btn {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.5rem 1rem;
  }

  .header-logo {
    width: 52px;
    height: 52px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content h2 {
    font-size: 0.75rem;
  }

  .hero-content p {
    font-size: 0.88rem;
  }

  .video-btn {
    font-size: 0.85rem;
    padding: 0.7rem 1.4rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .content-title {
    font-size: 1.4rem;
  }

  .about-images-wrapper {
    min-height: 350px;
  }

  .about-image-col-back,
  .about-image-col-front {
    width: 240px;
    height: 215px;
  }

  .expertise-slider {
    min-height: 240px;
  }

  .footer-logo img {
    width: 200px;
  }

  .main-nav {
    top: 70px;
    height: calc(100vh - 70px);
  }

  .nav-links a,
  .dropdown-toggle {
    font-size: 1rem;
    padding: 0.65rem 0;
  }

  .dropdown-menu a {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
  }

  .close {
    right: -25px;
    top: -25px;
    width: 35px;
    height: 35px;
    font-size: 22px;
  }

  .footer-links-group {
    gap: 2rem;
  }

  .back-to-top-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    bottom: 15px;
    right: 15px;
  }
}