  /* ==========================
    RESPONSIVE.CSS - COMPLETE FIXED VERSION
    WORKS WITH SWIPER.JS - NO LAYOUT CONFLICTS
  ========================== */

  /* ==========================
    FOR SCREENS <= 1024px (TABLET LANDSCAPE)
  ========================== */
  @media (max-width: 1024px) {
    .container {
      padding: 0 1rem;
    }

    .headings {
      font-size: 2.5rem;
    }
    
    .secondary-headings {
      font-size: 2rem;
    }

    .swiper {
      height: 90vh;
    }

    .img-overlay p {
      font-size: 0.9rem;
      letter-spacing: 6px;
    }

    .img-overlay h2 {
      font-size: 3rem;
      letter-spacing: 3px;
    }

    #travel-search-form {
      grid-template-columns: repeat(2, 1fr);
    }

    #location-search {
      margin-top: -50px;
      margin-bottom: 80px;
    }

    .about-content-wrapper,
    .travel-citys-wrapper,
    .rabat-content {
      grid-template-columns: 1fr;
      gap: 3rem;
    }

    .citys-content {
      padding-right: 0;
    }

    .rabat-content .citys-content {
      padding-left: 0;
    }

    .citys-content ul {
      grid-template-columns: repeat(2, 1fr);
    }

    .view-tours-btn,
    .destinations-btn,
    .all-tours-btn {
      width: 50%;
    }

    .tours-grid {
      grid-template-columns: repeat(2, 1fr);
    }

  

    #costa-victoria {
      height: 60vh;
    }
    
    .video-content h2 {
      font-size: 2.5rem;
    }
    
    .video-content span {
      font-size: 1rem;
    }

    .static-wrapper {
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
    }

    .footer-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  /* ==========================
    FOR SCREENS <= 900px (TABLET PORTRAIT)
  ========================== */
  @media (max-width: 900px) {
    .btn {
      display: block;
    }

    nav ul {
      flex-direction: column;
      position: fixed;
      width: 100%;
      height: 400px;
      background: var(--primary-color);
      top: -600px;
      left: 0;
      padding: 3rem 1rem;
      transition: all 0.5s ease-in;
      z-index: 1000;
    }

    nav ul li a {
      display: block;
      margin: 15px;
    }

    .close-btn {
      position: absolute;
      top: 0rem;
      right: 0;
      margin: 25px;
    }

    nav ul.display {
      top: 0;
    }

    .swiper {
      height: 75vh;
    }

    .img-overlay {
      width: 90%;
    }

    .img-overlay p {
      font-size: 0.8rem;
      letter-spacing: 4px;
    }

    .img-overlay h2 {
      font-size: 2.5rem;
      letter-spacing: 3px;
    }

    .choose-wrapper {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 2fr));
      gap: 2rem;
      margin: 20px 0;
    }

    .lg-img {
      position: relative;
      cursor: pointer;
      width: 100%;
      height: auto;
      overflow: hidden;
      transition: all 0.5s ease-in-out;
      margin-bottom: 2.5rem;
    }

    .row-wise-img {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
    }

    .row-wise-img img {
      width: 100%;
      height: auto;
      object-fit: cover;
      border-radius: 10px;
    }

    .video-wrapper iframe {
      width: 177.78%;
      height: 100%;
    }
  }

  /* ==========================
    FOR SCREENS <= 768px (MOBILE LANDSCAPE)
  ========================== */
  @media (max-width: 768px) {
    .headings {
      font-size: 2rem;
    }
    
    .secondary-headings {
      font-size: 1.8rem;
    }

    .swiper {
      height: 70vh;
    }

    .img-overlay {
      width: 95%;
      top: 55%;
    }

    .img-overlay p {
      font-size: 0.7rem;
      letter-spacing: 3px;
    }

    .img-overlay h2 {
      font-size: 2rem;
      letter-spacing: 2px;
      line-height: 1.3;
    }

    #travel-search-form {
      grid-template-columns: 1fr;
    }

    .form-wrapper {
      padding: 1.5rem;
    }

    .quick-link-btn {
      padding: 0.6rem 1rem;
      font-size: 0.9rem;
    }

    .agency-right-side .img::after {
      top: 15px;
      left: 15px;
      bottom: 0;
      width: 90%;
    }

    #featured-tours {
      padding: 4rem 0;
    }
    
    .tours-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    .view-tours-btn,
    .destinations-btn,
    .all-tours-btn {
      width: 70%;
    }

    /* Travel Cities Section */
    #travel-citys {
      padding: 4rem 0;
    }
    
    .citys-content ul {
      grid-template-columns: 1fr;
    }
    
    .slider-content-wrapper {
      height: 300px;
    }
    
    .slider-content-wrapper .img-content h2 {
      font-size: 1.3rem;
    }

    /* Video Section */
    #costa-victoria {
      height: 50vh;
      margin: 4rem 0;
    }
    
    .video-content h2 {
      font-size: 2rem;
    }
    
    .video-content span {
      font-size: 0.9rem;
      margin: 0 0.5rem;
    }

    /* Call to Action */
    #call-to-action {
      padding: 3rem 0;
    }
    
    #call-to-action h2 {
      font-size: 2rem;
    }
    
    #call-to-action p {
      font-size: 1rem;
    }
    
    .cta-buttons {
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }
    
    .cta-contact-btn,
    .cta-tours-btn {
      width: 100%;
      max-width: 250px;
    }

    /* Footer */
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    
    .footer-col {
      text-align: center;
    }
    
    .footer-col h3:after {
      left: 50%;
      transform: translateX(-50%);
    }
    
    .footer-col p {
      justify-content: center;
      text-align: center;
    }
    
    .social-icons {
      justify-content: center;
    }
    
    /* Admin Quick Link */
    .admin-quick-link {
      bottom: 70px;
      right: 15px;
      padding: 10px 15px;
      font-size: 14px;
    }

    /* Back to Top Button */
    .back-to-top {
      bottom: 20px;
      right: 15px;
      width: 45px;
      height: 45px;
      font-size: 1rem;
    }
  }

  /* ==========================
    FOR SCREENS <= 500px (MOBILE PORTRAIT)
  ========================== */
  @media (max-width: 500px) {
    .swiper {
      height: 60vh;
    }

    .img-overlay h2 {
      font-size: 1.5rem;
    }

    .choose-wrapper,
    .row-wise-img {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    .lg-img,
    .row-wise-img .lg-img {
      margin-bottom: 3rem;
      height: 300px;
    }

    .static-wrapper {
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    .static-icons i {
      font-size: 2.5rem;
    }

    .numbers {
      font-size: 2.5rem;
    }

    /* Travel Cities */
    .citys-content .secondary-headings {
      font-size: 1.8rem;
    }
    
    .slider-content-wrapper {
      height: 250px;
    }
    
    .slider-content-wrapper .carousel-img-overlay {
      padding: 1.5rem;
    }
    
    .slider-content-wrapper .hidden-content-carousel {
      flex-direction: column;
      gap: 0.5rem;
    }

    /* Video Section */
    #costa-victoria {
      height: 40vh;
    }
    
    .video-content h2 {
      font-size: 1.5rem;
    }
    
    .video-content span {
      font-size: 0.8rem;
      margin: 0 0.3rem;
      display: block;
      margin-bottom: 0.5rem;
    }
    
    .video-book-btn {
      width: 100%;
      max-width: 200px;
    }
    
    /* Footer */
    .footer-col p {
      flex-direction: column;
      align-items: center;
      gap: 0.3rem;
    }
    
    .footer-col p i {
      margin-right: 0;
    }
    
    /* Back to Top Button */
    .back-to-top {
      bottom: 15px;
      right: 10px;
      width: 40px;
      height: 40px;
      font-size: 0.9rem;
    }
  }

  /* ==========================
    FOR SCREENS <= 375px (SMALL MOBILE)
  ========================== */
  @media (max-width: 375px) {
    .container {
      padding: 0 1rem;
    }

    .headings {
      font-size: 1.8rem;
    }

    .img-overlay h2 {
      font-size: 1.3rem;
    }

    .quick-links-grid {
      flex-direction: column;
      align-items: center;
    }

    .quick-link-btn {
      width: 100%;
      justify-content: center;
    }

    .view-tours-btn,
    .destinations-btn,
    .all-tours-btn {
      width: 100%;
    }

    .cta-buttons {
      width: 100%;
    }

    .cta-contact-btn,
    .cta-tours-btn {
      width: 100%;
    }

    
    /* Back to Top Button */
    .back-to-top {
      width: 35px;
      height: 35px;
      bottom: 10px;
      right: 10px;
    }
  }

  /* ==========================
    EXTRA SMALL DEVICES
  ========================== */
  @media (max-width: 320px) {
    .carousel {
      height: 250px;
    }
    
    .img-content h2 {
      font-size: 1rem;
    }
  }