/* ============================================================
   styles.css — Digital Marketing Landing Page
   Kumarinfotech, Kalyan
   ============================================================ */

:root {
  --primary: #2563EB;
  --accent: #F59E0B;
  --cta: #10B981;
  --dark: #1F2937;
  --light: #F9FAFB;
  --radius: 1rem;
}

* {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--light);
}

/* ============================================================
   HERO
   ============================================================ */
.hero-bg {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 40%, #0f766e 100%);
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 40px 40px;
}

.orb {
  filter: blur(80px);
}
.orb-1 {
  background: radial-gradient(circle, rgba(245,158,11,0.3), transparent 70%);
  top: -5rem;
  right: -5rem;
  animation: float 8s ease-in-out infinite;
}
.orb-2 {
  background: radial-gradient(circle, rgba(16,185,129,0.2), transparent 70%);
  bottom: 2rem;
  left: 5rem;
  animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* Nav */
#navbar.scrolled {
  background: rgba(30, 58, 138, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
#navbar.scrolled .nav-logo-text {
  color: white;
}

/* Highlight badges */
.highlight-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
}

/* CTA Buttons (hero) */
.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  background: var(--cta);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 0.875rem;
  transition: all 0.25s ease;
  box-shadow: 0 8px 30px rgba(16,185,129,0.4);
}
.btn-primary-hero:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(16,185,129,0.5);
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 0.875rem;
  transition: all 0.25s ease;
}
.btn-secondary-hero:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

/* Hero Card */
.hero-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.5);
}

/* ============================================================
   FORM INPUTS
   ============================================================ */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.75rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  color: var(--dark);
  background: #f9fafb;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  background: white;
}
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.35rem;
}
.error-msg {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.25rem;
  display: block;
}

/* ============================================================
   SECTIONS COMMON
   ============================================================ */
.section-tag {
  display: inline-block;
  background: rgba(37,99,235,0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}
.section-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}

/* ============================================================
   OVERVIEW
   ============================================================ */
.overview-skill-card {
  background: var(--light);
  border: 1.5px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.overview-skill-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(37,99,235,0.1);
}

/* ============================================================
   COURSE HIGHLIGHTS
   ============================================================ */
.highlight-card {
  background: white;
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1.5px solid #e5e7eb;
  transition: transform 0.25s, box-shadow 0.25s;
}
.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-color: var(--primary);
}
.highlight-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ============================================================
   SKILL TEST
   ============================================================ */
.skill-feat {
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
}

/* ============================================================
   ACCORDION (Syllabus)
   ============================================================ */
.accordion-item {
  border: 1.5px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  background: white;
}
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: white;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  text-align: left;
}
.accordion-btn:hover {
  background: #f3f4f6;
}
.accordion-btn.active {
  background: rgba(37,99,235,0.05);
}
.accordion-btn.active .fa-chevron-down {
  transform: rotate(180deg);
}
.accordion-body {
  display: none;
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid #f3f4f6;
}
.accordion-body.open {
  display: block;
}
.module-badge {
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.syllabus-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  space-y: 0.5rem;
}
.syllabus-list li {
  padding: 0.35rem 0;
  font-size: 0.875rem;
  color: #4b5563;
  display: flex;
  align-items: center;
}

/* ============================================================
   TOOLS
   ============================================================ */
.tool-card {
  background: white;
  border: 1.5px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.25s;
  cursor: default;
}
.tool-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(37,99,235,0.12);
  transform: translateY(-4px);
}

/* ============================================================
   LIVE PROJECTS
   ============================================================ */
.project-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1.5px solid #e5e7eb;
  text-align: center;
  transition: all 0.25s;
}
.project-card:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  transform: translateY(-5px);
  border-color: var(--primary);
}
.project-icon {
  width: 4rem;
  height: 4rem;
  background: var(--light);
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   WHO CAN JOIN
   ============================================================ */
.who-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1.25rem;
  padding: 1.75rem 1rem;
  text-align: center;
  transition: all 0.25s;
}
.who-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

/* ============================================================
   WHY CHOOSE
   ============================================================ */
.why-card {
  background: white;
  border: 1.5px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.25s;
}
.why-card:hover {
  box-shadow: 0 12px 35px rgba(37,99,235,0.12);
  border-color: var(--primary);
  transform: translateY(-4px);
}
.why-card-highlight {
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  border: none;
  color: white;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: white;
  border: 1.5px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: all 0.25s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 35px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

/* ============================================================
   STICKY BUTTONS
   ============================================================ */
.sticky-whatsapp {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  z-index: 999;
  width: 3.25rem;
  height: 3.25rem;
  background: #25D366;
  color: white;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse-wa 2.5s ease-in-out infinite;
}
.sticky-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37,211,102,0.6);
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 8px 40px rgba(37,211,102,0.75), 0 0 0 8px rgba(37,211,102,0.1); }
}

.sticky-call {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 999;
  width: 3.25rem;
  height: 3.25rem;
  background: var(--primary);
  color: white;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,99,235,0.5);
  transition: transform 0.2s;
}
.sticky-call:hover {
  transform: scale(1.1);
}

/* ============================================================
   POPUP
   ============================================================ */
#demo-popup.flex {
  display: flex;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .hero-card {
    padding: 1.5rem;
  }
  .section-heading {
    font-size: 1.6rem;
  }
}
