/* ===================================================
   RAFA PRINT PACK — Design System & Styles
   Modeled after printpack.com
   =================================================== */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --primary: #0098DA;
  --primary-dark: #0077AB;
  --primary-light: #33B0E5;
  --accent: #E8412E;
  --accent-dark: #C73520;
  --accent-light: #F06A5A;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --gray-100: #EEF1F5;
  --gray-200: #DDE2E8;
  --gray-300: #B8C1CC;
  --gray-400: #8A95A3;
  --gray-500: #5B6770;
  --gray-600: #3D4852;
  --gray-700: #2A3139;
  --gray-800: #1A2028;
  --dark-blue: #0A2540;
  --dark-gradient-start: #0B3D6B;
  --dark-gradient-end: #064170;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1280px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.16);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 50px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-600);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

ul, ol {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--gray-800);
  line-height: 1.2;
  font-weight: 700;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- HEADER / NAVBAR ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
}

.header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Glass Header Text Adjustments */
.header:not(.scrolled) .nav-link {
  color: var(--white);
  font-weight: 600; /* Maintained the bold weight for legibility */
}

.header:not(.scrolled) .nav-link:hover,
.header:not(.scrolled) .nav-item.active > .nav-link {
  color: var(--white);
  opacity: 0.85;
}

.header:not(.scrolled) .hamburger span {
  background: var(--white);
}

.header.hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  display: none;
}

/* ---------- MAIN NAV ---------- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > .nav-item {
  position: relative;
}

.main-nav > .nav-item > .nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

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

.nav-link .chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition-fast);
  margin-top: -3px;
}

.nav-item.active .chevron {
  transform: rotate(-135deg);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-get-started {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.btn-get-started:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 65, 46, 0.35);
}

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

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

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

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

/* ---------- MEGA MENU ---------- */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 850px;
  background: var(--white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 36px 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all var(--transition-base);
  z-index: 100;
  border-top: 3px solid var(--primary);
}

.nav-item:hover > .mega-menu,
.nav-item.active > .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 30px;
}

.mega-menu-intro h3 {
  font-size: 1.25rem;
  color: var(--gray-800);
  margin-bottom: 12px;
}

.mega-menu-intro p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.mega-menu-intro .mega-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

.mega-menu-intro .mega-link:hover {
  color: var(--accent);
}

.mega-menu-intro .mega-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.mega-menu-intro .mega-link:hover svg {
  transform: translateX(4px);
}

.mega-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.mega-col ul li {
  margin-bottom: 10px;
}

.mega-col ul li a {
  font-size: 0.92rem;
  color: var(--gray-600);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mega-col ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.mega-featured {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mega-feature-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.mega-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.mega-feature-icon svg {
  width: 22px;
  height: 22px;
}

.mega-feature-card h5 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.mega-feature-card p {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Simple dropdown for items without mega menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  border-top: 3px solid var(--primary);
}

.nav-item:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--gray-600);
  transition: all var(--transition-fast);
}

.dropdown-menu li a:hover {
  background: var(--gray-100);
  color: var(--primary);
  padding-left: 24px;
}

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--accent), var(--accent-dark));
  background-size: 300% 300%;
  animation: gradientMotion 15s ease infinite;
}

@keyframes gradientMotion {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 152, 218, 0.7) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(232, 65, 46, 0.6) 0%, transparent 40%),
    radial-gradient(circle at 40% 70%, rgba(51, 176, 229, 0.4) 0%, transparent 50%);
  z-index: 1;
  animation: blobMotion 20s linear infinite alternate;
}

@keyframes blobMotion {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(5%, 5%) rotate(180deg) scale(1.1); }
  100% { transform: translate(-5%, -5%) rotate(360deg) scale(0.9); }
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 680px;
  padding: 48px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* --- Hero Carousel --- */
.hero-carousel-container {
  position: relative;
  width: 100%;
}

.hero-carousel {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

.hero-slide {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
  pointer-events: auto;
}

/* Text Animations inside Active Slide */
.animate-text {
  opacity: 0;
  transform: translateY(30px);
}

.hero-slide.active .animate-text {
  animation: fadeUpIn 0.8s forwards;
}

.delay-1 { animation-delay: 0.15s !important; }
.delay-2 { animation-delay: 0.30s !important; }
.delay-3 { animation-delay: 0.45s !important; }

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

/* Hero Carousel Indicators */
.hero-dots {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  margin-left: 5px;
  position: relative;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.hero-dot.active {
  background: var(--white);
  border-color: var(--white);
  transform: scale(1.3);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 65, 46, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

/* --- Hero Floating Products --- */
.hero-floating-products {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.floating-product {
  position: absolute;
  transition: transform 0.1s ease-out;
}

.floating-product img {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
  border-radius: var(--radius-md);
}

.float-1 {
  top: 12%;
  right: 8%;
  width: 340px;
  animation: float-1 6s ease-in-out infinite;
}

.float-2 {
  top: 50%;
  right: 30%;
  width: 280px;
  animation: float-2 7s ease-in-out infinite;
}

.float-3 {
  bottom: 10%;
  right: 5%;
  width: 260px;
  animation: float-3 8s ease-in-out infinite;
}

.float-4 {
  top: 30%;
  right: 60%;
  width: 200px;
  animation: float-4 9s ease-in-out infinite;
  opacity: 0.7;
}

@keyframes float-1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(1deg); }
  50% { transform: translateY(-8px) rotate(-1deg); }
  75% { transform: translateY(-25px) rotate(0.5deg); }
}

@keyframes float-2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-18px) rotate(-1.5deg); }
  66% { transform: translateY(-30px) rotate(1deg); }
}

