/* ==========================================================================
   ELEMENTAL FLAVOURS - DESIGN SYSTEM
   Premium Catering & Events Website
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-bg-primary: #0F1419;
  --color-bg-secondary: #1A1F2E;
  --color-accent-teal: #00D9FF;
  --color-accent-purple: #A855F7;
  --color-accent-amber: #FFB800;
  --color-text-primary: #F5F5F5;
  --color-text-secondary: #B0B0B0;
  --color-border: rgba(0, 217, 255, 0.2);
  --color-bg-card: rgba(26, 31, 46, 0.8);
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-quote: 'Lora', serif;
  
  /* Spacing */
  --section-padding: 100px 0;
  --section-padding-mobile: 60px 0;
  --container-padding: 0 50px;
  --container-padding-mobile: 0 20px;
  --card-padding: 20px;
  
  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-base: 200ms ease-out;
  --transition-slow: 250ms ease-out;
  --transition-scroll: 600ms ease-out;
  
  /* Shadows */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-glow-teal: 0 0 20px rgba(0, 217, 255, 0.5);
  --shadow-glow-purple: 0 0 20px rgba(168, 85, 247, 0.5);
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   4. Shared Components
   -------------------------------------------------------------------------- */

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Section */
.section {
  padding: var(--section-padding);
  position: relative;
}

/* Angled dividers between sections */
.section-angled {
  position: relative;
}

.section-angled::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 0;
  right: 0;
  height: 60px;
  background: inherit;
  clip-path: polygon(0 0, 100% 30px, 100% 60px, 0 30px);
  z-index: 5;
  pointer-events: none;
  border-bottom: 1px solid var(--color-border);
}

/* Section Divider */
.section-divider {
  width: 60px;
  height: 2px;
  background: var(--color-accent-teal);
  margin-bottom: 24px;
  border-radius: 2px;
  transition: box-shadow var(--transition-base);
}

.section-divider:hover {
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.4);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 48px;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  min-height: 48px;
}

.btn-primary {
  background: var(--color-accent-teal);
  color: var(--color-bg-primary);
  border-color: var(--color-accent-teal);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow-teal);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-accent-purple);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(168, 85, 247, 0.1);
  transform: scale(1.05);
  box-shadow: var(--shadow-glow-purple);
}

.btn-large {
  padding: 20px 44px;
  font-size: 16px;
}

/* Blockquote */
blockquote {
  font-family: var(--font-quote);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text-primary);
  border-left: 3px solid var(--color-accent-teal);
  padding-left: 24px;
  margin: 32px 0;
}

blockquote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   5. Navigation
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.nav-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: var(--color-text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-teal);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--color-accent-teal);
  color: var(--color-bg-primary);
  padding: 12px 24px;
  border-radius: 4px;
  transition: all var(--transition-base);
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow-teal);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}

.hamburger-line {
  width: 28px;
  height: 2px;
  background: var(--color-text-primary);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 217, 255, 0.35),
    rgba(168, 85, 247, 0.35)
  );
  z-index: 1;
}

/* Film grain overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
  background-repeat: repeat;
  z-index: 2;
  pointer-events: none;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 50px;
  max-width: 900px;
  animation: heroEntrance 1s ease-out forwards;
}

@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hero-badge {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-teal);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 0.6s 0.2s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 1.1;
  color: var(--color-text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: fadeInUp 0.6s 0.3s ease-out forwards;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 0.6s 0.4s ease-out forwards;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.6s 0.5s ease-out forwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-secondary);
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  animation: float 2s ease-in-out infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--color-text-secondary);
  border-bottom: 2px solid var(--color-text-secondary);
  transform: rotate(45deg);
  animation: bounceArrow 1.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes bounceArrow {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
  50% { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}

/* --------------------------------------------------------------------------
   7. Services Section
   -------------------------------------------------------------------------- */
.services {
  background: var(--color-bg-primary);
}

.services .section-divider {
  margin: 0 auto 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-slow);
  cursor: pointer;
}

.service-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 217, 255, 0.4);
}

.service-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 217, 255, 0.25),
    rgba(168, 85, 247, 0.25)
  );
  z-index: 1;
}

.service-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 56px;
  height: 56px;
  background: rgba(15, 20, 25, 0.8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.service-card-body {
  padding: 24px;
}

.service-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--label-color, var(--color-accent-teal));
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--label-color, var(--color-accent-teal));
  border-radius: 4px;
  margin-bottom: 12px;
}

