
:root {
  --primary: #0a192f;
  --primary-light: #112240;
  --accent: #ffb300;
  --accent-hover: #ff9800;
  --text-main: #e6f1ff;
  --text-muted: #8892b0;
  --white: #ffffff;
  --glass-bg: rgba(10, 25, 47, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

/* Typography */
h1, h2, h3, h4 {
  color: var(--text-main);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  text-align: center;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition);
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-top-padding {
  padding-top: 160px;
}
@media (max-width: 768px) {
  .page-top-padding {
    padding-top: 200px; /* Fix for mobile header overlapping text */
  }
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(255, 179, 0, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 179, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Glassmorphism Navbar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  transition: var(--transition);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent);
}

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

.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.4) 100%), url('../assets/images/hero.jpg') center/cover no-repeat;
  background: linear-gradient(to right, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.4) 100%), -webkit-image-set(url('../assets/images/hero.webp') 1x) center/cover no-repeat;
  background: linear-gradient(to right, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.4) 100%), image-set(url('../assets/images/hero.webp') type("image/webp"), url('../assets/images/hero.jpg') type("image/jpeg")) center/cover no-repeat;
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  padding-top: 100px;
}

.hero-subtitle {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* About Section */
.about {
  padding: 8rem 0;
  background-color: var(--primary-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  text-align: left;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* Courses Section */
.courses {
  padding: 8rem 0;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.course-card {
  background: var(--primary-light);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 179, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
}

/* Course List Layout (Professional) */
.course-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.course-list-item {
  display: flex;
  background: var(--primary-light);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
}

.course-list-item:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}

.cli-image {
  flex: 0 0 350px;
  overflow: hidden;
}

.cli-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-list-item:hover .cli-image img {
  transform: scale(1.05);
}

.cli-content {
  padding: 3rem;
  flex: 1;
}

@media (max-width: 768px) {
  .course-list-item {
    flex-direction: column;
  }
  .cli-image {
    flex: 0 0 250px;
  }
  .cli-content {
    padding: 2rem;
  }
}

/* Timeline Section */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
}

.timeline-item {
  background: var(--primary-light);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.timeline-item:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
}

.timeline-number {
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: -3rem auto 1.5rem auto;
  box-shadow: 0 10px 20px rgba(255, 179, 0, 0.3);
}

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

.test-card {
  background: var(--primary-light);
  padding: 3rem 2rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  position: relative;
}

.test-card::after {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 6rem;
  color: rgba(255, 179, 0, 0.1);
  font-family: serif;
}

/* WhatsApp Floating Button */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  transform: scale(1.1) translateY(-5px);
  background: #1ebe57;
  color: white;
}
}

/* Contact Section */
.contact {
  padding: 8rem 0;
  background-color: var(--primary-light);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  background: var(--primary);
  border-radius: 30px;
  padding: 4rem;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-deep);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-icon {
  color: var(--accent);
  font-size: 1.5rem;
}

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

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

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

select.form-control option {
  background: var(--primary);
  color: var(--text-main);
}

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

/* Footer */
footer {
  background: #020c1b;
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

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

/* Responsive */
@media (max-width: 992px) {
  .about-grid, .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-container {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: var(--primary-light);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    border-left: 1px solid var(--glass-border);
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }

  .hero-buttons {
    flex-direction: column;
  }
  
  h1 {
    font-size: 2.5rem;
  }
}
