/**
 * @file name: main.css
 * @project: Dream Spark Group — Corporate Website
 * @author: Saieed Rahman
 * @copyright: SidMan Solution 2026
 */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Poppins:wght@300;400;500;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ─── CSS Variables ──────────────────────────────────── */
:root {
  --dsg-red:        #e63946;
  --dsg-red-dark:   #c1121f;
  --dsg-navy:       #1a1a2e;
  --dsg-navy-mid:   #16213e;
  --dsg-navy-light: #0f3460;
  --dsg-gold:       #f4a261;
  --dsg-gold-2:     #e9c46a;
  --text-primary:   #ffffff;
  --text-secondary: #b0b0c0;
  --text-muted:     #666680;
  --border-subtle:  rgba(255,255,255,0.08);
  --glass-bg:       rgba(255,255,255,0.05);
  --glass-blur:     blur(12px);
  --grad-red:       linear-gradient(135deg, #e63946 0%, #c1121f 100%);
  --grad-gold:      linear-gradient(135deg, #f4a261 0%, #e9c46a 100%);
  --grad-navy:      linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  --grad-hero:      linear-gradient(180deg, rgba(26,26,46,0.3) 0%, rgba(26,26,46,0.9) 100%);
  --font-display:   'Anton', sans-serif;
  --font-heading:   'Poppins', sans-serif;
  --font-body:      'DM Sans', sans-serif;
  --radius:         12px;
  --radius-lg:      20px;
  --transition:     all 0.3s ease;
}

/* ─── Reset & Base ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--dsg-navy);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-family: var(--font-display); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-family: var(--font-heading); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-family: var(--font-heading); font-weight: 600; }
h4 { font-size: 1.2rem; font-family: var(--font-heading); font-weight: 600; }
p  { color: var(--text-secondary); line-height: 1.8; }

/* ─── Loading Bar ────────────────────────────────────── */
#page-loader {
  position: fixed; top: 0; left: 0; width: 0; height: 3px;
  background: var(--grad-red);
  z-index: 9999;
  animation: loadingBar 1.2s ease forwards;
}

/* ─── Navbar ─────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10,10,26,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.4);
  padding: 0.7rem 2rem;
}

.navbar-brand {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  background: linear-gradient(135deg, #e63946, #f4a261);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.navbar-brand img { height: 42px; width: auto; }
.navbar-brand .brand-text span { display: block; font-family: var(--font-body); font-size: 0.65rem; color: var(--text-secondary); -webkit-text-fill-color: var(--text-secondary); letter-spacing: 2px; text-transform: uppercase; margin-top: -2px; }

.navbar-nav {
  display: flex; align-items: center; gap: 0.25rem;
}

.navbar-nav a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}

.navbar-nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 50%; right: 50%;
  height: 2px; background: var(--dsg-red);
  transition: var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active { color: var(--text-primary); }
.navbar-nav a:hover::after,
.navbar-nav a.active::after { left: 1rem; right: 1rem; }

.navbar-actions {
  display: flex; align-items: center; gap: 0.75rem;
}

.btn-nav {
  padding: 0.5rem 1.25rem;
  background: var(--grad-red);
  color: #fff !important;
  border-radius: 25px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  -webkit-text-fill-color: #fff !important;
}

.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(230,57,70,0.4); }

.hamburger {
  display: flex; flex-direction: column; gap: 5px; padding: 0.4rem;
  cursor: pointer;
}
.hamburger span {
  width: 24px; height: 2px; background: #fff;
  border-radius: 2px; transition: var(--transition);
}

/* ─── Side Drawer ────────────────────────────────────── */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  z-index: 1100; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

.side-drawer {
  position: fixed; top: 0; right: -340px; width: 320px; height: 100vh;
  background: #0d1117;
  z-index: 1200;
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  border-left: 1px solid var(--border-subtle);
}
.side-drawer.open { right: 0; }

.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}
.drawer-logo { font-family: var(--font-display); font-size: 1.2rem; background: linear-gradient(135deg,#e63946,#f4a261); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.drawer-close { color: var(--text-secondary); font-size: 1.5rem; transition: var(--transition); }
.drawer-close:hover { color: var(--dsg-red); transform: rotate(90deg); }

.drawer-nav { flex: 1; }
.drawer-nav a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1rem; border-radius: 8px;
  color: var(--text-secondary); font-size: 0.95rem; font-weight: 500;
  transition: var(--transition); margin-bottom: 0.25rem;
}
.drawer-nav a i { width: 20px; color: var(--dsg-red); font-size: 0.9rem; }
.drawer-nav a:hover, .drawer-nav a.active {
  background: rgba(230,57,70,0.1);
  color: #fff;
  transform: translateX(5px);
}

.drawer-socials {
  display: flex; gap: 0.75rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 1rem;
}
.drawer-socials a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-subtle);
  border-radius: 50%; color: var(--text-secondary);
  transition: var(--transition);
}
.drawer-socials a:hover { background: var(--dsg-red); border-color: var(--dsg-red); color: #fff; }

/* ─── Section Titles ─────────────────────────────────── */
.section-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--dsg-red);
  margin-bottom: 1rem;
}
.section-label::before {
  content: ''; width: 30px; height: 2px; background: var(--dsg-red);
}

