@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@600;700;800&display=swap');

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

:root {
  --primary: #0f2b46;
  --primary-light: #1a4a6e;
  --primary-dark: #091c2e;
  --secondary: #c9952d;
  --secondary-light: #e0b04d;
  --secondary-dark: #a67a1e;
  --accent: #1a7a6b;
  --accent-light: #219a87;
  --warm: #faf6f0;
  --light: #f5f3ef;
  --white: #ffffff;
  --dark: #1a1a2e;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --shadow-sm: 0 2px 8px rgba(15, 43, 70, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 43, 70, 0.1);
  --shadow-lg: 0 20px 60px rgba(15, 43, 70, 0.13);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Montserrat', 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  background: var(--primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

h1, h2 {
  letter-spacing: -0.03em;
}

::selection {
  background: var(--secondary);
  color: var(--white);
}

::-moz-selection {
  background: var(--secondary);
  color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Safari / iOS fixes ─── */
@supports not (backdrop-filter: blur(12px)) {
  .navbar {
    background: rgba(255, 255, 255, 0.98);
  }
}

input, select, textarea, button {
  -webkit-appearance: none;
  appearance: none;
}

input[type="text"]::-webkit-input-placeholder,
input[type="email"]::-webkit-input-placeholder,
input[type="tel"]::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.35);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

/* ─── Navigation ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(15, 43, 70, 0.06);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 24px rgba(15, 43, 70, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.logo img {
  height: 160px;
  width: auto;
  margin: -30px 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.nav-links a:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--secondary);
}

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

.nav-links a.active {
  color: var(--secondary);
}

.nav-cta {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: var(--transition) !important;
  box-shadow: 0 2px 12px rgba(201, 149, 45, 0.2);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 149, 45, 0.4) !important;
  color: var(--white) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px 4px;
  background: none;
  border: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.hamburger:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 4px;
  transition: var(--transition);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(201, 149, 45, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201, 149, 45, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
  border-color: var(--white);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* ─── Hero ─── */
.hero-carousel {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
  background: var(--primary);
}

.hero-carousel-slides {
  position: relative;
  height: 100vh;
  height: 100dvh;
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 0;
}

.hero-carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-carousel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1);
  transition: transform 7s ease-out;
}

.hero-carousel-slide.active .hero-carousel-bg {
  transform: scale(1.08);
}

.hero-carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,43,70,0.4) 0%, rgba(9,28,46,0.55) 100%);
  z-index: 1;
}

.hero-carousel-slide .container {
  position: relative;
  z-index: 2;
}

.hero-carousel-content {
  max-width: 720px;
  animation: fadeInUp 0.8s ease;
}

.hero-carousel-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-carousel-content h1 span {
  color: var(--secondary);
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-carousel-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-carousel-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.hero-carousel-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.hero-carousel-dots button.active {
  background: var(--secondary);
  border-color: var(--secondary);
  box-shadow: 0 0 12px rgba(201, 149, 45, 0.4);
}

/* ─── Sections ─── */
.section {
  padding: 120px 0;
  background: var(--primary);
}

.section-alt {
  background: var(--primary-dark);
  position: relative;
}

.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 149, 45, 0.2), transparent);
}

.section-alt::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 149, 45, 0.2), transparent);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
  border-radius: 4px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-header p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-tag,
