/* ============================================
   PakRasta — Premium Interactive Website
   Tourism · Culture · Digital Innovation · AI
   ============================================ */

/* ---------- CSS Variables (Light / Dark) ---------- */
:root {
  --primary: #4361ee;
  --primary-light: #6b83f7;
  --secondary: #7b2cbf;
  --accent: #06d6a0;
  --gradient-main: linear-gradient(135deg, #4361ee 0%, #7b2cbf 50%, #9d4edd 100%);
  --gradient-soft: linear-gradient(135deg, rgba(67, 97, 238, 0.15), rgba(123, 44, 191, 0.12));
  --gradient-hero: linear-gradient(160deg, #0a0e27 0%, #1a1f4e 40%, #2d1b69 100%);

  --bg: #f0f4ff;
  --bg-alt: #e8edff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --glass-border: rgba(255, 255, 255, 0.45);
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --shadow: 0 8px 32px rgba(67, 97, 238, 0.12);
  --shadow-lg: 0 20px 60px rgba(67, 97, 238, 0.18);
  --shadow-glow: 0 0 40px rgba(123, 44, 191, 0.25);
  --nav-bg: rgba(240, 244, 255, 0.85);
  --overlay: rgba(15, 23, 42, 0.55);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.4s var(--ease);
  --max-width: 1280px;
  --nav-height: 80px;
}

[data-theme="dark"] {
  --bg: #0a0e27;
  --bg-alt: #111636;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-solid: #151a3a;
  --glass-border: rgba(255, 255, 255, 0.1);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --nav-bg: rgba(10, 14, 39, 0.88);
  --overlay: rgba(0, 0, 0, 0.65);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Outfit", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
}

body.loading {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Animated Background ---------- */
.bg-animation {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: blobFloat 18s ease-in-out infinite;
}

.bg-blob:nth-child(1) {
  width: 500px;
  height: 500px;
  background: #4361ee;
  top: -10%;
  left: -5%;
}

.bg-blob:nth-child(2) {
  width: 400px;
  height: 400px;
  background: #7b2cbf;
  top: 40%;
  right: -8%;
  animation-delay: -6s;
}

.bg-blob:nth-child(3) {
  width: 350px;
  height: 350px;
  background: #06d6a0;
  bottom: -5%;
  left: 30%;
  animation-delay: -12s;
  opacity: 0.2;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ---------- Custom Cursor ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(67, 97, 238, 0.5);
}

.cursor-ring.hover {
  width: 56px;
  height: 56px;
  border-color: var(--secondary);
  background: rgba(123, 44, 191, 0.08);
}

@media (max-width: 768px) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* ---------- Loading Screen ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  width: 90px;
  height: auto;
  margin-bottom: 28px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

.loader-bar-wrap {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-main);
  border-radius: var(--radius-full);
  animation: loaderProgress 2s var(--ease) forwards;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}

@keyframes loaderProgress {
  to { width: 100%; }
}

/* ---------- Progress Bar (scroll) ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-main);
  z-index: 1001;
  width: 0%;
  transition: width 0.1s linear;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.section {
  padding: clamp(72px, 10vw, 120px) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-tag::before,
.section-tag::after {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
}

.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass card */
.glass-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(67, 97, 238, 0.3);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  z-index: 1;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(67, 97, 238, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(123, 44, 191, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(67, 97, 238, 0.4);
}

.btn-outline:hover {
  background: rgba(67, 97, 238, 0.08);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}

.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  height: 70px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  height: 42px;
  width: auto;
}

.nav-brand span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-brand small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: color 0.3s, background 0.3s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(67, 97, 238, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-size: 1.1rem;
  transition: transform 0.3s, background var(--transition);
}

.theme-toggle:hover {
  transform: rotate(20deg) scale(1.05);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu a {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 14s ease-out forwards;
}

@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 14, 39, 0.88) 0%,
    rgba(26, 31, 78, 0.75) 50%,
    rgba(45, 27, 105, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(40px, 8vw, 80px) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge i {
  color: var(--accent);
}

.hero-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title .typed-cursor {
  color: var(--accent);
  animation: blink 0.8s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  padding: 32px;
  width: 100%;
  max-width: 400px;
  color: #fff;
}

.hero-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-stat {
  text-align: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}

.hero-stat .num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
}

.hero-stat .label {
  font-size: 0.75rem;
  opacity: 0.75;
  margin-top: 4px;
}

/* Floating icons */
.floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-icon {
  position: absolute;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  color: #fff;
  font-size: 1.2rem;
  backdrop-filter: blur(8px);
  animation: floatIcon 6s ease-in-out infinite;
}

.float-icon:nth-child(1) { top: 15%; left: 8%; animation-delay: 0s; }
.float-icon:nth-child(2) { top: 25%; right: 12%; animation-delay: -1.5s; }
.float-icon:nth-child(3) { bottom: 30%; left: 15%; animation-delay: -3s; }
.float-icon:nth-child(4) { bottom: 20%; right: 8%; animation-delay: -4.5s; }

@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(5deg); }
}

.hero-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-dot {
  width: 32px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}

.hero-dot.active {
  background: var(--accent);
  width: 48px;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: clamp(20px, 5vw, 48px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(67, 97, 238, 0.4), transparent 50%);
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 1.02rem;
  line-height: 1.75;
}

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.division-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  transition: transform 0.3s;
}

