/* ============================================================
   ANANTAM AERIALS & ROBOTICS — Master Stylesheet
   Premium Corporate Design · Sky Blue on White
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Fonts */
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Backgrounds */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;

  /* Brand */
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --primary-gradient: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);

  /* Text */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;

  /* Borders & Feedback */
  --border-color: #e2e8f0;
  --success: #10b981;
  --danger: #ef4444;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(2,132,199,0.08), 0 4px 6px -4px rgba(2,132,199,0.04);
  --shadow-glow: 0 0 20px rgba(14,165,233,0.12);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-normal: 0.3s var(--ease-out);
}

/* ── Global Reset ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

p {
  color: var(--text-muted);
  line-height: 1.7;
}

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

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
}

.section-header p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto;
  margin-top: 8px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(2,132,199,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2,132,199,0.35);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(2,132,199,0.25);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  border-color: var(--border-color);
  color: var(--text-muted);
}

.btn-secondary:hover {
  background-color: var(--bg-tertiary);
  color: var(--text-main);
}

.btn-danger {
  background-color: var(--danger);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(239,68,68,0.2);
}

.btn-danger:hover {
  background-color: #dc2626;
  transform: translateY(-2px);
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.2);
}

/* ── Scroll-Triggered Animation ───────────────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ================================================================
   1. NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-normal);
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  padding: 12px 0;
}


.navbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.navbar .container,
.navbar .navbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

#main-navbar .nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

#main-navbar .brand-text {
  letter-spacing: -0.01em;
  color: #ffffff;
  transition: color var(--transition-normal);
}

#main-navbar.scrolled .brand-text {
  color: var(--text-main);
}

#main-navbar .nav-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  padding: 6px;
  border-radius: var(--radius-md);
}

#main-navbar .nav-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-link-cta {
  padding: 8px 20px !important;
  border-radius: var(--radius-md);
  background: var(--primary-gradient);
  color: #ffffff !important;
}

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

.nav-link-cta:hover {
  color: #ffffff !important;
  opacity: 0.92;
}

.navbar.scrolled .nav-link-cta {
  color: #ffffff !important;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.navbar.scrolled .mobile-menu-btn span {
  background-color: var(--text-main);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.navbar.scrolled .logo {
  color: var(--text-main);
}

.navbar .logo img {
  height: 38px;
  width: auto;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

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

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

.navbar.scrolled .nav-links a {
  color: var(--text-muted);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover {
  color: #ffffff;
}

.navbar.scrolled .nav-links a:hover {
  color: var(--primary);
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.navbar.scrolled .hamburger span {
  background-color: var(--text-main);
}

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

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

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

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15,23,42,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 80px 24px 24px;
  overflow-y: auto;
}

.mobile-menu.active,
.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 0;
  transition: color var(--transition-fast);
  width: 100%;
  text-align: center;
}

.mobile-menu a:hover {
  color: var(--primary);
}

/* ================================================================
   2. HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15,23,42,0.75) 0%,
    rgba(15,23,42,0.55) 50%,
    rgba(15,23,42,0.82) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  padding: 80px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(56,189,248,0.95);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero-tagline {
    font-size: 11px;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 480px) {
  .hero-tagline {
    font-size: 9px;
    letter-spacing: 0.05em;
  }
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  line-height: 1.7;
}

.hero-content p {
  font-size: 19px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  line-height: 1.7;
}

.hero-values {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-value {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.hero-value-icon {
  color: var(--primary);
  font-size: 8px;
}

.btn-outline-light {
  background-color: transparent;
  border-color: rgba(255,255,255,0.45);
  color: #ffffff;
}

.btn-outline-light:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--primary);
  transform: translateY(-2px);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.hero-buttons .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: #ffffff;
}

.hero-buttons .btn-outline:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--primary);
}

/* Scroll indicator */
.scroll-indicator,
.scroll-down {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  animation: float 2.5s ease-in-out infinite;
}

.scroll-indicator svg,
.scroll-down svg,
.scroll-down i {
  width: 22px;
  height: 22px;
}

/* Section headers (shared) */
.section-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 56px;
}

.about-section .section-title,
.services-section .section-title,
.projects-section .section-title,
.why-us-section .section-title,
.contact-section .section-title {
  text-align: center;
}

