* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #f9fafc;
  color: #1a2c3a;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ========== TOP BAR - ENHANCED LOGO SIZES ========== */
.top-bar {
  background: white;
  padding: 25px 0;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.logo-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

/* SIE Logo Section - Larger */
.sie-logo {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sie-logo img {
  height: 85px;
  width: auto;
  border-radius: 16px;
}

.sie-text .gov-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0a3f55;
  letter-spacing: -0.3px;
}

.sie-text .small-text {
  font-size: 0.85rem;
  color: #5f7f91;
  font-weight: 500;
}

/* SCERT Logo Section - Larger */
.scert-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 20px;
  border-radius: 20px;
}

.scert-logo img {
  height: 70px;
  width: auto;
  border-radius: 12px;
}

.scert-logo span {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0a3f55;
  max-width: 200px;
  line-height: 1.4;
}

/* NCERT Logo Section - Larger */
.right-logos {
  display: flex;
  align-items: center;
}

.ncert-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 20px;
  border-radius: 20px;
}

.ncert-logo img {
  height: 70px;
  width: auto;
  border-radius: 12px;
}

.ncert-logo span {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0a3f55;
  max-width: 220px;
  line-height: 1.4;
}

/* NPEP Banner */
.nepup-banner {
  background: linear-gradient(135deg, #f5c542 0%, #e6b422 100%);
  padding: 18px 0;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nepup-title {
  color: #0a3f55;
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0;
  letter-spacing: -0.3px;
}

/* Navigation */
.nav-bar {
  background: #0a3f55;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 14px 0;
}

.nav-menu {
  flex: 1;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.nav-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s ease;
  border-radius: 7px;
}

.nav-list li a:hover,
.nav-list li a.active {
  background: rgba(245, 197, 66, 0.2);
  color: #f5c542;
  transform: translateY(-2px);
}

/* Hero Swiper - Enhanced */
.hero {
  padding: 60px 0;
}

.hero-swiper {
  border-radius: 32px;
  overflow: hidden;
  height: 550px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  position: relative;
}

.swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.swiper-pagination-bullet-active {
  background: #f5c542 !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: white !important;
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(245, 197, 66, 0.8);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
}

/* Principal Section - Enhanced Spacing */
.principal-section {
  padding: 80px 0;
  background: #f0f5f9;
}

.principal-card {
  background: white;
  border-radius: 40px;
  padding: 50px;
  display: flex;
  gap: 50px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.principal-card:hover {
  transform: translateY(-5px);
}

.principal-content {
  flex: 2;
  position: relative;
  z-index: 1;
}

.principal-content h2 {
  color: #0a3f55;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

.principal-message {
  color: #334e68;
  line-height: 1.9;
  font-size: 1rem;
  text-align: justify;
  max-height: 450px;
  overflow-y: auto;
  padding-right: 20px;
}

.principal-message::-webkit-scrollbar {
  width: 6px;
}

.principal-message::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 10px;
}

.principal-message::-webkit-scrollbar-thumb {
  background: #f5c542;
  border-radius: 10px;
}

.principal-name {
  margin-top: 30px;
  font-weight: 800;
  color: #0a3f55;
  font-size: 1.1rem;
  padding-top: 15px;
  border-top: 3px solid #f5c542;
  display: inline-block;
}

.quote-icon {
  position: absolute;
  bottom: 30px;
  right: 30px;
  font-size: 5rem;
  color: rgba(10, 63, 85, 0.04);
  z-index: 0;
}

.principal-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.principal-image img {
  width: 100%;
  max-width: 320px;
  border-radius: 32px;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.principal-image img:hover {
  transform: scale(1.02);
}

/* Footer - Enhanced Spacing */
.footer {
  background: #0a2a36;
  color: #cddfe7;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  margin-bottom: 55px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 25px;
  font-size: 1.2rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.footer-col h4:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: #f5c542;
  border-radius: 3px;
}

.footer-col p,
.footer-col ul {
  font-size: 0.9rem;
  margin-bottom: 12px;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #cddfe7;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-col a:hover {
  color: #f5c542;
  transform: translateX(5px);
}

.footer-col i {
  width: 28px;
  color: #f5c542;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 32px;
  font-size: 0.85rem;
}

/* Language Switcher */
.language-switcher {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1050;
}

.lang-main-btn {
  background: linear-gradient(135deg, #1a5d7a 0%, #0a3f55 100%);
  border: none;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.lang-main-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.lang-dropdown {
  position: absolute;
  bottom: 75px;
  right: 0;
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  min-width: 200px;
  display: none;
  margin-bottom: 8px;
}

.lang-dropdown.show {
  display: block;
  animation: fadeInUp 0.2s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-option {
  padding: 14px 22px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1e293b;
  transition: all 0.2s ease;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
}

.lang-option:hover {
  background: #f1f5f9;
  color: #1a5d7a;
  padding-left: 28px;
}

.lang-option i {
  width: 26px;
  font-size: 1.2rem;
}

.reset-btn {
  border-top: 1px solid #e2e8f0;
  color: #dc2626 !important;
}

.reset-btn:hover {
  background: #fef2f2 !important;
  color: #dc2626 !important;
}

/* Responsive Design */
@media (max-width: 1100px) {
  .logo-area {
    justify-content: center;
    gap: 25px;
  }

  .sie-logo img {
    height: 70px;
  }

  .scert-logo img,
  .ncert-logo img {
    height: 55px;
  }

  .scert-logo span,
  .ncert-logo span {
    font-size: 0.75rem;
  }
}

@media (max-width: 991px) {
  .container {
    padding: 0 24px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0a3f55;
    padding: 25px;
    z-index: 999;
    border-radius: 0 0 20px 20px;
  }

  .nav-menu.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 8px;
  }

  .nav-list li a {
    justify-content: center;
    padding: 14px 20px;
  }

  .principal-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
    gap: 30px;
  }

  .principal-image img {
    max-width: 250px;
  }

  .principal-content h2 {
    font-size: 1.7rem;
  }

  .quote-icon {
    display: none;
  }

  .hero-swiper {
    height: 350px;
  }

  .hero {
    padding: 40px 0;
  }

  .principal-section {
    padding: 50px 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  .sie-logo img {
    height: 55px;
  }

  .scert-logo,
  .ncert-logo {
    padding: 6px 12px;
  }

  .scert-logo img,
  .ncert-logo img {
    height: 45px;
  }

  .sie-text .gov-text {
    font-size: 0.95rem;
  }

  .sie-text .small-text {
    font-size: 0.7rem;
  }

  .nepup-title {
    font-size: 1rem;
  }

  .hero-swiper {
    height: 250px;
  }

  .principal-card {
    padding: 30px 20px;
  }

  .principal-content h2 {
    font-size: 1.4rem;
  }

  .principal-message {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .language-switcher {
    bottom: 20px;
    right: 20px;
  }

  .lang-main-btn {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .footer-grid {
    gap: 35px;
    text-align: center;
  }

  .footer-col h4:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-col p,
  .footer-col ul {
    text-align: center;
  }

  .footer-col i {
    width: auto;
    margin-right: 8px;
  }
}

@media (max-width: 580px) {
  .logo-area {
    flex-direction: column;
    gap: 20px;
  }

  .sie-logo {
    justify-content: center;
  }

  .scert-logo,
  .ncert-logo {
    width: 100%;
    justify-content: center;
  }

  .hero-swiper {
    height: 200px;
  }
}