@keyframes float-3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(1deg); }
  50% { transform: translateY(-28px) rotate(-0.5deg); }
  75% { transform: translateY(-10px) rotate(0.5deg); }
}

@keyframes float-4 {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-22px) rotate(-2deg) scale(1.02); }
}

/* ---------- SECTION UTILITIES ---------- */
.section {
  padding: var(--section-padding);
}

.section-light {
  background: var(--off-white);
}

.section-dark {
  background: linear-gradient(135deg, var(--dark-gradient-start), var(--dark-gradient-end));
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-header .eyebrow::before,
.section-header .eyebrow::after {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.section-header h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- STATS / COUNTER SECTION ---------- */
.stats-section {
  padding: 80px 0;
  background: var(--white);
  position: relative;
  margin-top: -60px;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.stat-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(0, 152, 218, 0.1), rgba(0, 152, 218, 0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.92rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ---------- CAPABILITIES SECTION ---------- */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.capability-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform var(--transition-base);
}

.capability-card:hover {
  transform: translateY(-6px);
}

.capability-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.capability-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 37, 64, 0.85) 100%);
  z-index: 1;
}

.capability-card-content {
  position: relative;
  z-index: 2;
  padding: 32px;
}

.capability-card-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.capability-card-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.capability-card-content .card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  color: var(--white);
  margin-top: 16px;
  transition: all var(--transition-fast);
}

.capability-card:hover .card-arrow {
  background: var(--white);
  color: var(--accent);
  transform: translateX(4px);
}

/* ---------- SERVICES SECTION ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.service-row:last-child {
  margin-bottom: 0;
}

.service-row.reversed {
  direction: rtl;
}

.service-row.reversed > * {
  direction: ltr;
}

.service-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

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

.service-text .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-text h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.service-text p {
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.75;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.service-feature .check-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.service-feature .check-icon svg {
  width: 12px;
  height: 12px;
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-learn-more:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 152, 218, 0.35);
}

/* ---------- WHY US / DIFFERENTIATORS ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-base);
  backdrop-filter: blur(4px);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-6px);
}

.why-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
}

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

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

.why-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

/* ---------- HOVER VIDEO ACCORDION ---------- */
.hover-video-section { background: var(--gray-50); }

.hover-video-accordion {
  display: flex;
  gap: 8px;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hv-panel {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-md);
}

.hv-panel.hv-panel-active {
  flex: 3;
}

/* Layer 1 — Background video */
.hv-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Layer 2 — Dark overlay */
.hv-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
  transition: background 0.5s ease;
}

.hv-panel:not(.hv-panel-active) .hv-overlay {
  background: transparent;
}

/* Layer 3 — Foreground content */
.hv-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px;
  color: var(--white);
}

.hv-number {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-light);
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease 0.2s;
}

.hv-panel.hv-panel-active .hv-number {
  opacity: 1;
  transform: translateY(0);
}

.hv-content h3 {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--primary-light);
  transition: font-size 0.5s ease;
}

.hv-panel:not(.hv-panel-active) .hv-content h3 {
  font-size: 1.1rem;
}

.hv-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 400px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease 0.15s;
}

.hv-panel.hv-panel-active .hv-content p {
  opacity: 1;
  max-height: 120px;
}

/* Progress bar */
.hv-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 4;
}

.hv-progress-bar {
  height: 100%;
  width: 0;
  background: var(--primary);
  border-radius: 0 2px 2px 0;
  transition: width 0.3s ease;
}

.hv-panel.hv-panel-active .hv-progress-bar {
  width: 100%;
  transition: width 5s linear;
}

/* Dot indicators */
.hv-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.hv-dot {
  width: 32px;
  height: 5px;
  border: none;
  border-radius: 3px;
  background: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hv-dot.hv-dot-active {
  width: 48px;
  background: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  .hover-video-accordion {
    flex-direction: column;
    height: auto;
  }
  .hv-panel,
  .hv-panel.hv-panel-active {
    height: 250px;
    border-radius: var(--radius-md);
    flex: none;
    transition: none;
  }
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 20px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
}

.testimonial-card .quote-mark {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.15;
  position: absolute;
  top: 10px;
  left: 30px;
  line-height: 1;
}

.testimonial-card blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gray-800);
  font-size: 1rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 4px;
}

.testimonial-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.testimonial-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* ---------- NEWS / INSIGHTS ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

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

.news-card-image {
  height: 220px;
  overflow: hidden;
}

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

.news-card:hover .news-card-image img {
  transform: scale(1.08);
}

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

.news-card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 152, 218, 0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.news-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.news-card:hover .news-card-body h3 {
  color: var(--primary);
}

.news-card-body p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ---------- CTA PRE-FOOTER ---------- */
.cta-section {
  padding: 100px 0;
  background: var(--off-white);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.cta-card {
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.cta-card-blue {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
}

.cta-card-red {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: var(--white);
}

.cta-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.cta-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  line-height: 1.7;
}

.cta-card .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--white);
  color: var(--gray-800);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  align-self: flex-start;
}

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

