/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Remove focus outlines from all interactive elements */
button:focus,
button:focus-visible,
a:focus,
a:focus-visible,
input:focus,
textarea:focus,
select:focus,
.btn:focus,
.text-btn:focus,
button:active,
button:focus:active,
*:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Keep borders for specific buttons that need them */
.cta-button:focus,
.icon-btn:focus {
  outline: none !important;
}

/* Remove focus outlines but keep accessibility for keyboard users */
button:focus-visible,
a:focus-visible,
.btn:focus-visible,
.cta-button:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* KFM Holding Minimalistic Design System */
:root {
  /* Primary Fonts */
  --primary-font: "Zen Antique Soft", "Montserrat", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --secondary-font: "Zen Antique Soft", "Lato", "Open Sans", -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Minimalistic Color Palette */
  --primary-dark: #1a1a1a;
  --secondary-dark: #333333;
  --navy-blue: #142132;
  --accent-gold: #a68b5c;
  --light-gold: #f4e6a1;
  --neutral-gray: #666666;
  --light-gray: #f8f9fa;
  --border-light: #e9ecef;
  --background-white: #ffffff;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --text-lighter: #999999;

  /* Minimal Shadows and Effects */
  --box-shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05);
  --box-shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
  --border-gold: 1px solid var(--accent-gold);
  --border-light: 1px solid var(--border-light);

  /* Smooth Transitions */
  --transition-smooth: all 0.2s ease;
  --transition-fast: all 0.15s ease;
}

body {
  font-family: var(--secondary-font);
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--background-white);
  font-weight: 400;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Page Load Animations */
@keyframes headerSlideIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes heroContentSlideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  box-sizing: border-box;
}

/* Clean Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1.5rem;
  font-family: var(--primary-font);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 300;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 400;
}

h4 {
  font-size: 1.1rem;
  font-weight: 500;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 300;
}

/* Minimalist Header and Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  border-bottom: none;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.3s ease;
  /* Initial animation state */
  animation: headerSlideIn 1s ease-out 0.2s both;
}

/* Header hover effect - becomes white when interacted with */
header:hover {
  background-color: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: var(--border-light);
  box-shadow: var(--box-shadow-subtle);
}

header:hover .nav-logo .logo-negative {
  opacity: 0;
}

header:hover .nav-logo .logo-positive {
  opacity: 1;
}

header:hover .nav-link {
  color: var(--text-light);
  text-shadow: none;
}

header:hover .nav-link:hover {
  color: var(--text-dark);
}

header:hover .bar {
  background-color: var(--text-dark);
}

/* Header when scrolled */
header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: var(--border-light);
  box-shadow: var(--box-shadow-subtle);
}

/* Header visible state */
header:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure transitions work after initial animation */
header.transitions-ready {
  animation: none;
}

/* Header text colors for transparent state */

header .nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

header .nav-link:hover {
  color: white;
}

/* Header text colors for scrolled state */

header.scrolled .nav-link {
  color: var(--text-light);
  text-shadow: none;
}

header.scrolled .nav-link:hover {
  color: var(--text-dark);
}

header.scrolled .bar {
  background-color: var(--text-dark);
}

.navbar {
  padding: 1.5rem 0;
}

.nav-container {
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav-logo a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.nav-logo img {
  height: 50px;
  width: auto;
  transition: opacity 0.4s ease;
  display: block;
}

.nav-logo .logo-negative {
  opacity: 1;
  position: relative;
}

.nav-logo .logo-positive {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}

header.scrolled .nav-logo .logo-negative {
  opacity: 0;
}

header.scrolled .nav-logo .logo-positive {
  opacity: 1;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-item {
  margin-left: 3rem;
}

.nav-link {
  text-decoration: none;
  white-space: nowrap;
  font-weight: 300;
  font-size: 0.9rem;
  position: relative;
  padding: 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

@media (hover: hover) {
  .nav-link:hover {
    color: var(--accent-gold);
  }

  .nav-link:hover::after {
    width: 100%;
  }
}

/* Remove focus states from navigation links */
.nav-link:focus,
.nav-link:focus-visible {
  outline: none !important;
  color: inherit !important;
}

.nav-link:focus::after {
  width: 0 !important;
}

/* Active navigation link (current page) */
.nav-link.active {
  color: var(--accent-gold);
}

.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.9);
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* Minimalist Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  color: var(--accent-gold);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-lighter);
  margin-top: 1rem;
  font-weight: 300;
  line-height: 1.6;
}

/* Clean CTA Buttons */
.cta-button {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 0;
  font-weight: 400;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  font-family: var(--primary-font);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
}

.cta-button.primary {
  background: var(--text-dark);
  color: white;
  border: 1px solid var(--text-dark);
}

@media (hover: hover) {
  .cta-button.primary:hover {
    background: transparent;
    color: var(--text-dark);
  }
}

.cta-button.secondary {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--text-dark);
}

@media (hover: hover) {
  .cta-button.secondary:hover {
    background: var(--text-dark);
    color: white;
  }
}

.cta-button.large {
  padding: 16px 40px;
  font-size: 1rem;
}

/* Hero Discover Button - Transparent with Gold Border */
.cta-button.hero-discover {
  background: transparent;
  color: white;
  border: 2px solid var(--accent-gold);
  padding: 16px 40px;
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 300;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
  outline: none;
}

@media (hover: hover) {
  .cta-button.hero-discover:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
    text-shadow: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    border: 2px solid var(--accent-gold);
  }
}

