/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;

}

/* --------------------------------------------------------Navbar------------------------------------------------- */
.navbar {
  display: flex;
  /* position: fixed; */
  top: 0px;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: #14202b;
  color: white;
}


.navbar .logo {
  font-size: 22px;
  font-weight: bold;
}

.navbar nav {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.btn {
  background: #e67e22;
  padding: 8px 16px;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  margin-left: 20px;
}

.menu-icon,
.close-icon {
  width: 28px;
  height: 28px;
  cursor: pointer;
  display: none;
}

/* ----Responsive for Mobile ---- */
@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 0;
    right: -250px;
    width: 200px;
    height: 100%;
    background: #2c3e50;
    flex-direction: column;
    align-items: start;
    padding: 60px 20px;
    transition: 0.3s;
  }

  nav ul li {
    margin: 20px 0;
  }

  .menu-icon {
    display: block;
    margin-left: 15px;
  }

  .close-icon {
    display: block;
    margin-bottom: 30px;
  }

  /* Sirf Login button hi navbar me dikhe */
  nav ul {
    gap: 0;
  }
}

/* ---------------------- Logo ---------------------- */
.logo img {
  width: 30px;
  height: auto;
  vertical-align: middle;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  padding: 15px 30px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  z-index: 1000;
}

/* Logo text */
.logo {
  display: flex;
  align-items: center;
  font-size: 26px;
  font-weight: bold;
  color: #f7f9fc;
}

.logo span {
  color: #ef3b2d;
  margin-right: 6px;
}


/* --------------------------------------------------------------Hero Section-------------------------------------- */
 .hero {
  background: url('image/home.page.jpg') no-repeat center center/cover;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}




.gradient-text {
  background: linear-gradient(90deg, #ff5f6d, #ffc371, #47cacc, #7f00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
}



.cta-btn {
  margin-top: 15px;
  padding: 10px 20px;
  background: #27ae60;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
} 



/* .hero {
  background: linear-gradient(rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.6)),
    url('image/home.page.jpg') no-repeat center center/cover;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  overflow: hidden;
  animation: heroFadeIn 1.8s ease forwards;
}

@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.gradient-text {
  background: linear-gradient(90deg, #ff5f6d, #ffc371, #47cacc, #7f00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3.2rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 1px;
  animation: textSlideUp 1.5s ease forwards;
}

@keyframes textSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


.cta-btn {
  margin-top: 25px;
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(90deg, #27ae60, #2ecc71);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
  transition: all 0.4s ease;
  animation: buttonFadeIn 2s ease forwards;
}

.cta-btn:hover {
  background: linear-gradient(90deg, #2ecc71, #27ae60);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(39, 174, 96, 0.5);
}


@keyframes buttonFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
} */

/* ---------- ------------------------------------------------------PLANS-------------------------------- ---------- */
/* Plans section - responsive, modern look (mobile-first) */
:root {
  --bg: #f7f8fa;
  --card: #ffffff;
  --muted: #68707a;
  --accent: #0f63ff;
  /* primary brand color */
  --accent-2: #06b6d4;
  /* secondary accent for subtle gradients */
  --border: #e6e9ee;
  --shadow: 0 8px 24px rgba(15, 99, 255, 0.08);
  --radius: 14px;
  --gap: 20px;
  --max-width: 1100px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* Container & section base */
.plans {
  /* background: linear-gradient(180deg, var(--bg), #ffffff); */
  padding: 48px 16px;
  color: #0b1320;
  background-color: rgb(236, 240, 246);
}

.plans .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 18px;
}

/* Headings */
.plans h2 {
  font-size: 1.9rem;
  margin: 0 0 6px;
  letter-spacing: -0.2px;
}

.plans .lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Grid layout (mobile first: single column) */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

/* Card */
.plan-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

/* Hover lift */
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 19, 32, 0.08);
}

/* Card head */
.plan-head {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
}

/* Features list */
.plan-card ul {
  list-style: none;
  margin: 0;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}

.plan-card li {
  font-size: 0.98rem;
  color: #14202b;
  opacity: 0.95;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* optionally add a check icon before each li using pseudo-element */
.plan-card li::before {
  content: "✓";
  display: inline-block;
  min-width: 20px;
  text-align: center;
  font-weight: 700;
  color: var(--accent-2);
  font-size: 0.85rem;
  opacity: 0.95;
}

/* Card footer with button */
.plan-foot {
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(250, 250, 250, 1));
}

.plan-btn {
  text-decoration: none;
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: none;
  border: 1px solid transparent;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

/* Primary button style */
.plan-card .plan-btn {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 99, 255, 0.12);
}

.plan-card .plan-btn:hover,
.plan-card .plan-btn:focus {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(15, 99, 255, 0.16);
  outline: none;
}