.cta-card .cta-bg-shape {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

/* ---------- CLIENT LOGOS CAROUSEL ---------- */
.clients-section {
  padding: 80px 0;
  background-color: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
  position: relative;
}

.clients-track-container {
  max-width: var(--container-width);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  /* Fade edges for smooth enter/exit */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.clients-section-header {
  text-align: center;
  margin-bottom: 50px;
}
.clients-section-header h2 {
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 15px;
}
.clients-section-header p {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 650px;
  margin: 0 auto;
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 120px;
  padding-right: 120px; 
  width: max-content;
  animation: scrollInfinite 25s linear infinite;
}

.clients-track:hover {
  animation-play-state: paused;
}

.clients-track img {
  height: 100px;
  width: auto;
  object-fit: contain;
  transition: all var(--transition-base);
}

.clients-track img:hover {
  transform: scale(1.08);
}

@keyframes scrollInfinite {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .clients-section { padding: 50px 0; }
  .clients-section-header h2 { font-size: 2rem; }
  .clients-section-header p { font-size: 1rem; padding: 0 15px; }
  
  .clients-track {
    gap: 60px;
    padding-right: 60px;
    animation: scrollInfinite 20s linear infinite;
  }
  .clients-track img { height: 70px; }
}

/* ---------- FOOTER ---------- */
.footer {
  background: linear-gradient(180deg, var(--dark-blue) 0%, #061828 100%);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 80px;
}

.footer-interest {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-interest-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

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

.footer-interest a:hover {
  color: var(--primary-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  padding-bottom: 60px;
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

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

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Staggered animation */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- SCROLL TO TOP ---------- */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  border: none;
  box-shadow: var(--shadow-md);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.scroll-to-top svg {
  width: 22px;
  height: 22px;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* ----- Large Desktop (1280px+) ----- */
@media (max-width: 1400px) {
  .container {
    max-width: 1140px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .float-1 { width: 300px; }
  .float-2 { width: 240px; }
  .float-3 { width: 220px; }
}

/* ----- Laptop ----- */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }

  .mega-menu {
    min-width: 700px;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .mega-featured {
    display: none;
  }

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

/* ----- Tablet ----- */
@media (max-width: 992px) {
  :root {
    --section-padding: 70px 0;
  }

  /* Nav collapses */
  .hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 100px 24px 40px;
    gap: 0;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
    overflow-y: auto;
    z-index: 1000;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav > .nav-item > .nav-link {
    padding: 14px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--gray-200);
  }

  .mega-menu {
    position: static;
    transform: none;
    min-width: auto;
    box-shadow: none;
    padding: 0 0 16px 16px;
    border-top: none;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), opacity var(--transition-base), padding var(--transition-base);
  }

  .nav-item.active > .mega-menu {
    max-height: 1000px;
    transform: none;
    padding: 12px 0 16px 16px;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mega-menu-intro {
    display: none;
  }

  .mega-featured {
    display: none;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
  }

  .nav-item:hover > .dropdown-menu {
    max-height: 500px;
    transform: none;
  }

  /* Header CTA hide */
  .header-actions .btn-get-started {
    display: none;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
    padding: 40px 24px;
    margin: 0 -10px; /* offset slightly if needed */
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-floating-products {
    position: relative;
    width: 100%;
    height: 300px;
    margin-top: 40px;
  }

  .float-1 { width: 200px; top: 10%; right: 5%; }
  .float-2 { width: 180px; top: 30%; right: 45%; }
  .float-3 { width: 160px; bottom: 5%; right: 15%; }
  .float-4 { display: none; }

  /* Grids */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .service-row.reversed {
    direction: ltr;
  }

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

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

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

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

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

/* ----- Mobile ----- */
@media (max-width: 640px) {
  :root {
    --section-padding: 50px 0;
  }

  html {
    font-size: 15px;
  }

  .header-inner {
    height: 68px;
  }

  .logo img {
    height: 40px;
  }

  .hero {
    padding: 100px 0 50px;
  }

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

  .hero-description {
    font-size: 1rem;
  }

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

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-floating-products {
    height: 260px;
    margin-top: 20px;
  }

  .float-1 { 
    width: 160px;
    top: 5%; 
    right: 5%; 
  }
  
  .float-2 { 
    width: 130px; 
    top: 40%; 
    left: 5%;
    right: auto; 
  }
  
  .float-3 { 
    width: 140px; 
    bottom: 0%; 
    right: 25%; 
  }

  .stats-section {
    margin-top: -30px;
  }

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

  .stat-card {
    padding: 24px 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

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

  .capability-card {
    min-height: 280px;
  }

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

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

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

  .testimonial-card {
    padding: 32px 24px;
  }

  .testimonial-card blockquote {
    font-size: 1rem;
  }

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

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

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

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

  .cta-card {
    padding: 32px 24px;
  }

  .cta-card h3 {
    font-size: 1.4rem;
  }

  .service-text h3 {
    font-size: 1.6rem;
  }

  .service-image img {
    height: 280px;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* ----- Extra Small Mobile ----- */
@media (max-width: 380px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .stat-number {
    font-size: 1.7rem;
  }

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

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ========================================
   INNER PAGE STYLES
   ======================================== */

/* ---------- PAGE BANNER ---------- */
.page-banner {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--dark-gradient-start) 0%, var(--primary-dark) 40%, var(--primary) 100%);
  overflow: hidden;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(0,152,218,0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(10,37,64,0.35) 0%, transparent 50%);
  z-index: 1;
}

.page-banner .container { position: relative; z-index: 2; }

.page-banner .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.page-banner .breadcrumb a { color: rgba(255,255,255,0.8); }
.page-banner .breadcrumb a:hover { color: var(--white); }
.page-banner .breadcrumb .sep { opacity: 0.4; }

.page-banner h1 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.page-banner p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- ABOUT PAGE ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-intro-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-intro-text h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.about-intro-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Mission & Vision cards */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.mv-card {
  border-radius: var(--radius-md);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}

.mv-card.vision {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
}

.mv-card.mission {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: var(--white);
}

.mv-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.mv-card p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.9);
}

.mv-card .mv-bg {
  position: absolute;
  right: -30px; bottom: -30px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px; top: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px; top: 4px;
  width: 14px; height: 14px;
  background: var(--primary);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0,152,218,0.2);
}

.timeline-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- MEMORIAL SECTION ---------- */
.memorial-section {
  position: relative;
  padding: 100px 0;
  background: #00121a;
  color: #f8fafc;
  overflow: hidden;
  text-align: center;
}

.memorial-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.7) saturate(1.2);
}

.memorial-aurora {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120vw;
  height: 120vh;
  background: radial-gradient(ellipse at center, rgba(0, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 65%);
  filter: blur(80px);
  animation: aurora-pulse 10s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes aurora-pulse {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.9); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.memorial-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Floating Petals/Flowers */
.flower {
  position: absolute;
  width: 55px;
  height: 55px;
  background-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4) !important;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  animation: fall 16s linear infinite, sway 4s ease-in-out infinite alternate;
  opacity: 0.95;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='g1' cx='35%25' cy='35%25' r='80%25'%3E%3Cstop offset='0%25' stop-color='%23f43f5e'/%3E%3Cstop offset='45%25' stop-color='%23be123c'/%3E%3Cstop offset='85%25' stop-color='%23881337'/%3E%3Cstop offset='100%25' stop-color='%234c0519'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M40,5 C10,15 0,55 25,85 C45,105 85,85 90,60 C95,35 70,5 40,5 Z' fill='url(%23g1)'/%3E%3C/svg%3E");
}

.flower.blur-sm { filter: blur(5px); width: 40px; height: 40px; z-index: 0; opacity: 0.5; animation-duration: 20s; }
.flower.blur-md { filter: blur(10px); width: 80px; height: 80px; z-index: 3; opacity: 0.65; animation-duration: 12s; }

/* Rose Realistic SVG Variants */
.crimson-petal { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='g2' cx='45%25' cy='20%25' r='90%25'%3E%3Cstop offset='0%25' stop-color='%23e11d48'/%3E%3Cstop offset='40%25' stop-color='%239f1239'/%3E%3Cstop offset='90%25' stop-color='%234c0519'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M50,10 C20,10 10,40 15,70 C20,95 60,95 80,75 C100,55 90,15 50,10 Z' fill='url(%23g2)'/%3E%3C/svg%3E") !important; }
.velvet-petal { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='g3' cx='30%25' cy='30%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23fb7185'/%3E%3Cstop offset='50%25' stop-color='%23e11d48'/%3E%3Cstop offset='100%25' stop-color='%239f1239'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M45,15 C5,25 5,75 35,90 C65,105 95,75 95,45 C95,15 65,5 45,15 Z' fill='url(%23g3)'/%3E%3C/svg%3E") !important; }
.pink-petal { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='g4' cx='50%25' cy='50%25' r='60%25'%3E%3Cstop offset='0%25' stop-color='%23fda4af'/%3E%3Cstop offset='30%25' stop-color='%23f43f5e'/%3E%3Cstop offset='100%25' stop-color='%23be123c'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M50,0 C30,40 10,70 30,95 C45,110 55,110 70,95 C90,70 70,40 50,0 Z' fill='url(%23g4)'/%3E%3C/svg%3E") !important; }
.burgundy-petal { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='g5' cx='50%25' cy='50%25' r='60%25'%3E%3Cstop offset='0%25' stop-color='%239f1239'/%3E%3Cstop offset='80%25' stop-color='%234c0519'/%3E%3Cstop offset='100%25' stop-color='%2328020c'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M50,5 C30,25 5,60 30,90 C45,105 60,105 70,90 C95,60 70,25 50,5 Z' fill='url(%23g5)'/%3E%3C/svg%3E") !important; }

.flower-1 { left: 15%; top: -10%; animation-delay: 0s; }
.flower-2 { left: 35%; top: -10%; animation-delay: 4s; }
.flower-3 { left: 65%; top: -10%; animation-delay: 2s; }
.flower-4 { left: 85%; top: -10%; animation-delay: 8s; }
.flower-5 { left: 50%; top: -10%; animation-delay: 10s; }
.flower-6 { left: 8%; top: -10%; animation-delay: 11s; }
.flower-7 { left: 78%; top: -10%; animation-delay: 6s; }
.flower-8 { left: 25%; top: -10%; animation-delay: 14s; }
.flower-9 { left: 55%; top: -10%; animation-delay: 7s; }
.flower-10 { left: 92%; top: -10%; animation-delay: 1s; }

@keyframes fall {
  0% { transform: translateY(-40px) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

@keyframes sway {
  0% { margin-left: -40px; }
  100% { margin-left: 40px; }
}

/* Glassmorphism Card */
.memorial-glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  padding: 60px 60px 40px 60px;
  text-align: center;
  max-width: 860px;
  margin: 60px auto 0 auto;
  z-index: 2;
}

.memorial-glass-card::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  animation: glass-shine 8s infinite ease-in-out;
  pointer-events: none;
  border-radius: 40px;
}

@keyframes glass-shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.memorial-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.memorial-image-wrapper {
  position: relative;
  width: 260px;
  height: 260px;
  margin: -140px auto 35px auto; /* Pulled out of the card */
  z-index: 3;
}

.memorial-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes pulse-glow {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.memorial-image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  filter: sepia(0.2) contrast(1.1) brightness(1.05);
  transition: transform 0.5s ease;
}

.memorial-image-wrapper:hover .memorial-image {
  transform: scale(1.03);
}

/* Orbital Flowers Around Image */
.orbit-flower {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45px;
  height: 45px;
  background-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4) !important;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='g1' cx='35%25' cy='35%25' r='80%25'%3E%3Cstop offset='0%25' stop-color='%23f43f5e'/%3E%3Cstop offset='45%25' stop-color='%23be123c'/%3E%3Cstop offset='85%25' stop-color='%23881337'/%3E%3Cstop offset='100%25' stop-color='%234c0519'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M40,5 C10,15 0,55 25,85 C45,105 85,85 90,60 C95,35 70,5 40,5 Z' fill='url(%23g1)'/%3E%3C/svg%3E");
  z-index: 4;
  opacity: 0.95;
  transform-origin: center center;
  pointer-events: none;
}

.orbit-1 { animation: simple-orbit-1 15s linear infinite; width: 50px; height: 50px; }
.orbit-2 { animation: simple-orbit-2 18s linear infinite; width: 40px; height: 40px; }
.orbit-3 { animation: simple-orbit-3 20s linear infinite; width: 45px; height: 45px; }
.orbit-4 { animation: simple-orbit-4 22s linear infinite; width: 55px; height: 55px; }
.orbit-5 { animation: simple-orbit-5 25s linear infinite; width: 38px; height: 38px; }

@keyframes simple-orbit-1 {
  0% { transform: translate(-50%, -50%) rotate(0deg) translateX(145px) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg) translateX(145px) rotate(720deg); }
}
@keyframes simple-orbit-2 {
  0% { transform: translate(-50%, -50%) rotate(72deg) translateX(135px) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(432deg) translateX(135px) rotate(360deg); }
}
@keyframes simple-orbit-3 {
  0% { transform: translate(-50%, -50%) rotate(144deg) translateX(155px) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(504deg) translateX(155px) rotate(-360deg); }
}
@keyframes simple-orbit-4 {
  0% { transform: translate(-50%, -50%) rotate(216deg) translateX(140px) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(576deg) translateX(140px) rotate(540deg); }
}
@keyframes simple-orbit-5 {
  0% { transform: translate(-50%, -50%) rotate(288deg) translateX(160px) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(648deg) translateX(160px) rotate(-720deg); }
}

.memorial-text h2 {
  color: #ffffff;
  font-size: 3rem;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
}

.memorial-dates {
  display: inline-block;
  font-size: 1.15rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 30px;
  font-weight: 500;
  letter-spacing: 1px;
}

.memorial-divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 30px auto;
  border-radius: 2px;
}

.memorial-text p {
  color: #e2e8f0;
  font-size: 1.08rem;
  line-height: 1.85;
  margin-bottom: 22px;
  text-align: justify;
  text-align-last: center;
}

.memorial-prayer {
  font-weight: 600;
  font-size: 1.3rem !important;
  color: #fbbf24 !important;
  margin-top: 40px !important;
  font-style: italic;
  text-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

@media (max-width: 768px) {
  .memorial-glass-card {
    padding: 70px 30px 40px 30px;
    margin-top: 50px;
  }
  .memorial-image-wrapper {
    width: 200px;
    height: 200px;
    margin-top: -120px;
  }
}

@media (max-width: 640px) {
  .memorial-section { padding: 90px 15px; }
  .memorial-text h2 { font-size: 2.2rem; }
  .memorial-text p { text-align: left; text-align-last: left; font-size: 1rem; }
}

/* ---------- MANAGEMENT TEAM (about page) ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 24px;
}

.team-card {
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
  text-align: center;
  transition: transform var(--transition-base);
}

.team-card:hover {
  transform: translateY(-8px);
}

/* Image container */
.team-card-img {
  position: relative;
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px auto;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card-img img {
  transform: scale(1.08); /* Zoom in smoothly */
}

/* ==== GLASS HOVER OVERLAY ==== */
.team-glass-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 152, 218, 0.75); /* primary color */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  border-radius: 50%; /* Force circle constraints on child */
  transition: opacity 0.3s ease;
}

.team-card:hover .team-glass-overlay {
  opacity: 1;
}

/* Social icons inside glass overlay */
.team-social {
  display: flex;
  gap: 12px;
}

.team-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: var(--white);
  transition: all var(--transition-fast);
  transform: translateY(15px);
  opacity: 0;
}

.team-card:hover .team-social a {
  transform: translateY(0);
  opacity: 1;
}

.team-card:hover .team-social a:nth-child(1) { transition-delay: 0.05s; }
.team-card:hover .team-social a:nth-child(2) { transition-delay: 0.10s; }
.team-card:hover .team-social a:nth-child(3) { transition-delay: 0.15s; }

.team-social a:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.team-social a svg {
  width: 18px;
  height: 18px;
}

/* Info below image */
.team-card-info {
  padding: 0 10px;
}

.team-card-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--gray-800);
}

.team-designation {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
}

.mega-feature-photo-card {
  display: block;
  text-decoration: none;
  transition: transform var(--transition-base);
}

.mega-feature-photo-card:hover {
  transform: translateY(-3px);
}

.mega-feature-photo-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.mega-feature-photo-card:hover img {
  box-shadow: var(--shadow-md);
}

.mega-feature-photo-card h5 {
  color: var(--gray-800);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.mega-feature-photo-card p {
  color: var(--gray-500);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* ---------- CONCERN COMPANIES (about page) ---------- */
.concern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.concern-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.concern-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(0, 152, 218, 0.5);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(0, 152, 218, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Card image */
.concern-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.concern-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(10, 37, 64, 0.95), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.concern-card:hover .concern-card-img::after {
  opacity: 1;
}

.concern-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.concern-card:hover .concern-card-img img {
  transform: scale(1.12);
}

/* Card content */
.concern-card-content {
  padding: 22px 20px 26px;
}

.concern-card-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  transition: color var(--transition-fast);
}

.concern-card:hover .concern-card-content h3 {
  color: var(--primary-light);
}

.concern-card-content p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.concern-card:hover .concern-card-content p {
  color: rgba(255, 255, 255, 0.85);
}

/* Shine/gleam sweep effect */
.concern-card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 40%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.08) 60%,
    transparent 100%
  );
  transition: left 0.7s ease;
  pointer-events: none;
  z-index: 2;
}

.concern-card:hover .concern-card-shine {
  left: 150%;
}

/* Responsive */
@media (max-width: 992px) {
  .concern-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .concern-grid { grid-template-columns: 1fr; }
  .concern-card-img { height: 180px; }
}

/* ---------- SERVICES PAGE ---------- */
.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-detail-card .sd-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(0,152,218,0.1), rgba(0,152,218,0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-detail-card .sd-icon svg { width: 28px; height: 28px; }
.service-detail-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.service-detail-card p { font-size: 0.9rem; line-height: 1.7; }

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

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

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

.product-card-image {
  height: 200px;
  overflow: hidden;
}

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

.product-card:hover .product-card-image img { transform: scale(1.08); }

.product-card-body {
  padding: 20px;
  text-align: center;
}

.product-card-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.product-card-body p { font-size: 0.85rem; color: var(--gray-500); }

/* ---------- MARKETS PAGE ---------- */
.market-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 40px;
  border: 1px solid var(--gray-200);
}

.market-card:last-child { margin-bottom: 0; }

.market-card.reversed { direction: rtl; }
.market-card.reversed > * { direction: ltr; }

.market-card-image {
  height: 100%;
  min-height: 350px;
  overflow: hidden;
}

.market-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.market-card-content {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.market-card-content .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}

.market-card-content h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.market-card-content p {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.market-card-content ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.market-card-content ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--gray-600);
}

.market-card-content ul li .bullet {
  width: 8px; height: 8px;
  min-width: 8px;
  background: var(--primary);
  border-radius: 50%;
}

/* ---------- SUSTAINABILITY PAGE ---------- */
.sustain-hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sustain-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.pillar-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(0,152,218,0.1), rgba(0,152,218,0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin: 0 auto 16px;
}

.pillar-icon svg { width: 30px; height: 30px; }
.pillar-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.pillar-card p { font-size: 0.85rem; line-height: 1.65; color: var(--gray-500); }

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

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

.contact-info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.contact-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, rgba(0,152,218,0.1), rgba(0,152,218,0.05));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-icon svg { width: 24px; height: 24px; }

.contact-info-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-info-card p, .contact-info-card a {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

.contact-info-card a:hover { color: var(--primary); }

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.contact-form-card .form-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 28px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-700);
  background: var(--off-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,152,218,0.1);
}

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

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-top: 8px;
}

