/* ✅ Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body, html {
  overflow-x: hidden;
  background: #f4f4f4;
  min-height: 100vh;
}

/* ✅ Navbar */
.navbar {
  width: 100%;
  background: #0d1b2a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  height: 70px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  position: relative;
  transition: 0.3s;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: #ffcc00;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ✅ Right icons */
.right-icons a {
  color: #fff;
  font-size: 22px;
  margin-left: 15px;
  transition: 0.3s;
}

.right-icons a:hover {
  color: #ffcc00;
}

/* ✅ Dropdown */
.dropdown {
  position: relative;
}
.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #0c0b0b;
  min-width: 200px;
  border-radius: 6px;
  z-index: 1000;
  flex-direction: column;
}
.dropdown-menu a {
  padding: 10px 15px;
  color: #eee;
  text-decoration: none;
  display: block;
}
.dropdown-menu a:hover {
  background: #201d1d;
}
@media (min-width: 768px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* ✅ Mobile Navbar */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    background: #0d1b2a;
    flex-direction: column;
    width: 100%;
    padding: 15px 0;
    z-index: 10000;
  }
  .nav-links.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
    font-size: 22px;
    cursor: pointer;
    margin-right: auto;
    order: -1;
  }
  .right-icons {
    margin-left: auto;
  }
}
@media (min-width: 993px) {
  .menu-toggle {
    display: none;
  }
}

/* ✅ Content spacing */
.content {
  margin-top: 80px;
  padding: 40px;
  text-align: center;
}


.section-header {
    padding: 8vw 4vw 3vw 4vw;
    
  }

  .section-header h2 {
    text-align: center;
    font-size: 2vw;
    margin-bottom: 0.5vw;
    
  }

  .divider {
    width: 100%;
    height: 2px;
    background-color: black;
    margin-bottom: 2vw;
  }

  .navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4vw;
    margin: 2vw auto;
    width: 90%;
    margin-top: 30px;
  }
  
  /* Heading center aligned */
  .navigation h2 {
    flex: 1;                 /* take available space */
    text-align: center;      /* always center */
    margin: 0;
    font-size: 2.5vw;
    font-weight: bold;
    color: #222;
  }
  
  /* Buttons */
  .navigation button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.6vw 1.2vw;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1vw;
    transition: background 0.3s;
    flex-shrink: 0;   
  }


  .horizontal-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5vw;
    justify-content: center;
    margin-bottom: 2.5vw;
  }

  .horizontal-img {
    flex: 1 1 23%;
    max-width: 25%;
    text-align: center;
  }

  .horizontal-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s;
  }

  .horizontal-img img:hover {
    transform: scale(1.05);
  }

  .horizontal-row.main-row .horizontal-img:first-child {
flex: 1 1 60% !important;
max-width: 60% !important;
}

.horizontal-row.main-row .horizontal-img:first-child img {
height: auto;
width: 100%;
max-height: 500px;
}


  .layout-caption {
    text-align: center;
    margin-top: 0.8vw;
    font-weight: bold;
    font-size: 1.2vw;
  }

  @media (max-width: 1024px) {
    .horizontal-img {
      flex: 1 1 30%;
      max-width: 30%;
    }
    .navigation button {
      font-size: 2vw;
      padding: 1vw 2vw;
    }
    .section-header h2 {
      font-size: 4vw;
    }
    .horizontal-row.main-row .horizontal-img:first-child {
      flex: 1 1 70% !important;
      max-width: 70% !important;
    }
  }

  @media (max-width: 768px) {
    .horizontal-img {
      flex: 1 1 45%;
      max-width: 45%;
    }
  }

  @media (max-width: 500px) {
    .horizontal-img {
      flex: 1 1 90%;
      max-width: 90%;
    }
    .navigation button {
      font-size: 3.5vw;
      padding: 1.5vw 3vw;
    }
    .layout-caption {
      font-size: 3vw;
    }
    .section-header h2 {
      font-size: 5vw;
    }
  }  











/* Heading with link */
  .main-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
  }

  .main-heading h2 {
    font-size: 40px;
    font-weight: bold;
  }

  .main-heading a {
    font-size: 16px;
    text-decoration: underline;
    color: blue;
    white-space: nowrap;
  }

  /* Video Grid */
  .video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .video-card {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    text-align: center;
  }

  .video-caption {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
  }

  iframe {
    width: 100%;
    height: 315px;
    border-radius: 8px;
    border: none;
  }

  @media screen and (max-width: 900px) {
    .video-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media screen and (max-width: 600px) {
    .video-grid {
      grid-template-columns: 1fr;
    }
  }
  
  /*------------------------------------------------Footer section--------------------------------------*/
.footer-section {
  width: 100%;
  background: #eaeaea;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  font-family: "Roboto", "Open Sans", sans-serif;
  font-size: 16px;
  color: #333;
}

.footer-section a {
  text-decoration: none;
  color: #007bff;
  font-weight: 500;
}

@media (max-width: 768px) {
  .footer-section {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 15px;
  }
}

  