.about-section .section-badge,
.services-section .section-badge,
.projects-section .section-badge,
.why-us-section .section-badge,
.contact-section .section-badge {
  display: block;
  text-align: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.about-section .section-subtitle,
.services-section .section-subtitle,
.projects-section .section-subtitle,
.contact-section .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ================================================================
   3. ABOUT SECTION
   ================================================================ */
.about-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.about-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.about-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.about-text h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-text h2 span {
  color: var(--primary);
}

.about-intro {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
}

.about-text p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
  text-align: center;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
  width: 100%;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.pillar p {
  font-size: 15px;
  margin-bottom: 0;
}

.about-img-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

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

.about-img-main {
  aspect-ratio: 3 / 2;
  max-height: 400px;
}

.about-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-img-row .about-img-wrapper {
  aspect-ratio: 3 / 2;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.about-stats .stat-item {
  text-align: center;
}

.about-stats .stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.about-stats .stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

.about-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ================================================================
   4. SERVICES SECTION
   ================================================================ */
.services-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
}

.service-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.service-category {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.service-category:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(2,132,199,0.2);
}

.service-category-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.service-category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

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

.service-category .category-header,
.service-category .category-services {
  padding-left: 28px;
  padding-right: 28px;
}

.service-category .category-header {
  padding-top: 24px;
}

.service-category .category-services {
  padding-bottom: 28px;
}

.service-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.category-header .category-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 22px;
  flex-shrink: 0;
}

.category-header h3 {
  font-size: 20px;
  font-weight: 700;
}

.category-services {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-secondary);
  font-size: 15px;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  cursor: default;
}

.service-item:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.service-item i,
.service-item svg {
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}

/* ================================================================
   5. PROJECTS SECTION
   ================================================================ */
.projects-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.project-card {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2,132,199,0.2);
}

.project-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

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

.project-content {
  padding: 24px;
}

.project-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.project-content p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.project-tags span {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background-color: var(--primary-light);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.project-application {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.project-application i,
.project-application svg {
  color: var(--primary);
}

/* ================================================================
   6. TRAINING / ACADEMY SECTION
   ================================================================ */
.training-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
}

.training-academy-header {
  text-align: center;
  margin-bottom: 56px;
}

.training-academy-header .section-badge {
  background: rgba(56,189,248,0.15);
  color: #38bdf8;
}

.training-academy-header .section-title {
  color: #ffffff;
}

.training-academy-header .section-subtitle {
  color: rgba(255,255,255,0.65);
  margin-bottom: 0;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  justify-content: center;
  gap: 28px;
}

.training-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-normal);
}

.training-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  border-color: rgba(56,189,248,0.35);
  background: rgba(255,255,255,0.07);
}

.training-card h3 {
  color: #ffffff;
}

.training-card p {
  color: rgba(255,255,255,0.65);
}

.training-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px auto;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  transition: all var(--transition-normal);
}

.training-card:hover .training-icon {
  background: var(--primary-gradient);
  color: #ffffff;
}

.training-section .training-icon {
  background: rgba(56,189,248,0.12);
  color: #38bdf8;
}

.training-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.training-card p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.training-card ul,
.training-card .features-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.training-features li,
.training-card ul li,
.training-card .features-list li {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.training-features li::before,
.training-card ul li::before,
.training-card .features-list li::before {
  content: '✓';
  color: #38bdf8;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ================================================================
   7. WHY US SECTION
   ================================================================ */
.why-us-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-bottom: 64px;
}

.why-us-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-normal);
}

