/* ============================================================
   OUSADIA TECH SOLUTIONS — BRAND KIT REDESIGN
   Colors: #E8770A (orange) | #07849A (teal) | #865014 (brown)
           #070A0C (dark)    | #FFFFFF (white)
   Fonts: Montserrat (display/headings) + Lato (body)
   Direction: Bold editorial — African tech premium
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&display=swap');

:root {
  --primary:        #E8770A;
  --primary-light:  #F5993A;
  --primary-dark:   #C55F06;
  --teal:           #07849A;
  --teal-light:     #09A2BC;
  --teal-dark:      #055E6E;
  --brown:          #865014;
  --dark:           #070A0C;
  --dark-2:         #0E1518;
  --dark-3:         #161E22;
  --white:          #FFFFFF;
  --off-white:      #F8F6F2;
  --light-text:     #1A1614;
  --muted:          #6B7280;
  --border:         rgba(0,0,0,0.08);
  --border-dark:    rgba(255,255,255,0.07);

  --grad-primary:   linear-gradient(135deg, #E8770A 0%, #C55F06 100%);
  --grad-teal:      linear-gradient(135deg, #07849A 0%, #055E6E 100%);
  --grad-warm:      linear-gradient(135deg, #E8770A 0%, #865014 100%);
  --grad-dark:      linear-gradient(160deg, #070A0C 0%, #0E1518 100%);

  --shadow-sm:      0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:      0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:      0 20px 60px rgba(0,0,0,0.15);
  --shadow-orange:  0 8px 30px rgba(232,119,10,0.22);
  --shadow-teal:    0 8px 30px rgba(7,132,154,0.22);

  --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm:      4px;
  --radius-md:      10px;
  --radius-lg:      18px;
  --radius-xl:      28px;

  /* Glass */
  --glass-light:    rgba(255,255,255,0.60);
  --glass-border:   rgba(255,255,255,0.65);
  --glass-blur:     blur(14px) saturate(1.4);
  --glass-dark:     rgba(7,10,12,0.55);

  /* Stripe accent */
  --stripe-h:       4px;

  /* History section background image */
  --history-bg-image: url("imgs/history_section_africa.png");
}

[data-theme="dark"] {
  --primary:         #07849A;
  --primary-light:  #09A2BC;
  --primary-dark:   #055E6E;
  --teal:           #09A2BC;
  --teal-light:     #0DC8EB;
  --brown:          #A8632A;
  --white:          #111820;
  --off-white:      #0D1318;
  --light-text:     #EAE6E0;
  --muted:          #9CA3AF;
  --border:         rgba(255,255,255,0.06);
  --glass-light:    rgba(255,255,255,0.05);
  --glass-border:   rgba(255,255,255,0.08);
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.30);
  --shadow-md:      0 8px 32px rgba(0,0,0,0.40);
  --shadow-lg:      0 20px 60px rgba(0,0,0,0.50);

  /* Swap primary gradient and shadow to teal in dark mode */
  --grad-primary:   linear-gradient(135deg, #07849A 0%, #055E6E 100%);
  --grad-warm:      linear-gradient(135deg, #07849A 0%, #055E6E 100%);
  --shadow-orange:  0 8px 30px rgba(7,132,154,0.28);

  /* History section background image (dark mode) */
  --history-bg-image: url("imgs/history-secondary.png");
}

/* ========================
   RESET & BASE
   ======================== */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--off-white);
  color: var(--light-text);
  overflow-x: hidden;
  line-height: 1.68;
  transition: background-color 0.3s, color 0.3s;
}

/* No body grid — clean background */
body::before { display: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--light-text);
  margin-bottom: 1rem;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

/* ========================
   LAYOUT
   ======================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

/* ========================
   TYPOGRAPHY HELPERS
   ======================== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--primary);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 900;
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title h2 em {
  font-style: normal;
  color: var(--primary);
}

.section-title p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.75;
}

.text-primary { color: var(--primary); }
.text-teal    { color: var(--teal); }

/* ========================
   BUTTONS
   ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 2rem;
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-orange);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover { 
  background: var(--primary-dark); 
  border-color: var(--primary-dark);
  transform: translateY(-2px); 
  box-shadow: 0 14px 40px rgba(232,119,10,0.35);
  color: #fff;
}
.btn:hover::after { opacity: 1; }
.btn i { transition: transform 0.3s; }
.btn:hover i { transform: translateX(3px); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.btn-teal {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: var(--shadow-teal);
}
.btn-teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); }

.btn-ghost {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.30);
  color: #fff;
  backdrop-filter: blur(8px);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255,255,255,0.20); color: #fff; }

.btn-dark {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-dark:hover { background: var(--dark-2); }

/* ========================
   PAGE LOADER
   ======================== */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-content { text-align: center; }

/* Glowing logo loader */
.loader-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.loader-logo-img {
  width: 120px;
  animation: logoGlow 1.6s ease-in-out infinite;
}
@keyframes logoGlow {
  0%   { opacity: 0.2; filter: brightness(0.6) drop-shadow(0 0 0px var(--primary)); }
  50%  { opacity: 1;   filter: brightness(1.2) drop-shadow(0 0 18px var(--primary)) drop-shadow(0 0 36px var(--primary)); }
  100% { opacity: 0.2; filter: brightness(0.6) drop-shadow(0 0 0px var(--primary)); }
}

.loader-slow-msg {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInMsg 0.5s ease forwards 3s;
}
@keyframes fadeInMsg { to { opacity: 1; } }

.loader-spinner {
  width: 42px; height: 42px;
  border: 3px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  animation: spin 0.9s linear infinite;
}
.loader-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 4px;
  text-transform: uppercase;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes zoomIn { to { transform: scale(1); opacity: 1; } }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes pulse { 0% { transform: translate(-50%,-50%) scale(1); opacity:0.8; } 100% { transform: translate(-50%,-50%) scale(1.8); opacity:0; } }

/* ========================
   NAVIGATION
   ======================== */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  padding: 1rem 0;
  background: rgba(7,10,12,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232,119,10,0.12);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo { display: flex; align-items: center; gap: 0.8rem; }
.logo img { height: 38px; filter: brightness(0) invert(1); transition: var(--transition); }
.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  color: rgba(255,255,255,0.78);
  position: relative;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 1.1rem; right: 1.1rem;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--primary); }

.toggle-btn {
  display: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  width: 42px; height: 38px;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.toggle-btn i { font-size: 1.1rem; color: #fff; }
.toggle-btn:hover { background: rgba(255,255,255,0.15); border-color: var(--primary); }
.toggle-btn.active i { transform: rotate(90deg); color: var(--primary); }
.toggle-btn i { transition: var(--transition); }

/* ========================
   HERO SECTION
   ======================== */
#hero {
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(7,10,12,0.88) 40%, rgba(7,132,154,0.2) 100%),
    url('imgs/digitalize the sky a.png') center/cover no-repeat;
  background-attachment: fixed;
  z-index: 0;
}

/* Orange corner accent */
.hero-bg::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 300px 300px;
  border-color: transparent transparent rgba(232,119,10,0.08) transparent;
  z-index: 1;
}

/* Diagonal stripe */
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: var(--grad-primary);
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-text { color: #fff; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(232,119,10,0.10);
  border: 1px solid rgba(232,119,10,0.28);
  padding: 0.45rem 1.1rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.8s forwards 1.2s;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s forwards 1.5s;
}
.hero-title span {
  background: linear-gradient(135deg, var(--primary), var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.78;
  margin-bottom: 2.5rem;
  color: rgba(255,255,255,0.68);
  max-width: 430px;
  border-left: 3px solid rgba(232,119,10,0.55);
  padding-left: 1.1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s forwards 1.8s;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s forwards 2.1s;
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0.85);
  opacity: 0;
  animation: zoomIn 1.2s cubic-bezier(0.34,1.56,0.64,1) forwards 0.6s;
  position: relative;
}

.hero-logo::before {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  border: 1px solid rgba(232,119,10,0.14);
  border-radius: 50%;
  animation: rotateRing 22s linear infinite;
}
.hero-logo::after {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  border: 1px dashed rgba(7,132,154,0.16);
  border-radius: 50%;
  animation: rotateRing 14s linear infinite reverse;
}
@keyframes rotateRing { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-logo img {
  max-width: 78%;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 50px rgba(232,119,10,0.22));
}