.section-badge {
  display: inline-block;
  background: rgba(201, 149, 45, 0.12);
  color: var(--secondary-light);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

/* ─── Cards Grid ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(201, 149, 45, 0.12);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
  opacity: 0.5;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
  border-color: rgba(201, 149, 45, 0.3);
}

.card:hover::before {
  opacity: 1;
  height: 5px;
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(201, 149, 45, 0.15), rgba(201, 149, 45, 0.06));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--secondary-light);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ─── Why Choose Us ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.why-item {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(201, 149, 45, 0.1);
  transition: var(--transition);
}

.why-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border-color: rgba(201, 149, 45, 0.25);
}

.why-item .icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(201, 149, 45, 0.2);
}

.why-item .icon svg {
  width: 26px;
  height: 26px;
}

.why-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.why-item p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ─── Trust & Credibility ─── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
  max-width: 800px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trust-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.trust-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--secondary);
}

.trust-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.trust-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
  border-radius: 10px;
  transition: width 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: width;
}

.trust-item:nth-child(2) .trust-fill {
  transition-delay: 0.2s;
}

.trust-item:nth-child(3) .trust-fill {
  transition-delay: 0.4s;
}

.trust-item:nth-child(4) .trust-fill {
  transition-delay: 0.6s;
}

/* ─── Trust Icon Animation ─── */
.trust-icon {
  width: 40px;
  height: 40px;
  color: var(--secondary);
  margin-bottom: 2px;
  opacity: 0;
}

.trust-icon svg {
  width: 100%;
  height: 100%;
}

.visible .trust-icon {
  animation: trustShake 0.6s ease forwards;
}

@keyframes trustShake {
  0% { opacity: 0; transform: translateX(0); }
  15% { opacity: 1; transform: translateX(-6px) rotate(-3deg); }
  30% { transform: translateX(5px) rotate(2deg); }
  45% { transform: translateX(-4px) rotate(-2deg); }
  60% { transform: translateX(3px) rotate(1deg); }
  80% { transform: translateX(-1px); }
  100% { opacity: 1; transform: translateX(0) rotate(0); }
}

.trust-item:nth-child(1) .trust-icon { animation-delay: 0.05s; }
.trust-item:nth-child(2) .trust-icon { animation-delay: 0.25s; }
.trust-item:nth-child(3) .trust-icon { animation-delay: 0.45s; }
.trust-item:nth-child(4) .trust-icon { animation-delay: 0.65s; }

@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .trust-label {
    font-size: 0.88rem;
  }
  .trust-value {
    font-size: 1rem;
  }
}

/* ─── Gallery ─── */
.gallery-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(201, 149, 45, 0.1);
  transition: var(--transition);
  display: block;
  aspect-ratio: 4 / 3;
  text-decoration: none;
}

.gallery-category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border-color: rgba(201, 149, 45, 0.25);
}

.gallery-category-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.gallery-category-card:hover .gallery-category-bg {
  transform: scale(1.08);
}

.gallery-category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 28, 46, 0.9) 0%, rgba(9, 28, 46, 0.3) 60%, transparent 100%);
}

.gallery-category-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  z-index: 1;
}

.gallery-category-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.gallery-category-count {
  font-size: 0.85rem;
  color: var(--secondary-light);
}

/* ─── Gallery Detail Page ─── */

.gallery-detail-header {
  margin-bottom: 32px;
}

.gallery-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
  transition: var(--transition);
}

.gallery-detail-back:hover {
  color: var(--secondary);
}

.gallery-detail-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
}

.gallery-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-detail-grid .gallery-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(201, 149, 45, 0.1);
  transition: var(--transition);
  aspect-ratio: 4 / 3;
}

.gallery-detail-grid .gallery-image:hover {
  transform: scale(1.02);
  border-color: rgba(201, 149, 45, 0.3);
}

.gallery-detail-grid .gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 992px) {
  .gallery-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-categories-grid {
    grid-template-columns: 1fr;
  }
  .gallery-detail-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── CTA Section ─── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 149, 45, 0.08) 0%, transparent 70%);
}

.cta-section .container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
}

.cta-contact {
  background: none;
}

.cta-contact .cta-section-bg {
  position: absolute;
  inset: 0;
}

.cta-contact .cta-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity;
}

.cta-contact .cta-bg-slide.active {
  opacity: 1;
}

.cta-contact .cta-section-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,43,70,0.8) 0%, rgba(9,28,46,0.9) 100%);
  z-index: 1;
}

.cta-contact .container {
  z-index: 2;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

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

/* ─── About Page ─── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 149, 45, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 122, 107, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ─── About Page Hero ─── */
.page-hero-about p {
  text-align: justify;
}

.page-hero-slideshow {
  background: none;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.page-hero-slideshow .page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-slideshow .hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity;
}

.page-hero-slideshow .hero-bg-slide.active {
  opacity: 1;
}

.page-hero-slideshow .page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,43,70,0.75) 0%, rgba(9,28,46,0.85) 100%);
  z-index: 1;
}