.service-subtitle {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.service-description {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-cta {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cta-color, var(--color-accent-teal));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.service-cta::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cta-color, var(--color-accent-teal));
  transition: width var(--transition-base);
}

.service-cta:hover::after {
  width: 100%;
}

.cta-arrow {
  transition: transform var(--transition-fast);
}

.service-cta:hover .cta-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   8. About / Who We Are Section
   -------------------------------------------------------------------------- */
.about {
  background: var(--color-bg-secondary);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text .section-divider {
  margin-bottom: 24px;
}

.about-text .section-title {
  margin-bottom: 32px;
}

.about-body {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-body:last-of-type {
  margin-bottom: 0;
}

.about-quote {
  margin-top: 32px;
}

.about-images {
  position: relative;
}

.about-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.about-img-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.about-img-wrapper.main {
  grid-column: 1 / -1;
  grid-row: 1 / 2;
}

.about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-img-wrapper:hover img {
  transform: scale(1.05);
}

.about-img-wrapper.main {
  height: 300px;
}

.about-img-wrapper.secondary {
  height: 180px;
}

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 217, 255, 0.2),
    rgba(168, 85, 247, 0.2)
  );
  z-index: 1;
  transition: opacity var(--transition-base);
}

.about-img-wrapper:hover .about-img-overlay {
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   9. Portfolio / Gallery Section
   -------------------------------------------------------------------------- */
.portfolio {
  background: var(--color-bg-primary);
}

.portfolio .section-divider {
  margin: 0 auto 24px;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-secondary);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 44px;
}

.filter-btn:hover {
  border-color: var(--color-accent-teal);
  color: var(--color-text-primary);
}

.filter-btn.active {
  background: var(--color-accent-teal);
  border-color: var(--color-accent-teal);
  color: var(--color-bg-primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.portfolio-item.portfolio-tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 20, 25, 0.9) 0%,
    rgba(15, 20, 25, 0.3) 50%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.portfolio-category {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-teal);
}

/* --------------------------------------------------------------------------
   10. Team Excellence Section
   -------------------------------------------------------------------------- */
.excellence {
  background: var(--color-bg-secondary);
}

.excellence .section-divider {
  margin: 0 auto 24px;
}

.excellence-intro {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.excellence-intro p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.excellence-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--color-accent-teal),
    var(--color-accent-purple),
    var(--color-accent-amber),
    var(--color-accent-teal)
  );
  opacity: 0.3;
}

.timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-number {
  flex-shrink: 0;
  width: 80px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 28px;
  color: var(--dot-color, var(--color-accent-teal));
  text-align: center;
  position: relative;
}

.timeline-number::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dot-color, var(--color-accent-teal));
  box-shadow: 0 0 12px var(--dot-color, var(--color-accent-teal));
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.excellence-quote {
  max-width: 700px;
  margin: 60px auto 0;
  text-align: center;
}

.excellence-quote blockquote {
  border-left: none;
  padding-left: 0;
}

/* --------------------------------------------------------------------------
   11. Leadership Section
   -------------------------------------------------------------------------- */
.leadership {
  background: var(--color-bg-primary);
}

.leadership .section-divider {
  margin: 0 auto 24px;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.leader-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-slow);
}

.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--card-bg, var(--color-accent-teal));
}

.leader-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leader-initials {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 48px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.leader-body {
  padding: 24px;
  text-align: center;
}

.leader-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.leader-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--card-bg, var(--color-accent-teal));
  margin-bottom: 16px;
  text-transform: uppercase;
}

.leader-bio {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   12. Clients Section
   -------------------------------------------------------------------------- */
.clients {
  background: var(--color-bg-secondary);
}

.clients .section-divider {
  margin: 0 auto 24px;
}

.clients-intro,
.clients-closing {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.clients-intro {
  margin-bottom: 40px;
}

.clients-closing {
  margin-top: 40px;
}

.clients-intro p,
.clients-closing p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.clients-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.clients-logo-container {
  max-width: 800px;
  width: 100%;
  padding: 24px;
  background: rgba(15, 20, 25, 0.5);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: all var(--transition-base);
}

.clients-logo-container:hover {
  border-color: rgba(0, 217, 255, 0.4);
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.1);
}

.clients-logo-img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   13. CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  background: var(--color-bg-primary);
  overflow: hidden;
}

