/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Times New Roman', Times, serif;
}

/* Top Header */
.top-header {
  background-color: #001f3f; /* Blue */
  color: white;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
}

/* Left Section */
.left-section span {
  margin-right: 20px;
  display: inline-flex;
  align-items: center;
}

.left-section i {
  margin-right: 6px;
}

/* Right Section */
.right-section a {
  color: white;
  margin-left: 15px;
  text-decoration: none;
  font-size: 16px;
}

.right-section a:hover {
  color: #ddd;
}

/* Responsive */
@media screen and (max-width: 600px) {
  .top-header {
    flex-direction: column;
    text-align: center;
  }

  .left-section,
  .right-section {
    margin-top: 5px;
  }

  .left-section span {
    display: block;
    margin-bottom: 5px;
  }

  .right-section a {
    margin: 0 10px;
  }
}


/* logo and data  */
.header-container {
  display: flex;
  align-items: center;
  padding: 20px;
  flex-wrap: wrap;
}

.logo img {
  width: 120px;
  height: auto;
  margin-right: 20px;
}

.lab{
  height: 200px;
  width: 300px;
  margin: 35px;
  border: 2px solid black;
}
.institute-info{
    display: block;
    padding-left: 50px;
    justify-content: center;
    text-align: center;
    justify-items: center;
}
.institute-info h1 {
  font-size: 50px;
  color: red;
}

.institute-info h2 {
  font-size: 20px;
  display: flex;
  text-align: center;
  color: #333;
}

.institute-info h3 {
  font-size: 18px;
  font-weight: normal;
  color: blue;
}

.institute-info p {
  font-size: 18px;
  color: blue;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo {
    margin-bottom: 15px;
  }
}


/* navbar  */
.navbar {
  background-color: #002147;
  color: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 15px 20px;
  position: relative;
}


.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px;
  display: block;
}

.nav-links li a:hover {
  color: #ffc107;
}

/* Dropdown styles */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #004080;
  list-style: none;
  padding: 0;
  z-index: 1000;
  width: 250px;
}

.dropdown-menu li a {
  padding: 10px;
  white-space: nowrap;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #002147;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    display: none;
    background-color: #003366;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }
}

/* civil department */

.container {
  display: flex;
  flex-direction: row;
  padding: 20px;
  gap: 20px;
}

.sidebar {
  background-color: white;
  padding: 20px;
  width: 250px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar h2 {
  margin-bottom: 15px;
  color: #333;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li {
  padding: 10px;
  cursor: pointer;
  border-left: 4px solid transparent;
}

.sidebar ul li:hover,
.sidebar ul li.active {
  background-color: #e6f0e9;
  border-left: 4px solid #388e3c;
  color: #388e3c;
}

.content {
  flex: 1;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.profile {
  max-width: 350px;
  text-align: center;
}

.profile img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.profile h3 {
  margin: 10px 0 5px;
}

.profile p {
  color: gray;
  margin-bottom: 10px;
}

.social-icons i {
  font-size: 20px;
  margin: 0 8px;
  color: #444;
  cursor: pointer;
}

.social-icons i:hover {
  color: #388e3c;
}

.message {
  flex: 1;
  min-width: 300px;
}

.message p {
  margin-bottom: 15px;
  color: #333;
}

@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .content {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .profile {
    max-width: 100%;
  }
}


/* contatus and youtube  */
.container {
      display: flex;
      background-color: #003366;
      justify-content: space-between;
      padding: 30px;
    }

    .contact, .video {
      flex: 1 1 300px;
      padding: 20px;
      color: white;
    }

    h2 {
      border-bottom: 2px solid white;
      color: white;
      padding-bottom: 5px;
    }

    .video iframe {
      width: 100%;
      max-width: 200px;
      height: 180px;
      border: none;
    }

    .footer {
      background-color: #29aadd;
      text-align: center;
      padding: 15px;
      font-size: 14px;
    }

    @media (max-width: 768px) {
      .container {
        flex-direction: column;
        align-items: center;
      }

      .contact, .video {
        max-width: 100%;
        padding: 10px;
      }

      .video iframe {
        max-width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
      }
    }