.section-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}
.section-title::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 60px; height: 3px;
  background: var(--grad-red);
  border-radius: 2px;
}
.section-title.centered::after { left: 50%; transform: translateX(-50%); }

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 30px; font-weight: 600; font-size: 0.92rem;
  transition: var(--transition); cursor: pointer;
  font-family: var(--font-heading);
}
.btn-primary {
  background: var(--grad-red); color: #fff;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(230,57,70,0.4); }

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
}
.btn-outline:hover { border-color: var(--dsg-red); background: rgba(230,57,70,0.1); }

.btn-gold {
  background: var(--grad-gold); color: var(--dsg-navy);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(244,162,97,0.4); }

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.83rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* ─── Hero Section ───────────────────────────────────── */
.hero-section {
  position: relative; height: 100vh; min-height: 650px;
  overflow: hidden; display: flex;
  align-items: center; justify-content: center;
}

.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.8s ease; overflow: hidden;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide.entering { z-index: 3 !important; }

/* ── Slide Transition Animations ── */
.hero-slide.enter-fade  { animation: heroFadeIn 0.8s ease forwards; }
.hero-slide.enter-zoom  { animation: heroZoomIn 0.8s ease forwards; }
.hero-slide.enter-slide-left  { animation: heroSlideLeft  0.75s cubic-bezier(0.4,0,0.2,1) forwards; }
.hero-slide.enter-slide-right { animation: heroSlideRight 0.75s cubic-bezier(0.4,0,0.2,1) forwards; }
.hero-slide.enter-slide-up    { animation: heroSlideUp    0.75s cubic-bezier(0.4,0,0.2,1) forwards; }
.hero-slide.enter-slide-down  { animation: heroSlideDown  0.75s cubic-bezier(0.4,0,0.2,1) forwards; }

@keyframes heroFadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes heroZoomIn  { from { transform:scale(0.85); opacity:0; } to { transform:scale(1); opacity:1; } }
@keyframes heroSlideLeft  { from { transform:translateX(100%); opacity:.5; } to { transform:translateX(0); opacity:1; } }
@keyframes heroSlideRight { from { transform:translateX(-100%); opacity:.5; } to { transform:translateX(0); opacity:1; } }
@keyframes heroSlideUp    { from { transform:translateY(100%); opacity:.5; } to { transform:translateY(0); opacity:1; } }
@keyframes heroSlideDown  { from { transform:translateY(-100%); opacity:.5; } to { transform:translateY(0); opacity:1; } }

.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-slide.active .hero-slide-bg { transform: scale(1); }

.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,26,0.85) 0%, rgba(26,26,46,0.6) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 1rem;
  max-width: 900px;
}

.hero-content .subtitle {
  font-size: 0.85rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--dsg-red); font-weight: 600; margin-bottom: 1rem;
  opacity: 0; transform: translateY(20px); transition: all 0.6s ease 0.2s;
}
.hero-slide.active .hero-content .subtitle { opacity: 1; transform: translateY(0); }