/* Featured card */
.plan-card.featured {
  border: 2px solid rgba(15, 99, 255, 0.12);
  transform-origin: center;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

/* Distinct header for featured */
.plan-card.featured .plan-head {
  background: linear-gradient(90deg, rgba(15, 99, 255, 0.06), rgba(6, 182, 212, 0.03));
  color: #06327a;
}

/* Make featured button more prominent */
.plan-card.featured .plan-btn {
  background: linear-gradient(90deg, #0f63ff, #06b6d4);
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 1rem;
}

/* Responsive: two columns on >=768px, three columns on >=1024px */
@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Small tweaks for very small screens */
@media (max-width: 420px) {
  .plan-head {
    padding: 14px 16px;
    font-size: 1rem;
  }

  .plan-card ul {
    padding: 14px 16px;
    gap: 8px;
  }

  .plan-foot {
    padding: 14px 16px;
  }

  .plan-card li::before {
    min-width: 18px;
  }
}


/* ----------------------------------------------------------------------Featured Courses----------------------------------------------------- */
header .title {
  margin-top: 20px;
  text-align: center;
}

header .short_Title {
  text-align: center;
  margin-top: 0px;
}

.subtitle {
  margin-top: 0px;
  text-align: center;
}

.courses {
  display: grid;
  margin-top: 40px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 5px;
}

.card_course {

  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: 0.3s;
  max-width: 700px;
  margin: 50px;
}

.card_course:hover {
  transform: translateY(-5px);
}

.card-header {
  background: linear-gradient(90deg, #81bee6, #6170e3);
  color: black;
  text-align: center;
  padding: 18px;
}

.card-header img {
  width: 55px;
  margin-bottom: 10px;
}

.card-header h2 {
  margin: 5px 0;
  font-size: 19px;
}

.card-header p {
  font-size: 13px;
  font-weight: bold;
}

.card-body {
  padding: 12px;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

.tag {
  display: inline-block;
  padding: 3px 7px;
  font-size: 12px;
  border-radius: 5px;
  background: #f1f1f1;
  margin-bottom: 7px;
  font-weight: bold;
}

.batch {
  color: white;
  background: #007bff;
  display: inline-block;
  padding: 3px 7px;
  border-radius: 5px;
  margin-top: 9px;
  font-size: 12px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: #f5f5f5;
}

.btn {
  border: 1px solid #007bff;
  background: white;
  color: #007bff;
  padding: 5px 10px;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: #007bff;
  color: white;
}

.card-footer label {
  font-size: 13px;
}

.card_course {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.card_course.visible {
  opacity: 1;
  transform: translateY(0);
}




/* <!-- -------------------------------------------govt. free tectures---------------------------------------------- --> */


.breadcrumb {
  font-size: 14px;
  color: gray;
  margin-top: 5px;
}

/* Content Section */
.content-section {
  text-align: center;
  padding: 40px 20px;
  background-color: rgb(236, 240, 246);
}

.title {
  font-size: 28px;
  color: #2b6d6d;
  font-weight: bold;
}

.subtitle {
  margin-top: 10px;
  color: #555;
  font-size: 14px;
}

/* Cards */
.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin: 40px 0;
}

.card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 25px;
  width: 220px;
  text-align: center;
  border-radius: 8px;
  transition: 0.3s;
  cursor: pointer;
}

.card img {
  width: 70px;
  margin-bottom: 15px;
}

.card h3 {
  color: #004080;
  font-size: 16px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* -------------------------------------------------Video Section Start----------------------------------------------------- */

/* 🔹 Top Intro Section */
#about-edups-top {
  padding: 40px 20px;
  background: #ffffff;
  text-align: center;
}

#about-edups-top h2 {
  color: #333;
}

#about-edups-top p {
  max-width: 900px;
  margin: 15px auto;
  font-size: 18px;
  line-height: 1.8;
  color: #444;
}

/* 🔹 Scrollable Video Section */
#video-section {
  padding: 40px 20px;
  /* background: #eef5ff; */
  /* border-top: 3px solid #4a90e2; */
  /* border-bottom: 3px solid #4a90e2; */
}

#video-section h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #333;
}

.video-scroll {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding-bottom: 10px;
}

.video-scroll::-webkit-scrollbar {
  height: 10px;
}

.video-scroll::-webkit-scrollbar-thumb {
  background: #595c5f;
  border-radius: 10px;
}

.video-card {
  flex: 0 0 auto;
  width: 320px;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: scale(1.03);
}

video {
  width: 100%;
  border-radius: 8px;
}

.video-card p {
  margin-top: 10px;
  font-weight: bold;
  color: #444;
  text-align: center;
}

/* 🔹 Bottom About Section */
#about-edups-bottom {
  padding: 50px 20px;
  background: #ffffff;
  /* border-top: 3px solid #4a90e2; */
}

#about-edups-bottom h2 {
  text-align: center;
  color: #333;
}

#about-edups-bottom p {
  max-width: 900px;
  margin: 20px auto;
  font-size: 18px;
  line-height: 1.8;
  color: #444;
  text-align: justify;
}


/* ===== -------------------------------------------Footer-------------------------------------------- ===== */
footer {
  background-color: #14202b;
  color: #fff;
  padding: 40px 20px 20px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin: 20px 0;
}

.footer-column h4 {
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #bbb;
  transition: 0.3s;
}

.footer-column ul li a:hover {
  color: #fff;
}

.footer-widget {
  text-align: center;
  margin: 30px auto;
  max-width: 700px;
  line-height: 1.6;
  color: #ccc;
}

.footer-bottom {
  border-top: 1px solid #2d3e50;
  margin-top: 30px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 20px;
  font-weight: bold;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: #fff;
  font-size: 18px;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #00b4d8;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}