/* ========= Base (simple) ========= */
* { margin:0; padding:0; box-sizing:border-box; }
:root{
  --bg:#ffffff;
  --text:#111;
  --muted:#6b7280;
  --soft:#f3f4f6;
  --card:#fff;
  --brand:#2563eb;
  --brand-2:#1e40af;
  --footer:#1f1f1f;
  --ring:#dbeafe;
  --shadow:0 10px 24px rgba(0,0,0,.08);
}
html,body{height:100%;font-family:"Poppins",Arial,system-ui,sans-serif;background:var(--bg);color:var(--text);line-height:1.5}
img,video{display:block;max-width:100%}
a{color:inherit;text-decoration:none}

/* ========= Buttons ========= */
.btn{
  display:inline-block;background:var(--brand);color:#fff;font-weight:700;
  padding:10px 22px;border-radius:10px;transition:transform .18s ease,opacity .18s ease, box-shadow .18s ease;
  box-shadow:0 6px 14px rgba(37,99,235,.18);
}
.btn:hover{transform:translateY(-2px);opacity:.95;box-shadow:0 10px 22px rgba(37,99,235,.22)}
.btn:focus{outline:2px solid var(--ring);outline-offset:3px;border-radius:12px}

/* ========= HERO (no navbar) ========= */
.hero {
  position: relative;
  height: 85vh;
  min-height: 701px;
  max-height: 900px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background: #000;
  
  /* Performance optimization */
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000;
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding: 0 20px;
  animation: fadeUp 0.8s ease-out;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  color: #e5e7eb;
  margin-bottom: 24px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Animation for content */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading state */
.hero.loading .hero-content {
  opacity: 0;
}

/* Fallback for slow connections */
.hero-video[poster] {
  background-size: cover;
  background-position: center;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .hero {
    height: 75vh;
    min-height: 400px;
  }
  
  .hero-content {
    padding: 0 16px;
  }
  
  .btn-primary {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

/* Tablet optimization */
@media (max-width: 1024px) {
  .hero {
    height: 80vh;
  }
}
/* ========= Sections ========= */
.about,.courses,.contact{padding:64px 16px}
.about h2,.courses h2,.contact h2{font-size:clamp(1.6rem,3.2vw,2rem);text-align:center;margin-bottom:10px}
.about p{max-width:860px;margin:0 auto;text-align:center;color:#444;line-height:1.75}

/* ========= Courses Grid (simple + better) ========= */
.courses{background:#f9fafb}
.course-grid{
  max-width:1120px;margin:26px auto 0;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;
}
.course-card{
  background:var(--card);border:1px solid #eceff5;border-radius:16px;
  padding:26px 18px;text-align:center;transition:transform .18s, box-shadow .18s, border-color .18s;
  box-shadow:0 2px 8px rgba(0,0,0,.03);
}
.course-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:#e5e7eb}
.icon{font-size:2.4rem;color:var(--brand);margin-bottom:10px;transition:transform .18s,color .18s}
.course-card:hover .icon{transform:scale(1.08);color:var(--brand-2)}
.course-card h3{font-size:1.12rem;font-weight:700;margin-bottom:6px}
.course-card p{color:var(--muted);font-size:.95rem}

/* ========= Contact ========= */
.contact p{text-align:center}
.contact a{color:var(--brand);font-weight:600}
.contact a:hover{text-decoration:underline}

/* ========= Footer ========= */
footer{
  background:var(--footer);color:#ddd;text-align:center;padding:20px;font-size:.95rem;
}
footer a{color:#ddd;border-bottom:1px dotted #9ca3af}
footer a:hover{opacity:.9}

/* ========= Course Detail Pages (shared) ========= */
.course-hero{
  padding:56px 16px;color:#fff;text-align:center;
  background:linear-gradient(135deg,#1e293b,#0f172a);
}
.course-hero.cloud{background:linear-gradient(135deg,#1e293b,#0ea5e9)}
.course-hero.devops{background:linear-gradient(135deg,#1e293b,#9333ea)}
.course-hero.db{background:linear-gradient(135deg,#1e293b,#06b6d4)}
.course-hero.web{background:linear-gradient(135deg,#1e293b,#22c55e)}
.ch-icon,.course-hero .icon{font-size:3rem;margin-bottom:6px;opacity:.95}
.course-hero h1{font-size:clamp(1.6rem,3.6vw,2.2rem);margin-bottom:6px}
.course-hero p{opacity:.95}
.meta{margin-top:12px;display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.meta span{background:rgba(255,255,255,.16);padding:6px 12px;border-radius:999px;font-size:.88rem}

.course-body{max-width:1120px;margin:0 auto;padding:56px 16px}
.two-col{display:grid;grid-template-columns:1.6fr .9fr;gap:24px}
.card.side{
  background:#fff;border:1px solid #eceff5;border-radius:14px;padding:18px;
  box-shadow:0 8px 20px rgba(0,0,0,.06)
}
.divider{height:1px;background:#eee;margin:14px 0}
h2{font-size:1.3rem;margin:8px 0 10px}
p{line-height:1.7}
ul.tick{margin:10px 0 16px 18px}
ul.tick li{margin:6px 0}
ol.syllabus{margin:10px 0 0 18px}
ol.syllabus li{margin:6px 0}

/* ========= Focus & Accessibility ========= */
.course-card:focus,.course-card:focus-visible{outline:3px solid var(--ring);outline-offset:3px;border-radius:16px}

/* ========= Responsive ========= */
@media (max-width:900px){ .two-col{grid-template-columns:1fr} }
@media (max-width:640px){
  .hero{height:70vh}
  .course-grid{gap:14px}
  .course-card{padding:22px 16px}
  .icon{font-size:2.2rem}
}
/* ========= Navbar Styles ========= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.5rem;
  gap: 10px;
}

.nav-logo i {
  color: var(--brand);
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--brand);
  background: rgba(37, 99, 235, 0.1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: white;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 1rem 0;
  }

  .nav-link {
    padding: 1rem 2rem;
    display: block;
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

/* Hero section ko thora adjust karna hoga navbar ke liye */
.hero {
  margin-top: 70px; /* Navbar height */
}

/* ==== ABOUT SECTION (Professional Look) ==== */
.about {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.08;
}

.about h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.about p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #f3f4f6;
  position: relative;
  z-index: 2;
}

/* About highlight cards (animated fade in) */
.about-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 50px;
  gap: 25px;
}

.about-card {
  background: #ffffff;
  color: #1f2937;
  border-radius: 16px;
  width: 280px;
  padding: 30px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.about-card i {
  font-size: 2rem;
  color: #667eea;
  margin-bottom: 15px;
}

.about-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 0.95rem;
  color: #4b5563;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.about-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: 0.4s ease;
  transform-origin: left;
}
.about-card:hover::after {
  transform: scaleX(1);
}

/* ==== FOOTER (Modern Gradient + Columns) ==== */
footer {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: #9ca3af;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(102,126,234,0.15), transparent 70%),
              radial-gradient(circle at bottom right, rgba(118,75,162,0.15), transparent 70%);
  z-index: 0;
}

footer p, footer a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
}

footer a:hover {
  color: #667eea;
}

/* Footer grid columns */
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.footer-col h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.2rem;
  border-bottom: 2px solid #667eea;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-col p {
  color: #9ca3af;
  line-height: 1.7;
}

.footer-col a {
  display: block;
  color: #9ca3af;
  margin-bottom: 8px;
  transition: 0.3s;
}
.footer-col a:hover {
  color: #667eea;
}

/* Social icons */
.footer-social {
  margin-top: 15px;
}
.footer-social i {
  color: #9ca3af;
  font-size: 1.3rem;
  margin: 0 8px;
  transition: 0.3s;
}
.footer-social i:hover {
  color: #667eea;
}

/* Bottom copyright */
.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 15px;
  font-size: 0.9rem;
  color: #6b7280;
  position: relative;
  z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
  .about-cards {
    flex-direction: column;
    align-items: center;
  }
}
    body {
      font-family: "Poppins", sans-serif;
      margin: 0;
      padding: 0;
      background-color: #f9fafb;
      color: #1f2937;
    }

    /* Navbar Dropdown */
    .dropdown-menu {
      display: none;
      position: absolute;
      background: white;
      border-radius: 8px;
      margin-top: 10px;
      list-style: none;
      padding: 10px 0;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .dropdown-menu li a {
      display: block;
      padding: 8px 20px;
      text-decoration: none;
      color: #333;
      transition: 0.2s;
    }
    .dropdown-menu li a:hover {
      background: #f3f4f6;
      color: #667eea;
    }
    .dropdown:hover .dropdown-menu {
      display: block;
    }

    /* ==== ABOUT SECTION (Professional Look) ==== */
    .about {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: #fff;
      padding: 80px 20px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .about::before {
      content: "";
      position: absolute;
      inset: 0;
      background: url('https://www.transparenttextures.com/patterns/cubes.png');
      opacity: 0.08;
    }

    .about h2 {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 20px;
      position: relative;
      z-index: 2;
    }

    .about p {
      max-width: 900px;
      margin: 0 auto;
      font-size: 1.05rem;
      line-height: 1.8;
      color: #f3f4f6;
      position: relative;
      z-index: 2;
    }

    .about-cards {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      margin-top: 50px;
      gap: 25px;
    }

    .about-card {
      background: #ffffff;
      color: #1f2937;
      border-radius: 16px;
      width: 280px;
      padding: 30px;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
      transition: all 0.35s ease;
      position: relative;
      overflow: hidden;
      z-index: 2;
    }

    .about-card i {
      font-size: 2rem;
      color: #667eea;
      margin-bottom: 15px;
    }

    .about-card h3 {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .about-card p {
      font-size: 0.95rem;
      color: #4b5563;
    }

    .about-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
    }

    .about-card::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, #667eea, #764ba2);
      transform: scaleX(0);
      transition: 0.4s ease;
      transform-origin: left;
    }
    .about-card:hover::after {
      transform: scaleX(1);
    }

    /* ==== FOOTER (Modern Gradient + Columns) ==== */
    footer {
      background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
      color: #9ca3af;
      padding: 60px 20px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    footer::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top left, rgba(102,126,234,0.15), transparent 70%),
                  radial-gradient(circle at bottom right, rgba(118,75,162,0.15), transparent 70%);
      z-index: 0;
    }

    .footer-container {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
      margin-bottom: 40px;
      position: relative;
      z-index: 2;
    }

    .footer-col h3 {
      color: #fff;
      margin-bottom: 15px;
      font-size: 1.2rem;
      border-bottom: 2px solid #667eea;
      display: inline-block;
      padding-bottom: 5px;
    }

    .footer-col p, .footer-col a {
      color: #9ca3af;
      text-decoration: none;
      font-size: 0.95rem;
      line-height: 1.7;
      display: block;
    }

    .footer-col a:hover {
      color: #667eea;
    }

    .footer-social {
      margin-top: 15px;
    }
    .footer-social i {
      color: #9ca3af;
      font-size: 1.3rem;
      margin: 0 8px;
      transition: 0.3s;
    }
    .footer-social i:hover {
      color: #667eea;
    }

    .footer-bottom {
      border-top: 1px solid #374151;
      padding-top: 15px;
      font-size: 0.9rem;
      color: #6b7280;
      position: relative;
      z-index: 2;
    }

    @media (max-width: 768px) {
      .about-cards {
        flex-direction: column;
        align-items: center;
      }
    }