.bouncing-chevron {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.chevron-link {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 1rem;
  animation: bounce 2.5s ease-in-out infinite;
  transition: var(--transition);
}
.chevron-link:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ========================
   PAGE INTRO (inner pages)
   ======================== */
.page-intro {
  padding: 10rem 0 5rem;
  background:
    linear-gradient(160deg, rgba(7,10,12,0.90) 50%, rgba(7,132,154,0.25) 100%),
    url('imgs/digitalize the sky a.png') center/cover fixed;
  color: #fff;
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
}

/* Orange left bar */
.page-intro::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--grad-primary);
  z-index: 2;
}
/* Bottom gradient line */
.page-intro::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
}

.page-intro .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.page-intro-content { flex: 1; }

.page-intro-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.page-intro-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
}

.page-intro h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.page-intro p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  line-height: 1.75;
  border-left: 2px solid rgba(232,119,10,0.45);
  padding-left: 1rem;
  margin-bottom: 2rem;
}

.page-intro-visual {
  flex: 0 0 36%;
  display: flex;
  justify-content: center;
}
.page-intro img {
  max-width: 44%;
  filter: brightness(0) invert(1);
  opacity: 0.5;
}

/* ========================
   ABOUT / ABOUT PREVIEW
   ======================== */
#about, #about-preview {
  background: var(--off-white);
}
[data-theme="dark"] #about,
[data-theme="dark"] #about-preview { background: var(--dark-2); }

/* Our Story — new 2-col layout */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Left: story glass card */
.about-story-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.about-story-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--grad-primary);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 0.5rem;
}

.about-story-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
  margin: 0;
}

/* Right col: image stacked above expertise card */
.about-right-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.about-img {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img::before {
  content: '';
  position: absolute;
  top: -12px; right: -12px;
  width: 100%; height: 100%;
  border: 3px solid var(--primary);
  z-index: 0;
  pointer-events: none;
}
.about-img img {
  width: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  transition: transform 0.6s ease;
}
.about-img:hover img { transform: scale(1.04); }

/* Expertise glass card */
.about-expertise-card {
  padding: 1.75rem 2rem;
}

.expertise-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.expertise-header i {
  font-size: 1.2rem;
  color: var(--primary);
}

.expertise-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--light-text);
}

.expertise-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.expertise-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.93rem;
  color: var(--light-text);
  line-height: 1.5;
}

.expertise-list li i {
  color: var(--primary);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ========================
   GLASS CARD (reusable)
   ======================== */
.glass-card {
  background: var(--glass-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
[data-theme="dark"] .glass-card {
  background: var(--glass-dark);
  border-color: var(--border-dark);
}
.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--stripe-h);
  background: var(--grad-primary);
}

/* Teal accent variant */
.glass-card--teal::before {
  background: var(--grad-teal);
}
.glass-card--teal:hover {
  box-shadow: 0 20px 60px rgba(7,132,154,0.18);
}

/* ========================
   SERVICE CARDS
   ======================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--glass-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
[data-theme="dark"] .service-card {
  background: var(--glass-dark);
  border-color: var(--border-dark);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--stripe-h);
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(232,119,10,0.18);
}

.service-icon {
  width: 54px; height: 54px;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff;
  box-shadow: var(--shadow-orange);
  margin: 2rem 2rem 0;
  flex-shrink: 0;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--grad-teal);
  transform: rotate(-5deg) scale(1.05);
}

.service-content {
  padding: 1.25rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: var(--light-text);
}
.service-description {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.72;
  flex: 1;
  margin-bottom: 1.4rem;
}
.service-btn { align-self: flex-start; font-size: 0.78rem; padding: 0.6rem 1.25rem; }

/* ========================
   FLIP CARDS
   ======================== */
.flip-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.flip-card { height: 500px; perspective: 1200px; }
.flip-card-inner {
  position: relative;
  width: 100%; height: 100%;
  transition: transform 0.75s cubic-bezier(0.4,0,0.2,1);
  transform-style: preserve-3d;
}
.flip-card.flipped .flip-card-inner { transform: rotateY(180deg); }

.flip-card-front {
  position: absolute; inset: 0;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.flip-card-front::after {
  content: 'Click to explore →';
  position: absolute;
  top: 14px; left: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.0);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
  transition: color 0.35s, background 0.35s;
  pointer-events: none;
  z-index: 4;
}
.flip-card:hover .flip-card-front::after {
  color: rgba(255,255,255,0.92);
  background: rgba(232,119,10,0.35);
  border-color: rgba(232,119,10,0.5);
}
.flip-card:hover .flip-card-front { box-shadow: 0 28px 70px rgba(0,0,0,0.28); transform: translateY(-8px) scale(1.01); }

.flip-card-image { position: absolute; inset: 0; overflow: hidden; }
.flip-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s, filter 0.6s;
  filter: brightness(0.7);
}
.flip-card:hover .flip-card-image img { transform: scale(1.06); filter: brightness(0.55); }