.page-hero-slideshow .container {
  z-index: 2;
}

.page-hero-slideshow h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.page-hero-slideshow p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Story Section ─── */
.story-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.story-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
}

/* ─── Vision Mission ─── */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.vm-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(201, 149, 45, 0.12);
  transition: var(--transition);
}

.vm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(201, 149, 45, 0.25);
}

.vm-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.vm-card .icon svg {
  width: 28px;
  height: 28px;
}

.vm-card.vision .icon {
  background: linear-gradient(135deg, rgba(201, 149, 45, 0.15), rgba(201, 149, 45, 0.05));
  color: var(--secondary);
}

.vm-card.mission .icon {
  background: linear-gradient(135deg, rgba(26, 122, 107, 0.15), rgba(26, 122, 107, 0.05));
  color: var(--accent);
}

.vm-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.vm-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── Approach List ─── */
.approach-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.approach-item {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(201, 149, 45, 0.1);
  transition: var(--transition);
}

.approach-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border-color: rgba(201, 149, 45, 0.2);
}

.approach-item .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  display: block;
  margin-bottom: 8px;
}

.approach-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

/* ─── Articles Page ─── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(201, 149, 45, 0.1);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
  border-color: rgba(201, 149, 45, 0.25);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
}

.article-category {
  background: rgba(201, 149, 45, 0.15);
  color: var(--secondary);
  padding: 3px 12px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
}

.article-date {
  color: rgba(255, 255, 255, 0.4);
}

.article-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.45;
}

.article-card h3 a {
  color: var(--white);
  transition: var(--transition);
}

.article-card h3 a:hover {
  color: var(--secondary);
}

.article-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-read-more {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  margin-top: auto;
}

.article-read-more:hover {
  color: var(--white);
  gap: 8px;
}

/* ─── Article Detail Page ─── */
.article-hero-category {
  display: inline-block;
  background: rgba(201, 149, 45, 0.15);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.article-hero-meta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

.article-container {
  max-width: 780px;
  margin: 0 auto;
}

.article-container .article-intro {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(201, 149, 45, 0.1);
}

.article-container p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.85;
  margin-bottom: 20px;
}

.article-container h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 149, 45, 0.1);
}

.article-container h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin: 32px 0 12px;
}

.article-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.article-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.article-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  opacity: 0.6;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 48px 0 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(201, 149, 45, 0.1);
}

.article-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.article-tag:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.article-highlight {
  background: rgba(201, 149, 45, 0.06);
  border-left: 3px solid var(--secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 28px 32px;
  margin: 32px 0;
}

.article-highlight p {
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
  line-height: 1.7;
}

/* ─── TNA Steps ─── */
.tna-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 40px 0;
}

.tna-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(201, 149, 45, 0.08);
}

.tna-step:last-child {
  border-bottom: none;
}

.tna-step-num {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(201, 149, 45, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--secondary);
}

.tna-step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 8px;
}

.tna-step-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  margin: 0;
}

.article-cta-box {
  background: rgba(201, 149, 45, 0.06);
  border: 1px solid rgba(201, 149, 45, 0.15);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  margin: 48px 0;
}

.article-cta-box h3 {
  color: var(--white);
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.article-cta-box p {
  font-size: 0.95rem;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.55);
}

/* ─── Services Page ─── */
.service-detail {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(201, 149, 45, 0.1);
  margin-bottom: 32px;
  transition: var(--transition);
}

.service-detail:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
  border-color: rgba(201, 149, 45, 0.25);
}

.service-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.service-detail-header .icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: linear-gradient(135deg, rgba(201, 149, 45, 0.12), rgba(201, 149, 45, 0.05));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--secondary);
  opacity: 0;
  transform: scale(0.5) rotate(-10deg);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-detail.visible .service-detail-header .icon {
  opacity: 1;
  transform: scale(1) rotate(0);
  animation: serviceIconShake 0.6s ease forwards;
}