.btn-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,65,46,0.35);
}

/* Map */
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- PROCESS STEPS ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  counter-reset: process;
}

.process-step {
  text-align: center;
  padding: 28px 16px;
  counter-increment: process;
  position: relative;
}

.process-step::before {
  content: counter(process);
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.process-step h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.55;
}

/* ========================================
   INNER PAGE RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
  .page-banner { padding: 140px 0 60px; }
  .page-banner h1 { font-size: 2.25rem; }

  .about-intro { grid-template-columns: 1fr; gap: 32px; }
  .about-intro-image img { height: 350px; }

  .mv-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .services-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .sustain-hero-visual { grid-template-columns: 1fr; }
  .sustain-pillars { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }

  .market-card { grid-template-columns: 1fr; }
  .market-card.reversed { direction: ltr; }
  .market-card-image { min-height: 250px; }

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

@media (max-width: 640px) {
  .page-banner { padding: 120px 0 50px; }
  .page-banner h1 { font-size: 1.75rem; }
  .page-banner p { font-size: 1rem; }

  .about-intro-image img { height: 260px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .services-detail-grid { grid-template-columns: 1fr; }
  .sustain-pillars { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }
  .market-card-content { padding: 28px 24px; }
}

/* ========================================
   HISTORY PAGE
   ======================================== */