.flip-card-front-info {
  position: relative; z-index: 2;
  padding: 1.5rem 1.75rem 1.85rem;
  background: linear-gradient(to top, rgba(7,10,12,0.94) 0%, rgba(7,10,12,0.6) 55%, transparent 100%);
  display: flex; flex-direction: column; gap: 0.45rem;
}
.flip-card-category {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'Montserrat', sans-serif; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary);
  background: rgba(232,119,10,0.18);
  border: 1px solid rgba(232,119,10,0.3);
  padding: 0.22rem 0.7rem;
  border-radius: 100px;
  width: fit-content;
}
.flip-card-title { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; font-weight: 800; color: #fff; margin: 0; }
.flip-card-description { font-size: 0.86rem; color: rgba(255,255,255,0.72); line-height: 1.62; margin: 0; }

.flip-card-back {
  position: absolute; inset: 0;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  transform: rotateY(180deg);
  display: flex; flex-direction: column;
  background: var(--glass-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}
[data-theme="dark"] .flip-card-back { background: rgba(7,10,12,0.85); border-color: var(--border-dark); }

.flip-card-back-header {
  padding: 1.5rem 1.75rem 1.25rem;
  background: var(--grad-primary);
  flex-shrink: 0;
}
.flip-card-back-header .flip-card-title { color: #fff; font-size: 1.1rem; }
.flip-card-back-body { padding: 1.5rem 1.75rem; flex: 1; display: flex; flex-direction: column; overflow-y: auto; }
.flip-card-back p { color: var(--muted); font-size: 0.91rem; line-height: 1.72; margin-bottom: 0.75rem; }

.flip-card-buttons { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 1rem; flex-shrink: 0; }

.flip-card-btn {
  background: var(--grad-primary);
  color: #fff; border: none;
  padding: 0.65rem 1.25rem;
  border-radius: 100px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
  box-shadow: var(--shadow-orange);
}
.flip-card-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(232,119,10,0.4); }
.enquire-btn { background: var(--grad-teal) !important; box-shadow: var(--shadow-teal) !important; }
.enquire-btn:hover { box-shadow: 0 10px 30px rgba(7,132,154,0.4) !important; }
.flip-icon-btn { background: transparent !important; color: var(--primary) !important; border: 1.5px solid var(--primary) !important; box-shadow: none !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 6px !important; }
.flip-icon-btn:hover { background: var(--primary) !important; color: #fff !important; }
.back-btn { background: transparent !important; color: var(--muted) !important; border: 1.5px solid var(--border) !important; box-shadow: none !important; }
.back-btn:hover { background: var(--muted) !important; color: #fff !important; }

.flip-card-circle-indicator {
  position: absolute; bottom: 85px; right: 16px;
  width: 34px; height: 34px;
  border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8); font-size: 0.8rem;
  opacity: 0; z-index: 3;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  transition: opacity 0.3s;
  pointer-events: none;
}
.flip-card:hover .flip-card-circle-indicator { opacity: 1; }
.flip-card-indicator {
  position: absolute; top: 14px; right: 14px;
  width: 28px; height: 28px;
  background: rgba(232,119,10,0.85);
  color: #fff; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; z-index: 3;
  opacity: 0.8;
  transition: opacity 0.3s, transform 0.3s;
}
.flip-card:hover .flip-card-indicator { opacity: 1; transform: scale(1.1); }

.service-details { text-align: left; margin: 12px 0; max-height: 220px; overflow-y: auto; padding-right: 4px; flex: 1; scrollbar-width: thin; scrollbar-color: var(--primary) transparent; }
.service-category { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.service-category:last-child { border-bottom: none; margin-bottom: 0; }
.service-category h4 { color: var(--primary); font-size: 0.88rem; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; font-family: 'Montserrat', sans-serif; font-weight: 700; }
.service-category ul { list-style: none; padding-left: 16px; margin: 0; }
.service-category li { position: relative; padding: 2px 0; font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.service-category li::before { content: "▸"; color: var(--primary); position: absolute; left: -14px; font-size: 0.65rem; top: 4px; }

/* ========================
   CONTACT SECTION
   ======================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.contact-info { display: flex; flex-direction: column; }

.ceo-message {
  background: var(--glass-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s, box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .ceo-message { background: var(--glass-dark); border-color: var(--border-dark); }
.ceo-message::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--stripe-h);
  background: var(--grad-primary);
}
.ceo-message:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(232,119,10,0.14); }

.ceo-content { display: flex; flex-direction: column; gap: 2rem; }
.ceo-text h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: 1rem; }
.ceo-text p { color: var(--muted); font-style: italic; line-height: 1.82; margin-bottom: 0.85rem; font-size: 0.97rem; border-left: 2px solid rgba(232,119,10,0.28); padding-left: 1rem; }
.ceo-image img {
  max-width: 260px; width: 100%;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--primary);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.contact-form {
  background: var(--glass-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
}
[data-theme="dark"] .contact-form { background: var(--glass-dark); border-color: var(--border-dark); }
.contact-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--stripe-h);
  background: var(--grad-teal);
}
.contact-form:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(7,132,154,0.14); }
.contact-form h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 0.4rem; }
.contact-form-subtitle { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.5rem; }
.contact-form form { flex: 1; display: flex; flex-direction: column; }

.form-group { margin-bottom: 1rem; position: relative; }
.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  font-family: 'Lato', sans-serif;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,0.6);
  color: var(--light-text);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
[data-theme="dark"] .form-control { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.10); color: var(--light-text); }
.form-control:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(255,255,255,0.78);
  box-shadow: 0 0 0 3px rgba(7,132,154,0.12);
}
[data-theme="dark"] .form-control:focus { background: rgba(255,255,255,0.10); }
.form-control::placeholder { color: var(--muted); opacity: 0.7; }
textarea.form-control { resize: none; min-height: 120px; }

.error-message { color: #ef4444; font-size: 0.82rem; margin-top: 0.35rem; display: none; }

.form-status { margin: 0.75rem 0; padding: 0.75rem 1rem; font-size: 0.9rem; display: none; border-radius: 0; }
.form-status.success { display: block; background: rgba(16,185,129,0.10); color: #059669; border: 1px solid rgba(16,185,129,0.2); }
.form-status.error { display: block; background: rgba(239,68,68,0.10); color: #dc2626; border: 1px solid rgba(239,68,68,0.2); }

#submitBtn {
  width: 100%; justify-content: center;
  margin-top: 0.5rem; padding: 1rem 2rem; font-size: 0.88rem;
}

.contact-info-mini {
  margin-top: 1.75rem; padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.contact-mini-item {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.83rem; color: var(--muted);
  padding: 0.6rem 0.75rem;
  background: rgba(232,119,10,0.04);
  border-left: 2px solid rgba(232,119,10,0.22);
  transition: background 0.3s;
}
.contact-mini-item:hover { background: rgba(232,119,10,0.08); }
.contact-mini-item i { color: var(--primary); width: 14px; flex-shrink: 0; font-size: 0.85rem; }

/* ========================
   MAP
   ======================== */
.map-container {
  margin-top: 3rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 380px;
  border: 1px solid var(--border);
  position: relative;
}
.map-container::before {
  content: 'OUR LOCATION';
  position: absolute; top: 0; left: 0;
  background: var(--primary); color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em;
  padding: 0.3rem 0.8rem;
  z-index: 2;
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ========================
   MISSION / VISION
   ======================== */
.mission-vision-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.mission-card, .vision-card {
  background: var(--glass-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  position: relative; overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
}
[data-theme="dark"] .mission-card, [data-theme="dark"] .vision-card { background: var(--glass-dark); border-color: var(--border-dark); }
.mission-card::before, .vision-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: var(--stripe-h); background: var(--grad-primary);
}
.mission-card:hover, .vision-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(232,119,10,0.16); }

.mission-vision-icon {
  width: 70px; height: 70px;
  background: var(--grad-primary);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; font-size: 1.7rem; color: #fff;
  box-shadow: var(--shadow-orange);
  transition: var(--transition);
}
.mission-card:hover .mission-vision-icon,
.vision-card:hover .mission-vision-icon { transform: scale(1.08) rotate(5deg); background: var(--grad-teal); }
.mission-card h3, .vision-card h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.mission-card p, .vision-card p { color: var(--muted); line-height: 1.75; font-size: 0.97rem; }

/* Dashboard panels */
.tech-dashboard { margin-top: 3rem; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.dashboard-panel {
  background: var(--glass-light); backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  display: flex; flex-direction: column;
  transition: transform 0.35s, box-shadow 0.35s;
  position: relative; overflow: hidden;
}
[data-theme="dark"] .dashboard-panel { background: var(--glass-dark); border-color: var(--border-dark); }
.dashboard-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: var(--stripe-h); }
.mission-panel::before { background: var(--grad-primary); }
.vision-panel::before { background: var(--grad-teal); }
.dashboard-panel:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.panel-header { display: flex; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.panel-icon { width: 46px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-right: 1rem; flex-shrink: 0; transition: var(--transition); }
.mission-panel .panel-icon { background: var(--grad-primary); color: #fff; }
.vision-panel .panel-icon { background: var(--grad-teal); color: #fff; }
.dashboard-panel:hover .panel-icon { transform: rotate(8deg); }
.panel-header h3 { font-size: 1.25rem; margin: 0; flex: 1; }
.panel-indicator { width: 10px; height: 10px; border-radius: 50%; }
.mission-panel .panel-indicator { background: var(--primary); box-shadow: 0 0 8px var(--primary); }
.vision-panel .panel-indicator { background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.panel-content { flex: 1; }
.data-point { margin-bottom: 1.25rem; padding-left: 1rem; border-left: 2px solid var(--border); transition: var(--transition); }
.mission-panel .data-point { border-left-color: var(--primary); }
.vision-panel .data-point { border-left-color: var(--teal); }
.dashboard-panel:hover .data-point { transform: translateX(4px); }
.data-label { display: block; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.4rem; }
.mission-panel .data-label { color: var(--primary); }
.vision-panel .data-label { color: var(--teal); }
.data-point p { color: var(--muted); line-height: 1.62; font-size: 0.92rem; margin: 0; }
.panel-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.signal-bars { display: flex; align-items: flex-end; height: 18px; gap: 3px; }
.bar { width: 4px; background: var(--primary); border-radius: 2px; }
.vision-panel .bar { background: var(--teal); }
.bar:nth-child(1) { height: 6px; } .bar:nth-child(2) { height: 10px; } .bar:nth-child(3) { height: 14px; } .bar:nth-child(4) { height: 18px; }
.panel-footer span { font-family: 'Montserrat', sans-serif; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.mission-panel .panel-footer span { color: var(--primary); }
.vision-panel .panel-footer span { color: var(--teal); }

/* ========================
   HISTORY / TIMELINE
   ======================== */
#history {
  position: relative;
  background-image: var(--history-bg-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50%;
}

/* Section texture overlay — applied to content sections */
#about::before,
#about-preview::before,
#mission::before,
#ousadia-overview::before,
#services::before,
#value-proposition::before,
#contact::before,
#history::before,
#values::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-image: url("imgs/background-line-digital-abstract-gradient-design_483537-2568.jpg");
  background-repeat: no-repeat;
  background-position: left;
  background-size: cover;
  z-index: 0;
  opacity: 0.3;
  pointer-events: none;
}

[data-theme="dark"] #about::before,
[data-theme="dark"] #about-preview::before,
[data-theme="dark"] #mission::before,
[data-theme="dark"] #ousadia-overview::before,
[data-theme="dark"] #services::before,
[data-theme="dark"] #value-proposition::before,
[data-theme="dark"] #contact::before,
[data-theme="dark"] #history::before,
[data-theme="dark"] #values::before {
  opacity: 0.05;
  filter: invert(0.1);
}

/* Ensure section content sits above ::before texture */
#history .container,
#values .container,
#about .container,
#about-preview .container,
#mission .container,
#ousadia-overview .container,
#services .container,
#value-proposition .container,
#contact .container {
  position: relative;
  z-index: 1;
}

#history .section-title,
#values .section-title {
  position: relative;
  z-index: 1;
}

.timeline { position: relative; max-width: 920px; margin: 3rem auto 0; z-index: 1; }
.timeline::before { content: ''; position: absolute; left: 50%; transform: translateX(-50%); width: 2px; height: 90%; background: var(--grad-primary); }
.timeline-item { width: 100%; position: relative; margin-bottom: 3rem; }
.timeline-item:nth-child(odd) .timeline-content { float: right; padding: 2rem 2rem 2rem 4.5rem; }
.timeline-item:nth-child(even) .timeline-content { float: left; padding: 2rem 4.5rem 2rem 2rem; text-align: right; }
.timeline-item::after { content: ''; display: block; clear: both; }
.timeline-content {
  position: relative; width: 45%;
  background: var(--glass-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  transition: transform 0.35s, box-shadow 0.35s;
  overflow: hidden;
}
[data-theme="dark"] .timeline-content { background: var(--glass-dark); border-color: var(--border-dark); }
.timeline-content:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(232,119,10,0.14); }
.timeline-date {
  position: absolute; top: 0;
  width: 65px; height: 30px;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-size: 0.95rem; font-weight: 800;
  color: #fff; box-shadow: var(--shadow-orange);
}
.timeline-item:nth-child(odd) .timeline-date { left: 0; transform: translateX(-50%) translateY(18px); }
.timeline-item:nth-child(even) .timeline-date { right: 0; transform: translateX(50%) translateY(18px); }
.timeline-dot { position: absolute; top: 32px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; background: var(--primary); border-radius: 50%; z-index: 1; border: 3px solid var(--off-white); }
.timeline-dot::before { content: ''; position: absolute; width: 34px; height: 34px; background: rgba(232,119,10,0.15); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); animation: pulse 2.5s infinite; }
[data-theme="dark"] .timeline-dot::before { background: rgba(9,162,188,0.25); }
.timeline-content h3 { color: var(--primary); font-size: 1.1rem; margin-bottom: 0.5rem; }
.timeline-content p { color: var(--muted); font-size: 0.93rem; line-height: 1.65; }

/* ========================
   VALUES
   ======================== */
#values { background: var(--off-white); position: relative; }
[data-theme="dark"] #values { background: var(--dark-2); }

.values-container-alt { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; position: relative; z-index: 1; }
.value-item {
  display: flex; align-items: center; padding: 2rem 2.25rem;
  background: var(--glass-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
}
[data-theme="dark"] .value-item { background: var(--glass-dark); border-color: var(--border-dark); }
.value-item:hover { transform: translateX(6px); box-shadow: 0 16px 48px rgba(232,119,10,0.14); }
.value-item:nth-child(even):hover { transform: translateX(-6px); box-shadow: 0 16px 48px rgba(7,132,154,0.14); }
.value-item:nth-child(odd) { border-left: 3px solid var(--primary); }
.value-item:nth-child(even) { border-right: 3px solid var(--teal); border-left: none; flex-direction: row-reverse; }
.value-icon-alt { flex-shrink: 0; width: 56px; height: 56px; background: var(--grad-primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-right: 1.75rem; font-size: 1.4rem; color: #fff; transition: var(--transition); box-shadow: var(--shadow-orange); }
.value-item:nth-child(even) .value-icon-alt { margin-right: 0; margin-left: 1.75rem; background: var(--grad-teal); }
.value-item:hover .value-icon-alt { transform: scale(1.1) rotate(8deg); }
.value-content { flex: 1; }
.value-content h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.value-content p { color: var(--muted); line-height: 1.65; font-size: 0.95rem; margin: 0; }
.value-number { position: absolute; top: -5px; right: 16px; font-size: 4rem; font-weight: 900; font-family: 'Montserrat', sans-serif; color: rgba(232,119,10,0.06); pointer-events: none; }
.value-item:nth-child(even) .value-number { right: auto; left: 16px; }

/* ========================
   VALUE PROPOSITION
   ======================== */
.value-proposition-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.value-proposition-item {
  background: var(--glass-light); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm);
  padding: 2rem 1.5rem; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  position: relative; overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
}
[data-theme="dark"] .value-proposition-item { background: var(--glass-dark); border-color: var(--border-dark); }
.value-proposition-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: var(--stripe-h); background: var(--grad-primary); opacity: 0; transition: opacity 0.35s; }
.value-proposition-item:hover::before { opacity: 1; }
.value-proposition-item:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(232,119,10,0.15); }
.value-prop-icon { width: 62px; height: 62px; background: var(--grad-primary); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-size: 1.6rem; color: #fff; transition: var(--transition); box-shadow: var(--shadow-orange); }
.value-proposition-item:hover .value-prop-icon { transform: scale(1.08) rotate(5deg); background: var(--grad-teal); }
.value-proposition-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.value-proposition-item p { color: var(--muted); line-height: 1.65; font-size: 0.9rem; flex: 1; }

.value-proposition-content {
  display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: center;
  background: var(--glass-light); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-md);
  padding: 2.5rem; position: relative; overflow: hidden;
}
[data-theme="dark"] .value-proposition-content { background: var(--glass-dark); border-color: var(--border-dark); }
.value-proposition-text h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.value-proposition-text p { color: var(--muted); line-height: 1.75; margin-bottom: 1rem; }
.value-proposition-visual { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.visual-element { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0.75rem; transition: var(--transition); }
.visual-element:hover { transform: scale(1.05); }
.visual-icon { width: 56px; height: 56px; background: var(--grad-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; margin-bottom: 0.35rem; transition: var(--transition); }
.visual-element:hover .visual-icon { background: var(--grad-teal); transform: rotate(8deg); }
.visual-element span { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--primary); font-size: 0.9rem; }
.connector-line { width: 2px; height: 28px; background: var(--grad-primary); }

/* ========================
   APPROACH / FLOW
   ======================== */
.approach-flow { display: flex; flex-direction: column; align-items: center; max-width: 860px; margin: 0 auto; }
.flow-item {
  display: flex; align-items: center; width: 100%; margin: 1rem 0; padding: 2rem;
  background: var(--glass-light); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
}
[data-theme="dark"] .flow-item { background: var(--glass-dark); border-color: var(--border-dark); }
.flow-item:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(232,119,10,0.14); }
.flow-item:nth-child(odd) { flex-direction: row; }
.flow-item:nth-child(even) { flex-direction: row-reverse; text-align: right; }
.flow-icon { width: 58px; height: 58px; background: var(--grad-primary); clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%); display: flex; align-items: center; justify-content: center; font-size: 1.55rem; color: #fff; margin: 0 1.75rem; flex-shrink: 0; transition: var(--transition); box-shadow: var(--shadow-orange); }
.flow-item:hover .flow-icon { transform: scale(1.08) rotate(5deg); background: var(--grad-teal); }
.flow-content { flex: 1; }
.flow-content h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.flow-content p { color: var(--muted); line-height: 1.65; font-size: 0.95rem; }
.flow-connector { display: flex; align-items: center; justify-content: center; width: 100%; margin: 0.5rem 0; }
.connector-arrow { width: 32px; height: 32px; background: var(--grad-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; margin: 0 0.75rem; box-shadow: var(--shadow-orange); font-size: 0.85rem; }

/* ========================
   TECH APPROACH GRID
   ======================== */
.tech-approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.tech-card {
  position: relative; background: var(--glass-light); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  padding: 2rem; border: 1px solid var(--glass-border);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden; z-index: 1;
  /* Ensure all cards are equal height and layout consistently */
  display: flex; flex-direction: column;
}
[data-theme="dark"] .tech-card { background: var(--glass-dark); border-color: var(--border-dark); }
.tech-card-glow { position: absolute; top: 0; left: 0; right: 0; height: 100%; background: radial-gradient(circle at 50% 0%, rgba(232,119,10,0.12), transparent 70%); opacity: 0; transition: opacity 0.4s; z-index: -1; }
.tech-card:hover { transform: translateY(-8px); border-color: rgba(232,119,10,0.3); box-shadow: var(--shadow-lg); }
.tech-card:hover .tech-card-glow { opacity: 1; }
.tech-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; flex-shrink: 0; }
.tech-icon-wrapper { width: 54px; height: 54px; background: var(--grad-primary); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; transition: transform 0.3s; flex-shrink: 0; }
.tech-card:hover .tech-icon-wrapper { transform: rotate(8deg) scale(1.05); }
.tech-badge { font-family: 'Montserrat', sans-serif; font-size: 0.72rem; font-weight: 700; padding: 0.22rem 0.72rem; background: rgba(232,119,10,0.12); border: 1px solid rgba(232,119,10,0.28); color: var(--primary); border-radius: 100px; align-self: flex-start; white-space: nowrap; }
.tech-card h3 { font-size: 1.25rem; margin-bottom: 0.9rem; flex-shrink: 0; }
/* Card body text grows to fill space so footer stays pinned at bottom */
.tech-card p { color: var(--muted); line-height: 1.65; margin-bottom: 1.5rem; font-size: 0.93rem; flex: 1; }
/* Shared bottom-section style — both metrics and approach-steps sit at the bottom */
.tech-metrics,
.approach-steps { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }
.tech-metrics { display: flex; gap: 1.5rem; }
.metric { text-align: left; }
.metric-value { display: block; font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 900; color: var(--primary); line-height: 1.2; }
.metric-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.approach-steps { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.step { font-size: 0.78rem; padding: 0.28rem 0.75rem; background: rgba(232,119,10,0.10); color: var(--primary); display: flex; align-items: center; gap: 0.3rem; border-radius: 100px; }
.step i { font-size: 0.7rem; }

/* VALUES TECH GRID */
.values-tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 2rem; }
.value-tech-card { background: var(--glass-light); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); padding: 2rem 1.5rem; transition: all 0.3s; position: relative; overflow: hidden; }
[data-theme="dark"] .value-tech-card { background: var(--glass-dark); border-color: var(--border-dark); }
.value-tech-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: var(--stripe-h); background: var(--grad-primary); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.value-tech-card:hover::before { transform: scaleX(1); }
.value-tech-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-tech-number { font-family: 'Montserrat', sans-serif; font-size: 2.5rem; font-weight: 900; color: rgba(232,119,10,0.12); margin-bottom: 0.5rem; line-height: 1; }
.value-tech-icon { width: 48px; height: 48px; background: var(--grad-primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #fff; margin-bottom: 1.25rem; transition: transform 0.3s; }
.value-tech-card:hover .value-tech-icon { transform: scale(1.05) rotate(5deg); }
.value-tech-card h4 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.value-tech-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.62; margin-bottom: 1.25rem; }
.value-tech-progress { width: 100%; height: 4px; background: rgba(232,119,10,0.10); border-radius: 4px; overflow: hidden; }
.progress-bar { height: 100%; background: var(--grad-primary); border-radius: 4px; }

/* VALUE PROP TECH */
.value-prop-tech-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-bottom: 3rem; }
.value-prop-tech-card { background: var(--glass-light); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; transition: all 0.3s; }
[data-theme="dark"] .value-prop-tech-card { background: var(--glass-dark); border-color: var(--border-dark); }
.value-prop-tech-card:hover { transform: translateY(-6px); border-color: rgba(232,119,10,0.28); box-shadow: var(--shadow-orange); }
.tech-stack-icon { position: relative; width: 54px; height: 54px; background: var(--grad-primary); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; }
.tech-pulse { position: absolute; width: 100%; height: 100%; border-radius: 14px; background: var(--primary); opacity: 0; animation: pulse-ring 2s ease-out infinite; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.5); opacity: 0; } }
.tech-stack-content h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.tech-stack-content p { font-size: 0.85rem; color: var(--muted); line-height: 1.62; margin-bottom: 0.75rem; }
.tech-stack-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tech-stack-tags span { font-size: 0.7rem; padding: 0.2rem 0.6rem; background: rgba(232,119,10,0.10); border-radius: 100px; color: var(--primary); }

/* Mission Vision Enhanced */
.mission-vision-enhanced { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
/* mv-card glass props handled by .glass-card — only unique overrides here */
.mv-card { padding: 2.25rem; }
.mv-card:hover { transform: translateY(-6px); }
.mission-enhanced.glass-card:hover { box-shadow: 0 20px 60px rgba(232,119,10,0.18); }
.vision-enhanced.glass-card:hover { box-shadow: 0 20px 60px rgba(7,132,154,0.18); }
.mv-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.mv-icon { width: 54px; height: 54px; background: var(--grad-primary); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; transition: transform 0.3s; }
.vision-enhanced .mv-icon { background: var(--grad-teal); }
.mv-card:hover .mv-icon { transform: scale(1.08) rotate(5deg); }
.mv-status { display: flex; align-items: center; gap: 0.5rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-dot.active { background: #10b981; box-shadow: 0 0 8px #10b981; animation: pulse-dot 2s infinite; }
.status-dot.future { background: var(--teal); box-shadow: 0 0 8px var(--teal); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.mv-status span:last-child { font-size: 0.75rem; color: var(--muted); }
.mv-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.mv-card p { color: var(--muted); line-height: 1.65; margin-bottom: 1.5rem; }
.mv-metrics { display: flex; gap: 2rem; align-items: center; }
.metric-ring { position: relative; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; }
.metric-ring svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.metric-ring span { font-size: 0.85rem; font-weight: 700; color: var(--primary); }
.metric-value-large { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 900; color: var(--primary); }
.mv-goals { display: flex; flex-direction: column; gap: 0.75rem; }
.goal-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--light-text); }
.goal-item i { color: var(--teal); width: 20px; }

/* Values grid — teal card variants */
.value-tech-card--teal::before { background: var(--grad-teal) !important; }
.value-tech-card--teal:hover { box-shadow: 0 20px 50px rgba(7,132,154,0.18) !important; }
.value-tech-icon--teal { background: var(--grad-teal) !important; box-shadow: var(--shadow-teal) !important; }
.value-tech-progress--teal { background: rgba(7,132,154,0.10) !important; }
.value-tech-progress--teal .progress-bar { background: var(--grad-teal) !important; }

/* Enhanced Value Proposition */
.value-proposition-enhanced { background: var(--glass-light); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); padding: 3rem; margin-top: 2rem; }
[data-theme="dark"] .value-proposition-enhanced { background: var(--glass-dark); border-color: var(--border-dark); }
.enhanced-content { display: grid; grid-template-columns: 1fr 0.8fr; gap: 3rem; align-items: center; }
.enhanced-badge { display: inline-block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); background: rgba(232,119,10,0.10); padding: 0.3rem 0.8rem; border-radius: 100px; margin-bottom: 1rem; }
.content-left h3 { font-size: 1.8rem; margin-bottom: 1rem; line-height: 1.2; }
.content-left p { color: var(--muted); margin-bottom: 1.5rem; line-height: 1.75; }
.feature-list { margin-bottom: 2rem; }
.feature-item { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; color: var(--light-text); }
.feature-item i { color: var(--primary); font-size: 1rem; }
.tech-stats { display: flex; flex-direction: column; gap: 1.5rem; }
.tech-stat { text-align: center; }
.stat-circle { width: 100px; height: 100px; margin: 0 auto 0.5rem; position: relative; display: flex; align-items: center; justify-content: center; }
.stat-circle svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.stat-circle span { font-family: 'Montserrat', sans-serif; font-size: 1.3rem; font-weight: 900; color: var(--primary); }
.tech-stat p { font-size: 0.8rem; color: var(--muted); margin-top: 0.5rem; }

/* ========================
   STAT-CIRCLE THEME ADAPTATION
   Orange for light mode, Teal for dark mode
   ======================== */
.stat-circle svg circle:first-child {
  stroke: rgba(0,0,0,0.08);
}
.stat-circle svg circle:last-child {
  stroke: var(--primary);
  stroke-dasharray: 283;
  stroke-dashoffset: calc(283 - (283 * 85) / 100);
  transition: stroke 0.3s ease;
}
[data-theme="dark"] .stat-circle svg circle:last-child {
  stroke: var(--teal);
}

/* ========================
   PARALLAX SECTION
   ======================== */
.parallax-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: 6rem 0;
}
.parallax-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(7,10,12,0.85) 0%, rgba(7,10,12,0.65) 50%, rgba(7,132,154,0.28) 100%);
  z-index: 1;
}
.parallax-overlay::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(232,119,10,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(232,119,10,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
}
.parallax-content { position: relative; z-index: 2; max-width: 760px; padding: 0 2rem; display: flex; flex-direction: column; align-items: center; }
.parallax-content h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); font-weight: 900; color: #fff; margin-bottom: 1rem; letter-spacing: -0.025em; }
.parallax-content h2::after { content: ''; display: block; width: 56px; height: 3px; background: var(--primary); margin: 0.75rem auto 0; }
.parallax-content p { font-size: 1.05rem; color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; max-width: 500px; }
.parallax-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ========================
   STATS
   ======================== */
