/* ============================================
   Asturo IT Academy — Landing Page Styles
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1a1a2e;
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  border-radius: 2px;
  margin: 12px auto 0;
}

.section-header p {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================
   HERO / CAROUSEL
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel {
  position: absolute;
  inset: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.85), rgba(37, 99, 235, 0.75));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 0 24px;
  max-width: 800px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-block;
  background: #ffffff;
  color: #2563eb;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 40px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  background: #f0f4ff;
}

/* Carousel indicators */
.carousel-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot.active {
  background: #ffffff;
  border-color: #ffffff;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* ============================================
   ACHIEVEMENTS
   ============================================ */
.achievements {
  background: #f8fafc;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.stat-card {
  background: #ffffff;
  padding: 36px 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.1);
  border-color: #bfdbfe;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #2563eb;
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-number::after {
  content: '+';
}

.stat-label {
  font-size: 1rem;
  color: #64748b;
  font-weight: 500;
}

.achievements-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.achievement-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.1);
  border-color: #bfdbfe;
}

.achievement-icon {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.achievement-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.achievement-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   STUDENT PROFILES
   ============================================ */
.students {
  background: #ffffff;
}

.students-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.student-card {
  background: #f8fafc;
  border-radius: 20px;
  padding: 36px;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.student-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.1);
  border-color: #bfdbfe;
}

.student-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin: 0 auto 16px;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.student-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.student-role {
  font-size: 0.9rem;
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 20px;
}

.student-project {
  text-align: left;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.project-tag {
  display: inline-block;
  background: #dbeafe;
  color: #2563eb;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.student-project h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.student-project p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.7;
}

.project-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2563eb;
  transition: color 0.2s ease;
}

.project-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* ============================================
   CALL TO ACTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #2563eb 100%);
  text-align: center;
  color: #ffffff;
  padding: 100px 0;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: #ffffff;
  color: #2563eb;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 18px 48px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  background: #f0f4ff;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h3,
.footer-col h4 {
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-col h3 {
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-address {
  font-style: normal;
  font-size: 0.9rem !important;
  color: #94a3b8;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: #94a3b8;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: #60a5fa;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #2563eb;
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-contact {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .achievements-list {
    grid-template-columns: 1fr;
  }

  .students-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .hero-title {
    font-size: 3rem;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta {
    padding: 14px 32px;
    font-size: 0.95rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 24px 12px;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .achievement-card {
    padding: 24px;
  }

  .student-card {
    padding: 24px;
  }

  .students-grid {
    gap: 24px;
  }

  .cta-section h2 {
    font-size: 1.75rem;
  }

  .cta-button {
    padding: 14px 32px;
    font-size: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer {
    padding: 48px 0 0;
  }

  .carousel-indicators {
    bottom: 24px;
  }
}
