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

:root {
  /* Dark Mode Palette (Valaxy Brand Aligned) */
  --bg-main: #020617; /* Very dark blue/black */
  --bg-card: #0f172a;
  --bg-card-hover: #1e293b;
  
  --primary: #38bdf8;
  --primary-dark: #0284c7;
  --accent: #06b6d4;
  --accent-glow: rgba(56, 189, 248, 0.4);

  --text-main: #f8fafc;
  --text-soft: #94a3b8;
  --text-muted: #64748b;

  --border-light: rgba(56, 189, 248, 0.15);
  --border-hover: rgba(56, 189, 248, 0.4);

  --gradient-text: linear-gradient(135deg, #f8fafc 0%, #38bdf8 100%);
  --gradient-btn: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px var(--accent-glow);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--primary-dark); color: #fff; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .btn, .nav-links a, .eyebrow {
  font-family: 'Sora', sans-serif;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; height: 3px; width: 0%;
  background: var(--gradient-btn);
  z-index: 9999;
}

/* Background Decor */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border-light) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.15;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}
.bg-orb {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.15;
}
.bg-orb-1 { width: 500px; height: 500px; background: var(--primary); top: -100px; left: -100px; }
.bg-orb-2 { width: 400px; height: 400px; background: var(--accent); top: 30%; right: -50px; }
.bg-orb-3 { width: 600px; height: 600px; background: #818cf8; bottom: -200px; left: 20%; }

/* Nav */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 0; position: sticky; top: 0; z-index: 100;
  transition: all 0.4s ease;
}
.nav.scrolled {
  padding: 0.8rem 1.5rem;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 99px;
  margin-top: 0.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.brand-logo {
  display: block;
  width: 170px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.nav-links {
  display: flex; gap: 2rem; list-style: none;
}
.nav-links a {
  color: var(--text-soft); text-decoration: none; font-size: 0.9rem;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--primary); }

@media (max-width: 768px) {
  .nav { padding: 1rem 0; }
  .nav.scrolled { margin-top: 0.5rem; padding: 0.6rem 1.2rem; }
  .brand-logo { width: 140px; }
  .nav-links { display: none; } /* Simplified mobile nav for now */
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.8rem; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none; cursor: pointer;
  border: none; transition: all 0.3s ease;
}
.btn-primary {
  background: var(--gradient-btn); color: #fff;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.6);
}
.btn-secondary {
  background: transparent; color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-secondary:hover {
  background: rgba(56, 189, 248, 0.1);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }

/* Hero */
.hero { padding: 4rem 0 6rem; position: relative; }
.hero-content {
  display: grid; grid-template-columns: 1fr 0.8fr; gap: 4rem; align-items: start;
}
.eyebrow {
  display: inline-block; padding: 0.4rem 1rem; border-radius: 99px;
  background: rgba(56, 189, 248, 0.1); color: var(--primary);
  border: 1px solid var(--border-light);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 1.5rem;
  background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.subtitle { color: var(--text-soft); font-size: 1.1rem; margin-bottom: 2rem; max-width: 90%; }
.hero-cta { display: flex; gap: 1rem; margin-bottom: 2rem; }

.quick-points { display: flex; gap: 1rem; flex-wrap: wrap; list-style: none; }
.quick-points li {
  font-size: 0.9rem; color: var(--text-soft); display: flex; align-items: center; gap: 0.5rem;
}
.quick-points li::before {
  content: '✦'; color: var(--primary); font-size: 1.2rem;
}

.hero-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; position: relative; }
.mosaic-img { width: 100%; border-radius: var(--radius-md); border: 1px solid var(--border-light); }
.mosaic-img-main { transform: translateY(-20px); }
.mosaic-img-side { transform: translateY(20px); }

/* Form Card (StudyEcart style) */
.lead-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 1rem;
  box-shadow: var(--shadow-card);
}
.lead-card h2 { font-size: 1rem; margin-bottom: 0.2rem; }
.lead-card p { color: var(--text-soft); font-size: 0.75rem; margin-bottom: 0.6rem; }

form { display: flex; flex-direction: column; gap: 0.35rem; }
label { font-size: 0.7rem; color: var(--text-soft); margin-bottom: -0.1rem; }
input, select {
  background: rgba(0, 0, 0, 0.2); border: 1px solid var(--border-light);
  color: #fff; padding: 0.4rem 0.5rem; border-radius: 6px; font-family: inherit; font-size: 0.75rem;
}
input:focus, select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}
select option { background: var(--bg-card); color: #fff; }

.lead-card .btn, .popup-card .btn {
  padding: 0.5rem 1rem; font-size: 0.8rem; margin-top: 0.2rem;
}

/* Sections */
.section { padding: 5rem 0; }
.section h2 {
  font-size: 2.5rem; text-align: center; margin-bottom: 3rem;
  background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* Grids */
.feature-list, .card-grid, .testimonial-grid {
  display: grid; gap: 1.5rem; list-style: none;
}
.feature-list { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.testimonial-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

@media (min-width: 1024px) {
  #industrySkillsList { grid-template-columns: repeat(3, 1fr); }
  #techFocusList { grid-template-columns: repeat(5, 1fr); }
}

/* Card Styles */
.feature-list li, .card, .testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  padding: 2rem; border-radius: var(--radius-md);
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.feature-list li:hover, .card:hover, .testimonial-card:hover {
  transform: translateY(-5px); border-color: var(--border-hover);
  box-shadow: var(--shadow-glow); background: var(--bg-card-hover);
}
.feature-list li::before {
  content: ''; display: block; width: 12px; height: 12px;
  background: var(--primary); border-radius: 50%; margin-bottom: 1rem;
  box-shadow: 0 0 10px var(--primary);
}
.card h3, .testimonial-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--text-main); }
.card p, .testimonial-card p { color: var(--text-soft); font-size: 0.95rem; }

/* Testimonials specific */
.testimonial-avatar { width: 60px; height: 60px; border-radius: 50%; margin-bottom: 1rem; border: 2px solid var(--primary); }
.testimonial-card span { display: block; color: var(--primary); font-size: 0.8rem; margin-bottom: 1rem; }

/* CTA Banner */
.cta-card {
  position: relative;
  background-image: linear-gradient(to right, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.8) 45%, rgba(2, 6, 23, 0.2) 100%), url('../images/aiml/Gemini_Generated_Image_h2d53h2d53h2d53h.png');
  background-size: cover;
  background-position: center right;
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.cta-content h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
  text-align: left;
  background: none;
  -webkit-text-fill-color: #fff;
}
.cta-content p {
  color: var(--text-soft);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .cta-card {
    padding: 2.5rem 1.5rem;
    background-image: linear-gradient(to bottom, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.8) 60%, rgba(2, 6, 23, 0.3) 100%), url('../images/aiml/Gemini_Generated_Image_h2d53h2d53h2d53h.png');
  }
  .cta-content h2 { font-size: 1.8rem; }
}