.cta-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 217, 255, 0.08) 0%,
    rgba(168, 85, 247, 0.05) 40%,
    transparent 70%
  );
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   14. Contact Section
   -------------------------------------------------------------------------- */
.contact {
  background: var(--color-bg-secondary);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-info .section-divider {
  margin-bottom: 24px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(15, 20, 25, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 15px;
  color: var(--color-text-primary);
  line-height: 1.5;
}

.contact-link {
  transition: color var(--transition-fast);
  display: block;
}

.contact-link:hover {
  color: var(--color-accent-teal);
}

.contact-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 500px;
}

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

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

.contact-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 217, 255, 0.2),
    rgba(168, 85, 247, 0.2)
  );
  z-index: 1;
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-bg-primary);
  padding: 60px 0 30px;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin-bottom: 40px;
}

.footer .footer-divider:first-child {
  margin: 0 0 40px;
}

.footer-layout {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-teal);
  margin-bottom: 20px;
}

.footer-links ul,
.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-legal a {
  font-size: 14px;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  position: relative;
  padding-left: 0;
}

.footer-links a::before,
.footer-legal a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent-teal);
  transition: width var(--transition-base);
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--color-text-primary);
}

.footer-links a:hover::before,
.footer-legal a:hover::before {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-secondary);
  transition: all var(--transition-base);
}

.social-link:hover {
  border-color: var(--color-accent-teal);
  color: var(--color-accent-teal);
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.3);
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
}

.footer-bottom .footer-divider {
  margin-bottom: 24px;
}

.footer-copyright {
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* --------------------------------------------------------------------------
   16. Scroll Animations (Fade In)
   -------------------------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-scroll), transform var(--transition-scroll);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--transition-scroll), transform var(--transition-scroll);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--transition-scroll), transform var(--transition-scroll);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.fade-in .service-card,
.fade-in .leader-card,
.fade-in .portfolio-item {
  transition-delay: calc(var(--item-index, 0) * 80ms);
}

/* --------------------------------------------------------------------------
   17. Responsive - Tablet (640px - 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-images {
    order: -1;
  }

  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-item.portfolio-tall {
    grid-row: auto;
  }
}

/* --------------------------------------------------------------------------
   18. Responsive - Mobile (< 640px)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .section {
    padding: var(--section-padding-mobile);
  }

  .container {
    padding: var(--container-padding-mobile);
  }

  .section-title {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  /* Navigation mobile */
  .nav-container {
    padding: 0 20px;
    height: 64px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 20, 25, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 1000;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 20px;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero mobile */
  .hero-content {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  /* Services mobile */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* About mobile */
  .about-image-grid {
    grid-template-columns: 1fr;
  }

  .about-img-wrapper.main,
  .about-img-wrapper.secondary {
    height: 220px;
  }

  /* Portfolio mobile */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item {
    aspect-ratio: 16 / 10;
  }

  .portfolio-filters {
    gap: 8px;
  }

  .filter-btn {
    font-size: 11px;
    padding: 8px 16px;
  }

  /* Leadership mobile */
  .leadership-grid {
    grid-template-columns: 1fr;
  }

  /* Timeline mobile */
  .timeline-item {
    flex-direction: column;
    gap: 16px;
  }

  .timeline-line {
    left: 20px;
  }

  .timeline-number {
    width: auto;
    text-align: left;
    padding-left: 40px;
    font-size: 24px;
  }

  .timeline-number::after {
    left: 0;
    right: auto;
  }

  .timeline-content {
    padding-left: 40px;
  }

  /* Contact mobile */
  .contact-image {
    height: 300px;
  }

  /* Footer mobile */
  .footer-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-links ul,
  .footer-legal ul {
    align-items: center;
  }

  /* CTA mobile */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-large {
    width: 100%;
    max-width: 320px;
  }
}

/* --------------------------------------------------------------------------
   19. Accessibility
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--color-accent-teal);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 10000;
  padding: 8px 16px;
  background: var(--color-accent-teal);
  color: var(--color-bg-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
}

.skip-link:focus {
  top: 0;
}

/* --------------------------------------------------------------------------
   20. Selection
   -------------------------------------------------------------------------- */
::selection {
  background: rgba(0, 217, 255, 0.3);
  color: var(--color-text-primary);
}