@keyframes serviceIconShake {
  0% { transform: scale(1) rotate(0); }
  15% { transform: scale(1.12) rotate(-4deg); }
  30% { transform: scale(1.06) rotate(3deg); }
  45% { transform: scale(1.08) rotate(-2deg); }
  60% { transform: scale(1.02) rotate(1deg); }
  80% { transform: scale(1.01) rotate(-0.5deg); }
  100% { transform: scale(1) rotate(0); }
}

.service-detail-header .icon svg {
  width: 32px;
  height: 32px;
}

.service-detail h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.service-detail p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-features span {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid rgba(201, 149, 45, 0.1);
}

/* ─── Programmes ─── */
.programme-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(201, 149, 45, 0.1);
  transition: var(--transition);
}

.programme-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  border-color: rgba(201, 149, 45, 0.25);
}

.programme-card-header {
  padding: 32px 28px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.programme-card-header .icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(201, 149, 45, 0.2), rgba(201, 149, 45, 0.08));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 16px;
  opacity: 0;
  transform: scale(0.3) rotate(-15deg) translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease, background 0.5s ease;
  box-shadow: 0 0 0 rgba(201, 149, 45, 0);
  position: relative;
  overflow: hidden;
}

.programme-card-header .icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.programme-card.visible .programme-card-header .icon {
  opacity: 1;
  transform: scale(1) rotate(0) translateY(0);
  box-shadow: 0 8px 32px rgba(201, 149, 45, 0.2);
  background: linear-gradient(135deg, rgba(201, 149, 45, 0.25), rgba(201, 149, 45, 0.1));
  animation: cardIconBurst 0.8s ease forwards, cardIconGlow 2s ease-in-out 1s infinite;
}

.programme-card-header .icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1.5px solid rgba(201, 149, 45, 0.2);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.programme-card.visible .programme-card-header .icon::after {
  opacity: 1;
  animation: cardIconPulse 2s ease-in-out 1.5s infinite;
}

.programme-card.visible .programme-card-header .icon::before {
  opacity: 1;
  animation: cardIconShine 3s ease-in-out 0.8s infinite;
}

@keyframes cardIconBurst {
  0% { transform: scale(0.3) rotate(-15deg) translateY(20px); }
  50% { transform: scale(1.15) rotate(2deg) translateY(-3px); }
  70% { transform: scale(0.95) rotate(-1deg) translateY(1px); }
  85% { transform: scale(1.03) rotate(0.5deg) translateY(-1px); }
  100% { transform: scale(1) rotate(0) translateY(0); }
}

@keyframes cardIconGlow {
  0%, 100% { box-shadow: 0 8px 32px rgba(201, 149, 45, 0.15); }
  50% { box-shadow: 0 8px 48px rgba(201, 149, 45, 0.3); }
}

@keyframes cardIconPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.05); }
}

@keyframes cardIconShine {
  0% { transform: translateX(-100%) rotate(25deg); }
  20% { transform: translateX(100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}

.programme-card-header .icon svg {
  width: 28px;
  height: 28px;
}

.programme-card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.programme-card-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.programme-card-body {
  padding: 20px 28px 28px;
}

.programme-card-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.programme-card-body li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.programme-card-body li::before {
  content: '\2192';
  color: var(--secondary);
  font-weight: 700;
}

/* ─── Contact Page ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(201, 149, 45, 0.1);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font);
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.form-group select option {
  background: var(--primary);
  color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(201, 149, 45, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(201, 149, 45, 0.1);
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.contact-info-item .icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, rgba(201, 149, 45, 0.1), rgba(201, 149, 45, 0.05));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--secondary);
}

.contact-info-item .icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-item .label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.contact-info-item .value {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
}

/* ─── Testimonials ─── */
.testimonials-card {
  position: relative;
  min-height: 240px;
}

.testimonial-slide {
  display: none;
  animation: fadeInUp 0.5s ease;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 12px;
}

.testimonial-author {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
}

.testimonial-dots {
  display: flex;
  gap: 6px;
  margin-top: 16px;
}

.testimonial-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dots span.active {
  background: var(--secondary);
  width: 24px;
  border-radius: 4px;
}

/* ─── Modal ─── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(9, 28, 46, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.modal-overlay.open {
  display: flex;
}

.modal-content {
  background: var(--primary-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  animation: fadeInUp 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(201, 149, 45, 0.15);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
  padding: 4px;
}

.modal-close:hover {
  color: var(--secondary);
}

.modal-content h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.modal-sub {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 576px) {
  .modal-content {
    padding: 28px 24px;
  }
  .modal-content h3 {
    font-size: 1.2rem;
  }
}

/* ─── POPIA Page ─── */
.popia-content {
  max-width: 860px;
  margin: 0 auto;
}

.popia-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.popia-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.popia-section h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.popia-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.popia-section p:last-child {
  margin-bottom: 0;
}

.popia-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}

.popia-section ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.7;
}