/* ─── History Page Variables ─── */
:root {
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.45);
  --glass-shadow: rgba(0, 0, 0, 0.06);
  --minimal-text: #1a1a2e;
  --minimal-gray: #4a4a6a;
  --accent-crimson: #c0392b;
  --accent-navy: #1a3a5c;
}

.glass-section-bg {
  background: linear-gradient(160deg, #f0f2f8 0%, #e4e8f0 40%, #f5f0eb 100%);
  position: relative;
  overflow: hidden;
}

.glass-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  animation: float-shape 14s infinite ease-in-out alternate;
}
.shape-1 { width: 550px; height: 550px; background: rgba(192, 57, 43, 0.07); top: -120px; left: -80px; }
.shape-2 { width: 650px; height: 650px; background: rgba(26, 58, 92, 0.07); bottom: 80px; right: -180px; animation-duration: 17s; }
.shape-3 { width: 450px; height: 450px; background: rgba(180, 180, 210, 0.12); top: 35%; left: 25%; animation-duration: 20s; animation-delay: -6s; }
.shape-4 { width: 300px; height: 300px; background: rgba(192, 57, 43, 0.05); top: 60%; right: 10%; animation-duration: 22s; animation-delay: -3s; }

@keyframes float-shape {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  50% { transform: translateY(-50px) scale(1.08) rotate(12deg); }
  100% { transform: translateY(25px) scale(0.93) rotate(-8deg); }
}