.cta-button.hero-discover:focus {
  border: 2px solid var(--accent-gold);
  outline: none;
}

.cta-button.hero-discover:active {
  border: 2px solid var(--accent-gold);
  background: rgba(166, 139, 92, 0.8);
}

/* Hero Contact Button - Golden CTA */
.cta-button.hero-contact {
  background: var(--accent-gold);
  color: var(--text-dark);
  border: 2px solid var(--accent-gold);
  padding: 16px 40px;
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 400;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
  outline: none;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

@media (hover: hover) {
  .cta-button.hero-contact:hover {
    background: #b8962b;
    border-color: #b8962b;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
  }
}

.cta-button.hero-contact:focus {
  border: 2px solid var(--accent-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.cta-button.hero-contact:active {
  background: #a68a28;
  border-color: #a68a28;
  transform: translateY(0);
}

/* Minimalist Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 0;
}

/* Elegant Hero-About Transition Spacer */
.hero-about-spacer {
  background: #ffffff;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.spacer-content {
  text-align: center;
  max-width: 400px;
}

.scroll-indicator {
  display: block;
  font-size: 14px;
  color: #999999;
  font-weight: 300;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  animation: gentle-bounce 2s ease-in-out infinite;
}

.heritage-tagline {
  font-size: 13px;
  color: var(--accent-gold);
  font-weight: 300;
  letter-spacing: 0.8px;
  margin: 0;
  text-transform: uppercase;
  opacity: 0.8;
}

@keyframes gentle-bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-3px);
  }
  60% {
    transform: translateY(-2px);
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 33, 50, 0.5);
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content {
  color: white;
  /* Initial animation state */
  opacity: 0;
  transform: translateY(50px);
  animation: heroContentSlideUp 1.2s ease-out 0.8s forwards;
}

.hero-logo h1 {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-family: var(--primary-font);
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 3rem;
  color: white;
}

.hero-slogan {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--accent-gold);
  font-weight: 300;
  font-family: var(--primary-font);
  font-style: italic;
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4rem;
  line-height: 1.6;
  font-weight: 300;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: var(--box-shadow-subtle);
}

.hero-quote {
  text-align: center;
  margin-top: 6rem;
  position: relative;
}

.hero-quote blockquote {
  font-size: 1.1rem;
  color: var(--text-lighter);
  font-style: italic;
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  padding-top: 2rem;
}

.hero-quote blockquote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--accent-gold);
}

/* Elegant Split-Screen About Section */
.about-split {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  padding-top: 80px;
  padding-bottom: 80px;
}

.about-content {
  display: flex;
  width: 100%;
  min-height: 60vh;
  max-height: 80vh;
}

/* Left side - Image */
.about-image-side {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
}

.about-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Right side - Text */
.about-text-side {
  flex: 0 0 55%;
  display: flex;
  align-items: center;
  padding: 80px 60px;
  background: #ffffff;
}

.about-text-content {
  max-width: 500px;
  width: 100%;
}

.about-text-content h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--navy-blue);
  margin-bottom: 40px;
  line-height: 1.3;
}

.about-paragraphs {
  margin-bottom: 40px;
}

.about-paragraphs p {
  font-size: 17px;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 24px;
  font-weight: 400;
}

.about-paragraphs p:last-child {
  margin-bottom: 0;
}

.quote-divider {
  width: 60px;
  height: 1px;
  background: var(--accent-gold);
  margin: 40px 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease-out 0.8s;
}

.quote-divider.animate-in {
  transform: scaleX(1);
}

.founders-quote {
  font-size: 17px;
  line-height: 1.8;
  color: #555555;
  font-style: italic;
  margin: 0;
  font-weight: 400;
}

/* About Section Animation Elements - More visible animations */
.about-animate-image {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.about-animate-text {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
  transition-delay: 0.2s;
}

.about-animate-quote {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
  transition-delay: 0.4s;
}

/* Animation states when elements are in view or on page load */
.about-animate-image.animate-in,
.about-animate-text.animate-in,
.about-animate-quote.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Accessibility: Show content immediately if animations are disabled */
@media (prefers-reduced-motion: reduce) {
  .about-animate-image,
  .about-animate-text,
  .about-animate-quote {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Expertise Section Animation Elements */
.expertise-header-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.expertise-intro-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: 0.2s;
}

.expertise-card-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Staggered delays for expertise cards */
.expertise-card-animate:nth-child(1) {
  transition-delay: 0.3s;
}
.expertise-card-animate:nth-child(2) {
  transition-delay: 0.4s;
}
.expertise-card-animate:nth-child(3) {
  transition-delay: 0.5s;
}
.expertise-card-animate:nth-child(4) {
  transition-delay: 0.6s;
}
.expertise-card-animate:nth-child(5) {
  transition-delay: 0.7s;
}
.expertise-card-animate:nth-child(6) {
  transition-delay: 0.8s;
}

/* Animation states when elements are in view */
.expertise-header-animate.animate-in,
.expertise-intro-animate.animate-in,
.expertise-card-animate.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Accessibility for expertise animations */
@media (prefers-reduced-motion: reduce) {
  .expertise-header-animate,
  .expertise-intro-animate,
  .expertise-card-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Our Approach Section Animation Elements */
.approach-header-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.approach-slider-left-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: 0.2s;
}

.approach-slider-right-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: 0.3s;
}

.approach-controls-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: 0.4s;
}