.why-us-card:hover {
  border-color: rgba(2,132,199,0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.why-icon,
.why-us-card .icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
  font-size: 24px;
  color: var(--primary);
}

.why-us-card h3,
.why-us-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-us-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Counters */
.counters-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  padding: 48px 40px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.counter-item {
  text-align: center;
}

.counter-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.counter-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ================================================================
   8. CONTACT SECTION
   ================================================================ */
.contact-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

/* Contact form */
.contact-form {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form .form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 8px;
}

.contact-form .form-control {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.contact-form .form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

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

/* Contact info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 4px;
}

.contact-info > p {
  font-size: 15px;
  color: var(--text-muted);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-item .info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}

.info-item .info-text h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.info-item .info-text p,
.info-item .info-text a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.info-item .info-text a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.map-container {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-top: 8px;
}

.map-container iframe {
  width: 100%;
  height: 200px;
  border: 0;
  display: block;
}

.social-link,
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-link:hover,
.social-links a:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ================================================================
   9. FOOTER
   ================================================================ */
footer {
  background-color: #0f172a;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-about,
.footer-grid .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-about p,
.footer-grid .footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.footer-links-col ul li {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}

.footer-grid h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-grid ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-grid ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-grid ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ================================================================
   ANIMATIONS & KEYFRAMES
   ================================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

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

/* ================================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ================================================================ */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 44px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-text {
    align-items: center;
    text-align: center;
  }

  .service-categories {
    grid-template-columns: 1fr;
  }

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

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

/* ================================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ================================================================ */
@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }

  .container {
    padding: 0 16px;
  }

  /* Navbar */
  .nav-links {
    display: none;
  }

  .hamburger,
  .mobile-menu-btn {
    display: flex;
  }

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

  .hero-values {
    gap: 10px 16px;
  }

  .hero-value {
    font-size: 11px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding: 80px 20px 32px;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-content h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

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


  /* Section headers */
  .section-header h2 {
    font-size: 30px;
  }

  .section-header p {
    font-size: 15px;
  }

  /* About */
  .about-text h2 {
    font-size: 28px;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }

  .about-pillars {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr;
  }

  /* Training */
  .training-grid {
    grid-template-columns: 1fr;
  }

  /* Why us */
  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .counters-section {
    grid-template-columns: 1fr 1fr;
    padding: 32px 24px;
  }

  .counter-number {
    font-size: 36px;
  }

  /* Contact */
  .contact-form {
    padding: 24px;
  }

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

/* ================================================================
   ADMIN — LOGIN PAGE
   ================================================================ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-secondary);
  padding: 24px;
}

.login-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: scaleUp 0.3s ease-out;
}

.login-header {
  text-align: center;
}

.login-logo {
  height: 80px;
  object-fit: contain;
  margin: 0 auto 16px auto;
}

.login-header h2 {
  font-size: 24px;
  color: var(--text-main);
}

.login-header p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

.login-alert {
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
}

.login-alert-danger {
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  display: block;
}

/* ================================================================
   ADMIN — PORTAL LAYOUT
   ================================================================ */
.admin-navbar {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
}

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

.admin-navbar .nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
}

.admin-navbar .nav-logo {
  height: 40px;
  object-fit: contain;
}

.admin-layout {
  padding: 40px 0;
  background-color: var(--bg-secondary);
  min-height: calc(100vh - 73px);
}

.admin-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.sidebar-tab:hover,
.sidebar-tab.active {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: rgba(14,165,233,0.3);
}

/* Admin content panels */
.admin-content-section {
  background-color: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: none;
}

.admin-content-section.active {
  display: block;
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.admin-section-header h2 {
  font-size: 24px;
}

.content-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.content-subtab {
  padding: 8px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.content-subtab:hover,
.content-subtab.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(14, 165, 233, 0.3);
}

.content-subtab-panel {
  display: none;
}

.content-subtab-panel.active {
  display: block;
}

.content-editor-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-editor-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.content-editor-card-header h4 {
  margin: 0;
  font-size: 14px;
}

/* Admin service list */
.admin-service-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-secondary);
  transition: border-color var(--transition-fast);
}

.admin-service-item:hover {
  border-color: var(--primary);
}

.admin-service-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-service-thumb {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background-color: var(--bg-tertiary);
}

.admin-service-text h4 {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 2px;
}

.admin-service-text p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 400px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-service-actions {
  display: flex;
  gap: 8px;
}

/* Admin login link */
.admin-login-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.admin-login-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* ================================================================
   ADMIN — FORMS
   ================================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-main);
}

.form-control {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 8.825L.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Links builder */
.links-builder-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: flex-end;
}

.links-builder-row .form-control {
  flex-grow: 1;
}

/* Images preview */
.images-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.image-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(239,68,68,0.9);
  color: white;
  border: none;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-preview-remove:hover {
  background: rgb(220,38,38);
}

/* ================================================================
   ADMIN — MODAL
   ================================================================ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15,23,42,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.modal-header h3 {
  font-size: 22px;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
  line-height: 1;
}

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

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

/* ================================================================
   LIGHTBOX (Image Zoom Overlay)
   ================================================================ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15,23,42,0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.active,
.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================================================================
   LEGACY / EXISTING SERVICE CARD LAYOUT (carousel-based)
   Kept for backward compatibility with existing service pages
   ================================================================ */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.service-card {
  background: transparent;
  border: none;
  overflow: visible;
  box-shadow: none;
  display: flex;
  flex-direction: row;
  gap: 60px;
  align-items: center;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border-color);
}

.service-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-card:nth-child(even) {
  flex-direction: row-reverse;
}

.service-card:hover {
  transform: none;
  box-shadow: none;
}

.service-images-carousel {
  position: relative;
  width: 480px;
  height: 320px;
  background-color: var(--bg-tertiary);
  overflow: hidden;
  flex-shrink: 0;
  border-radius: var(--radius-md);
}