.division-chip:hover {
  transform: translateX(6px);
}

.division-chip i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-soft);
  border-radius: 10px;
  color: var(--primary);
  font-size: 1rem;
}

.division-chip span {
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Vision / Mission ---------- */
.vision-section {
  background: var(--gradient-hero);
  color: #fff;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.vision-card {
  padding: clamp(28px, 4vw, 44px);
  color: #fff;
}

.vision-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.vision-card h3 i {
  color: var(--accent);
}

.vision-card p,
.vision-card li {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  font-size: 0.98rem;
}

.mission-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.mission-list i {
  color: var(--accent);
  margin-top: 4px;
  flex-shrink: 0;
}

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.value-card {
  padding: 28px 24px;
  text-align: center;
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-main);
  border-radius: 16px;
  color: #fff;
  font-size: 1.3rem;
}

.value-card h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Services / Divisions ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 0;
  overflow: hidden;
}

.service-card-image {
  height: 200px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-body {
  padding: 28px;
}

.service-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  transition: gap 0.3s;
}

.service-link:hover {
  gap: 14px;
}

/* Service detail blocks */
.service-detail {
  padding: clamp(64px, 8vw, 100px) 0;
}

.service-detail:nth-child(even) {
  background: var(--bg-alt);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.detail-grid.reverse .detail-image {
  order: 2;
}

.detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.detail-grid h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 16px;
}

.detail-intro {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.pill {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--gradient-soft);
  border: 1px solid rgba(67, 97, 238, 0.15);
  border-radius: var(--radius-full);
  color: var(--text);
  transition: background 0.3s, transform 0.3s;
}

.pill:hover {
  background: rgba(67, 97, 238, 0.15);
  transform: translateY(-2px);
}

.sub-heading {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.check-list i {
  color: var(--accent);
  margin-top: 3px;
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.step-card {
  padding: 24px 20px;
  text-align: center;
}

.step-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 12px;
}

.step-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Digital services grid */
.digital-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.digital-block {
  padding: 28px 24px;
}

.digital-block h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.digital-block li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid rgba(100, 116, 139, 0.15);
}

.digital-block li:last-child {
  border-bottom: none;
}

/* ---------- Stats & Progress ---------- */
.stats-section {
  background: var(--gradient-hero);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.stat-card {
  padding: 32px 24px;
  text-align: center;
  color: #fff;
}

.stat-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-number .suffix {
  font-size: 1.5rem;
}

.stat-label {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.75;
}

.progress-section {
  max-width: 800px;
  margin: 0 auto;
}

.progress-item {
  margin-bottom: 24px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.progress-header span:last-child {
  color: var(--accent);
  font-weight: 600;
}

.progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-main);
  border-radius: var(--radius-full);
  transition: width 1.5s var(--ease);
}

/* ---------- Achievements ---------- */
.achievements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.achievement-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  margin-bottom: 12px;
}

.achievement-tag {
  flex-shrink: 0;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 6px;
  height: fit-content;
}

.achievement-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(67, 97, 238, 0.7), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Sponsors ---------- */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  align-items: center;
}

.sponsor-card {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.sponsor-card img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.85;
  transition: filter 0.3s, opacity 0.3s, transform 0.3s;
}

.sponsor-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* ---------- Leadership ---------- */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.leader-card {
  padding: 36px 28px;
  text-align: center;
}

.leader-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.leader-card h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.leader-role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

/* ---------- Future Vision ---------- */
.future-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
}

.future-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.future-content {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 6vw, 64px);
  background: linear-gradient(90deg, rgba(10, 14, 39, 0.95) 0%, rgba(10, 14, 39, 0.7) 60%, transparent 100%);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.future-content h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 28px;
}

.future-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.future-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.future-list i {
  color: var(--accent);
  margin-top: 3px;
}

/* ---------- Why Choose ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 500;
}

.why-item i {
  color: var(--primary);
  flex-shrink: 0;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(100, 116, 139, 0.15);
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-soft);
  border-radius: 12px;
  color: var(--primary);
  font-size: 1.1rem;
}

.contact-info-item h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-info-item a,
.contact-info-item p {
  font-size: 1rem;
  color: var(--text);
  transition: color 0.3s;
}

.contact-info-item a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-soft);
  border: 1px solid rgba(67, 97, 238, 0.15);
  color: var(--primary);
  font-size: 1.1rem;
  transition: transform 0.3s, background 0.3s, color 0.3s;
}

.social-links a:hover {
  background: var(--gradient-main);
  color: #fff;
  transform: translateY(-4px);
}

.contact-form-card {
  padding: clamp(28px, 4vw, 40px);
}

.contact-form-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-form-card > p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
  border: 1px solid rgba(100, 116, 139, 0.2);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--gradient-hero);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 320px;
}

.footer-col h4 {
  font-family: "Space Grotesk", sans-serif;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  padding: 6px 0;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.4s, visibility 0.4s, transform 0.4s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .detail-grid,
  .detail-grid.reverse,
  .contact-grid,
  .why-grid,
  .vision-grid,
  .achievements-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid.reverse .detail-image {
    order: 0;
  }

  .hero-visual {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .divisions-grid,
  .why-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}
