* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background: #f9f9f9; color: #333; }

/* Header */
header {
  background: #0b6cdb;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
}
.logo { font-size: 1.5rem; font-weight: bold; }

nav ul { display: flex; list-style: none; gap: 20px; }
nav a {
  color: white; text-decoration: none; font-weight: 500;
}
nav a:hover, nav a.active { text-decoration: underline; }

.menu-toggle { display: none; font-size: 1.8rem; cursor: pointer; }

/* Hero */
.hero {
  height: 80vh;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}
.hero .content {
  background: rgba(0,0,0,0.5);
  padding: 30px;
  border-radius: 10px;
}

/* Button */
.btn {
  background: #0b6cdb;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: #074ea0; }

/* Section */
.page-section, .info-section {
  max-width: 900px;
  margin: 40px auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
h2 { margin-bottom: 15px; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 10px; }
.contact-form input, .contact-form textarea {
  padding: 10px; border: 1px solid #ccc; border-radius: 5px;
}

/* Footer */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul { flex-direction: column; display: none; background: #0b6cdb; width: 100%; }
  nav.active ul { display: flex; }
  .menu-toggle { display: block; }
}
/* ===== Courses Page Design ===== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.course-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}
.course-card:hover { transform: translateY(-5px); }

.course-card img {
  width: 100%;
  border-radius: 10px;
  height: 180px;
  object-fit: cover;
}

.course-card h3 {
  margin: 15px 0 10px;
}

.course-card p {
  font-size: 0.95rem;
  color: #555;
}

.course-card .price {
  font-weight: bold;
  color: #0b6cdb;
  margin: 10px 0;
}
/* ===== Auth Pages ===== */
.auth-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  background: #f7f9fb;
}

.auth-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  width: 320px;
  text-align: center;
}

.auth-card h2 {
  margin-bottom: 20px;
}

.auth-card input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.auth-card button {
  background: #0b6cdb;
  color: white;
  border: none;
  padding: 10px;
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

.auth-card button:hover {
  background: #094ea5;
}

.auth-card p {
  margin-top: 15px;
  font-size: 0.9rem;
}

.auth-card a {
  color: #0b6cdb;
  text-decoration: none;
}

.top-banner {
  background: #0b6cdb;
  color: white;
  padding: 10px;
  text-align: center;
  font-weight: bold;
}
.top-banner button {
  background: white;
  color: #0b6cdb;
  border: none;
  margin-left: 10px;
  border-radius: 5px;
  padding: 4px 8px;
  cursor: pointer;
}
/* ===== Government Schemes Page ===== */
.scheme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.scheme-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}
.scheme-card:hover {
  transform: translateY(-5px);
}

.scheme-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.scheme-card h3 {
  margin: 15px 0 10px;
  color: #0b6cdb;
}

.scheme-card p {
  font-size: 0.9rem;
  color: #555;
  min-height: 70px;
}

.scheme-card .btn {
  display: inline-block;
  margin-top: 10px;
  background: #0b6cdb;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
}
.scheme-card .btn:hover {
  background: #094ea5;
}
/* ===== Government Jobs Page ===== */
.jobs-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.job-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.job-card:hover {
  transform: translateY(-5px);
}

.job-card h3 {
  color: #0b6cdb;
  margin-bottom: 10px;
}

.job-card p {
  color: #555;
  font-size: 0.95rem;
}

.job-card .btn {
  display: inline-block;
  margin-top: 10px;
  background: #0b6cdb;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
}

.job-card .btn:hover {
  background: #094ea5;
}
/* ===== State Jobs Page ===== */
.state-job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.state-job-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.state-job-card:hover {
  transform: translateY(-5px);
}

.state-job-card h3 {
  color: #0b6cdb;
  margin-bottom: 10px;
}

.state-job-card .btn {
  display: inline-block;
  margin: 5px 0;
  background: #0b6cdb;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
}

.state-job-card .btn:hover {
  background: #094ea5;
}
/* ===== Auth Buttons (Sign In / Sign Up) ===== */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
}