.hero-content h1 {
  line-height: 1.1; margin-bottom: 1.5rem;
  opacity: 0; transform: translateY(30px);
  transition: all 0.7s ease 0.4s;
  white-space: pre-line;
}
.hero-slide.active .hero-content h1 { opacity: 1; transform: translateY(0); }

.hero-content .description {
  font-size: 1.05rem; color: rgba(255,255,255,0.75); margin-bottom: 2.5rem;
  max-width: 620px; margin-left: auto; margin-right: auto;
  opacity: 0; transform: translateY(20px);
  transition: all 0.6s ease 0.6s;
}
.hero-slide.active .hero-content .description { opacity: 1; transform: translateY(0); }

.hero-btns {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  transition: all 0.6s ease 0.8s;
}
.hero-slide.active .hero-btns { opacity: 1; transform: translateY(0); }

/* Hero Controls */
.hero-controls {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; align-items: center; gap: 0.5rem;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3); cursor: pointer; transition: var(--transition);
}
.hero-dot.active { width: 24px; border-radius: 4px; background: var(--dsg-red); }

.hero-arrow {
  position: absolute; top: 50%; z-index: 10;
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; cursor: pointer;
  transition: var(--transition);
  transform: translateY(-50%);
}
.hero-arrow:hover { background: var(--dsg-red); border-color: var(--dsg-red); }
.hero-arrow.prev { left: 2rem; }
.hero-arrow.next { right: 2rem; }

/* Hero Shapes */
.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.hero-shape {
  position: absolute;
  border: 1px solid rgba(230,57,70,0.15);
  border-radius: 4px;
  animation: floatShape 8s ease-in-out infinite;
}
.hero-shape:nth-child(1) { width:80px; height:80px; top:15%; left:8%; animation-delay:0s; }
.hero-shape:nth-child(2) { width:50px; height:50px; top:70%; left:5%; animation-delay:2s; }
.hero-shape:nth-child(3) { width:120px; height:120px; top:20%; right:8%; animation-delay:4s; transform:rotate(45deg); }
.hero-shape:nth-child(4) { width:60px; height:60px; bottom:20%; right:12%; animation-delay:1s; }
.hero-shape:nth-child(5) { width:90px; height:90px; top:45%; left:3%; animation-delay:3s; border-radius:50%; }

/* ─── Champion Section ───────────────────────────────── */
.champion-section {
  padding: 7rem 2rem;
  background: var(--dsg-navy-mid);
  position: relative; overflow: hidden;
}

.champion-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(244,162,97,0.05) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(230,57,70,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.champions-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
  gap: 2rem; max-width: 900px; margin: 0 auto;
}

.champion-card {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-subtle);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.champion-card:hover { transform: translateY(-8px); }

.champion-card.year-card {
  border-color: rgba(244,162,97,0.3);
  box-shadow: 0 0 30px rgba(244,162,97,0.08);
  animation: pulseGlowGold 4s ease-in-out infinite;
}
.champion-card.month-card {
  border-color: rgba(180,180,200,0.3);
  box-shadow: 0 0 30px rgba(180,180,200,0.06);
}