.data-stats { display: flex; justify-content: center; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.stat-item {
  text-align: center; background: rgba(255,255,255,0.07); padding: 1.5rem 1.25rem;
  backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.12);
  transition: var(--transition); min-width: 120px;
}
.stat-item:hover { transform: translateY(-4px); background: rgba(255,255,255,0.13); }
.stat-item h3 { font-size: 2.4rem; font-weight: 900; color: var(--primary); margin-bottom: 0.25rem; font-family: 'Montserrat', sans-serif; }
.stat-item p { font-size: 0.78rem; color: rgba(255,255,255,0.72); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-family: 'Montserrat', sans-serif; }

/* ========================
   CLIENTS CAROUSEL
   ======================== */
#clients { position: relative; overflow: hidden; }
.clients-carousel-container { position: relative; width: 100%; overflow: hidden; margin-top: 3rem; }
.clients-track { display: flex; animation: scroll 40s linear infinite; width: max-content; }
.clients-track:hover { animation-play-state: paused; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-logo-item { flex: 0 0 auto; display: flex; justify-content: center; align-items: center; padding: 0.75rem 1.5rem; margin: 0 0.5rem; }
.client-logo-wrapper {
  display: flex; justify-content: center; align-items: center;
  width: 140px; height: 100px;
  background: var(--glass-light); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm);
  transition: transform 0.35s, box-shadow 0.35s;
  cursor: pointer; overflow: hidden; position: relative;
}
[data-theme="dark"] .client-logo-wrapper { background: var(--glass-dark); border-color: var(--border-dark); }
.client-logo-wrapper:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(232,119,10,0.14); }
.client-logo { max-width: 80%; max-height: 65px; filter: grayscale(40%); opacity: 0.8; transition: var(--transition); }
.client-logo-wrapper:hover .client-logo { filter: grayscale(0%); opacity: 1; }
.client-tooltip { position: absolute; bottom: -80px; left: 50%; transform: translateX(-50%) translateY(16px); background: var(--white); padding: 0.9rem 1.25rem; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: var(--transition); width: 190px; text-align: center; z-index: 10; border: 1px solid var(--border); }
.client-tooltip::before { content: ''; position: absolute; top: -7px; left: 50%; transform: translateX(-50%); border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 8px solid var(--white); }
.client-logo-wrapper:hover .client-tooltip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.client-tooltip h4 { font-size: 0.92rem; color: var(--primary); margin-bottom: 0.3rem; }
.client-tooltip p { font-size: 0.8rem; color: var(--muted); margin: 0; }
.carousel-controls { display: flex; justify-content: center; gap: 0.75rem; margin-top: 1.75rem; }
.carousel-btn { width: 42px; height: 42px; background: var(--grad-primary); color: #fff; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); box-shadow: var(--shadow-orange); }
.carousel-btn:hover { background: var(--grad-teal); transform: translateY(-2px); }

/* ========================
   SECTION DIVIDER
   ======================== */
.section-divider { position: relative; height: 80px; margin-top: -40px; margin-bottom: -40px; z-index: 2; }
.section-divider svg { position: absolute; width: 100%; height: 80px; fill: var(--off-white); }
[data-theme="dark"] .section-divider svg { fill: var(--dark-2); }

/* ========================
   FOOTER
   ======================== */
.footer {
  background: var(--dark);
  padding: 5rem 0 2rem;
  border-top: 3px solid var(--primary);
  position: relative; overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(232,119,10,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-logo img { max-width: 80px; margin-bottom: 1.25rem; filter: brightness(0) invert(1); transition: var(--transition); }
.footer-logo img:hover { transform: scale(1.05); }
.footer-about p { color: rgba(255,255,255,0.50); line-height: 1.78; font-size: 0.93rem; margin-bottom: 1.25rem; }
.footer-title { font-family: 'Montserrat', sans-serif; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary); margin-bottom: 1.5rem; position: relative; padding-bottom: 0.75rem; }
.footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--grad-primary); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links li a { color: rgba(255,255,255,0.52); font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.4rem; transition: var(--transition); }
.footer-links li a:hover { color: var(--primary); transform: translateX(4px); }
.footer-links li a i { color: var(--primary); font-size: 0.7rem; }
.social-links { display: flex; gap: 0.65rem; margin-top: 1.25rem; }
.social-links a { width: 36px; height: 36px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.65); font-size: 0.95rem; transition: var(--transition); }
.social-links a:hover { background: var(--grad-primary); border-color: var(--primary); color: #fff; transform: translateY(-3px); }
.copyright { text-align: center; padding-top: 2rem; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.85rem; color: rgba(255,255,255,0.38); }

/* ========================
   MODAL
   ======================== */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.78); display: flex; align-items: center; justify-content: center; z-index: 1001; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; backdrop-filter: blur(4px); }
