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

:root {
  /* Logo Colors */
  --primary-color: #004b9c; /* Dark Blue from Sky Wings */
  --secondary-color: #6897e6; /* Light Blue from Online Academy */
  --accent-color: #008c99; /* Teal from Tagline */
  --accent-light: #e0f7f9;
  
  /* UI Colors */
  --text-dark: #1f2937;
  --text-light: #4b5563;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #0f172a;
  
  /* Typography */
  --font-main: 'Poppins', sans-serif;
  --font-cursive: 'Dancing Script', cursive;
  
  /* Utils */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(104, 151, 230, 0.5);
  --border-radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 50px auto;
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  color: var(--bg-white);
}

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

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background: transparent;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.logo .main-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logo .sub-text {
  font-family: var(--font-cursive);
  font-size: 18px;
  color: var(--secondary-color);
  margin-top: -5px;
}

.logo-img {
  max-height: 55px;
  width: auto;
  transition: var(--transition);
  background-color: var(--bg-white);
  padding: 5px 15px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.navbar.scrolled .logo-img {
  max-height: 45px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

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

.navbar:not(.scrolled) .nav-link {
  color: var(--bg-white);
}
.navbar:not(.scrolled) .logo .main-text,
.navbar:not(.scrolled) .logo .sub-text {
  color: var(--bg-white);
}

.navbar.scrolled .nav-link:hover {
  color: var(--accent-color);
}

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

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

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-color);
}
.navbar:not(.scrolled) .menu-toggle {
  color: var(--bg-white);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, rgba(0, 75, 156, 0.9), rgba(104, 151, 230, 0.8)), url('../assets/images/hero-bg.jpg') center/cover;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--bg-white);
}

.hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero-tagline {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-color);
  background: var(--bg-white);
  padding: 5px 15px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--accent-light);
  font-style: italic;
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.hero-btns .btn-outline {
  border-color: var(--bg-white);
  color: var(--bg-white);
}

.hero-btns .btn-outline:hover {
  background: var(--bg-white);
  color: var(--primary-color);
}

/* Features/Highlights */
.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.feature-card {
  background: var(--bg-white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: var(--transition);
  border-bottom: 4px solid var(--secondary-color);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--accent-color);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* About Preview */
.about-preview {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text, .about-image {
  flex: 1;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Course Teaser */
.courses-overview {
  background-color: var(--bg-white);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.course-card {
  background: var(--bg-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.course-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.course-content {
  padding: 25px;
}

.course-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.course-title {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--bg-white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.footer-col p, .footer-col ul li {
  color: #94a3b8;
  margin-bottom: 10px;
}

.footer-col ul li a:hover {
  color: var(--accent-light);
  padding-left: 5px;
}
.footer-col ul li a {
  transition: var(--transition);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
  font-size: 0.9rem;
}

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

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

/* Responsive */
@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-white);
    flex-direction: column;
    padding-top: 40px;
    transition: var(--transition);
  }

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

  .navbar:not(.scrolled) .nav-link {
    color: var(--text-dark);
  }

  .menu-toggle {
    display: block;
  }
  .navbar:not(.scrolled) .menu-toggle {
    color: var(--bg-white);
  }
  .navbar.scrolled .menu-toggle {
    color: var(--primary-color);
  }

  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }
  
  .features-container {
    margin-top: 20px;
  }

  .about-preview {
    flex-direction: column;
  }
}
