/* ========== GLOBAL RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', Arial, sans-serif;
  color: #222;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== HEADER ========== */
header {
  background: #003366;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  flex-wrap: wrap;
}

header .logo {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

header .logo img {
  width: 40px;
  margin-right: 10px;
}

header nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

header nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s ease;
}

header nav ul li a:hover {
  color: #ffb400;
}

/* ========== HERO SECTION ========== */
.hero {
  background: url("hero.jpeg") center/cover no-repeat;
  height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-text {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-text button {
  background: #ffb400;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-text button:hover {
  background: #ffaa00;
}

/* ========== FEATURES ========== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  background: #0066cc;
  color: white;
  padding: 50px 25px;
}

.feature {
  text-align: left;
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.feature p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========== SECTORS ========== */
.sectors {
  padding: 60px 25px;
  text-align: center;
  background: #f9f9f9;
}

.sectors h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #0b3954;
}

.sector-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 20px;
  max-width: 300px;
  text-align: center;
}

.card img {
  border-radius: 8px;
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 10px;
  color: #005fa3;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.card button {
  background: #b38b00;
  border: none;
  padding: 10px 20px;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.card button:hover {
  background: #a47a00;
}

/* ========== DIRECTOR SECTION ========== */
.director {
  background: #f3f6f9;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.director h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: #0b3954;
}

.director-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 40px 50px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.director-content img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #f3f6f9;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.director-text {
  flex: 1;
  text-align: left;
}

.director-text h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #005fa3;
  margin-bottom: 10px;
}

.director-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}

.signature {
  font-style: italic;
  color: #444;
  margin-top: 10px;
  margin-bottom: 20px;
}

.divider {
  border: 0;
  height: 1px;
  background-color: #d8dee3;
  margin: 25px 0;
}

.director-text h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #005fa3;
  margin-bottom: 10px;
}

.assamese {
  font-family: "Noto Sans Assamese", sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  color: #222;
}

/* Responsive for Director Section */
@media (max-width: 900px) {
  .director-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
  }

  .director-content img {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
  }

  .director-text {
    text-align: center;
  }
}

/* ========== GALLERY ========== */
.gallery {
  padding: 60px 25px;
  background: #fff;
  text-align: center;
}

.gallery h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #0b3954;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* ========== FOOTER ========== */
footer {
  background: #003366;
  color: white;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.footer-left h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.footer-right p {
  margin: 5px 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-right i {
  margin-right: 8px;
  color: #ffb400;
}

.footer-bottom {
  margin-top: 25px;
  text-align: center;
}

.footer-bottom a {
  color: white;
  font-size: 1.2rem;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: #ffb400;
}

/* Footer Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-right p {
    font-size: 0.9rem;
  }
}
nav ul li a.active {
  color: #ffcc00;
  border-bottom: 2px solid #ffcc00;
  font-weight: bold;
}