/* RESPONSIVE DROPDOWN MENU */
@media (max-width: 576px) {
  .dropdown_menu {
    left: 2rem;
    width: unset;
  }
}

@media (max-width: 992px) {

  .nav .nav__link {
    display: none;
  }

  .nav .toggle_btn {
    display: block;
  }
}


/* Tablets (≤ 1024px) */
@media (max-width: 1024px) {
  #hero {
    margin-top: 200px;
    text-align: center;
    padding: 0 20px;
  }

  #hero h1 {
    font-size: 40px;
    max-width: 100%;
    margin: 0 auto 30px;
  }

  #hero p {
    font-size: 18px;
    max-width: 100%;
    margin: 0 auto 20px;
  }

  #primary_action_btn,
  #secondary_action_btn {
    margin-top: 30px;
    width: auto;
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  #hero {
    margin-top: 200px;
    padding: 0 16px;
    text-align: center;
  }

  #hero h1 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  #hero p {
    font-size: 16px;
    margin-bottom: 16px;
  }

  #primary_action_btn,
  #secondary_action_btn {
    display: block;
    width: 100%;
    margin: 16px 0;
  }
}

/* Small Mobile (≤ 480px) */
@media (max-width: 480px) {
  #hero {
    margin-top: 200px;
    padding: 0 12px;
  }

  #hero h1 {
    font-size: 28px;
  }

  #hero p {
    font-size: 15px;
  }

  #primary_action_btn,
  #secondary_action_btn {
    font-size: 14px;
    padding: 14px 20px;
  }
}



/* Horizontal scroll for service cards */
@media (max-width: 1024px) {
  .services .container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .service-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 100%;
    max-width: 370px;
  }
}

/* Optional: Hide scrollbar but allow scroll */
.services .container::-webkit-scrollbar {
  display: none;
}

.services .container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}



/* RESPONSIVE DROPDOWN MENU */
@media (max-width: 576px) {
  .dropdown_menu {
    left: 2rem;
    width: unset;
  }
}

@media (max-width: 992px) {

  .nav .nav__link {
    display: none;
  }

  .nav .toggle_btn {
    display: block;
  }
}


/* Tablets (≤ 1024px) */
@media (max-width: 1024px) {
  #hero {
    margin-top: 200px;
    text-align: center;
    padding: 0 20px;
  }

  #hero h1 {
    font-size: 40px;
    max-width: 100%;
    margin: 0 auto 30px;
  }

  #hero p {
    font-size: 18px;
    max-width: 100%;
    margin: 0 auto 20px;
  }

  #primary_action_btn,
  #secondary_action_btn {
    margin-top: 30px;
    width: auto;
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  #hero {
    margin-top: 200px;
    padding: 0 16px;
    text-align: center;
  }

  #hero h1 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  #hero p {
    font-size: 16px;
    margin-bottom: 16px;
  }

  #primary_action_btn,
  #secondary_action_btn {
    display: block;
    width: 100%;
    margin: 16px 0;
  }
}

/* Small Mobile (≤ 480px) */
@media (max-width: 480px) {
  #hero {
    margin-top: 200px;
    padding: 0 12px;
  }

  #hero h1 {
    font-size: 28px;
  }

  #hero p {
    font-size: 15px;
  }

  #primary_action_btn,
  #secondary_action_btn {
    font-size: 14px;
    padding: 14px 20px;
  }
}



/* Horizontal scroll for service cards */
@media (max-width: 1024px) {
  .services .container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }


  .service-card {
    flex: 0 0 auto;
    scroll-snap-align: start;

    width: 100%;
    max-width: 320px;
    /* reduced from 370px */
  }
}

@media (max-width: 1024px) {
  .scroll-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(215, 214, 214, 0.8);
    /* translucent white */
    border: none;
    border-radius: 50%;
    padding: 15px;
    cursor: pointer;
    z-index: 5;
    transition: background-color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .scroll-arrow:hover {
    background-color: rgba(255, 255, 255, 0.9);
  }

  .scroll-arrow svg {
    display: block;
    stroke: #23190C;
  }

  .scroll-arrow-left {
    left: 5px;
    opacity: 0;
    pointer-events: none;
  }

  .scroll-arrow-right {
    right: 5px;
  }
}