/* Animation states when elements are in view */
.approach-header-animate.animate-in,
.approach-slider-left-animate.animate-in,
.approach-slider-right-animate.animate-in,
.approach-controls-animate.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Accessibility for approach animations */
@media (prefers-reduced-motion: reduce) {
  .approach-header-animate,
  .approach-slider-left-animate,
  .approach-slider-right-animate,
  .approach-controls-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Section Title Animated Lines */
.section-title-animate {
  position: relative;
}

.section-title-animate::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease-out 0.8s;
}

/* Animate the line when title is in view */
.section-title-animate.animate-in::after {
  transform: scaleX(1);
}

/* Section Title Animated Lines */
.section-title-center {
  position: relative;
  display: inline-block; /* keeps underline width aligned with text */
  text-align: center;
}

/* Initial state (before animation) */
.section-title-center::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1rem;
  width: 60px;
  height: 2px;
  background: var(--accent-gold);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.6s ease-out 0.8s, opacity 0.6s ease-out 0.8s;
}

/* When title fades in */
.section-title-center.animate-in::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

/* Section Title Responsive - behaves like section-title-animate on desktop */
.section-title-responsive {
  position: relative;
}

.section-title-responsive::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease-out 0.8s;
}

/* Animate the line when title is in view */
.section-title-responsive.animate-in::after {
  transform: scaleX(1);
}

/* Mobile responsiveness */
@media (max-width: 968px) {
  .hero-about-spacer {
    height: 80px;
  }

  .scroll-indicator {
    font-size: 13px;
  }

  .heritage-tagline {
    font-size: 12px;
  }

  .about-content {
    flex-direction: column;
    min-height: 0;
    max-height: none;
  }

  .about-image-side {
    flex: none;
    height: 40vh;
    min-height: 250px;
  }

  .about-text-side {
    flex: none;
    padding: 60px 40px;
  }

  .about-text-content h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .about-paragraphs p,
  .founders-quote {
    font-size: 16px;
  }

  .quote-divider {
    margin: 30px 0;
  }

  /* Faster animations on mobile for better performance */
  .about-animate-image {
    transition-duration: 0.6s;
  }

  .about-animate-text {
    transition-duration: 0.6s;
    transition-delay: 0.1s;
  }

  .about-animate-quote {
    transition-duration: 0.6s;
    transition-delay: 0.2s;
  }

  /* Faster expertise animations on mobile */
  .expertise-header-animate,
  .expertise-intro-animate,
  .expertise-card-animate {
    transition-duration: 0.6s;
  }

  .expertise-card-animate:nth-child(1) {
    transition-delay: 0.2s;
  }
  .expertise-card-animate:nth-child(2) {
    transition-delay: 0.3s;
  }
  .expertise-card-animate:nth-child(3) {
    transition-delay: 0.4s;
  }
  .expertise-card-animate:nth-child(4) {
    transition-delay: 0.5s;
  }
  .expertise-card-animate:nth-child(5) {
    transition-delay: 0.6s;
  }
  .expertise-card-animate:nth-child(6) {
    transition-delay: 0.7s;
  }

  /* Faster approach animations on mobile */
  .approach-header-animate,
  .approach-slider-left-animate,
  .approach-slider-right-animate,
  .approach-controls-animate {
    transition-duration: 0.6s;
  }

  .approach-slider-left-animate {
    transition-delay: 0.1s;
  }
  .approach-slider-right-animate {
    transition-delay: 0.2s;
  }
  .approach-controls-animate {
    transition-delay: 0.3s;
  }

  .section-title-responsive::after {
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
  }

  .section-title-responsive.animate-in::after {
    transform: translateX(-50%) scaleX(1);
  }

  /* Faster partnership animations on mobile */
  .partnership-title-animate::after {
    transition-duration: 0.4s;
    transition-delay: 0.5s;
  }

  /* Faster section title animations on mobile */
  .section-title-animate::after,
  .section-title-center::after,
  .section-title-center::after,
  .section-title-responsive::after {
    transition-duration: 0.4s;
    transition-delay: 0.5s;
  }
}

@media (max-width: 768px) {
  .about-text-side {
    padding: 40px 30px;
  }

  .about-text-content h2 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .about-text-side {
    padding: 30px 20px;
  }
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
  background: var(--background-white);
  border: var(--border-light);
  transition: var(--transition-smooth);
}

.value-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--box-shadow-light);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-card h4 {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.5;
}

/* Minimalist Vision & Mission Section */
.vision-mission {
  padding: 120px 0;
  background: var(--light-gray);
}

.vision-mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.vision-card,
.mission-card {
  background: var(--background-white);
  padding: 4rem 3rem;
  border-left: 2px solid var(--accent-gold);
  transition: var(--transition-smooth);
  position: relative;
}

.vision-card:hover,
.mission-card:hover {
  border-left-width: 4px;
}

.vision-card h3,
.mission-card h3 {
  color: var(--text-dark);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.vision-card p,
.mission-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-weight: 300;
}

.vision-quote {
  text-align: center;
}

.vision-quote blockquote {
  font-size: 1.1rem;
  color: var(--text-lighter);
  font-style: italic;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  padding-top: 2rem;
}

.vision-quote blockquote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--accent-gold);
}

/* Our Approach Section */
.approach-section {
  background: #ffffff;
  padding: 120px 0;
}

.approach-section .container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

.approach-section .section-header {
  text-align: center;
  margin-bottom: 80px;
}

