@media (max-width:426px) {
    header {
        display: flex;
        flex-direction: column;
        width: 100vw;
        height: auto;
        gap: 25px;
        position: relative;
    }

    header nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        gap: 25px;
    }

    .header-ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;

    }

    .hero-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: auto;
        justify-content: center;
        padding-left: 0px;
    }

    .hero-info {
        width: 80vw;
        height: auto;
    }

    .hero-img {
        display: flex;
        flex-direction: column;
        width: 95vw;
        align-items: center;
    }

    .hero-img-slide {
        width: 95vw;
        height: auto;
    }

    .countries-section {
        display: flex;
        flex-direction: column;
        width: 100vw;
        height: auto;
        padding-left: 0px;
        align-items: center;
        text-align: center;
    }

    .countries-head-line {
        width: 95vw;
        height: auto;
    }

    .countries-cards-row {
        width: 95vw;
        height: auto;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .countries-card-image {
        width: 90vw;
    }

    .countries-card {
        width: 90vw;
        height: auto;
        text-align: left;
    }


    .landmarks-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100vw;
        height: auto;
        text-align: center;
        padding-left: 0px;
    }

    .landmarks-head-line {
        width: 95vw;
    }

    .landmarks-cards-row {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 35px;
    }

    .landmark-card:last-child {
        margin-top: 0px;
    }

    .projects-section,
    .projects-section-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-left: 0px;
        text-align: center;
    }

    .projects-head-line {
        display: flex;
        flex-direction: column;
        gap: 35px;
        height: auto;
    }

    .projects-cards-row {
        display: flex;
        flex-direction: column;
        width: 95vw;
        align-items: center;
        gap: 35px;
    }

    .projects-card {
        width: 90vw;
        height: 700px;
        display: flex;
        flex-direction: column;
    }


    .projects-section-2 {
        display: none;
    }

    .projects-section-2.show {
        display: flex;
        width: 100%;
        height: fit-content;
        display: flex;
        flex-direction: column;
        padding-left: 0px;
    }

    .resume-container button {
        width: 50vw;
    }

    .border {
        width: 150px;
        height: 3px;
    }

}

@media (max-width:769px) {
    .projects-card-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* border: 3px solid red; */
        height: 100%;
        gap: 25px;
        margin-top: 15px;
    }

    header {
        display: flex;
        justify-content: center;
        /* padding-left: 0px; */
        gap: 15px;
    }

    .logo {
        font-size: x-large;
    }

    header nav {
        display: flex;
        /* flex-direction: column; */
        align-items: center;
        justify-content: center;
        height: auto;
        gap: 25px;
    }

    .header-ul {
        display: flex;
        /* flex-direction: column; */
        align-items: center;
        height: auto;
    }

    .hero-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: auto;
        justify-content: center;
        padding-left: 0px;
    }

    .hero-info {
        width: 80vw;
        height: auto;
    }

    .hero-img {
        display: flex;
        flex-direction: column;
        width: 95vw;
        align-items: center;
    }

    .hero-img-slide {
        width: 95vw;
        height: auto;
    }

    .countries-section {
        display: flex;
        flex-direction: column;
        width: 100vw;
        height: auto;
        padding-left: 0px;
        align-items: center;
        text-align: center;
    }

    .countries-head-line {
        width: 95vw;
        height: auto;
    }

    .countries-cards-row {
        width: 95vw;
        height: auto;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
    }

    .countries-card-image {
        width: 70vw;
    }

    .countries-card {
        width: 70vw;
        height: auto;
        text-align: left;
    }

    .landmarks-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100vw;
        height: auto;
        text-align: center;
        padding-left: 0px;
    }

    .landmarks-head-line {
        width: 95vw;
    }

    .landmarks-cards-row {
        display: flex;
        width: 95vw;
        align-items: center;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 35px;
    }

    .landmark-card:last-child {
        margin-top: 0px;
    }

    .projects-section,
    .projects-section-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-left: 0px;
        text-align: center;
    }

    .projects-head-line {
        display: flex;
        flex-direction: column;
        gap: 35px;
        height: auto;
    }

    .projects-cards-row {
        display: flex;
        flex-direction: column;
        width: 95vw;
        align-items: center;
        gap: 35px;
    }

    .projects-card {
        width: 90vw;
        height: 500px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .projects-section-2 {
        display: none;
    }

    .projects-section-2.show {
        display: flex;
        width: 100%;
        height: fit-content;
        display: flex;
        flex-direction: column;
        padding-left: 0px;
    }

    .resume-container button {
        width: 50vw;
    }

    footer {
        width: 100%;
        height: auto;
        align-items: center;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        height: auto;
        align-items: center;
        text-align: center;
        gap: 35px;
    }

    .border{
        display: none;
    }

    .footer-ul{
        align-items: center;
    }

}