.glass-box {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  padding: 40px;
  position: relative;
  z-index: 2;
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px 0 rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.75);
}

.history-banner {
  position: relative;
  padding: 220px 0 160px;
  color: #fff;
  text-align: center;
  background: #111;
  overflow: hidden;
}

.history-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../Project Images/history.jpg') center/cover no-repeat;
  opacity: 0.4;
  z-index: 1;
  animation: kenburns 20s infinite alternate linear;
}

@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.history-banner .container { position: relative; z-index: 2; }

.history-banner h1 {
  font-size: 4.5rem;
  font-weight: bold;
  color: white;
  letter-spacing: -2px;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* ─── Cinematic Editorial Intro ─── */
.editorial-intro {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  min-height: 560px;
}

.editorial-img-wrap {
  position: relative;
  height: 100%;
  min-height: 500px;
}

.editorial-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 32px 0 0 32px;
  display: block;
}

.editorial-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 32px 0 0 32px;
  background: linear-gradient(135deg, rgba(26, 58, 92, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.editorial-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  padding: 14px 22px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 3;
  animation: float-badge 4s ease-in-out infinite alternate;
}

.editorial-badge span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-crimson);
  font-weight: 700;
  display: block;
}

.editorial-badge strong {
  font-size: 1.1rem;
  color: var(--minimal-text);
  display: block;
  margin-top: 4px;
}

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