.popia-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}

.popia-section a {
  color: var(--secondary-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.popia-section a:hover {
  color: var(--secondary);
}

/* ─── Logo Carousel ─── */
.logo-carousel {
  padding: 56px 0;
  background: var(--primary-dark);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-carousel::before,
.logo-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20px;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--primary-dark) 0%, transparent 100%);
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--primary-dark) 0%, transparent 100%);
}

.logo-carousel-track {
  display: flex;
  gap: 64px;
  align-items: center;
  width: max-content;
  animation: logoScroll 35s linear infinite;
}

.logo-carousel-track img {
  height: 72px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 24px;
}

@keyframes logoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ─── Footer ─── */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 149, 45, 0.2), transparent);
}

.footer::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 149, 45, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}



.footer-bottom-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 12px;
  font-size: 0.82rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--secondary);
}

.footer-bottom-links .separator {
  color: rgba(255, 255, 255, 0.2);
}

.footer-brand h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

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

.footer-address {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  display: block;
}

.footer-social {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--secondary);
  border: 1px solid rgba(201, 149, 45, 0.4);
  transition: var(--transition);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(201, 149, 45, 0.3);
}

.footer-social a svg {
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ─── Animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-enabled .animate-on-scroll {
  opacity: 0;
}

.js-enabled .animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Splash / Onboarding ─── */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ── Background Slideshow ── */
.splash-slideshow {
  position: absolute;
  inset: 0;
}

.splash-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity;
}

.splash-slide.active {
  opacity: 1;
}

.splash-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,43,70,0.7) 0%, rgba(9,28,46,0.85) 100%);
  z-index: 1;
}

/* ── Skip button ── */
.splash-skip {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  font-family: var(--font);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.splash-skip:hover,
.splash-skip:focus-visible {
  background: rgba(255,255,255,0.18);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

/* ── Brand (logo + text) ── */
.splash-brand {
  position: relative;
  z-index: 5;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: brandFadeIn 1s ease-out 1.5s forwards;
  pointer-events: none;
}

.splash-brand.revealed {
  pointer-events: auto;
}

@keyframes brandFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.splash-logo-mark {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.splash-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  border-radius: 20px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(201,149,45,0.35);
  animation: logoPulse 2s ease-in-out 2s infinite;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(201,149,45,0.35); transform: scale(1); }
  50%      { box-shadow: 0 8px 48px rgba(201,149,45,0.55); transform: scale(1.05); }
}

.splash-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.splash-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  font-weight: 400;
  text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

/* ── Enter button ── */
.splash-enter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 44px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.3s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  transform: scale(0.9);
  animation: enterBtnIn 0.6s ease-out 2.5s forwards, enterBtnPulse 2s ease-in-out 3.2s infinite;
}

@keyframes enterBtnIn {
  to { opacity: 1; transform: scale(1); }
}

@keyframes enterBtnPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(201,149,45,0.3); transform: scale(1); }
  50%      { box-shadow: 0 8px 50px rgba(201,149,45,0.5); transform: scale(1.03); }
}

.splash-enter:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(201,149,45,0.4);
}