@media (max-width:1024px) {
    header {
        display: flex;
        justify-content: center;
        /* padding-left: 0px; */
        gap: 15px;
    }

    .logo {
        font-size: x-large;
    }

    header nav {
        display: flex;
        /* flex-direction: column; */
        align-items: center;
        justify-content: center;
        height: auto;
        gap: 25px;
    }

    .header-ul {
        display: flex;
        /* flex-direction: column; */
        align-items: center;
        height: auto;
    }

    .hero-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: auto;
        justify-content: center;
        padding-left: 0px;
    }

    .hero-info {
        width: 80vw;
        height: auto;
    }

    .hero-img {
        /* display: flex; */
        /* flex-direction: column; */
        width: 95vw;
        /* align-items: center; */
        /* height: auto; */

    }

    .hero-img-slide {
        width: 95vw;
        height: auto;
    }

    .countries-section {
        display: flex;
        flex-direction: column;
        width: 100vw;
        height: auto;
        padding-left: 0px;
        align-items: center;
        text-align: center;
    }

    .countries-head-line {
        width: 95vw;
        height: auto;
    }

    .countries-cards-row {
        width: 95vw;
        height: auto;
        display: flex;
        flex-direction: column;
        /* flex-wrap: wrap; */
        align-items: center;
    }

    .countries-card-image {
        width: 70vw;
    }

    .countries-card {
        width: 70vw;
        height: auto;
        text-align: left;
        padding-bottom: 25px;
    }

    .landmarks-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100vw;
        height: auto;
        text-align: center;
        padding-left: 0px;
    }

    .landmarks-head-line {
        width: 95vw;
    }

    .landmarks-cards-row {
        display: flex;
        width: 95vw;
        align-items: center;
        /* flex-direction: column; */
        /* flex-wrap: wrap; */
        gap: 25px;
    }

    .projects-section,
    .projects-section-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-left: 0px;
        text-align: center;
    }

    .projects-head-line {
        display: flex;
        flex-direction: column;
        gap: 35px;
        height: auto;
    }

    .projects-cards-row {
        display: flex;
        flex-direction: column;
        width: 95vw;
        align-items: center;
        gap: 35px;
    }

    .projects-card {
        width: 90vw;
        height: 750px;
        display: flex;
        flex-direction: column;
    }


    .projects-section-2 {
        display: none;
    }

    .projects-section-2.show {
        display: flex;
        width: 100%;
        height: fit-content;
        display: flex;
        flex-direction: column;
        padding-left: 0px;
    }

    .resume-container button {
        width: 50vw;
    }

    .projects-card-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* border: 3px solid red; */
        height: 100%;
        gap: 25px;
        margin-top: 15px;
    }

    .footer-container{
        gap: 45px;
    }

}

