:root {
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.4);
  --secondary: #a855f7;
  --background: #030712;
  --card-bg: rgba(17, 24, 39, 0.6);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

h1, h2, h3, h4, .logo {
  font-family: 'Outfit', sans-serif;
}

body {
  background-color: var(--background);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 40%);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 10rem 0;
}

.text-center { text-align: center; }
.mb-6 { margin-bottom: 3rem; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 1000;
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 80px;
  width: auto;
  display: block;
  transition: var(--transition);
}

.logo:hover img {
  transform: scale(1.05);
}

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

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white !important;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 20px -10px var(--primary-glow);
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 30px -10px var(--primary-glow);
}

/* Hero Section */
.hero {
  text-align: center;
  padding-top: 14rem;
  padding-bottom: 10rem;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  background: linear-gradient(to right, #fff 20%, #94a3b8 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Cards */
.features-grid, .pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-10px);
}

.feature-card i {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
  display: block;
}

/* Pricing Section Special */
.pricing-section {
  background: rgba(99, 102, 241, 0.02);
}

.pricing-list {
  margin-bottom: 2.5rem;
  list-style: none;
  padding: 0;
}

.pricing-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  color: var(--text-main);
}

.pricing-list i {
  color: var(--primary);
  margin-right: 0.75rem;
}

.price-value { font-size: 3rem; margin: 1.5rem 0; font-family: 'Outfit'; }

/* Courses Grid & Cards Enhancement */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1rem;
}

.course-card {
  background: rgba(17, 24, 39, 0.4);
  backdrop-filter: blur(12px);
  border-radius: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-12px);
  border-color: var(--primary);
  background: rgba(17, 24, 39, 0.6);
  box-shadow: 0 20px 40px -20px var(--primary-glow);
}

.course-image {
  height: 240px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.course-content {
  padding: 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: white;
}

.course-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.course-footer {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-price-box {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.price-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  font-family: 'Outfit';
}

.course-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  padding: 8rem 0 4rem;
  border-top: 1px solid var(--border);
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.footer-logo:hover {
  transform: scale(1.05);
}

/* Global Typography & Spacing */
h1 { font-size: clamp(2.5rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
p { font-size: clamp(0.95rem, 1.2vw, 1.1rem); }

.why-us-banner {
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid var(--border);
  padding: 5rem;
  border-radius: 32px;
  text-align: center;
  margin-top: 100px;
}

.mobile-menu-btn {
  display: none;
}

@media (max-width: 1024px) {
  .container { padding: 0 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  section { padding: 8rem 0; }
  .courses-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .why-us-banner { padding: 2.5rem 1.25rem; margin-top: 40px; }
  
  .navbar { padding: 0.6rem 0; }
  
  /* Mobile Menu Styles */
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    font-size: 1.1rem;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #030712;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: none;
  }

  .nav-links.active {
    right: 0;
    transform: translateX(0);
  }

  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { 
    font-size: 1.4rem; 
    display: block; 
    padding: 0.6rem; 
    font-family: 'Outfit', sans-serif;
  }

  .hero { padding-top: 8rem; padding-bottom: 4rem; }
  .hero p { max-width: 100%; margin: 0 auto; }
  
  .features-grid, .courses-grid, .projects-grid, .stats-grid, .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
    justify-items: center;
  }

  .feature-card, .project-card, .testimonial-card { 
    padding: 1.5rem; 
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .project-content, .course-content {
    padding: 1.5rem;
  }

  .course-footer { 
    flex-direction: column; 
    gap: 1.5rem; 
    align-items: center; 
    text-align: center; 
  }

  .course-price-box { align-items: center; }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .logo img {
    height: 44px;
    width: auto;
  }

  .section-header { margin-bottom: 3rem; }
  .cta-banner { padding: 3rem 1.5rem; border-radius: 24px; }
  .cta-banner h2 { font-size: 2rem; }
  .stat-item h2 { font-size: 2.8rem; }
  
  .project-content, .course-content, .faq-card {
    text-align: center;
  }

  .project-tech {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero h1 { font-size: 2.4rem; margin-bottom: 1.25rem; }
  .hero-btns { 
    flex-direction: column; 
    gap: 1rem !important; 
    align-items: center;
  }
  .btn-primary { width: 100%; max-width: 320px; }
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.project-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border-radius: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-12px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px -20px var(--primary-glow);
}

.project-image {
  height: 200px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
}

.project-content {
  padding: 2.5rem;
}

.project-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: white;
}

.project-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.project-tech {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.project-tech span {
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Utility Classes for Alignment and Spacing */
.section-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  margin-top: 50px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.hero-btns {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
}

/* Contact Icons Styling */
#contact .feature-card i {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Stats Section */
.stats-section {
  background: rgba(99, 102, 241, 0.02);
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item h2 {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.testimonial-card {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card i.fa-quote-left {
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: 2rem;
  left: 2rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-info h4 {
  color: white;
  margin-bottom: 0.2rem;
}

.author-info span {
  color: var(--primary);
  font-size: 0.85rem;
}

/* CTA Banner Refinement */
.cta-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
  padding: 6rem 2rem;
  border-radius: 40px;
  border: 1px solid var(--border);
  text-align: center;
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-banner h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cta-banner p {
  margin-bottom: 2.5rem;
  color: var(--text-muted);
  max-width: 650px;
}

/* Projects & Cards Alignment */
.project-content {
  padding: 2.5rem;
  text-align: left;
}

.faq-card {
  text-align: left;
}

.center-content {
  text-align: center;
}

.center-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

@media (max-width: 768px) {
  .project-content, .faq-card {
    text-align: center;
  }
}


/* Why Us Banner Features */
.why-us-banner .features-grid i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.why-us-banner .features-grid p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Ensure no horizontal scroll */
html, body {
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}
