* {
  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;
}

.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;
  }
}


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;
}

.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;
  }
}

/* scholourship */
.flex-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

/* Left Side */
.left-box {
  min-width: 220px;
  background: #fff;
  padding: 40px;
  padding-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.left-box h3 {
  margin-bottom: 10px;
}

.left-box ul {
  list-style: none;
}

.left-box li {
  padding: 10px;
  margin-bottom: 6px;
  cursor: pointer;
  border-left: 4px solid transparent;
}

.left-box li.active {
  background-color: #388e3c;
  color: #fff;
  border-left-color: #2e7d32;
}

.left-box li:hover:not(.active) {
  background-color: #f0f0f0;
}

/* Right Side */
.right-box {
  flex: 1;
  min-width: 600px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.right-box h2 {
  margin-bottom: 15px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

thead {
  background-color: #5a1d1d;
  color: white;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid #ccc;
  text-align: left;
}

tbody tr:nth-child(even) {
  background: #f9f9f9;
}

/* Responsive */
@media (max-width: 768px) {
  .flex-container {
    flex-direction: column;
  }

  .left-box, .right-box {
    min-width: 100%;
  }

  table {
    font-size: 14px;
  }
}


/* contatus and youtube  */
.container {
      display: flex;
      background-color: #003366;
      justify-content: space-between;
      padding: 30px;
    }

    .contact, .video {
      flex: 1 1 200px;
      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;
      }
    }