@media (max-width:426px) {

    header {
        display: flex;
        flex-direction: row;
        width: 100vw;
        height: auto;
        position: relative;
        padding-top: 10px;
        padding-bottom: 10px;
        justify-content: space-between;
        padding-right: 15px;
    }

    header nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        gap: 25px;
        display: none;
    }

    .menu-btn i{
        display: block;
    }

    .menu-bar{
        width: 100vw;
        height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .menus{
        display: none;

    }

    .menu-bar-nav{
        height: 100%;
        display: block;
        justify-content: center;
        /* display: none; */

    }

    .menu-bar-nav ul{
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        width: 100vw;
        gap: 75px;
    }

    .menu-bar .header-li{
        font-size: 22.5px;
    }

    .header-ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;

    }

    .hero-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: auto;
        justify-content: center;
        padding-left: 0px;
    }

    .hero-info {
        width: 80vw;
        height: auto;
    }

    .hero-img {
        display: flex;
        flex-direction: column;
        width: 95vw;
        align-items: center;
    }

    .hero-img-slide {
        width: 95vw;
        height: auto;
    }

    .countries-section {
        display: flex;
        flex-direction: column;
        width: 100vw;
        height: auto;
        padding-left: 0px;
        align-items: center;
        text-align: center;
    }

    .countries-head-line {
        width: 95vw;
        height: auto;
    }

    .countries-cards-row {
        width: 95vw;
        height: auto;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .countries-card-image {
        width: 90vw;
    }

    .countries-card {
        width: 90vw;
        height: auto;
        text-align: left;

    }

    .landmarks-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100vw;
        height: auto;
        text-align: center;
        padding-left: 0px;
    }

    .landmarks-head-line {
        width: 95vw;
    }

    .landmarks-cards-row {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 35px;
    }

    .landmark-card:last-child {
        margin-top: 0px;
    }

    .projects-section,
    .projects-section-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-left: 0px;
        text-align: center;
    }

    .projects-head-line {
        display: flex;
        flex-direction: column;
        gap: 35px;
        height: auto;
    }

    .projects-cards-row {
        display: flex;
        flex-direction: column;
        width: 95vw;
        align-items: center;
        gap: 35px;
    }

    .projects-card {
        width: 90vw;
        height: 765px;
        display: flex;
        flex-direction: column;
    }

    .projects-card-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }


    .projects-section-2 {
        display: none;
    }

    .projects-section-2.show {
        display: flex;
        width: 100%;
        height: fit-content;
        display: flex;
        flex-direction: column;
        padding-left: 0px;
    }

    .resume-container button {
        width: 50vw;
    }

    .projects-card-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* border: 3px solid red; */
        height: 100%;
        gap: 25px;
        margin-top: 15px;
    }

    footer {
        width: 100%;
        height: auto;
        text-align: center;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        text-align: center;
        gap: 25px;
    }

    .border {
        height: 3px;
        width: 150px;
        display: none;
    }

    .footer-ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.projects-card h3 {
  color: #ffffff; /* make titles white */
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: left;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6); /* adds contrast if image background */
}


/* ========== Phones (≤426px) ========== */
@media (max-width: 426px) {
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 15px;
    position: relative;
  }

  header nav {
    display: none; /* hidden, toggle with menu button */
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .menu-btn i {
    display: block; /* hamburger menu visible */
  }

  .menu-bar {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
  }

  .menu-bar-nav ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100vw;
    gap: 50px;
  }

  /* Hero */
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 0;
  }

  .hero-info {
    width: 90%;
  }

  .hero-img,
  .hero-img-slide {
    width: 95%;
    height: auto;
  }

  /* Countries */
  .countries-section,
  .landmarks-section,
  .projects-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 0;
  }

  .countries-cards-row,
  .landmarks-cards-row,
  .projects-cards-row {
    flex-direction: column;
    align-items: center;
    width: 95%;
    gap: 20px;
  }

  .countries-card,
  .projects-card,
  .landmark-card {
    width: 90%;
    height: auto; /* let content decide */
    text-align: left;
  }

  .countries-card img,
  .projects-card img,
  .landmark-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  /* Projects */
  .projects-card-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
  }

  .resume-container button {
    width: 70%;
  }

  /* Footer */
  footer {
    width: 100%;
    text-align: center;
    padding: 20px;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
  }

  .footer-ul {
    flex-direction: column;
    gap: 10px;
  }

  .border {
    display: none;
  }
}

/* ========== Tablets (≤769px) ========== */
@media (max-width: 769px) {
  header {
    gap: 15px;
  }

  .logo {
    font-size: 1.3rem;
  }

  .hero-info {
    width: 80%;
  }

  .countries-card,
  .projects-card {
    width: 80%;
    height: auto;
  }

  .landmarks-cards-row {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }
}

/* ========== Small Laptops (≤1024px) ========== */
@media (max-width: 1024px) {
  .hero-info {
    width: 80%;
  }

  .countries-cards-row,
  .projects-cards-row {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .countries-card,
  .projects-card {
    width: 80%;
    height: auto;
    padding-bottom: 20px;
  }

  .footer-container {
    gap: 30px;
  }
}