.approach-section .section-header h2 {
  font-size: 26px;
  font-weight: 600;
  color: var(--navy-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.header-divider {
  width: 80px;
  height: 1px;
  background: var(--accent-gold);
  margin: 0 auto;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  align-items: start;
}

.approach-column {
  text-align: center;
  padding: 0 20px;
}

.approach-icon {
  margin-bottom: 24px;
  color: var(--accent-gold);
  display: flex;
  justify-content: center;
}

.approach-column h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--navy-blue);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.approach-column h3:hover {
  color: var(--accent-gold);
}

.approach-column p {
  font-size: 17px;
  line-height: 1.7;
  color: #333333;
  font-weight: 400;
  margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
  .approach-section {
    padding: 80px 0;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .approach-section .section-header {
    margin-bottom: 60px;
  }

  .approach-section .section-header h2 {
    font-size: 22px;
  }

  .approach-column h3 {
    font-size: 20px;
  }

  .approach-column p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .approach-section {
    padding: 60px 0;
  }

  .approach-grid {
    gap: 40px;
  }

  .approach-column {
    padding: 0 10px;
  }
}

/* Minimalist Services Section */
.services {
  background-color: var(--background-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
}

.service-card {
  background: var(--background-white);
  padding: 3rem 2rem;
  border-top: 1px solid var(--border-light);
  transition: var(--transition-smooth);
  text-align: left;
}

.service-card:hover {
  border-top-color: var(--accent-gold);
}

.service-icon {
  margin-bottom: 2rem;
  text-align: center;
  font-size: 2rem;
  color: var(--accent-gold);
}

.service-icon img {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  opacity: 0.8;
}

.service-content h3 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 400;
}

.service-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Our Approach Section */
.focus-sectors-section {
  margin-top: 5rem;
  padding: 80px 0;
  background: var(--navy-blue);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
  overflow: hidden;
}

.focus-sectors-section .container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  box-sizing: border-box;
}

.focus-sectors-section .sub-heading {
  text-align: center;
  color: var(--accent-gold);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.focus-sectors-section-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: center;
}

.focus-sectors-section-top-left .main-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: white;
  line-height: 1.3;
  margin: 0;
}

.focus-sectors-section-top-right .para {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  margin: 0;
}

.focus-sectors-section-bottom-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.focus-sectors-section-slider-left {
  position: relative;
}

.slider-item {
  display: none;
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.slider-item.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.slider-item .content {
  padding: 2.5rem;
  background: var(--navy-blue);
  border-radius: 0;
  box-shadow: var(--box-shadow-subtle);
}

.slider-item .content svg {
  width: 42px;
  height: 42px;
  margin-bottom: 2rem;
  color: var(--accent-gold);
  stroke: var(--accent-gold);
}

.slider-img {
  width: 60px;
  height: 60px;
  margin-bottom: 2rem;
}

.slider-heading {
  font-size: 1.5rem;
  font-weight: 400;
  color: white;
  margin-bottom: 1.5rem;
}

.slider-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-weight: 300;
}

.text-btn {
  background: transparent;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--primary-font);
}

.text-btn:hover {
  background: var(--accent-gold);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--box-shadow-light);
}

.text-btn .btn-svg svg {
  width: 16px;
  height: 16px;
  transition: fill 0.3s ease;
}

.text-btn:hover .btn-svg svg path {
  fill: white;
}

.focus-sectors-section-slider-right {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 0;
}

.focus-sectors-section-slider-right .slider-item {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
  opacity: 1;
}

.focus-sectors-section-slider-right .slider-item.active {
  left: 0;
  transform: translateX(0);
}

.focus-sectors-section-slider-right .slider-item.slide-out-right {
  transform: translateX(100%);
}

.focus-sectors-section-slider-right .slider-item.slide-in-left {
  transform: translateX(-100%);
}

.focus-sectors-section-slider-right .slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.focus-sectors-slider-arrows {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.slider-dots {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 60%;
  max-width: 250px;
}

.slider-dots li {
  flex: 1;
  min-width: 15vw;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 1;
}

.slider-dots li.active {
  height: 3px;
  background: var(--accent-gold);
  opacity: 1;
}

.slider-dots button {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0;
  outline: none;
}

.slide-arrow {
  display: flex;
  gap: 1rem;
}

.icon-btn {
  width: 50px;
  height: 50px;
  border: 2px solid var(--accent-gold);
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.icon-btn:hover {
  background: rgba(166, 139, 92, 0.1);
  border: 2px solid var(--accent-gold);
}

.icon-btn:focus {
  border: 2px solid var(--accent-gold);
  outline: none;
}

.icon-btn:active {
  border: 2px solid var(--accent-gold);
  background: rgba(166, 139, 92, 0.2);
}

.icon-btn svg {
  color: var(--accent-gold);
  stroke: var(--accent-gold);
}

/* Our Expertise Section */
.expertise {
  background: #fafafa;
  padding: 120px 0;
}

.expertise .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.expertise .section-header h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--accent-gold);
  margin: 0 auto 40px;
}

.expertise-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.expertise-intro p {
  font-family: "Lato", sans-serif;
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.7;
  color: #444;
  margin: 0;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 48px;
  max-width: 1600px;
  margin: 0 auto;
}

.expertise-card {
  background: transparent;
  border: 1px solid var(--accent-gold);
  padding: 32px 24px;
  transition: all 0.2s ease;
  text-align: left;
}

.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(166, 139, 92, 0.15);
}

.expertise-card:hover h3 {
  color: var(--accent-gold);
}