/* Modules */
.module-list { display: grid; gap: 1rem; max-width: 800px; margin: 0 auto; }
.module-item {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 1rem 1.5rem;
}
.module-item summary {
  font-weight: 600; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.module-item summary::after { content: '+'; color: var(--primary); font-size: 1.5rem; }
.module-item[open] summary::after { content: '-'; }
.module-item ul { margin-top: 1rem; padding-left: 1.5rem; color: var(--text-soft); }
.module-item li { margin-bottom: 0.5rem; }

/* Footer */
.footer { text-align: center; padding: 2rem 0; border-top: 1px solid var(--border-light); margin-top: 4rem; color: var(--text-soft); }

/* Popup */
.popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center; z-index: 1000;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.popup-overlay.active { opacity: 1; pointer-events: auto; }
.popup-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  padding: 1rem; border-radius: var(--radius-lg); width: 90%; max-width: 340px;
  position: relative;
}
.popup-card h2 { font-size: 1rem; margin-bottom: 0.2rem; }
.popup-card p { color: var(--text-soft); font-size: 0.75rem; margin-bottom: 0.6rem; }
.popup-close {
  position: absolute; top: 1rem; right: 1rem; background: none; border: none;
  color: var(--text-soft); font-size: 1.5rem; cursor: pointer;
}

/* Animations */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.whatsapp-float {
  position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px;
  background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 999;
}
.whatsapp-float img { width: 35px; }

@media (max-width: 992px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-mosaic { display: none; }
}