.splash-enter svg {
  transition: transform 0.3s ease;
}

.splash-enter:hover svg {
  transform: translateX(4px);
}

/* ── Dot indicators ── */
.splash-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: all 0.4s ease;
  cursor: default;
}

.dot.active {
  background: var(--secondary);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(201,149,45,0.4);
}

/* ── Progress bar ── */
.splash-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.06);
  z-index: 5;
}

.splash-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
  transition: width 0.3s linear;
  border-radius: 0 2px 2px 0;
}

/* ── Splash responsive ── */
@media (max-width: 768px) {
  .splash-title {
    font-size: 1.8rem;
  }
  .splash-sub {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }
  .splash-logo-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    border-radius: 16px;
  }
  .splash-logo-mark {
    margin-bottom: 14px;
  }
  .splash-enter {
    padding: 14px 34px;
    font-size: 0.92rem;
  }
}

@media (max-width: 576px) {
  .splash-title {
    font-size: 1.4rem;
  }
  .splash-sub {
    font-size: 0.85rem;
    margin-bottom: 24px;
  }
  .splash-logo-icon {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
    border-radius: 14px;
  }
  .splash-logo-mark {
    margin-bottom: 12px;
  }
  .splash-enter {
    padding: 12px 28px;
    font-size: 0.85rem;
  }
  .splash-skip {
    top: 12px;
    right: 16px;
    padding: 6px 16px;
    font-size: 0.75rem;
  }
  .splash-dots {
    bottom: 16px;
    gap: 8px;
  }
  .dot {
    width: 6px;
    height: 6px;
  }
  .dot.active {
    width: 18px;
  }
}

/* ─── Responsive ─── */
/* ─── Responsive ─── */
@media (max-width: 1200px) {
  .hero-carousel-content h1 {
    font-size: 3rem;
  }
}