.expertise-icon {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 60px;
  height: 60px;
  margin: 0 0 20px 0;
  color: var(--accent-gold);
}

.expertise-card h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--primary-dark);
  margin-bottom: 16px;
  transition: color 0.2s ease;
}

.expertise-card p {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* Responsive Design for Expertise */
@media (max-width: 768px) {
  .expertise {
    padding: 80px 0;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
  }
}

@media (max-width: 480px) {
  .expertise {
    padding: 60px 0;
  }

  .expertise-intro {
    margin-bottom: 60px;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .expertise-card {
    padding: 16px;
  }
}

/* Global Presence Section */
.global-presence {
  padding: 0;
  min-height: 100vh;
  background: #fafafa;
}

.global-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  gap: 0;
}

/* Left Side: Content */
.global-content-side {
  background: white;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.global-content-side h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--primary-dark);
  margin-bottom: 32px;
  line-height: 1.2;
}

.global-content-side > p {
  font-family: "Lato", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.7;
  color: #444;
  margin-bottom: 48px;
  transition: all 0.3s ease;
}

#global-description {
  transition: color 0.3s ease, font-weight 0.3s ease;
}

.regional-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.region-item {
  border-left: 3px solid var(--primary-dark);
  padding-left: 24px;
  transition: all 0.3s ease, opacity 0.8s ease, transform 0.8s ease;
  opacity: 0;
  transform: translateY(30px);
}

/* Remove automatic animations - will be triggered by scroll */
.region-item:nth-child(1) {
  transition-delay: 0.1s;
}

.region-item:nth-child(2) {
  transition-delay: 0.2s;
}

.region-item:nth-child(3) {
  transition-delay: 0.3s;
}

.region-item:nth-child(4) {
  transition-delay: 0.4s;
}

.region-item:hover {
  border-left-color: var(--accent-gold);
  transform: translateX(8px);
}

.region-item h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.region-item:hover h3 {
  color: var(--accent-gold);
}

.region-item p {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* Right Side: Map */
.global-map-side {
  background: linear-gradient(
    135deg,
    rgba(11, 19, 43, 0.05) 0%,
    rgba(166, 139, 92, 0.05) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.world-svg {
  width: 100%;
  height: auto;
  max-height: 80vh;
  max-width: 100%;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
  display: block;
}

/* Force SVG inside object to be responsive */
.global-map-side object {
  width: 100%;
  height: auto;
  max-height: 80vh;
  max-width: 100%;
}

.world-svg:hover {
  transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .global-split-layout {
    grid-template-columns: 1fr;
    min-height: 100vh;
  }

  .global-content-side {
    padding: 60px 40px;
  }

  .global-map-side {
    min-height: 60vh;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .global-content-side {
    padding: 40px 30px;
  }

  .global-content-side h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
  }

  .global-content-side > p {
    font-size: 1.1rem;
    margin-bottom: 32px;
  }

  .regional-info {
    gap: 24px;
  }

  .region-item h3 {
    font-size: 1.2rem;
  }

  .region-item p {
    font-size: 0.95rem;
  }

  .global-map-side {
    padding: 15px;
    order: 2;
  }

  .world-svg {
    width: 100%;
    max-width: 100%;
    max-height: 50vh;
    height: auto;
  }
}

@media (max-width: 480px) {
  .global-content-side {
    padding: 30px 20px;
  }

  .region-item {
    padding-left: 20px;
  }

  .global-map-side {
    padding: 10px;
  }

  .world-svg {
    width: 100%;
    max-width: 100%;
    max-height: 40vh;
    height: auto;
  }
}

/* Global Reach Section */
.global-reach-section {
  position: relative;
  background-color: var(--navy-blue);
  min-height: 80vh;
  overflow: hidden;
}

.global-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.world-bg-image {
  width: 100%;
  height: 150%;
  object-fit: cover;
  opacity: 1;
  position: absolute;
  top: -25%;
  left: 0;
  will-change: transform;
}

.global-overlay {
  display: none;
}

.global-reach-section .container {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  max-width: 1800px;
}

.global-reach-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.global-reach-section .section-header h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.projects-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: 1800px;
  margin: 0 auto;
}

.project-card:hover {
  transform: none;
}

.project-content h4 {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.project-date {
  color: black;
  font-size: 0.9rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.project-description {
  color: black;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .global-reach-section .section-header h2 {
    font-size: 2rem;
  }

  .projects-grid {
    gap: 15px;
  }

  .project-card {
    padding: 15px;
    font-size: 0.9rem;
  }
}

/* Minimalist Focus Sectors Section */
.focus-sectors {
  padding: 120px 0;
  background: var(--light-gray);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.sector-card {
  background: var(--background-white);
  padding: 3rem 2rem;
  border-left: 2px solid var(--accent-gold);
  transition: var(--transition-smooth);
  text-align: left;
}

.sector-card:hover {
  border-left-width: 4px;
}

.sector-card h3 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 400;
}

.sector-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-weight: 300;
}

/* Minimalist Projects Section */
.projects {
  padding: 120px 0;
  background-color: var(--background-white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 4rem;
}

.project-card {
  flex: 1;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  padding: 25px;
  text-align: left;
  border-radius: 8px;
  transition: var(--transition-smooth);
  overflow: hidden;
  border-top: 1px solid var(--border-light);
}

.project-card:hover {
  border-top-color: var(--accent-gold);
}

.project-card.confidential {
  position: relative;
}

.project-card.confidential::before {
  content: "CONFIDENTIAL";
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-gold);
  color: white;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 400;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-image {
  height: 200px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  opacity: 0.9;
}

.project-card:hover .project-image img {
  opacity: 1;
}

.project-content {
  padding: 2rem;
}

.project-content h3 {
  color: var(--primary-dark-blue);
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.project-location {
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.project-status {
  display: inline-block;
  background: var(--light-gray);
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* Global Network Section */
.global-network {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    var(--primary-dark-blue) 0%,
    var(--secondary-dark-blue) 100%
  );
  color: white;
}

.global-network .section-header h2,
.global-network .section-header .section-subtitle {
  color: white;
}

.network-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.network-map {
  text-align: center;
  margin-bottom: 3rem;
}

.network-map img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--box-shadow-heavy);
  margin: 0 auto;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.location-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.location-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.location-item h4 {
  color: var(--light-gold);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.location-item p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Why KFM Section */
.why-kfm {
  padding: 120px 0;
  background: var(--light-gray);
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 5rem;
}

.strength-card {
  background: var(--background-white);
  padding: 3rem 2rem;
  border: var(--border-light);
  transition: var(--transition-smooth);
  text-align: left;
}

.strength-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--box-shadow-light);
}

.strength-card h3 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 400;
}

.strength-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-weight: 300;
}

/* Leadership within Why KFM */
.leadership-section h3 {
  text-align: center;
  color: var(--text-dark);
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 3rem;
}

.leadership-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.leadership-text p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
}

.leadership-visual img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: var(--box-shadow-subtle);
}

