/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: rgb(236, 240, 246);
  color: #333;
}

/* ===== Navbar ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
  background: #2c3e50;
  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;
}

/* Hero overlay already has: */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  z-index: 1;
  /* keep overlay below menu */
}

.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 ---- */
/* Mobile Side Menu */
@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 0;
    right: -250px;
    /* hidden by default */
    width: 200px;
    height: 100%;
    background: #2c3e50;
    flex-direction: column;
    align-items: flex-start;
    /* items aligned left */
    padding: 80px 20px 20px;
    gap: 20px;
    /* spacing between items */
    transition: 0.3s;
    z-index: 1000;
    /* menu above hero image */
  }

  nav ul li {
    margin: 0;
    /* remove large gaps */
    width: 100%;
  }

  nav ul li a {
    display: block;
    width: 100%;
    padding: 10px 0;
    /* vertical spacing */
    font-size: 18px;
    color: white;
    text-decoration: none;
  }

  .menu-icon {
    display: block;
    z-index: 1100;
    /* burger icon above everything */
  }

  .close-icon {
    display: block;
    z-index: 1100;
    /* close icon above menu */
  }
}

/* ===== Hero Section ===== */
.hero {
  background: url('https://images.pexels.com/photos/3184325/pexels-photo-3184325.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover no-repeat;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 0 20px;
  position: relative;
  border-radius: 10px;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* dark overlay for text visibility */
  border-radius: 10px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.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;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}

.cta-btn {
  padding: 12px 25px;
  background: #27ae60;
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #2ecc71;
}


/* ===== --------------------------------Courses Section---------------------------------- ===== */


header .title{
  margin-top: 20px;
  text-align: center;
  /* margin-top: 0px; */
}

header .short_Title{
  text-align: center;
  margin-top: 0px;
}
.subtitle{
    margin-top: 0px;
    text-align: center;
}

.section {
  font-size: 28px;
  /* margin-bottom: 30px; */
  color: #333;
  margin-top: 20px;
  margin-left: 55px;
  border-bottom: 2px solid #ff6b6b;
  display: inline-block;
  /* padding-bottom: 5px; */
}


.card-header {
  background: linear-gradient(90deg, #81bee6, #6170e3);
  color: black;
  text-align: center;
  padding: 18px;
  /* Medium padding */
}

.card-header img {
  width: 55px;
  /* Medium image */
  margin-bottom: 10px;
}

.card-header h2 {
  margin: 5px 0;
  font-size: 19px;
  /* Medium text */
}

.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;
}

.EEPC{
  text-align: center;
}

.courses1 {
  display: grid;
  /* margin-top: 5px; */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 5px;
  /* margin: 50px; */
  /* पास-पास दिखेंगे */
  /* justify-content: center; */
}

.card_course1 {

  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: 300px;
  /* width बढ़ाई */
  margin: 50px;
}

.card_course1:hover {
  transform: translateY(-5px);
}
/* ===== ------------------------------Footer---------------------------------------------- ===== */
footer {
  padding: 20px 0;
  text-align: center;
  background: #2c3e50;
  color: white;
  margin-top: 30px;
}