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

:root {
  --bg-color: #030305;
  --bg-secondary: #0a0a0f;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --accent-1: #2B78E4; /* Blue */
  --accent-2: #1DD3B0; /* Teal/Green */
  --accent-3: #F48B29; /* Orange */
  --gradient-text: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3));
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.06);
  --neon-glow: 0 0 20px rgba(43, 120, 228, 0.2);
  --nav-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img, video {
  max-width: 100%;
  height: auto;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

p, span, .inter-font {
    font-family: 'Inter', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Typography Utility */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 3.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

/* Grid Background */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.bg-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 50vh;
  background: radial-gradient(circle, rgba(43, 120, 228, 0.15) 0%, transparent 60%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  background: var(--bg-color);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-text);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  gap: 8px;
}

.btn-primary {
  background: var(--gradient-text);
  color: white;
  box-shadow: var(--neon-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(43, 120, 228, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--glass-bg);
  border-color: rgba(255,255,255,0.2);
}

.btn-whatsapp-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.4);
  padding: 0.8rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1.5rem;
  width: 100%;
  transition: all 0.3s ease;
}

.btn-whatsapp-outline:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: #25d366;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.2);
  transform: translateY(-2px);
}

/* Sections */
section {
  padding: 6rem 5%;
  position: relative;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 4rem;
}

.hero-content {
  width: 100%;
  max-width: 800px;
  z-index: 1;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin: 1.5rem auto 2.5rem;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 3rem auto 0;
  border-top: 1px solid var(--glass-border);
  padding-top: 3rem;
}

.stat-item h3 {
  font-size: 3rem;
  margin-bottom: 0;
}

.stat-item p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Cards & Grids */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
  z-index: 0;
}

.glass-card > * {
  position: relative;
  z-index: 1;
}

.glass-card:hover {
  transform: translateY(-5px);
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  background: var(--glass-bg);
  padding: 15px;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
}

.glass-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.glass-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Footer */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 5% 2rem;
  background: var(--bg-secondary);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}

.footer-col a:hover {
  color: var(--accent-1);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--accent-1);
  color: white;
  border-color: var(--accent-1);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0px 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-20px) translateX(-50%); }
  60% { transform: translateY(-10px) translateX(-50%); }
}

/* Academy Courses Cards */
.course-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.course-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-1);
    box-shadow: 0 10px 30px rgba(43, 120, 228, 0.15);
}
.course-header {
    padding: 2rem;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.2);
    position: relative;
}
.course-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.course-body {
    padding: 2rem;
}
.course-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}
.course-feature i {
    color: var(--accent-2);
}

/* Forms */
.contact-form {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 3rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 1rem 1.2rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-1);
  box-shadow: 0 0 10px rgba(43, 120, 228, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-inline: auto;
}

.section-tag {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  background: rgba(43, 120, 228, 0.1);
  color: var(--accent-1);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(43, 120, 228, 0.2);
}

/* Utility Classes for Responsive Layouts */
.contact-layout {
  max-width: 1200px; 
  margin: 0 auto; 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 4rem; 
  align-items: start;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  section {
    padding: 3rem 5%;
  }

  .glass-card, .course-header, .course-body, .contact-form, .stat-item {
    padding: 1.5rem !important;
  }

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

  .section-header p {
    font-size: 0.95rem !important;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: var(--bg-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: left 0.4s ease;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  
  .hero p {
    font-size: 1rem;
    margin: 1rem auto 2rem;
  }

  .stat-item h3 {
    font-size: 2.2rem;
  }

  .stat-item p {
    font-size: 0.95rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  
  .hero-btns {
    flex-direction: column;
  }
  
  .hero-btns .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 1rem;
  }

  .footer-col {
    max-width: 100% !important;
    flex: 1 1 100% !important;
    text-align: center;
  }

  .footer-col p {
    text-align: center !important;
  }

  .footer-col i {
    text-align: center !important;
  }

  .footer-bottom .social-links {
    justify-content: center;
  }
}