/* Leadership Section */
.leadership {
  padding: 100px 0;
  background-color: var(--background-white);
}

.leadership-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.leadership-intro p {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.8;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.leader-card {
  background: var(--background-white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--box-shadow-light);
  transition: var(--transition-smooth);
  text-align: center;
  border: 1px solid var(--light-gray);
}

.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-heavy);
}

.leader-image {
  margin-bottom: 2rem;
}

.leader-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto;
  border: 4px solid var(--light-gold);
}

.leader-card h3 {
  color: var(--primary-dark-blue);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.leader-title {
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.leader-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Partnerships Section */
.partnerships {
  padding: 120px 0;
  background: var(--background-white);
}

.partnership-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.partnership-card {
  background: var(--light-gray);
  padding: 3rem 2rem;
  border: var(--border-light);
  transition: var(--transition-smooth);
  text-align: center;
}

.partnership-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--box-shadow-light);
}

.partnership-card h3 {
  color: var(--text-dark);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.partnership-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-weight: 300;
}

.partnership-cta {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--light-gray);
  border: var(--border-light);
}

.partnership-cta h3 {
  color: var(--text-dark);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

.cta-button.large {
  font-size: 1.1rem;
  padding: 1rem 3rem;
}

.partnership-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Partnerships & Contact Section */
.partnerships-contact {
  padding: 120px 0;
  background: #fafbfc;
  position: relative;
}

.partnerships-contact .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.partnerships-contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
}

