/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1200px, 90%);
  margin: auto;
}

/* Header */
.header {
  background: #000;
  color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 30px;
  margin-right: 10px;
}

.logo img {
  width: 150px;
}

.nav {
  list-style: none;
  display: flex;
  gap: 25px;
}


.nav a {
  font-weight: 500;
  padding-bottom: 5px;
  transition: 0.3s;
}

.nav a:hover,
.nav .active a {
  color: #f4a261;
  border-bottom: 2px solid #f4a261;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: #000;
    width: 220px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
}

/* Hero */
.hero {
  background: url("images/herobg.jpg") center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn {
  background: #e76f51;
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #f4a261;
}

/* Projects */
.projects {
  padding: 70px 20px;
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.project-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
  text-align: left;
}

.card-content h3 {
  color: #264653;
  margin-bottom: 10px;
}

/* Docs */
.docs-section {
  padding: 60px 20px;
  background: #f9f9f9;
}

.docs-container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.pdf-box {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.pdf-btn {
  padding: 12px 20px;
  background: #2a9d8f;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  transition: 0.3s;
}

.pdf-btn:hover {
  background: #21867a;
}

.gallery {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.05);
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  background: #fff;
  border: none;
  font-size: 20px;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
}

.lightbox-close:hover {
  background: #ddd;
}

/* Contact */
.contact {
  padding: 80px 20px;
  background: #f4f7f9;
}

.contact h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  color: #264653;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.contact-card {
  flex: 1 1 350px;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 28px;
  color: #2a9d8f;
}

.contact-map {
  flex: 1 1 500px;
  min-height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Videos */
.videos-section {
  padding: 80px 20px;
  background: #fff;
}

.videos-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  color: #264653;
  font-weight: 700;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.video-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.video-card iframe {
  width: 100%;
  height: 220px;
}

/* Footer */
.footer {
  background: #000;
  color: #fff;
  padding: 20px;
  text-align: center;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 2rem;
  }

  .contact-wrapper,
  .videos-grid {
    flex-direction: column;
  }
}


/* Mobile */
@media (max-width: 768px) {
  .nav {
    display: none;
    /* 👈 by default hide */
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  /* जब menu active हो तभी show */
  .nav-menu.active .nav {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: #000;
    width: 220px;
    height: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-menu.active {
    transform: translateX(0);
  }
}