/* 992px and below (tablets) */
@media (max-width: 992px) {
  .hero-carousel {
    min-height: 0;
    padding: 0;
  }

  .hero-carousel-slides {
    height: auto;
  }

  .hero-carousel-slide {
    position: relative;
    opacity: 1;
    transition: none;
    display: none;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 140px 0 80px;
  }

  .hero-carousel-slide.active {
    display: flex;
  }

  .hero-carousel-content {
    text-align: center;
  }

  .hero-carousel-content p {
    margin: 0 auto 36px;
  }

  .hero-carousel-content h1 {
    font-size: 2.5rem;
  }

  .vm-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .page-hero-slideshow {
    min-height: 400px;
  }

  .page-hero-slideshow h1 {
    font-size: 2.2rem;
  }

  .page-hero-slideshow p {
    font-size: 0.95rem;
  }

  .page-hero {
    padding: 130px 0 70px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section {
    padding: 80px 0;
  }

  .cta-section {
    padding: 80px 0;
  }

  .cta-section h2 {
    font-size: 2rem;
  }
}

/* 768px and below (large phones / small tablets) */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--primary);
    border-bottom: 1px solid rgba(201, 149, 45, 0.12);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(-120%);
    transition: var(--transition);
    opacity: 0;
    z-index: 999;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 12px 0;
    display: block;
    color: rgba(255, 255, 255, 0.85);
  }

  .nav-cta {
    text-align: center;
    padding: 14px 24px !important;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    background: var(--secondary);
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    background: var(--secondary);
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    background: var(--secondary);
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-carousel {
    padding: 0;
  }

  .hero-carousel-slide {
    padding: 130px 0 60px;
  }

  .hero-carousel-content h1 {
    font-size: 2rem;
  }

  .hero-carousel-content p {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    padding: 28px 24px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-item {
    padding: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section {
    padding: 60px 0;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  .cta-section p {
    font-size: 0.95rem;
  }

  .cta-section {
    padding: 60px 0;
  }

  .service-detail-header {
    flex-direction: column;
  }

  .service-detail {
    padding: 28px 24px;
  }

  .page-hero {
    padding: 120px 0 60px;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .page-hero p {
    font-size: 0.95rem;
  }

  .vm-card {
    padding: 28px 24px;
  }

  .contact-form {
    padding: 28px 24px;
  }

  .programme-card-header {
    padding: 24px 20px 16px;
  }

  .programme-card-body {
    padding: 16px 20px 24px;
  }

  .approach-list {
    grid-template-columns: 1fr 1fr;
  }

  .approach-item {
    padding: 24px 16px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .container {
    padding: 0 20px;
  }
}

/* 576px and below (small phones) */
@media (max-width: 576px) {
  .hero-carousel-content h1 {
    font-size: 1.7rem;
  }

  .hero-carousel-content p {
    font-size: 0.95rem;
  }

  .hero-carousel {
    padding: 0;
  }

  .hero-carousel-slide {
    padding: 120px 0 50px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.92rem;
  }

  .section {
    padding: 50px 0;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  .page-hero-slideshow h1 {
    font-size: 1.5rem;
  }

  .page-hero {
    padding: 110px 0 50px;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    justify-content: center;
    width: 100%;
  }

  .cards-grid {
    gap: 16px;
  }

  .card {
    padding: 24px 20px;
  }

  .card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .why-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .approach-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-features span {
    font-size: 0.75rem;
    padding: 4px 12px;
  }

  .service-detail {
    padding: 24px 20px;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .contact-info-card {
    padding: 24px 20px;
  }

  .contact-info-item .icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 0.9rem;
  }

  .contact-info-item .value {
    font-size: 0.88rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 14px;
    font-size: 16px;
  }

  .logo {
    font-size: 1rem;
    gap: 8px;
  }

  .logo img {
    height: 80px;
    margin: -12px 0;
  }

  .navbar .container {
    height: 64px;
  }

  .nav-links {
    top: 64px;
    max-height: calc(100vh - 64px);
  }

  .footer-brand p {
    max-width: 100%;
  }

  .vm-card {
    padding: 24px 20px;
  }

  .story-content p {
    font-size: 0.95rem;
  }

  .container {
    padding: 0 16px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-tag {
    font-size: 0.72rem;
    padding: 4px 14px;
  }
}

/* 400px and below (very small devices) */
@media (max-width: 400px) {
  .hero-carousel-content h1 {
    font-size: 1.4rem;
  }

  .page-hero h1 {
    font-size: 1.3rem;
  }

  .section-header h2 {
    font-size: 1.3rem;
  }

  .cta-section h2 {
    font-size: 1.3rem;
  }

  .footer-grid {
    gap: 24px;
  }

  .footer {
    padding: 40px 0 24px;
  }
}

/* Touch device refinements */
@media (hover: none) and (pointer: coarse) {
  .card:hover,
  .programme-card:hover,
  .service-detail:hover,
  .why-item:hover,
  .vm-card:hover,
  .contact-info-card:hover,
  .approach-item:hover {
    transform: none;
  }

  .nav-links a {
    padding: 12px 0;
  }

  .btn:hover {
    transform: none;
  }
}

/* ─── References / Client Reference Table ─── */
.table-wrapper {
  overflow-x: auto;
  margin-top: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  position: relative;
}

@media (max-width: 768px) {
  .table-wrapper::after {
    content: "← Swipe to see more →";
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(15, 43, 70, 0.85);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    pointer-events: none;
    animation: swipeHint 2s ease-in-out 1s infinite;
    z-index: 2;
  }
}

@media (min-width: 769px) {
  .table-wrapper::after {
    display: none;
  }
}

.ref-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--white);
  min-width: 700px;
}

.ref-table thead {
  background: var(--secondary-light);
}

.ref-table th {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 16px 14px;
  text-align: left;
  white-space: nowrap;
}

.ref-table tbody tr.highlight-row {
  background: rgba(201, 149, 45, 0.15);
}

.ref-table tbody tr.highlight-row:hover {
  background: rgba(201, 149, 45, 0.22);
}

.ref-table tbody tr {
  border-bottom: 1px solid var(--gray-light);
  transition: background 0.2s;
}

.ref-table tbody tr:nth-child(even) {
  background: rgba(15, 43, 70, 0.02);
}

.ref-table tbody tr:nth-child(even).highlight-row {
  background: rgba(201, 149, 45, 0.18);
}

.ref-table tbody tr:hover {
  background: rgba(201, 149, 45, 0.06);
}

.ref-table td {
  padding: 14px;
  vertical-align: top;
  line-height: 1.6;
  color: var(--dark);
}

.ref-table td.company-cell {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.ref-table .company-logo {
  max-width: 100px;
  max-height: 40px;
  display: block;
}

.ref-table td.value-cell {
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 32px;
  align-items: center;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.logo-grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  border: 1px solid rgba(201, 149, 45, 0.1);
  width: 100%;
  height: 100px;
  transition: var(--transition);
}

.logo-grid-item:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 149, 45, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

.logo-grid-item {
  animation: float 3s ease-in-out infinite;
}

.logo-grid-item:nth-child(2) { animation-delay: 0.3s; }
.logo-grid-item:nth-child(3) { animation-delay: 0.6s; }
.logo-grid-item:nth-child(4) { animation-delay: 0.9s; }
.logo-grid-item:nth-child(5) { animation-delay: 1.2s; }
.logo-grid-item:nth-child(6) { animation-delay: 1.5s; }
.logo-grid-item:nth-child(7) { animation-delay: 1.8s; }
.logo-grid-item:nth-child(8) { animation-delay: 2.1s; }
.logo-grid-item:nth-child(9) { animation-delay: 2.4s; }
.logo-grid-item:nth-child(10) { animation-delay: 2.7s; }
.logo-grid-item:nth-child(11) { animation-delay: 0.3s; }
.logo-grid-item:nth-child(12) { animation-delay: 0.6s; }
.logo-grid-item:nth-child(13) { animation-delay: 0.9s; }
.logo-grid-item:nth-child(14) { animation-delay: 1.2s; }
.logo-grid-item:nth-child(15) { animation-delay: 1.5s; }
.logo-grid-item:nth-child(16) { animation-delay: 1.8s; }
.logo-grid-item:nth-child(17) { animation-delay: 2.1s; }
.logo-grid-item:nth-child(18) { animation-delay: 2.4s; }
.logo-grid-item:nth-child(19) { animation-delay: 2.7s; }

.logo-grid-item .company-logo {
  max-width: 120px;
  max-height: 60px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .ref-table {
    font-size: 0.82rem;
    min-width: 600px;
  }
  .ref-table th,
  .ref-table td {
    padding: 10px 8px;
  }
}

@media (max-width: 768px) {
  .logo-carousel {
    padding: 40px 0;
  }
  .logo-carousel-track {
    gap: 40px;
  }
  .logo-carousel-track img {
    height: 52px;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .logo-carousel {
    padding: 32px 0;
  }
  .logo-carousel-track {
    gap: 28px;
  }
  .logo-carousel-track img {
    height: 42px;
    padding: 6px 12px;
  }
}

@keyframes swipeHint {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
  70% { transform: translateX(-3px); }
}

/* ─── Section CTA ─── */
.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ─── Button Dark ─── */
.btn-dark {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 16px rgba(15, 43, 70, 0.2);
}

.btn-dark:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(15, 43, 70, 0.3);
  color: var(--white);
}

/* Print styles */
@media print {
  .navbar,
  .cta-section,
  .footer {
    display: none;
  }

  .hero-carousel {
    min-height: 0;
    padding: 40px 0;
    background: var(--white) !important;
  }

  .hero-carousel-content h1,
  .hero-carousel-content h1 span {
    color: var(--primary) !important;
    -webkit-text-fill-color: var(--primary) !important;
  }

  .hero-carousel-content p {
    color: var(--dark) !important;
  }

  .hero-carousel-dots {
    display: none;
  }

  .section {
    padding: 40px 0;
    page-break-inside: avoid;
  }

  .page-hero {
    padding: 40px 0;
    background: var(--light) !important;
  }

  .page-hero h1 {
    color: var(--primary) !important;
  }

  .page-hero p {
    color: var(--dark) !important;
  }
}