/* Left Column - Partnership Invitation */
.partnerships-info {
  padding-right: 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.partnerships-info h2 {
  font-family: var(--primary-font);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  color: #0e1a2a;
  margin-bottom: 3rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  position: relative;
}

.partnerships-intro {
  font-family: var(--secondary-font);
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 3rem;
  font-weight: 300;
}

.partnership-types {
  margin-bottom: 3rem;
}

.partnership-types h3 {
  font-family: var(--primary-font);
  font-size: 1.1rem;
  font-weight: 400;
  color: #0e1a2a;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.partnership-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.partnership-list li {
  font-family: var(--secondary-font);
  font-size: 1.1rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  font-weight: 400;
  line-height: 1.6;
}

/* Partnership list item animations */
.partnership-item-animate {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.partnership-item-animate:nth-child(1) {
  transition-delay: 0.6s;
}
.partnership-item-animate:nth-child(2) {
  transition-delay: 0.7s;
}
.partnership-item-animate:nth-child(3) {
  transition-delay: 0.8s;
}
.partnership-item-animate:nth-child(4) {
  transition-delay: 0.9s;
}

/* Animate partnership items when in view */
.partnership-item-animate.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.partnership-list li::before {
  content: "◆";
  color: var(--accent-gold);
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.6;
}

.partnerships-closing {
  font-family: var(--secondary-font);
  font-size: 1.1rem;
  color: #0e1a2a;
  font-weight: 400;
  font-style: italic;
  margin: 0;
}

/* Right Column - Contact Form Section */
.contact-form-section {
  position: relative;
}

.contact-form-card {
  background: #fdfdfd;
  border: 1px solid #f0f0f0;
  border-left: 3px solid var(--accent-gold);
  padding: 3rem 2.5rem 2.5rem;
  position: relative;
  max-width: 500px;
  margin-left: auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: 0.2s;
}

.contact-form-card h3 {
  font-family: var(--primary-font);
  font-size: 1.8rem;
  font-weight: 300;
  color: #0e1a2a;
  margin-bottom: 2.5rem;
  text-align: left;
  letter-spacing: -0.01em;
  position: relative;
}

.contact-form-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 0;
  border: none;
  border-bottom: 2px solid #e5e7eb;
  border-radius: 0;
  font-size: 1rem;
  font-family: var(--secondary-font);
  font-weight: 300;
  transition: all 0.3s ease;
  background-color: transparent;
  color: #333333;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none !important;
  border-bottom-color: var(--accent-gold);
  border-bottom-width: 2px;
  background-color: transparent;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
  font-weight: 300;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0 center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--secondary-font);
  border-bottom: 2px solid #e5e7eb;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.form-submit-btn {
  width: auto;
  padding: 1rem 2.5rem;
  background: #0e1a2a;
  color: white;
  border: 1px solid #0e1a2a;
  border-radius: 0;
  font-family: var(--primary-font);
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.form-submit-btn:hover {
  background: var(--accent-gold);
  color: white;
  border-color: var(--accent-gold);
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.privacy-note {
  text-align: left;
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 2.5rem;
  margin-top: 1rem;
}

/* Form Container Transitions */
#form-container {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Form Messages */
.form-message {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.form-message .message-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: iconPulse 0.6s ease;
}

@keyframes iconPulse {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.form-message .message-icon svg {
  width: 60px;
  height: 60px;
}

.success-message .message-icon svg {
  color: var(--accent-gold);
  stroke-width: 1.5;
}

.error-message .message-icon svg {
  color: var(--neutral-gray);
  stroke-width: 1.5;
}

.form-message h3 {
  font-family: var(--primary-font);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--text-dark);
  text-align: center;
}

.form-message p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.retry-btn {
  margin-top: 1rem;
}

.contact-details-card {
  text-align: left;
  padding-top: 2.5rem;
  border-top: 1px solid #e5e7eb;
  margin-top: 2rem;
}

.contact-details-card h4 {
  font-family: var(--primary-font);
  font-size: 0.9rem;
  font-weight: 400;
  color: #0e1a2a;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-detail-item {
  margin-bottom: 1rem;
}

.contact-detail-item p {
  font-size: 0.9rem;
  color: #666666;
  margin: 0;
  font-weight: 300;
}

.contact-detail-item a {
  color: #0e1a2a;
  text-decoration: none;
  font-weight: 300;
  transition: color 0.3s ease;
}

.contact-detail-item a:hover {
  color: var(--accent-gold);
}

/* Animation Keyframes */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandLine {
  to {
    transform: scaleX(1);
  }
}

@keyframes expandLineCenter {
  to {
    transform: translateX(-50%) scaleX(1);
  }
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design for Partnerships & Contact */
@media screen and (max-width: 1024px) {
  .partnerships-contact-content {
    gap: 5rem;
  }

  .partnerships-info {
    padding-right: 0;
  }

  .contact-form-card {
    max-width: none;
    margin-left: 0;
  }
}

@media screen and (max-width: 768px) {
  .partnerships-contact {
    padding: 80px 0;
  }

  .partnerships-contact-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .partnerships-info h2 {
    font-size: clamp(2rem, 6vw, 2.5rem);
    margin-bottom: 2rem;
    text-align: center;
  }

  .partnerships-intro {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .partnership-types {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .partnership-list {
    display: inline-block;
    text-align: left;
  }

  .partnerships-closing {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .contact-form-card {
    padding: 2rem 0;
  }

  .contact-form-card h3 {
    font-size: 1.6rem;
    text-align: left;
  }

  .privacy-note {
    text-align: center;
  }

  .contact-details-card {
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .partnerships-contact {
    padding: 60px 0;
  }

  .partnerships-contact .container {
    padding: 0 20px;
  }

  .partnerships-contact-content {
    gap: 3rem;
  }

  .partnerships-info h2 {
    margin-bottom: 1.5rem;
  }

  .partnerships-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .partnership-types {
    margin-bottom: 2rem;
  }

  .partnerships-closing {
    font-size: 0.95rem;
  }

  .contact-form-card {
    padding: 1.5rem 1rem;
  }

  .contact-form-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: left;
  }

  .contact-form-container {
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    padding: 0;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 0.95rem;
  }

  .privacy-note {
    text-align: center;
  }

  .contact-details-card {
    text-align: center;
  }

  .form-submit-btn {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }

  .contact-details-card {
    padding-top: 1.5rem;
  }

  .contact-detail-item p {
    font-size: 0.85rem;
  }
} /* Navy Blue Footer */
.footer {
  background: #0e1a2a;
  color: white;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

/* Add fade-in animation to footer sections */
.footer-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.footer-section:nth-child(1) {
  transition-delay: 0.1s;
}

.footer-section:nth-child(2) {
  transition-delay: 0.2s;
}

.footer-section:nth-child(3) {
  transition-delay: 0.3s;
}

.footer-section:nth-child(4) {
  transition-delay: 0.4s;
}

.footer-section.main h3 {
  font-size: 1.5rem;
  font-weight: 400;
  color: white;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-slogan {
  color: var(--accent-gold);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 2rem;
  color: white;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  line-height: 1.6;
  font-weight: 300;
  font-size: 0.9rem;
}

.footer-section p a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.footer-section p a::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

@media (hover: hover) {
  .footer-section p a:hover {
    color: white;
  }

  .footer-section p a:hover::after {
    width: 100%;
  }
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 1rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.footer-section ul li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

@media (hover: hover) {
  .footer-section ul li a:hover {
    color: var(--accent-gold);
  }

  .footer-section ul li a:hover::after {
    width: 100%;
  }
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  color: var(--accent-gold);
}

.footer-logo-space {
  margin-top: 2rem;
  text-align: center;
}

.footer-family-logo {
  max-width: 250px;
  max-height: 250px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-family-logo:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: 0.5s;
}

.footer-legal p,
.footer-copyright p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(26, 54, 93, 0.95);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 15px;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  transition: var(--transition-fast);
  cursor: pointer;
}

.lightbox-close:hover {
  color: var(--light-gold);
}

/* Enhanced Responsive Design */
@media screen and (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--box-shadow-light);
    padding: 2rem 0;
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  /* Explicit reset for header when mobile menu is NOT active */
  header:not(.mobile-menu-active):not(.scrolled) {
    background-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  /* Reset logo to negative version when mobile menu is closed at top */
  header:not(.mobile-menu-active):not(.scrolled) .nav-logo .logo-negative {
    opacity: 1 !important;
  }

  header:not(.mobile-menu-active):not(.scrolled) .nav-logo .logo-positive {
    opacity: 0 !important;
  }

  header:not(.mobile-menu-active):not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
  }

  header:not(.mobile-menu-active):not(.scrolled) .nav-toggle .bar {
    background-color: rgba(255, 255, 255, 0.9) !important;
  }

  /* Mobile menu background only when at top of page (not scrolled) */
  header:not(.scrolled).mobile-menu-active {
    background-color: rgba(255, 255, 255, 0.98) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: var(--border-light);
    box-shadow: var(--box-shadow-subtle);
  }

  /* Ensure close icon is always visible when menu is active */
  header.mobile-menu-active .nav-toggle .bar {
    background-color: var(--text-dark) !important;
  }

  /* Logo color when mobile menu is active */
  header.mobile-menu-active:not(.scrolled) .nav-logo a {
    color: var(--text-dark) !important;
    text-shadow: none;
  }

  .nav-item {
    margin: 1rem 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Mobile navigation colors for transparent header */
  header .nav-toggle .bar {
    background-color: rgba(255, 255, 255, 0.9);
  }

  header.scrolled .nav-toggle .bar {
    background-color: var(--text-dark);
  }

  /* Mobile menu links */
  .nav-menu .nav-link {
    color: var(--text-dark);
    text-shadow: none;
    font-size: 1rem;
    padding: 1rem 0;
  }

  .nav-menu .nav-link:hover {
    color: var(--accent-gold);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 1.5rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .vision-mission-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }

  .location-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-slogan {
    font-size: 1.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .cta-button.hero-discover,
  .cta-button.hero-contact {
    width: 100%;
    text-align: center;
    padding: 18px 30px;
    font-size: 1rem;
  }

  .about,
  .services,
  .projects,
  .partnerships,
  .contact,
  .vision-mission,
  .focus-sectors,
  .focus-sectors-section,
  .global-network,
  .why-kfm,
  .leadership {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services-grid,
  .sectors-grid,
  .projects-grid,
  .strengths-grid,
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .focus-sectors-section-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .focus-sectors-section-bottom-flex {
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .focus-sectors-section-slider-right {
    height: 250px;
    min-height: 250px;
    max-height: 250px;
  }

  .focus-sectors-section-slider-right .slider-item img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
  }

  .focus-sectors-slider-arrows {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .opportunities-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .footer-family-logo {
    display: block;
    margin: 0 auto;
  }

  .footer-social {
    justify-content: center;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lightbox-content {
    width: 95%;
  }

  .lightbox-close {
    top: 10px;
    right: 25px;
    font-size: 30px;
  }
}

@media screen and (max-width: 480px) {
  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }

  .hero-slogan {
    font-size: 1.1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  h2 {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .about,
  .services,
  .projects,
  .partnerships,
  .contact,
  .vision-mission,
  .focus-sectors,
  .global-network,
  .why-kfm,
  .leadership {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .vision-card,
  .mission-card {
    padding: 2rem 1.5rem;
  }

  .service-card,
  .sector-card,
  .strength-card,
  .leader-card {
    padding: 2rem 1.5rem;
  }

  .project-content {
    padding: 1.5rem;
  }

  .partnership-cta {
    padding: 3rem 1.5rem;
  }

  .footer {
    padding: 50px 0 20px;
  }

  .footer-content {
    gap: 2rem;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .cta-button.large {
    padding: 16px 32px;
    font-size: 1rem;
  }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation - removed for cleaner UI */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none !important;
  box-shadow: none !important;
}

.nav-link:focus::after {
  width: 100%;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-dark-blue: #000000;
    --accent-gold: #ffd700;
    --text-light: #333333;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .cta-button,
  .nav-toggle {
    display: none;
  }

  .hero {
    padding-top: 0;
  }

  * {
    color: black !important;
    background: white !important;
    box-shadow: none !important;
  }

  .hero,
  .about,
  .services,
  .projects,
  .contact,
  .vision-mission,
  .focus-sectors,
  .global-network,
  .why-kfm,
  .leadership,
  .partnerships {
    padding: 40px 0;
    break-inside: avoid;
  }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
  /* This can be implemented later if needed */
}

/* Animation classes for future use */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.slide-up {
  transform: translateY(30px);
  opacity: 0;
  animation: slideUp 0.6s ease-out forwards;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-gold {
  color: var(--accent-gold);
}

.text-blue {
  color: var(--primary-dark-blue);
}

.bg-gradient {
  background: linear-gradient(
    135deg,
    var(--primary-dark-blue) 0%,
    var(--secondary-dark-blue) 100%
  );
}

.shadow-light {
  box-shadow: var(--box-shadow-light);
}

.shadow-medium {
  box-shadow: var(--box-shadow-medium);
}

.shadow-heavy {
  box-shadow: var(--box-shadow-heavy);
}