.carousel-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  transition: opacity 0.5s ease;
  cursor: zoom-in;
}

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

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  color: var(--text-main);
  transition: background-color var(--transition-fast);
  z-index: 10;
}

.carousel-btn:hover {
  background-color: var(--bg-primary);
  color: var(--primary);
}

.carousel-btn-prev {
  left: 12px;
}

.carousel-btn-next {
  right: 12px;
}

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

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  background: var(--primary);
  width: 16px;
  border-radius: 4px;
}

.service-details {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-details h3 {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--text-main);
}

.service-details p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.service-links-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.service-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Hero logo container (legacy variant) */
.hero-logo-container {
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 10px;
  transition: transform 0.5s ease;
}

.hero-logo-container:hover {
  transform: scale(1.03);
}

.hero-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Footer legacy elements */
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  height: 50px;
  object-fit: contain;
}

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

/* ================================================================
   ADMIN RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-content-section {
    padding: 20px;
  }

  .admin-service-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .admin-service-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* ================================================================
   LEGACY SERVICE CARDS RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .hero-logo-container {
    width: 240px;
    height: 240px;
  }

  .services-grid {
    gap: 50px;
  }

  .service-card,
  .service-card:nth-child(even) {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding-bottom: 50px;
  }

  .service-images-carousel {
    width: 100%;
    height: 240px;
  }
}

/* ================================================================
   GALLERY SECTION
   ================================================================ */
.gallery-section {
  background: var(--bg-secondary);
  padding: 100px 0;
}

.gallery-scroll-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.gallery-nav {
  position: relative;
  background: var(--primary);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
  z-index: 10;
}

.gallery-nav:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.gallery-nav:active {
  transform: translateY(0);
}

.gallery-scroll-container {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar while maintaining scroll functionality */
.gallery-scroll-container {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) transparent;
}

.gallery-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.gallery-scroll-container::-webkit-scrollbar-track {
  background: transparent;
}

.gallery-scroll-container::-webkit-scrollbar-thumb {
  background-color: var(--primary-light);
  border-radius: 3px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.gallery-scroll-container::-webkit-scrollbar-thumb:hover {
  background-color: var(--primary);
  background-clip: content-box;
}

.gallery-grid {
  display: flex;
  gap: 24px;
  padding: 8px 0;
  min-width: min-content;
}

.gallery-item {
  position: relative;
  min-width: 320px;
  width: 320px;
  height: 240px;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
  padding: 24px 16px 16px;
  color: white;
  transform: translateY(20px);
  transition: transform var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: white;
}

/* ================================================================
   GALLERY RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .gallery-item {
    min-width: 260px;
    width: 260px;
    height: 200px;
  }

  .gallery-scroll-wrapper {
    gap: 12px;
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .gallery-section {
    padding: 60px 0;
  }

  .gallery-item {
    min-width: 220px;
    width: 220px;
    height: 160px;
  }

  .gallery-nav {
    width: 36px;
    height: 36px;
  }

  .gallery-nav svg {
    width: 20px;
    height: 20px;
  }
}

/* ================================================================
   UTILITY CLASSES
   ================================================================ */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.bg-primary {
  background-color: var(--bg-primary);
}

.bg-secondary {
  background-color: var(--bg-secondary);
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   REVIEWS SECTION
   ============================================================ */

.reviews-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(2,132,199,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.reviews-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 36px;
  margin-top: 48px;
  align-items: start;
}

/* ── Left panel ─────────────────────────────── */
.reviews-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 90px;
}

/* Rating summary card */
.rating-summary-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.rating-big-number {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.rating-stars-display {
  display: flex;
  justify-content: center;
  gap: 4px;
  font-size: 26px;
  margin-bottom: 6px;
}

.rating-stars-display .star-filled { color: #f59e0b; }
.rating-stars-display .star-empty  { color: #d1d5db; }

.rating-total {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Rating distribution bars */
.rating-bars { display: flex; flex-direction: column; gap: 8px; }

.rating-bar-row {
  display: grid;
  grid-template-columns: 20px 1fr 30px;
  align-items: center;
  gap: 8px;
}

.rating-bar-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: right;
}

.rating-bar-track {
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  transition: width 0.6s var(--ease-out);
}

.rating-bar-count {
  font-size: 11px;
  color: var(--text-muted);
  text-align: left;
}

/* Review form card */
.review-form-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
}

.review-form-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
}

/* Interactive star input */
.star-input {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.star-btn {
  background: none;
  border: none;
  font-size: 32px;
  color: #d1d5db;
  cursor: pointer;
  padding: 2px;
  line-height: 1;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.star-btn:hover,
.star-btn.active {
  color: #f59e0b;
  transform: scale(1.15);
}

/* ── Right panel: reviews list ──────────────── */
.reviews-right { min-height: 400px; }

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: 700px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) transparent;
}

.reviews-list::-webkit-scrollbar { width: 5px; }
.reviews-list::-webkit-scrollbar-track { background: transparent; }
.reviews-list::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 99px;
}

/* Single review card */
.review-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
  animation: reviewCardIn 0.35s var(--ease-out) both;
}