.editorial-text-panel {
  padding: 50px 55px;
  border-radius: 0 32px 32px 0;
  position: relative;
  overflow: hidden;
}

.editorial-text-panel::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 0;
  width: 4px;
  height: 80px;
  background: linear-gradient(180deg, var(--accent-crimson), var(--accent-navy));
  border-radius: 4px;
}

.editorial-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-crimson);
  font-weight: 700;
  margin-bottom: 20px;
  display: block;
}

.editorial-quote {
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--minimal-text);
  margin-bottom: 28px;
  position: relative;
}

.editorial-quote::before {
  content: '\201C';
  font-size: 5rem;
  position: absolute;
  top: -30px;
  left: -10px;
  color: var(--accent-crimson);
  opacity: 0.12;
  font-family: Georgia, serif;
  line-height: 1;
}

.editorial-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--minimal-gray);
}

.editorial-sig {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 12px;
}

.editorial-sig-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-crimson), var(--accent-navy));
}

.editorial-sig p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--minimal-gray);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ─── Glass-Reveal Animation ─── */
.glass-reveal-up {
  animation: reveal-glass 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(40px);
}

@keyframes reveal-glass {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Center-Line Timeline ─── */
.center-timeline {
  padding: 80px 0 160px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.timeline-title {
  font-size: 2.8rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 20px;
  color: var(--minimal-text);
  letter-spacing: -1px;
}

.timeline-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--minimal-gray);
  margin-bottom: 90px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 400;
}

.timeline-track {
  position: relative;
  padding: 0 20px;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(26,58,92,0.15) 5%, rgba(192,57,43,0.2) 50%, rgba(26,58,92,0.15) 95%, transparent);
  transform: translateX(-50%);
  animation: draw-line 2s ease-out forwards;
}

@keyframes draw-line {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0% 0); }
}

.tl-node {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 70px;
  position: relative;
  opacity: 0;
}

.tl-node.from-left {
  animation: slide-from-left 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tl-node.from-right {
  animation: slide-from-right 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slide-from-left {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-from-right {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

.tl-node:nth-child(1) { animation-delay: 0.3s; }
.tl-node:nth-child(2) { animation-delay: 0.55s; }
.tl-node:nth-child(3) { animation-delay: 0.8s; }
.tl-node:nth-child(4) { animation-delay: 1.05s; }
.tl-node:nth-child(5) { animation-delay: 1.3s; }

.tl-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
  position: relative;
  z-index: 3;
}

.tl-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-crimson), var(--accent-navy));
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.15), 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
  z-index: 3;
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.15), 0 4px 12px rgba(0,0,0,0.1); }
  50% { box-shadow: 0 0 0 8px rgba(192, 57, 43, 0.08), 0 4px 20px rgba(0,0,0,0.15); }
}

.tl-year-badge {
  margin-top: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-navy);
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.5);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.tl-node:hover .tl-year-badge {
  background: var(--accent-crimson);
  color: #fff;
  border-color: var(--accent-crimson);
  transform: scale(1.08);
}

.tl-card-col {
  position: relative;
}

.tl-card {
  position: relative;
  overflow: visible;
}

.tl-card .tl-number {
  position: absolute;
  top: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-crimson), #e74c3c);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(192,57,43,0.3);
  z-index: 4;
}

.tl-node.from-left .tl-number { right: -14px; }
.tl-node.from-right .tl-number { left: -14px; }

.tl-card::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 4px;
  height: 50px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--accent-crimson), var(--accent-navy));
  transition: height 0.4s ease;
}

.tl-node.from-left .tl-card::before { right: -2px; }
.tl-node.from-right .tl-card::before { left: -2px; }

.tl-card:hover::before { height: 80px; }

.tl-card h3 {
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--minimal-text);
  letter-spacing: -0.3px;
}

.tl-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--minimal-gray);
  margin-bottom: 12px;
}

.tl-card .tl-tags {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tl-card .tl-tags li {
  font-size: 0.8rem;
  color: var(--accent-navy);
  font-weight: 500;
  background: rgba(26, 58, 92, 0.06);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(26, 58, 92, 0.1);
  transition: all 0.3s ease;
}

.tl-card .tl-tags li:hover {
  background: rgba(26, 58, 92, 0.12);
  border-color: rgba(26, 58, 92, 0.2);
  transform: translateY(-2px);
}

.tl-mission {
  background: linear-gradient(135deg, rgba(192,57,43,0.04), rgba(26,58,92,0.04));
  padding: 20px 24px;
  border-radius: 16px;
  margin-top: 20px;
  border-left: 3px solid var(--accent-crimson);
}

.tl-mission p {
  margin: 0;
  font-style: italic;
  color: var(--minimal-text);
  font-size: 0.95rem;
}

/* ─── Vision Footer / CEO Message ─── */
.vision-footer {
  text-align: center;
  padding: 120px 20px;
  position: relative;
  z-index: 2;
}

.vision-footer .glass-box {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 40px;
}

.vision-footer h2 {
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--minimal-text);
  margin-bottom: 20px;
  font-style: italic;
}