/* Optional: Hide scrollbar but allow scroll */
.services .container::-webkit-scrollbar {
  display: none;
}

.services .container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}


/* === Responsive About Us with Background Image === */

/* Tablet & Mobile */
@media (max-width: 1170px) {
  .about-us {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.5)),
      url("images/about-us-img.jpg");
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 60px 20px;
  }

  .about-us .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .image-section {
    display: none;
  }

  .content-section {
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .about-us .content h2,
  .about-us .content ul li,
  .about-us .title h4 {
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
  }

  .about-us .content ul li {
    display: flex;
    align-items: center;
    /* vertically center icon and text */
    gap: 6px;
    /* space between icon and text */
    margin-bottom: 12px;
    /* spacing between list items */
  }

  .about-us .content {
    text-align: center;
    /* centers the container content horizontally */
  }

  .about-us .content ul {
    display: inline-block;
    /* shrink-wrap the list width */
    text-align: left;
    /* aligns the list items left inside the ul */
    padding-left: 20px;
    /* keeps default bullet indent */
    margin: 0;
    /* reset default ul margin if needed */
  }



  .about-us .button a {
    background-color: rgba(239, 137, 27, 0.85);
    /* slightly transparent orange */
    font-size: 15px;
    padding: 12px 12px 12px 50px;
  }

  .about-us .button a::before {
    width: 32px;
    height: 32px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .about-us {
    padding: 40px 16px;
  }

  .about-us .content h2 {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .about-us .title h4 {
    font-size: 16px;
  }

  .about-us .button a {
    font-size: 14px;
    padding: 10px 10px 10px 44px;
  }

  .about-us .button a::before {
    width: 28px;
    height: 28px;
  }

  ul li .done-symbol {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    flex-shrink: 0;

  }
}


@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links,
  .footer-contact {
    margin-bottom: 20px;
  }
}


@media (max-width: 768px) {
  .service-modal {
    padding: 0;
  }

  .modal-content {
    width: 100%;
    height: 100%;
    padding: 40px 20px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: visible;


  }

  .modal-content .modal-details {
    width: 100%;
    padding: 20px;
    font-size: 16px;
    color: #F5F5F5;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: none;
    flex: 1;

  }


  .modal-triangle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    z-index: 2;
    pointer-events: none;
  }

  .modal-triangle-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    pointer-events: none;
    z-index: 3;
  }

  .modal-content.dark .modal-triangle-bg::before {
    background: linear-gradient(rgba(49, 45, 40, 0.8), rgba(49, 45, 40, 0.9));
  }

  .modal-close-btn {
    top: 20px;
    right: 20px;
    font-size: 32px;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
  }

  .modal-content h3 {
    font-size: 28px;
    color: #F5F5F5;
    z-index: 4;
    padding: 0 20px;
    text-align: center;
  }


  /* Adjust checklist for mobile */
  .check-list li {
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
  }



}

@media (max-width: 992px) {
  .snip1533 {
    flex: 1 1 calc(50% - 20px);
    /* 2 columns */
  }
}

@media (max-width: 600px) {
  .snip1533 {
    flex: 1 1 100%;
    /* 1 column */
  }
}

@media (max-width: 768px) {
  .why-choose-column {
    flex: 0 0 100%;
  }

  .why-choose-header {
    margin-bottom: 40px;
  }

  .service-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .service-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
}


/* Medium screens: tablets */
@media (max-width: 991px) {
  .gallery-scroll img {
    flex: 0 0 calc(70% - 10px);
    max-width: calc(70% - 10px);
  }

  .gallery-title {
    font-size: 28px;
  }
}

/* Small screens: mobile phones */
@media (max-width: 600px) {
  .gallery-scroll img {
    flex: 0 0 90%;
    max-width: 90%;
  }

  .gallery-title {
    font-size: 24px;
  }
}