.modal.show { opacity: 1; visibility: visible; }
.modal-content {
  background: var(--white); max-width: 420px; width: 90%; padding: 2.5rem; text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,0.3);
  transform: scale(0.85) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.35s;
  border-top: var(--stripe-h) solid var(--primary);
  position: relative; overflow: hidden;
}
[data-theme="dark"] .modal-content { background: var(--dark-2); }
.modal.show .modal-content { transform: scale(1) translateY(0); }
.modal-icon { width: 70px; height: 70px; background: var(--grad-primary); margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff; box-shadow: var(--shadow-orange); clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%); animation: iconPop 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.2s both; }
@keyframes iconPop { from { transform: scale(0); } to { transform: scale(1); } }
.modal-title { font-size: 1.5rem; color: var(--primary); margin-bottom: 0.75rem; }
.modal-text { color: var(--muted); line-height: 1.65; margin-bottom: 1.75rem; }

/* ========================
   FLOATING BUTTONS
   ======================== */
.floating-dark-toggle {
  position: fixed; bottom: 28px; left: 28px;
  width: 46px; height: 46px;
  background: var(--grad-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-orange); z-index: 998; border: none;
}
.floating-dark-toggle:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(232,119,10,0.4); }
.floating-dark-toggle .fa-sun { display: block; }
.floating-dark-toggle .fa-moon { display: none; }
[data-theme="dark"] .floating-dark-toggle .fa-sun { display: none; }
[data-theme="dark"] .floating-dark-toggle .fa-moon { display: block; }

