/* ============================================
   🌍 RESPONSIVE BREAKPOINTS
============================================ */

@media (min-width: 1920px) {
  /* 🧭 Navbar */
  .navbar {
    max-width: 1200px;
    height: 70px;
    font-size: 18px;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  }

  .navbar img {
    width: 90px;
  }

  .r-nav a {
    font-size: 18px;
  }

  .background {
    height: 520px;
    border-radius: 40px;
  }

  .main-content p {
    font-size: 60px;
  }

  .hero-btn button {
    padding: 18px 55px;
    font-size: 20px;
    border-radius: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  }

  .highlights-section {
    max-width: 1800px;
    margin: 100px auto 80px;
    padding: 0 80px;
  }

  .h-title {
    font-size: 38px;
    margin-bottom: 50px;
    padding-left: 5%;
  }

  .highlights {
    gap: 60px;
  }

  .h-card {
    width: 300px;
    height: 270px;
    border-radius: 20px;
  }

  .h-card p {
    font-size: 24px;
    bottom: 35px;
  }

  #upload-page {
    padding: 5rem 2rem;
  }

  .prim-content {
    max-width: 1100px;
    padding: 4rem;
  }

  #my-dropzone {
    max-width: 1000px;
    min-height: 450px;
  }

  .upload-photo-btn {
    font-size: 1.1rem;
    padding: 1rem 3rem;
  }
  
  #initiatives-page {
    padding: 5rem 4rem;
  }

  .i-card {
    width: 300px;
    height: 480px;
  }

  .section-title {
    font-size: 50px;
  }
}

@media (min-width: 1200px) and (max-width: 1919px) {
  .background {
    height: 400px;
  }

  .main-content p {
    font-size: 52px;
  }

  .hero-btn button {
    padding: 14px 40px;
    font-size: 17px;
  }

  .h-title {
    font-size: 32px;
  }

  .h-card {
    width: 230px;
    height: 210px;
  }

  #upload-page {
    padding: 4rem 1.5rem;
  }

  .prim-content {
    max-width: 950px;
    padding: 3rem;
  }

  #my-dropzone {
    max-width: 850px;
    min-height: 400px;
  }

  .upload-photo-btn {
    font-size: 1rem;
    padding: 0.8rem 2.4rem;
  }
  .i-card {
    width: 260px;
    height: 430px;
  }
}

@media (max-width: 992px) {
 
  .navbar {
    top: 0;
    width: 90%;
    height: 50px;
    padding: 0 18px;
    background: white;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }

  .r-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar img {
    width: 60px;
  }

  .background {
    border-radius: 10px;
    margin: 0;
    height: 300px;
  }

  .main-content p {
    font-size: 36px;
  }

  .hero-btn {
    bottom: -22px;
  }

  .hero-btn button {
    font-size: 15px;
    padding: 10px 28px;
  }

  .h-title {
    text-align: center;
    padding-left: 0;
    font-size: 28px;
  }

  .h-card {
    width: 45%;
    height: 180px;
  }

  .h-card p {
    font-size: 20px;
  }

  #upload-page {
    padding: 3rem 1rem;
    min-height: 100vh;
  }

  .prim-content {
    width: 95%;
    padding: 2.5rem;
    font-size: 22px;
  }

  #my-dropzone {
    width: 100%;
    min-height: 350px;
  }

  .upload-photo-btn {
    font-size: 0.9rem;
    padding: 0.6rem 2rem;
  }
   #initiatives-page {
    min-height: auto;
    padding: 4rem 1rem;
  }

  .initiatives {
    gap: 25px;
  }

  .i-card {
    width: 45%;
    height: 360px;
  }

  .section-title {
    font-size: 36px;
  }
}

@media (max-width: 600px) {

  .navbar {
    width: 100%;
    height: 48px;
    padding: 8px 15px;
    border-radius: 0 0 20px 20px;
    background: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }

  .navbar img {
    width: 55px;
  }

  .mobile-menu {
    width: 80%;
  }

  .background,
  .background-wrapper {
    border-radius: 0;
    margin: 0;
    height: 250px;
  }

  .main-content p {
    font-size: 26px;
    line-height: 1.1;
    max-width: 90%;
  }

  .hero-btn {
    bottom: -18px;
  }

  .hero-btn button {
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 16px;
  }

  .h-title {
    text-align: center;
    font-size: 26px;
  }

  .highlights {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .h-card {
    width: 85%;
    height: 190px;
    max-width: 360px;
  }

  .h-card p {
    font-size: 19px;
  }

  #upload-page {
    padding: 2rem 1rem;
  }

  .prim-content {
    width: 100%;
    padding: 2rem;
    font-size: 20px;
  }

  #my-dropzone {
    width: 100%;
    min-height: 320px;
  }

  .upload-photo-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.8rem;
  }

  #initiatives-page {
    padding: 3rem 1rem;
    min-height: auto;
  }

  .initiatives {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .i-card {
    width: 85%;
    max-width: 360px;
    height: 300px;
  }

  .section-title {
    font-size: 30px;
  }

  /* Hide Login (navbar + mobile menu) */
  .r-nav a[href="/index_login.php"],
  .r-nav #user-icon,
  .mobile-menu a[href="/index_login.php"] {
    display: none !important;
  }
}

@media (max-width: 400px) {

  .navbar {
    width: 100%;
    height: 45px;
    padding: 6px 12px;
    border-radius: 0 0 16px 16px;
  }

  .navbar img {
    width: 50px;
  }

  .background,
  .background-wrapper {
    border-radius: 0;
    margin: 0;
    height: 230px;
  }

  .main-content p {
    font-size: 22px;
  }

  .hero-btn {
    bottom: -15px;
  }

  .hero-btn button {
    font-size: 13px;
    padding: 6px 16px;
  }

  .h-card {
    width: 90%;
    height: 170px;
  }

  .h-card p {
    font-size: 17px;
  }

  #upload-page {
    padding: 1.5rem 0.8rem;
  }

  .prim-content {
    width: 100%;
    padding: 1.5rem;
    font-size: 18px;
  }

  #my-dropzone {
    width: 100%;
    min-height: 280px;
  }

  .upload-photo-btn {
    font-size: 0.8rem;
    padding: 0.5rem 1.4rem;
  }

  .mobile-menu a {
    font-size: 16px;
    padding: 12px 20px;
  }

  .i-card {
    width: 90%;
    height: 260px;
  }

  .section-title {
    font-size: 26px;
  }

  /* Hide Login (navbar + mobile menu) */
  .r-nav a[href="/index_login.php"],
  .r-nav #user-icon,
  .mobile-menu a[href="/index_login.php"] {
    display: none !important;
  }
}




.mobile-overlay {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