.btn-login, .btn-signup {
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-login {
  background: white;
  color: #0b6cdb;
  border: 2px solid #0b6cdb;
}

.btn-login:hover {
  background: #0b6cdb;
  color: white;
}

.btn-signup {
  background: #0b6cdb;
  color: white;
  border: 2px solid #0b6cdb;
}

.btn-signup:hover {
  background: #094ea5;
}

/* Responsive header layout */
@media (max-width: 768px) {
  .auth-buttons {
    flex-direction: column;
    margin-top: 10px;
  }
}

/* ===== Sign Up / Sign In Pages ===== */
.auth-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  background: #f8f9fb;
}

.auth-container {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  width: 350px;
  text-align: center;
}

.auth-container h2 {
  color: #0b6cdb;
  margin-bottom: 20px;
}

.auth-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-container input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.auth-container .btn-main {
  background: #0b6cdb;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.auth-container .btn-main:hover {
  background: #094ea5;
}

.auth-container p {
  font-size: 0.9rem;
  color: #555;
}


/* Responsive header layout */
@media (max-width: 768px) {
  .auth-buttons {
    flex-direction: column;
    margin-top: 10px;
  }
}
/* ===== Services Page ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 10px;
}

.service-card h3 {
  color: #0b6cdb;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.9rem;
  color: #555;
  min-height: 60px;
}

.service-card .btn {
  display: inline-block;
  margin-top: 10px;
  background: #0b6cdb;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
}
.service-card .btn:hover {
  background: #094ea5;
}
.section-title {
  margin-top: 40px;
  font-size: 1.5rem;
  color: #0b6cdb;
  border-bottom: 2px solid #0b6cdb;
  display: inline-block;
  padding-bottom: 5px;
}

.page-section h2 {
  text-align: center;
  margin-top: 20px;
  font-size: 2rem;
  color: #222;
}

.page-section p {
  text-align: center;
  color: #555;
  margin-bottom: 20px;
}
.login-section, .admin-panel {
  text-align: center;
  margin: 40px auto;
  max-width: 500px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.login-box input, .admin-box input {
  display: block;
  width: 90%;
  margin: 10px auto;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

button {
  background-color: #0b6cdb;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
button:hover {
  background-color: #094ea5;
}

.admin-box {
  margin-bottom: 40px;
}
.live-box {
  text-align: center;
  background: white;
  padding: 20px;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  max-width: 700px;
}

.live-box iframe {
  border-radius: 10px;
}

#joinBtn {
  background: #0b6cdb;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  margin-top: 15px;
  cursor: pointer;
}

#joinBtn:hover {
  background: #094ea5;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.video-card {
  background: white;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.video-card h4 {
  margin-top: 10px;
  color: #0b6cdb;
  font-size: 1rem;
}
/* Admin Login */
.btn-admin {
  background: #ff9800;
  color: white;
  border: 2px solid #ff9800;
}
.btn-admin:hover {
  background: #e68900;
}
.login-section {
  max-width: 400px;
  margin: 80px auto;
  text-align: center;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.login-section h2 {
  color: #0b6cdb;
  margin-bottom: 20px;
}

.login-box input {
  width: 90%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.login-box button {
  width: 100%;
  padding: 10px;
  background: #0b6cdb;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.login-box button:hover {
  background: #094ea5;
}
/* Header Style */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #004aad;
  color: white;
  padding: 10px 30px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  width: 60px;
  height: auto;
  margin-right: 12px;
  border-radius: 8px;
}

header h1 {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ffdf00;
}
/* === Hero Section (Slideshow - Fixed Size Version) === */
.hero {
  position: relative;
  top: 80px;
  overflow: hidden;
  max-height: 400px; /* 🔹 Fixed maximum height */
}

.slides {
  display: flex;
  width: 500%;
  animation: slide 25s infinite;
}

.slides img {
  width: 100%;
  max-height: 400px; /* 🔹 Desktop par 400px tak */
  object-fit: cover;
  object-position: center;
  transition: transform 1s ease-in-out;
}

/* 🔹 Hero text ko bhi center par set rakhega */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}

/* === Mobile Responsive === */
@media (max-width: 768px) {
  .hero {
    max-height: 250px; /* 📱 Mobile par aur chhoti */
  }
  .slides img {
    max-height: 250px;
  }
  .hero-text h1 { font-size: 22px; }
  .hero-text p { font-size: 13px; }
}
.logout-btn {
  background-color: #ff4d6d;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}
.logout-btn:hover {
  background-color: #e63950;
}