/* ─── History Page Responsive ─── */
@media (max-width: 991px) {
  .editorial-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .editorial-img-wrap {
    min-height: 340px;
    border-radius: 28px 28px 0 0;
  }
  .editorial-img-wrap img { border-radius: 28px 28px 0 0; }
  .editorial-img-wrap::after { border-radius: 28px 28px 0 0; }
  .editorial-text-panel {
    padding: 35px 30px;
    border-radius: 0 0 28px 28px;
  }
  .editorial-text-panel::before { top: 0; height: 60px; }

  .tl-node {
    grid-template-columns: 40px 1fr !important;
    gap: 0 !important;
  }
  .tl-empty { display: none !important; }
  .tl-dot-col { padding-top: 20px; }
  .timeline-track::before { left: 30px; }
  .tl-card-col { grid-column: 2 !important; grid-row: 1 !important; }
  .tl-dot-col { grid-column: 1 !important; grid-row: 1 !important; }
  .tl-node.from-left .tl-number,
  .tl-node.from-right .tl-number { left: -10px; right: auto; }
  .tl-node.from-left .tl-card::before,
  .tl-node.from-right .tl-card::before { left: -2px; right: auto; }
  .tl-year-badge { font-size: 0.6rem; padding: 4px 10px; }
  .tl-card { padding: 28px 24px; }
}

/* ─── Page Toggle Switch ─── */
.page-toggle-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.page-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  padding: 6px;
}

.toggle-btn {
  padding: 12px 30px;
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.toggle-btn.active {
  background: var(--accent-crimson);
  color: #fff;
  box-shadow: 0 4px 15px rgba(192, 57, 43, 0.4);
}

.toggle-btn:hover:not(.active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

/* ─── Facility Page Layout ─── */
.facility-section {
  padding: 80px 0 100px;
  position: relative;
  z-index: 2;
}

.facility-map-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 90px;
}

.map-container {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
}

.map-container svg, .map-svg-animated {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.12));
  animation: float-map 6s ease-in-out infinite;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-svg-animated:hover {
  filter: drop-shadow(0 25px 40px rgba(0,0,0,0.18));
  transform: scale(1.03) translateY(-10px);
}

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

.map-bd-region {
  fill: #e0e6ed;
  stroke: #fff;
  stroke-width: 1.5;
  transition: fill 0.3s ease;
}

.map-bd-region:hover {
  fill: #cbd5e1;
}

.dhaka-pin {
  fill: var(--accent-crimson);
  animation: pulse-pin 2s infinite;
  transform-origin: center;
}

@keyframes pulse-pin {
  0% { filter: drop-shadow(0 0 0 rgba(192, 57, 43, 0.7)); }
  70% { filter: drop-shadow(0 0 20px rgba(192, 57, 43, 0)); }
  100% { filter: drop-shadow(0 0 0 rgba(192, 57, 43, 0)); }
}

.dhaka-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  fill: var(--accent-navy);
}

.facility-info {
  padding: 30px;
}

.facility-info-card {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.facility-info-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.facility-info-card h4 {
  font-size: 1.4rem;
  color: var(--accent-navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.facility-info-card h4 svg {
  width: 24px;
  height: 24px;
  color: var(--accent-crimson);
}

.facility-info-card p {
  font-size: 1.05rem;
  color: var(--minimal-gray);
  line-height: 1.6;
}

/* ─── Facility Data Tables ─── */
.facility-table-container {
  margin-bottom: 60px;
  overflow-x: auto;
}

.facility-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.facility-table th {
  background: var(--accent-navy);
  color: #fff;
  font-weight: 600;
  padding: 16px 24px;
  text-align: left;
  font-size: 1.05rem;
}

.facility-table td {
  padding: 16px 24px;
  border-bottom: 1px solid #f0f2f8;
  color: var(--minimal-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

.facility-table tr:last-child td {
  border-bottom: none;
}

.facility-table tbody tr {
  transition: background 0.3s ease;
}

.facility-table tbody tr:hover {
  background: #f8fafc;
}

/* ─── Facility Highlight Box ─── */
.equipment-highlight {
  background: linear-gradient(135deg, var(--accent-navy), #0f2a4a);
  border-radius: 24px;
  padding: 50px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 40px rgba(26,58,92,0.2);
  margin-top: 80px;
}

.highlight-content {
  flex: 1;
}

.highlight-content span {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #fbbf24;
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
  margin-bottom: 15px;
}

.highlight-content h3 {
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 15px;
  color: #fff;
}

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

@media (max-width: 991px) {
  .facility-map-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .map-container {
    height: 400px;
  }
  .equipment-highlight {
    flex-direction: column;
    padding: 30px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .page-toggle {
    flex-direction: column;
    width: 100%;
  }
  .toggle-btn {
    text-align: center;
  }
  .facility-table th, .facility-table td {
    padding: 12px 16px;
  }
  .equipment-highlight h3 {
    font-size: 1.8rem;
  }
}


@media (max-width: 576px) {
  .history-banner h1 { font-size: 2.8rem; }
  .editorial-quote { font-size: 1.3rem; }
  .timeline-title { font-size: 2rem; }
  .tl-card h3 { font-size: 1.2rem; }
  .tl-card .tl-tags { gap: 6px; }
  .tl-card .tl-tags li { font-size: 0.72rem; padding: 5px 10px; }
}