.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--grad-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer;
  transition: opacity 0.35s, visibility 0.35s, transform 0.35s, box-shadow 0.35s;
  box-shadow: var(--shadow-orange);
  opacity: 0; visibility: hidden; transform: translateY(16px); z-index: 998;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px) !important; box-shadow: 0 14px 30px rgba(232,119,10,0.45); color: #fff; }

/* Parallax icon items */
.parallax-service-icons { display: flex; justify-content: center; gap: 3rem; margin-top: -2rem; flex-wrap: wrap; }
.parallax-icon-item { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 100px; transition: var(--transition); }
.parallax-icon-item:hover { transform: translateY(-5px); }
.parallax-icon-wrapper { width: 68px; height: 68px; clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; background: rgba(255,255,255,0.10); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.18); box-shadow: 0 8px 24px rgba(0,0,0,0.25); transition: var(--transition); }
.parallax-icon-item:hover .parallax-icon-wrapper { transform: scale(1.1); }
.parallax-icon-wrapper.engineering { background: linear-gradient(135deg, var(--primary), rgba(0,0,0,0.5)); border-color: var(--primary); }
.parallax-icon-wrapper.maintenance { background: linear-gradient(135deg, var(--teal), rgba(0,0,0,0.5)); border-color: var(--teal); }
.parallax-icon-wrapper.consulting { background: linear-gradient(135deg, rgba(134,80,20,0.8), rgba(0,0,0,0.5)); border-color: rgba(134,80,20,0.4); }
.parallax-icon-wrapper i { font-size: 1.65rem; color: #fff; }
.parallax-icon-item span { font-family: 'Montserrat', sans-serif; font-weight: 700; color: #fff; font-size: 0.88rem; line-height: 1.3; text-shadow: 0 2px 6px rgba(0,0,0,0.5); }

/* ========================
   OUSADIA OVERVIEW
   ======================== */
#ousadia-overview { background: var(--off-white); }
[data-theme="dark"] #ousadia-overview { background: var(--dark-2); }

/* ========================
   DARK MODE — TEAL OVERRIDES
   All hardcoded orange rgba values replaced with teal equivalents
   ======================== */

/* Navbar scrolled border */
[data-theme="dark"] .navbar.scrolled {
  border-bottom-color: rgba(7,132,154,0.18);
}

/* Hero eyebrow badge */
[data-theme="dark"] .hero-eyebrow {
  background: rgba(7,132,154,0.12);
  border-color: rgba(7,132,154,0.30);
}

/* Hero subtitle left border */
[data-theme="dark"] .hero-subtitle {
  border-left-color: rgba(7,132,154,0.55);
}

/* Hero logo ring */
[data-theme="dark"] .hero-logo::before {
  border-color: rgba(7,132,154,0.18);
}

/* Hero logo drop-shadow */
[data-theme="dark"] .hero-logo img {
  filter: drop-shadow(0 20px 50px rgba(7,132,154,0.28));
}

/* Hero corner accent */
[data-theme="dark"] .hero-bg::before {
  border-color: transparent transparent rgba(7,132,154,0.10) transparent;
}

/* Page intro paragraph border */
[data-theme="dark"] .page-intro p {
  border-left-color: rgba(7,132,154,0.45);
}

/* Button hover shadow */
[data-theme="dark"] .btn:hover {
  box-shadow: 0 14px 40px rgba(7,132,154,0.35);
}

/* btn-outline hover shadow */
[data-theme="dark"] .btn-outline:hover {
  box-shadow: var(--shadow-teal);
}

/* Service card hover */
[data-theme="dark"] .service-card:hover {
  box-shadow: 0 24px 60px rgba(7,132,154,0.20);
}

/* Flip card hover label */
[data-theme="dark"] .flip-card:hover .flip-card-front::after {
  background: rgba(7,132,154,0.35);
  border-color: rgba(7,132,154,0.5);
}

/* Flip card category badge */
[data-theme="dark"] .flip-card-category {
  background: rgba(7,132,154,0.18);
  border-color: rgba(7,132,154,0.30);
}

/* Flip card indicator badge */
[data-theme="dark"] .flip-card-indicator {
  background: rgba(7,132,154,0.85);
}

/* Flip card button hover shadow */
[data-theme="dark"] .flip-card-btn:hover {
  box-shadow: 0 10px 30px rgba(7,132,154,0.4);
}

/* CEO message hover */
[data-theme="dark"] .ceo-message:hover {
  box-shadow: 0 24px 60px rgba(7,132,154,0.16);
}

/* CEO text paragraph border */
[data-theme="dark"] .ceo-text p {
  border-left-color: rgba(7,132,154,0.28);
}

/* Contact mini items */
[data-theme="dark"] .contact-mini-item {
  background: rgba(7,132,154,0.04);
  border-left-color: rgba(7,132,154,0.22);
}
[data-theme="dark"] .contact-mini-item:hover {
  background: rgba(7,132,154,0.08);
}

/* Mission/vision card hover */
[data-theme="dark"] .mission-card:hover,
[data-theme="dark"] .vision-card:hover {
  box-shadow: 0 24px 60px rgba(7,132,154,0.18);
}

/* Timeline content hover */
[data-theme="dark"] .timeline-content:hover {
  box-shadow: 0 20px 50px rgba(7,132,154,0.16);
}

/* Value item (odd) hover */
[data-theme="dark"] .value-item:hover {
  box-shadow: 0 16px 48px rgba(7,132,154,0.16);
}

/* Value number ghost text */
[data-theme="dark"] .value-number {
  color: rgba(7,132,154,0.08);
}

/* Value proposition item hover */
[data-theme="dark"] .value-proposition-item:hover {
  box-shadow: 0 20px 50px rgba(7,132,154,0.16);
}

/* Value proposition item icon shadow */
[data-theme="dark"] .value-prop-icon {
  box-shadow: var(--shadow-teal);
}

/* Flow item hover */
[data-theme="dark"] .flow-item:hover {
  box-shadow: 0 20px 50px rgba(7,132,154,0.16);
}

/* Flow icon shadow */
[data-theme="dark"] .flow-icon {
  box-shadow: var(--shadow-teal);
}

/* Tech card hover glow */
[data-theme="dark"] .tech-card-glow {
  background: radial-gradient(circle at 50% 0%, rgba(7,132,154,0.14), transparent 70%);
}
[data-theme="dark"] .tech-card:hover {
  border-color: rgba(7,132,154,0.3);
}

/* Tech badge */
[data-theme="dark"] .tech-badge {
  background: rgba(7,132,154,0.12);
  border-color: rgba(7,132,154,0.28);
}

/* Step pill */
[data-theme="dark"] .step {
  background: rgba(7,132,154,0.10);
}

/* Value tech card number ghost */
[data-theme="dark"] .value-tech-number {
  color: rgba(7,132,154,0.12);
}

/* Value tech progress bar track */
[data-theme="dark"] .value-tech-progress {
  background: rgba(7,132,154,0.10);
}

/* Value prop tech card hover */
[data-theme="dark"] .value-prop-tech-card:hover {
  border-color: rgba(7,132,154,0.28);
}

/* Tech stack tags */
[data-theme="dark"] .tech-stack-tags span {
  background: rgba(7,132,154,0.10);
}

/* Enhanced badge */
[data-theme="dark"] .enhanced-badge {
  background: rgba(7,132,154,0.10);
}

/* Mission enhanced card hover */
[data-theme="dark"] .mission-enhanced.glass-card:hover {
  box-shadow: 0 20px 60px rgba(7,132,154,0.20);
}

/* Client logo hover */
[data-theme="dark"] .client-logo-wrapper:hover {
  box-shadow: 0 16px 40px rgba(7,132,154,0.16);
}

/* Carousel button shadow */
[data-theme="dark"] .carousel-btn {
  box-shadow: var(--shadow-teal);
}

/* Footer glow */
[data-theme="dark"] .footer::before {
  background: radial-gradient(circle, rgba(7,132,154,0.06) 0%, transparent 70%);
}

/* Floating dark toggle hover */
[data-theme="dark"] .floating-dark-toggle:hover {
  box-shadow: 0 12px 30px rgba(7,132,154,0.4);
}

/* Back to top hover */
[data-theme="dark"] .back-to-top:hover {
  box-shadow: 0 14px 30px rgba(7,132,154,0.45) !important;
}

/* Parallax overlay grid pattern */
[data-theme="dark"] .parallax-overlay::after {
  background-image:
    linear-gradient(rgba(7,132,154,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,132,154,0.06) 1px, transparent 1px);
}

/* ========================
   DARK MODE TRANSITIONS
   ======================== */
body, body * { transition: background-color 0.3s, color 0.3s, border-color 0.3s; }

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 768px) {
  .toggle-btn { display: flex; align-items: center; justify-content: center; }
  .nav-menu { position: fixed; top: 0; left: -100%; width: 100%; height: 100vh; flex-direction: column; background: rgba(7,10,12,0.98); backdrop-filter: blur(20px); align-items: center; justify-content: center; transition: left 0.4s cubic-bezier(0.4,0,0.2,1); z-index: 999; gap: 0.5rem; }
  .nav-menu.active { left: 0; }
  .nav-item { margin: 0.5rem 0; }
  .nav-link { font-size: 1.1rem; padding: 0.75rem 1.5rem; }
  html { font-size: 14px; }
  .container { width: 95%; }
  section { padding: 3.5rem 0; }
  .page-intro { padding: 7rem 0 3rem; min-height: 50vh; }
  .page-intro .container { flex-direction: column; }
  .page-intro h1 { font-size: 2rem; }
  .page-intro p { text-align: center; border-left: none; padding-left: 0; }
  .page-intro-content { text-align: center; }
  .page-intro-visual { display: none; }
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; margin-top: -40px; }
  .hero-subtitle { text-align: center; margin: 0 auto 2rem; border-left: none; padding-left: 0; }
  .hero-btns { justify-content: center; flex-direction: column; align-items: center; }
  .hero-logo { order: -1; }
  .about-content { grid-template-columns: 1fr; gap: 2rem; }
  .mission-vision-cards { grid-template-columns: 1fr; }
  .services-grid, .flip-card-container { grid-template-columns: 1fr; }
  .flip-card { height: 560px; }
  .value-proposition-grid { grid-template-columns: 1fr; }
  .value-proposition-content { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .timeline::before { left: 20px; }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content { float: right; padding: 1.5rem 1.5rem 1.5rem 3rem; width: calc(100% - 30px); text-align: left; }
  .timeline-item:nth-child(odd) .timeline-date,
  .timeline-item:nth-child(even) .timeline-date { left: 20px; right: auto; transform: translateX(-50%) translateY(-40px); }
  .timeline-dot { left: 20px; }
  .flow-item { flex-direction: column !important; text-align: center !important; }
  .flow-icon { margin: 0 0 1rem 0; }
  .flow-connector { display: none; }
  .section-divider { display: none; }
  .parallax-section { background-attachment: scroll; padding: 4rem 0; }
  .parallax-content h2 { font-size: 1.6rem; }
  .parallax-btns { flex-direction: column; align-items: center; }
  .floating-dark-toggle { width: 40px; height: 40px; left: 14px; bottom: 14px; }
  .back-to-top { width: 40px; height: 40px; right: 14px; bottom: 14px; }
  .data-stats { display: none; }
  #values { display: none; }
  .ceo-image { text-align: center; }
  .ceo-image img { max-width: 240px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .tech-approach-grid { grid-template-columns: 1fr; }
  .values-tech-grid { grid-template-columns: 1fr; }
  .value-prop-tech-grid { grid-template-columns: 1fr; }
  .mission-vision-enhanced { grid-template-columns: 1fr; }
  .enhanced-content { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .toggle-btn { display: none; }
  .nav-menu { display: flex; }
  .container { max-width: 92%; }
  .hero-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-content { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .flip-card-container { grid-template-columns: repeat(2, 1fr); }
  .value-proposition-grid { grid-template-columns: repeat(2, 1fr); }
  .value-proposition-content { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .parallax-section { background-attachment: scroll; }
  .tech-approach-grid { grid-template-columns: repeat(2, 1fr); }
  .values-tech-grid { grid-template-columns: repeat(2, 1fr); }
  .value-prop-tech-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-vision-enhanced { grid-template-columns: 1fr; }
  .enhanced-content { grid-template-columns: 1fr; }
}

@media (min-width: 1025px) {
  .toggle-btn { display: none; }
  .nav-menu { display: flex; }
  .container { max-width: 1200px; }
  .about-content { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .flip-card-container { grid-template-columns: repeat(3, 1fr); }
  .value-proposition-grid { grid-template-columns: repeat(4, 1fr); }
  .value-proposition-content { grid-template-columns: 2fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 1440px) {
  .container { max-width: 1350px; }
  .hero-title { font-size: 3.8rem; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* iOS fixes */
@supports (-webkit-touch-callout: none) {
  #hero { height: -webkit-fill-available; min-height: -webkit-fill-available; }
  .page-intro { height: auto; min-height: 58vh; }
}
@supports (height: 100dvh) { #hero { height: 100dvh; } }
@media (max-width: 768px) {
  .parallax-section, .hero-bg, .page-intro { background-attachment: scroll !important; }
  .timeline-dot::before { animation: none !important; }
}

img, button, .btn, .flip-card-btn, .carousel-btn { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
p, h1, h2, h3, h4, h5, h6, span, li, .service-details { -webkit-user-select: text; user-select: text; }
input, textarea, select { -webkit-appearance: none; appearance: none; }
/* ============================================================
   PRODUCTION RESPONSIVE — COMPREHENSIVE PATCH
   ============================================================ */

/* ── Fluid type scale ──────────────────────────────────────── */
html { font-size: clamp(14px, 1.2vw, 16px); }

/* ── Safe area insets (notched phones) ─────────────────────── */
.navbar { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.footer { padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
.floating-dark-toggle { left: max(14px, env(safe-area-inset-left)); bottom: max(14px, env(safe-area-inset-bottom)); }
.back-to-top { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); }

/* ── Touch target minimum (WCAG 2.5.8) ─────────────────────── */
.btn, .nav-link, .carousel-btn, .flip-card-btn, .toggle-btn,
.back-to-top, .floating-dark-toggle, .social-links a {
  min-height: 44px;
  min-width: 44px;
}
.btn { min-height: 44px; }

/* ── Focus-visible ring for keyboard users ──────────────────── */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
button:focus-visible, a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* ── Prevent layout blowout ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; max-width: 100%; }
img, video, iframe, embed, object { max-width: 100%; }
table { width: 100%; table-layout: fixed; }
pre, code { white-space: pre-wrap; word-break: break-word; }

/* ── Map iframe ─────────────────────────────────────────────── */
.map-container iframe { width: 100%; height: 100%; display: block; }

/* ── Contact info-mini wrapping ─────────────────────────────── */
.contact-mini-item span { word-break: break-word; overflow-wrap: break-word; }

/* ── Avoid text overflow in cards ───────────────────────────── */
.tech-card h3,
.service-title,
.flip-card-title,
.value-tech-card h4 { overflow-wrap: break-word; word-break: break-word; }

/* ── Carousel: disable CSS animation on reduced-motion ─────── */
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; }
  .hero-eyebrow, .hero-title, .hero-subtitle, .hero-btns, .hero-logo { animation: none; opacity: 1; transform: none; }
  .loader-logo-img { animation: none; opacity: 1; }
  .timeline-dot::before { animation: none; }
  .tech-pulse { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ── Extra-small phones (< 480px) ──────────────────────────── */
@media (max-width: 480px) {
  html { font-size: 13px; }

  .container { width: 100%; padding-left: 1rem; padding-right: 1rem; }
  section { padding: 3rem 0; }

  /* Hero */
  .hero-title { font-size: 1.9rem; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-logo::before, .hero-logo::after { display: none; }

  /* Page intro */
  .page-intro { padding: 6rem 0 2.5rem; }
  .page-intro h1 { font-size: 1.75rem; }
  .page-intro > .container > div:first-child > div[style] { flex-direction: column; }

  /* Tech cards — single col with consistent height auto */
  .tech-approach-grid { grid-template-columns: 1fr; }

  /* Contact mini — single col */
  .contact-info-mini { grid-template-columns: 1fr; }

  /* Parallax */
  .parallax-content h2 { font-size: 1.4rem; }
  .parallax-btns .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer { padding: 3rem 0 calc(1.5rem + env(safe-area-inset-bottom)); }

  /* Modal */
  .modal-content { padding: 1.75rem 1.25rem; width: 95%; }

  /* Flip card height */
  .flip-card { height: auto; min-height: 480px; }

  /* Map */
  .map-container { height: 260px; }

  /* Nav logo text clamp */
  .logo-text { font-size: 0.85rem; }
}

/* ── Tablet portrait (481px – 768px) — already covered above but add gaps ── */
@media (min-width: 481px) and (max-width: 768px) {
  .contact-info-mini { grid-template-columns: 1fr; }
  .tech-approach-grid { grid-template-columns: 1fr; }
  .hero-btns .btn { min-width: 180px; }
}

/* ── Tablet landscape (769px – 1024px) ─────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  .tech-approach-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-info-mini { grid-template-columns: 1fr 1fr; }

  /* Navbar stays visible — no toggle needed */
  .nav-link { font-size: 0.72rem; padding: 0.5rem 0.75rem; }

  /* Section padding reduction */
  section { padding: 4.5rem 0; }
}

/* ── Wide desktop (≥ 1440px) ────────────────────────────────── */
@media (min-width: 1440px) {
  .tech-approach-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Print ──────────────────────────────────────────────────── */
@media print {
  .navbar, .floating-dark-toggle, .back-to-top, .page-loader, .modal { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  section { padding: 2rem 0; break-inside: avoid; }
}

@media (max-width: 1024px) {
  .content-right {
    display: none;
  }
}