/* ===================================================
   ByteVolt – Global Stylesheet
   Professional Light Mode Design
   =================================================== */

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

/* ─── Design Tokens ─── */
:root {
  --primary:       #1e40af;
  --primary-light: #3b82f6;
  --primary-dark:  #1e3a8a;
  --accent:        #f59e0b;
  --accent-light:  #fbbf24;
  --success:       #10b981;
  --danger:        #ef4444;
  --dark:          #0f172a;
  --dark-2:        #1e293b;
  --gray-900:      #111827;
  --gray-700:      #374151;
  --gray-500:      #6b7280;
  --gray-300:      #d1d5db;
  --gray-200:      #e5e7eb;
  --gray-100:      #f3f4f6;
  --gray-50:       #f9fafb;
  --white:         #ffffff;
  --bg:            #f8fafc;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-md:  0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-lg:  0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
  --shadow-xl:  0 25px 50px -12px rgba(0,0,0,.25);

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;

  --nav-height: 72px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--gray-900);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; }
ul, ol { list-style: none; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

/* ─── Utility Classes ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-primary { background: #dbeafe; color: var(--primary); }
.badge-accent  { background: #fef3c7; color: #92400e; }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-danger  { background: #fee2e2; color: #991b1b; }

/* Section headers */
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.section-subtitle {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 600px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: .95rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(30,64,175,.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30,64,175,.4);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(245,158,11,.35);
}
.btn-accent:hover {
  background: #d97706;
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-sm { padding: 8px 20px; font-size: .85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: all var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  width: 38px; height: 38px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -.5px;
}
.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--dark);
  letter-spacing: -.3px;
}
.brand-name span { color: var(--primary); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition-fast);
}
.nav-link:hover,
.nav-link.active {
  background: #dbeafe;
  color: var(--primary);
}
.nav-cta {
  margin-left: 12px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ─── Hero Section ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 40%, #e0f2fe 100%);
  padding-top: var(--nav-height);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_banner.png');
  background-size: cover;
  background-position: center;
  opacity: .18;
}
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-light);
  opacity: .07;
  animation: float 8s ease-in-out infinite;
}
.hero-shape:nth-child(1) { width: 600px; height: 600px; top: -200px; right: -100px; animation-delay: 0s; }
.hero-shape:nth-child(2) { width: 300px; height: 300px; bottom: -100px; left: 10%; animation-delay: 3s; }
.hero-shape:nth-child(3) { width: 200px; height: 200px; top: 30%; left: 60%; animation-delay: 5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid #dbeafe;
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .4; }
}
.hero-title {
  color: var(--dark);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
.hero-title .highlight {
  color: var(--primary);
  position: relative;
}
.hero-title .highlight::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}
.hero-desc {
  color: var(--gray-700);
  font-size: 1.1rem;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 36px;
}
.hero-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}
.hero-stat-label {
  font-size: .8rem;
  color: var(--gray-500);
  margin-top: 4px;
}
.hero-visual {
  position: relative;
}
.hero-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-card-float {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 600;
  animation: float 5s ease-in-out infinite;
}
.hero-card-float:nth-child(2) { bottom: -24px; left: -24px; }
.hero-card-float:nth-child(3) { top: -16px; right: -16px; animation-delay: 2.5s; }
.hero-card-float .icon { font-size: 1.4rem; }

/* ─── Carousel ─── */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}
.carousel-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
  min-width: 100%;
  position: relative;
}
.carousel-slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.carousel-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: white;
  padding: 60px 40px 32px;
}
.carousel-caption h3 { font-size: 1.5rem; margin-bottom: 6px; }
.carousel-caption p { font-size: .95rem; opacity: .85; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.9);
  border: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 10;
  box-shadow: var(--shadow-md);
  color: var(--primary);
}
.carousel-btn:hover { background: white; transform: translateY(-50%) scale(1.1); }
.carousel-btn-prev { left: 16px; }
.carousel-btn-next { right: 16px; }
.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.carousel-dot.active {
  background: white;
  width: 24px;
  border-radius: 4px;
}

/* ─── Cards ─── */
.card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-body { padding: 24px; }
.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

/* Feature cards */
.feature-card {
  padding: 32px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: #bfdbfe;
}
.feature-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  background: #eff6ff;
}