.review-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

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

.review-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}

.review-meta { flex: 1; min-width: 0; }

.review-meta h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-stars { display: flex; gap: 2px; font-size: 14px; }
.review-stars .s-filled { color: #f59e0b; }
.review-stars .s-empty  { color: #d1d5db; }

.review-date { font-size: 12px; color: var(--text-muted); white-space: nowrap; }

.review-comment {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 6px;
}

/* ── Review Popup (corner notification) ─────── */
.review-popup {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 300px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  z-index: 1200;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transform: translateX(-360px);
  opacity: 0;
  transition: transform 0.45s var(--ease-out), opacity 0.45s var(--ease-out);
  pointer-events: none;
}

.review-popup.popup-visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.review-popup-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}

.review-popup-body { flex: 1; min-width: 0; }

.review-popup-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}

.review-popup-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 2px;
}

.review-popup-stars { font-size: 12px; color: #f59e0b; margin-bottom: 4px; }

.review-popup-comment {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.review-popup-close {
  background: none;
  border: none;
  font-size: 16px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.review-popup-close:hover { color: var(--danger); }

/* ── Responsive Reviews ──────────────────────── */
@media (max-width: 900px) {
  .reviews-layout {
    grid-template-columns: 1fr;
  }
  .reviews-left { position: static; }
}

@media (max-width: 480px) {
  .review-popup {
    width: calc(100vw - 32px);
    left: 16px;
    bottom: 16px;
  }
}

/* ================================================================
   15. DEDICATED SUBPAGES STYLES (INTERNSHIPS & CERTIFICATIONS)
   ================================================================ */
.subpage-hero {
  padding: 140px 0 80px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.subpage-hero h1 {
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.subpage-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto;
}

.subpages-section {
  padding: 80px 0;
  background-color: var(--bg-secondary);
}

.subpage-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.subpage-detail-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.subpage-detail-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.2);
}

.detail-card-header {
  padding: 32px 40px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.detail-card-header h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.badge-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.duration-badge,
.eligibility-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}

.duration-badge {
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(2, 132, 199, 0.15);
}

.eligibility-badge {
  color: #0d9488;
  background: #f0fdfa;
  border: 1px solid rgba(13, 148, 136, 0.15);
}

.detail-card-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.detail-section h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-text-content {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.brief-description {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 16px;
  border-left: 3px solid var(--primary);
}

.subpage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.subpage-tags span {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-full);
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-list li {
  font-size: 15px;
  color: var(--text-muted);
  position: relative;
  padding-left: 24px;
}

.detail-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.rules-list li::before {
  content: '•';
  color: var(--danger);
  font-size: 18px;
  left: 2px;
  top: -2px;
}

.action-section {
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
}

.btn-apply {
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.empty-state {
  text-align: center;
  padding: 60px 40px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.empty-state p {
  color: var(--text-muted);
  font-size: 16px;
}

@media (max-width: 768px) {
  .subpage-hero {
    padding: 120px 0 60px 0;
  }
  .subpage-hero h1 {
    font-size: 36px;
  }
  .detail-card-header {
    padding: 24px;
  }
  .detail-card-body {
    padding: 24px;
    gap: 24px;
  }
  .subpage-hero p {
    font-size: 16px;
  }
}

/* ===================================================================
   TEAM SECTION
   =================================================================== */
.team-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 50px;
  justify-content: center;
}

.team-member-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.team-member-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.3);
}

.team-member-img-wrap {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px auto;
  border: 4px solid var(--border-color);
  background: var(--bg-secondary);
  transition: border-color var(--transition-normal);
}

.team-member-card:hover .team-member-img-wrap {
  border-color: var(--primary);
}

.team-member-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.team-member-designation {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===================================================================
   MOU AGREEMENTS SECTION & GRID
   =================================================================== */
.mou-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.mou-img-container {
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 10px;
  transition: border-color var(--transition-normal);
}

.subpage-detail-card:hover .mou-img-container {
  border-color: var(--primary);
}