.champion-ribbon {
  position: absolute; top: 1rem; right: -1.5rem;
  background: var(--grad-gold); color: var(--dsg-navy);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 1px;
  padding: 0.3rem 2.5rem; transform: rotate(40deg);
}
.champion-card.month-card .champion-ribbon {
  background: linear-gradient(135deg, #b0b0c8, #d4d4e8);
}

.champion-icon {
  font-size: 2.5rem; margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}
.year-card .champion-icon { color: var(--dsg-gold); filter: drop-shadow(0 0 15px rgba(244,162,97,0.5)); }
.month-card .champion-icon { color: #b8b8d0; }

.champion-photo {
  width: 200px; height: 200px; border-radius: 50%;
  object-fit: cover; margin: 1.5rem auto; display: block;
  border: 5px solid rgba(244,162,97,0.6);
  box-shadow: 0 0 0 10px rgba(244,162,97,0.08),
              0 0 0 20px rgba(244,162,97,0.04),
              0 0 60px rgba(244,162,97,0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: champPhotoGlow 3.5s ease-in-out infinite;
}
.champion-card:hover .champion-photo {
  transform: scale(1.06);
  box-shadow: 0 0 0 14px rgba(244,162,97,0.14),
              0 0 0 28px rgba(244,162,97,0.06),
              0 0 80px rgba(244,162,97,0.45);
}
@keyframes champPhotoGlow {
  0%,100% { box-shadow: 0 0 0 10px rgba(244,162,97,0.08), 0 0 0 20px rgba(244,162,97,0.04), 0 0 50px rgba(244,162,97,0.25); }
  50%     { box-shadow: 0 0 0 14px rgba(244,162,97,0.14), 0 0 0 28px rgba(244,162,97,0.06), 0 0 80px rgba(244,162,97,0.45); }
}
.month-card .champion-photo {
  border-color: rgba(180,180,200,0.6);
  box-shadow: 0 0 0 10px rgba(180,180,200,0.08),
              0 0 0 20px rgba(180,180,200,0.04),
              0 0 50px rgba(180,180,200,0.2);
  animation: champPhotoGlowSilver 3.5s ease-in-out infinite;
}
.month-card:hover .champion-photo {
  box-shadow: 0 0 0 14px rgba(180,180,200,0.14),
              0 0 0 28px rgba(180,180,200,0.06),
              0 0 70px rgba(180,180,200,0.35);
}
@keyframes champPhotoGlowSilver {
  0%,100% { box-shadow: 0 0 0 10px rgba(180,180,200,0.07), 0 0 0 20px rgba(180,180,200,0.03), 0 0 40px rgba(180,180,200,0.18); }
  50%     { box-shadow: 0 0 0 14px rgba(180,180,200,0.12), 0 0 0 28px rgba(180,180,200,0.05), 0 0 65px rgba(180,180,200,0.30); }
}
.champion-photo-placeholder {
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  margin: 1.5rem auto; font-size: 4rem; color: var(--text-muted);
  border: 5px solid rgba(244,162,97,0.2);
}

.champion-type {
  font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 700; margin-bottom: 0.5rem;
}
.year-card .champion-type { color: var(--dsg-gold); }
.month-card .champion-type { color: #b8b8d0; }

.champion-name { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.25rem; }
.champion-position { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 0.25rem; }
.champion-company {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  padding: 0.25rem 0.75rem; border-radius: 20px; margin-bottom: 1rem;
}
.year-card .champion-company { background: rgba(244,162,97,0.15); color: var(--dsg-gold); }
.month-card .champion-company { background: rgba(255,255,255,0.08); color: var(--text-secondary); }

.champion-quote {
  font-style: italic; color: var(--text-secondary);
  font-size: 0.9rem; line-height: 1.7;
  border-left: 3px solid;
  padding-left: 1rem; text-align: left;
  border-color: rgba(244,162,97,0.4);
}
.month-card .champion-quote { border-color: rgba(180,180,200,0.3); }

.champion-coming-soon {
  color: var(--text-muted); font-style: italic; padding: 1.5rem 0;
}

/* ─── Companies Section ──────────────────────────────── */
.companies-section {
  padding: 7rem 2rem;
  background: var(--dsg-navy);
  position: relative; overflow: hidden;
}

.bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.bg-shape {
  position: absolute; opacity: 0.03;
  animation: floatShapeSlow 12s ease-in-out infinite;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) { .companies-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .companies-grid { grid-template-columns: 1fr; } }

.company-card {
  background: var(--dsg-navy-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: default;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.company-card:hover { transform: translateY(-10px); }

.company-card-top {
  height: 6px;
  background: var(--company-color, var(--dsg-red));
}

.company-card-body { padding: 2rem; }

.company-icon-wrap {
  width: 70px; height: 70px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 1.25rem;
  animation: float 4s ease-in-out infinite;
  background: rgba(var(--company-color-rgb, 230,57,70),0.12);
  color: var(--company-color, var(--dsg-red));
}

.company-name { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.25rem; line-height: 1.3; }
.company-tagline { font-size: 0.82rem; color: var(--text-muted); font-style: italic; margin-bottom: 1rem; }

.company-activities {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem;
}
.activity-chip {
  font-size: 0.7rem; padding: 0.2rem 0.65rem;
  border-radius: 20px; background: rgba(255,255,255,0.06);
  color: var(--text-secondary); border: 1px solid var(--border-subtle);
}

.company-card-footer {
  padding: 1rem 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: space-between;
}

.company-learn-btn {
  font-size: 0.82rem; font-weight: 600; color: var(--company-color, var(--dsg-red));
  display: flex; align-items: center; gap: 0.4rem;
  transition: gap 0.2s ease;
}
.company-learn-btn:hover { gap: 0.75rem; }

/* ─── Services Section ───────────────────────────────── */
.services-section {
  padding: 7rem 2rem;
  background: var(--dsg-navy-mid);
}

.services-tabs {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem;
}
.service-tab {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border-subtle);
  border-radius: 25px; font-size: 0.85rem; font-weight: 500;
  color: var(--text-secondary); cursor: pointer; transition: var(--transition);
  background: transparent;
}
.service-tab:hover { border-color: var(--dsg-red); color: #fff; }
.service-tab.active {
  background: var(--dsg-red); border-color: var(--dsg-red); color: #fff;
}

.services-panel { display: none; }
.services-panel.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.5rem; }

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2rem; transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--service-color, var(--dsg-red));
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.service-icon {
  font-size: 2.2rem; margin-bottom: 1rem;
  color: var(--service-color, var(--dsg-red));
  transition: transform 0.3s ease;
}
.service-card:hover .service-icon { transform: translateY(-5px) scale(1.1); }

.service-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; font-family: var(--font-heading); }
.service-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

/* ─── Stats Section ──────────────────────────────────── */
.stats-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #0a0a1a 0%, var(--dsg-navy-light) 100%);
  position: relative; overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2rem; text-align: center;
  max-width: 900px; margin: 0 auto;
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 400px) { .stats-grid { grid-template-columns: 1fr; } }

.stat-item { padding: 2rem; }
.stat-icon { font-size: 2.5rem; color: var(--dsg-red); margin-bottom: 0.75rem; }
.stat-number {
  font-family: var(--font-display); font-size: 3rem;
  color: #fff; line-height: 1;
  background: linear-gradient(135deg, #fff, var(--dsg-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.88rem; color: var(--text-secondary); margin-top: 0.4rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }

/* ─── Careers Teaser ─────────────────────────────────── */
.careers-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #c1121f 0%, #e63946 50%, #f4a261 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  position: relative; overflow: hidden;
}

.careers-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.careers-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 1;
}
@media (max-width: 900px) { .careers-inner { grid-template-columns: 1fr; } }

.careers-text h2 { color: #fff; margin-bottom: 1rem; }
.careers-text p  { color: rgba(255,255,255,0.85); margin-bottom: 2rem; }
.careers-jobs { display: flex; flex-direction: column; gap: 0.75rem; }

.job-teaser {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: var(--transition);
}
.job-teaser:hover { background: rgba(255,255,255,0.18); transform: translateX(5px); }

.job-teaser-title { font-weight: 700; color: #fff; margin-bottom: 0.25rem; font-size: 0.95rem; }
.job-teaser-meta { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.job-teaser-company { font-size: 0.78rem; color: rgba(255,255,255,0.8); }
.job-type-badge {
  font-size: 0.68rem; padding: 0.15rem 0.6rem;
  border-radius: 20px; background: rgba(255,255,255,0.2);
  color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}

/* ─── Contact CTA ────────────────────────────────────── */
.contact-cta-section {
  padding: 7rem 2rem;
  background: var(--dsg-navy);
  position: relative; overflow: hidden;
}

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
  max-width: 1200px; margin: 0 auto;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-item {
  display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(230,57,70,0.12); color: var(--dsg-red); font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-text strong { display: block; font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.25rem; }
.contact-info-text span { font-size: 0.95rem; }

.contact-form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 2.5rem;
}

.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.83rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.5px; }
.form-control {
  width: 100%; padding: 0.85rem 1.1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 8px; color: #fff; font-size: 0.9rem;
  font-family: var(--font-body);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}
.form-control:focus {
  border-color: var(--dsg-red);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.12);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-message {
  padding: 0.85rem 1.25rem;
  border-radius: 8px; margin-bottom: 1rem;
  font-size: 0.9rem; font-weight: 500;
}
.form-message.success { background: rgba(42,157,143,0.15); border: 1px solid rgba(42,157,143,0.3); color: #2a9d8f; }
.form-message.error { background: rgba(230,57,70,0.12); border: 1px solid rgba(230,57,70,0.3); color: var(--dsg-red); }

/* ─── Footer ─────────────────────────────────────────── */
.footer {
  background: #0a0a14;
  padding: 5rem 2rem 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem; max-width: 1300px; margin: 0 auto;
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand { font-family: var(--font-display); font-size: 1.3rem; background: linear-gradient(135deg,#e63946,#f4a261); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 1rem; display: block; }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; }

.footer-socials { display: flex; gap: 0.75rem; }
.footer-social {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary); transition: var(--transition);
}
.footer-social:hover { background: var(--dsg-red); border-color: var(--dsg-red); color: #fff; transform: translateY(-3px); }

.footer-col h4 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border-subtle); }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.88rem; color: var(--text-muted); transition: var(--transition); display: flex; align-items: center; gap: 0.4rem; }
.footer-col ul li a:hover { color: var(--dsg-red); transform: translateX(4px); }
.footer-col ul li a::before { content: '›'; color: var(--dsg-red); }

.footer-contact-item { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.85rem; }
.footer-contact-item i { color: var(--dsg-red); margin-top: 3px; font-size: 0.85rem; }
.footer-contact-item span { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

.footer-bottom {
  max-width: 1300px; margin: 3rem auto 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--text-muted); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--dsg-red); }

/* ─── WhatsApp Floating Button ───────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: whatsappPulse 2s infinite;
  transition: transform 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

.whatsapp-float .tooltip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: #333; color: #fff; padding: 0.4rem 0.8rem;
  border-radius: 6px; font-size: 0.8rem; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.whatsapp-float:hover .tooltip { opacity: 1; }

/* ─── Back to Top ────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 5.5rem; right: 2rem; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(230,57,70,0.8);
  color: #fff; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s;
  animation: bounceUp 2s ease-in-out infinite;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--dsg-red); color: #fff; }

/* ─── Breadcrumb ─────────────────────────────────────── */
.breadcrumb-section {
  padding: 6rem 2rem 2rem;
  background: linear-gradient(135deg, #0a0a1a, var(--dsg-navy-mid));
  position: relative; overflow: hidden;
}
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--text-muted);
  max-width: 1300px; margin: 0 auto 1rem;
}
.breadcrumb a { color: var(--dsg-red); }
.breadcrumb span { color: var(--text-muted); }
.page-hero-title { font-family: var(--font-display); font-size: clamp(2rem,5vw,4rem); max-width: 1300px; margin: 0 auto; }
.page-hero-sub { color: var(--text-secondary); max-width: 1300px; margin: 0.5rem auto 0; }

/* ─── Container ──────────────────────────────────────── */
.container { max-width: 1300px; margin: 0 auto; padding: 0 1rem; }

/* ─── Section Spacing ────────────────────────────────── */
section { position: relative; }
.py-section { padding: 7rem 2rem; }
.text-center { text-align: center; }
.text-center .section-title::after { left: 50%; transform: translateX(-50%); }

/* ─── Cookie Consent ─────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
  background: #0d1117; padding: 1rem 2rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle);
  transform: translateY(100%); transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 0.85rem; color: var(--text-secondary); flex: 1; }
.cookie-banner a { color: var(--dsg-red); }

/* ─── Map ────────────────────────────────────────────── */
.map-embed { width: 100%; height: 350px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-subtle); }
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ─── About Page ─────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.vision-mission-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
@media (max-width: 768px) { .vision-mission-grid { grid-template-columns: 1fr; } }

.vm-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius); padding: 2rem;
  text-align: center; transition: var(--transition);
}
.vm-card:hover { border-color: var(--dsg-red); transform: translateY(-5px); }
.vm-icon { font-size: 2.5rem; color: var(--dsg-red); margin-bottom: 1rem; }
.vm-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }

.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--dsg-red), transparent); }
.timeline-item { position: relative; padding: 0 0 2.5rem 2rem; }
.timeline-item::before { content: ''; position: absolute; left: -1.35rem; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--dsg-red); border: 2px solid var(--dsg-navy); }
.timeline-year { font-size: 0.8rem; color: var(--dsg-red); font-weight: 700; letter-spacing: 2px; margin-bottom: 0.25rem; }
.timeline-title { font-weight: 700; margin-bottom: 0.25rem; }
.timeline-desc { font-size: 0.88rem; color: var(--text-secondary); }

/* ─── Careers Page ───────────────────────────────────── */
.job-filters { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-select {
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 8px; color: #fff;
  font-size: 0.88rem; font-family: var(--font-body);
  outline: none; cursor: pointer;
}
.filter-select option { background: #0d1117; }

.job-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius); overflow: hidden;
  margin-bottom: 1.25rem; transition: border-color 0.3s ease;
}
.job-card:hover { border-color: rgba(230,57,70,0.3); }
.job-card.featured { border-color: rgba(244,162,97,0.3); }

.job-card-header {
  padding: 1.5rem; cursor: pointer;
  display: flex; gap: 1rem; align-items: flex-start;
}
.job-card-header:hover { background: rgba(255,255,255,0.02); }
.job-card-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.job-info { flex: 1; }
.job-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.35rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.job-tag { font-size: 0.75rem; padding: 0.2rem 0.65rem; border-radius: 20px; font-weight: 500; }
.tag-type { background: rgba(230,57,70,0.15); color: var(--dsg-red); }
.tag-company { background: rgba(255,255,255,0.07); color: var(--text-secondary); }
.tag-location { background: rgba(42,157,143,0.15); color: #2a9d8f; }
.tag-featured { background: rgba(244,162,97,0.15); color: var(--dsg-gold); }
.job-deadline { font-size: 0.8rem; color: var(--text-muted); }

.job-toggle { color: var(--text-muted); transition: transform 0.3s ease; }
.job-card.open .job-toggle { transform: rotate(180deg); }

.job-card-body { display: none; padding: 0 1.5rem 1.5rem; }
.job-card.open .job-card-body { display: block; }
.job-section { margin-bottom: 1.25rem; }
.job-section h5 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; color: var(--dsg-red); margin-bottom: 0.5rem; }
.job-section p, .job-section li { font-size: 0.9rem; color: var(--text-secondary); }
.job-section ul { padding-left: 1rem; }
.job-section ul li { list-style: disc; margin-bottom: 0.25rem; }

/* ─── Application Modal ──────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: 1rem; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-box {
  background: #161f2c; border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 2.5rem;
  width: 100%; max-width: 580px; max-height: 90vh; overflow-y: auto;
  transform: scale(0.9); transition: transform 0.3s ease;
}
.modal-overlay.open .modal-box { transform: scale(1); }

.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-subtle); }
.modal-header h3 { font-size: 1.2rem; }
.modal-close { color: var(--text-muted); font-size: 1.4rem; cursor: pointer; transition: var(--transition); }
.modal-close:hover { color: var(--dsg-red); transform: rotate(90deg); }

/* ─── Contact Page ───────────────────────────────────── */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; }
@media (max-width: 900px) { .contact-page-grid { grid-template-columns: 1fr; } }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .hero-arrow { display: none; }
  .hero-content h1 { font-size: 2.5rem; }
}

@media (max-width: 480px) {
  .navbar { padding: 1rem; }
  .btn-nav { display: none; }
}

/* ─── Maintenance ────────────────────────────────────── */
.maintenance-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 2rem;
  background: var(--dsg-navy);
}
.maintenance-icon { font-size: 5rem; color: var(--dsg-red); margin-bottom: 2rem; animation: pulse 2s ease-in-out infinite; }