/* Job/Internship cards */
.opp-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  overflow: hidden;
}
.opp-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: #bfdbfe;
}
.opp-card-header {
  padding: 20px 24px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.opp-company-logo {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.opp-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.opp-company { font-size: .85rem; color: var(--gray-500); }
.opp-card-body { padding: 0 24px 20px; }
.opp-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.opp-detail {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .82rem;
  color: var(--gray-500);
}
.opp-card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.opp-stipend {
  font-weight: 700;
  color: var(--success);
  font-size: .95rem;
}

/* ─── Stats ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.stat-item {
  background: white;
  padding: 36px 24px;
  text-align: center;
}
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: .9rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ─── Testimonials ─── */
.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.testimonial-text {
  color: var(--gray-700);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-text::before { content: '"'; font-size: 2rem; color: var(--primary-light); line-height: 0; vertical-align: -.5em; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-name { font-weight: 600; font-size: .9rem; }
.testimonial-role { font-size: .8rem; color: var(--gray-500); }

/* ─── Team Cards ─── */
.team-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.team-card-img {
  height: 220px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.team-card-body { padding: 20px; }
.team-name { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.team-role { font-size: .85rem; color: var(--primary); font-weight: 500; margin-bottom: 12px; }
.team-social { display: flex; justify-content: center; gap: 10px; }
.team-social a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: var(--gray-700);
  transition: all var(--transition-fast);
}
.team-social a:hover { background: var(--primary); color: white; }

/* ─── Filter Tabs ─── */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.filter-tab {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 2px solid var(--gray-300);
  background: white;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-tab:hover { border-color: var(--primary-light); color: var(--primary); }
.filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ─── Search Box ─── */
.search-box {
  position: relative;
  max-width: 480px;
  margin-bottom: 32px;
}
.search-box input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-full);
  font-size: .95rem;
  outline: none;
  transition: border-color var(--transition-fast);
  background: white;
  font-family: inherit;
}
.search-box input:focus { border-color: var(--primary); }
.search-box-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  font-size: 1.1rem;
}

/* ─── Forms ─── */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  background: white;
  color: var(--dark);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* ─── FAQ Accordion ─── */
.accordion-item {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
}
.accordion-item.open { box-shadow: var(--shadow-md); }
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
  gap: 12px;
}
.accordion-icon {
  width: 28px; height: 28px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: .9rem;
}
.accordion-item.open .accordion-icon {
  background: var(--primary);
  color: white;
  transform: rotate(45deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 24px;
  color: var(--gray-700);
  line-height: 1.7;
}
.accordion-body.open {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ─── Timeline ─── */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}
.timeline-item {
  position: relative;
  margin-bottom: 36px;
}
.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--primary-light);
}
.timeline-year {
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.timeline-title { font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.timeline-desc { color: var(--gray-500); font-size: .9rem; }

/* ─── CTA Banner ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-banner::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");
}
.cta-banner h2 { color: white; margin-bottom: 16px; }
.cta-banner p { opacity: .85; max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }

/* ─── Footer ─── */
footer {
  background: var(--dark-2);
  color: var(--gray-300);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { font-size: .9rem; line-height: 1.7; margin: 16px 0 24px; opacity: .7; }
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: .9rem;
  transition: all var(--transition-fast);
}
.footer-social a:hover { background: var(--primary); color: white; }
.footer-col h4 {
  font-size: .9rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--gray-300);
  font-size: .88rem;
  opacity: .7;
  transition: opacity var(--transition-fast);
}
.footer-col ul li a:hover { opacity: 1; color: var(--primary-light); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .83rem;
  opacity: .5;
}

/* ─── Page Header ─── */
.page-header {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  padding: 120px 0 60px;
  text-align: center;
  border-bottom: 1px solid #dbeafe;
}
.page-header-label {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.page-header h1 { color: var(--dark); margin-bottom: 12px; }
.page-header p { color: var(--gray-700); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }

/* ─── Alert / Info Box ─── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: .9rem;
}
.alert-info { background: #dbeafe; color: var(--primary-dark); }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-warning { background: #fef3c7; color: #92400e; }
.alert-danger { background: #fee2e2; color: #991b1b; }

/* ─── Certificate Styles (preview) ─── */
.cert-preview-wrap {
  position: relative;
  background: #f8fafc;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.cert-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* Verification Result */
.verify-result {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  animation: fadeInUp .4s ease;
}
.verify-result-header {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.verify-result-header.valid { background: linear-gradient(135deg, #059669, #10b981); color: white; }
.verify-result-header.invalid { background: linear-gradient(135deg, #dc2626, #ef4444); color: white; }
.verify-icon { font-size: 2.5rem; }
.verify-result-body {
  background: white;
  padding: 28px 32px;
}
.verify-detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}
.verify-detail-row:last-child { border-bottom: none; }
.verify-detail-label { font-size: .82rem; font-weight: 600; color: var(--gray-500); width: 150px; flex-shrink: 0; }
.verify-detail-value { font-size: .95rem; color: var(--dark); font-weight: 500; }

/* Scan area */
#qr-video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: black;
  position: relative;
  aspect-ratio: 4/3;
  max-width: 440px;
}
#qr-video { width: 100%; height: 100%; object-fit: cover; }
.scan-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scan-frame {
  width: 200px; height: 200px;
  border: 3px solid var(--accent);
  border-radius: 16px;
  position: relative;
}
.scan-frame::before, .scan-frame::after {
  content: '';
  position: absolute;
  width: 40px; height: 40px;
  border-radius: 4px;
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ─── Animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Newsletter ─── */
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
  color: white;
  font-family: inherit;
  font-size: .9rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu { display: none; position: absolute; top: var(--nav-height); left: 0; right: 0; background: white; flex-direction: column; gap: 4px; padding: 12px; border-bottom: 1px solid var(--gray-100); box-shadow: var(--shadow-md); }
  .nav-menu.open { display: flex; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-banner { padding: 40px 24px; }
  .carousel-slide img { height: 260px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .filter-tabs { gap: 6px; }
  .hero-stats { flex-direction: column; gap: 16px; }
}

/* ─── Partner Logos ─── */
.partners-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  padding: 40px 0;
}
.partner-logo {
  background: white;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  font-weight: 700;
  font-size: .9rem;
  color: var(--gray-500);
  letter-spacing: .05em;
  transition: all var(--transition-fast);
}
.partner-logo:hover { border-color: var(--primary-light); color: var(--primary); box-shadow: var(--shadow-sm); }

/* misc */
.divider { height: 1px; background: var(--gray-200); margin: 0; }
.gap-top { margin-top: 40px; }
.visually-hidden { position: absolute; left: -9999px; }
