@media (max-width: 992px) {
    .navbar{
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .nav-links{
        gap: 15px;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    .nav-links a{
        white-space: flex-start;
    }
    hero h1{
        font-size: 38px;
    }
    .about-container{
        flex-direction: column;
    }
    .services-container{
        grid-template-columns: 1fr;
    }
    .project-container{
        grid-template-columns: 1fr;
    }
    .stat-container{
        grid-template-columns: 1fr 1fr;
    }
    .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 55px;
  }

  .projects-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(1fr);
  }

  .hero-text h1 {
    font-size: 3rem;
    line-height: 1.1;
  }

  .division-content h2,
  .section-title h2,
  .cta-content h2 {
    font-size: 40px;
  }
  .division-hero{
    height: 80vh;
  }
}


@media (max-width: 768px) {
    .navbar{
        align-items: flex-start;
        padding: 10px 15px;
        flex-wrap: wrap;
    }
    .menu-toggle{
        display: block;
        order: 2;
    }
    .nav-links{
        position: fixed;
        top: 75px;
        left: -100%;
        width: 50%;
        height: calc(100vh - 80px);
        background: rgba(1, 11, 26, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        padding: 20px 0;
        gap: 20px;
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    .nav-links.active{
        left: 0;
        color: #fff;
    }
    .nav-links a{
        font-size: 18px;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
    }
    .resource-hero {
    height: 40vh;
  }

  .hero-text {
    left: 25px;
    bottom: 30px;
  }

  .hero-text h1 {
    font-size: 3rem;
    line-height: 1.1;
  }

  .hero-button{
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .hero-button a{
    width: 100%;
    text-align: center;
  }

  .resource-block h2 {
    font-size: 34px;
  }

  .resource-block p {
    font-size: 17px;
    line-height: 1.9;
  }

  .resource-gallery {
    grid-template-columns: 1fr;
  }

  .resource-gallery img {
    height: 240px;
  }

  .hero-text {
    left: 25px;
    bottom: 30px;
  }

  .hero-text h1 {
    font-size: 3rem;
    line-height: 1.1;
  }

  .vendor-card {
    padding: 35px 25px;
  }

  .vendor-card-content h3 {
    font-size: 28px;
  }

  .vendor-intro h2,
  .vendor-section h2 {
    font-size: 32px;
  }

  .vendor-types {
    grid-template-columns: 1fr 1fr;
  }

  .document-list {
    grid-template-columns: 1fr;
  }

  .fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
  }

  .fade-up.active {
  opacity: 1;
  transform: translateY(0);
  }

  .hero-text {
    left: 25px;
    bottom: 30px;
  }

  .hero-text h1 {
    font-size: 3rem;
    line-height: 1.1;
  }

  .career-intro h2,
  .job-section h2,
  .apply-section h2 {
    font-size: 34px;
  }

  .why-join,
  .job-grid,
  .apply-info {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
  .filter-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    height: 50vh;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .contact-text h2 {
    font-size: 36px;
  }

  .contact-form {
    padding: 35px 25px;
  }

  .filter-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card img {
    height: 240px;
  }

  .project-content {
    padding: 24px 18px;
  }

  .project-btn {
    width: 100%;
    text-align: center;
  }

  .project-filters,
  .project-summary,
  .projects-grid-section,
  .pagination-section {
    padding: 40px 16px;
  }

  .projects-hero {
    min-height: 55vh;
  }

  .projects-hero .hero-text {
    left: 25px;
    right: 25px;
    bottom: 30px;
    text-align: center;
  }

  .division-hero {
    height: 50vh;
    position: relative;
    overflow: hidden;
  }

  .hero-text {
    bottom: 40px;
  }

  .hero-text h1 {
    font-size: 3rem;
    line-height: 1.1;
  }
  .hero-text p{
    font-size: 1rem;
  }

  .division-services,
  .division-projects,
  .division-cta,
  .division-stats {
    padding: 80px;
  }
  .division-overview{
    padding: 80px 50px;
    background-color: #ffffff;
    color: #0B1F3B;
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .division-content h2,
  .section-title h2,
  .cta-content h2 {
    font-size: 34px;
  }

  .project-content h3 {
    font-size: 24px;
  }

  .division-content h2 {
    font-size: 32px;
  }

  .division-content span {
    font-size: 0.9rem;
  }

  .division-grid{
    grid-template-columns: 1fr;
  }

  section{
    padding: 60px 0;
  }

  .hero-text { left: 25px; bottom: 30px; }
      .hero-text h1 { font-size: 48px; }

      .career-intro h2,
      .job-section h2,
      .apply-section h2 { font-size: 34px; }

      .why-join,
      .job-grid,
      .apply-info { grid-template-columns: 1fr; }

      .job-section-header { flex-direction: column; align-items: flex-start; }
      .form-grid { grid-template-columns: 1fr; }
      .modal-header { padding: 24px 24px 20px; }
      .modal-body { padding: 24px; }
      .modal-title { font-size: 20px; }

}

