/* Responsive Styles for TravelEase */

/* Base responsive viewport */
@media (max-width: 1200px) {
  .container {
    width: 95%;
    max-width: 100%;
  }
}

/* Tablet Styles */
@media (max-width: 992px) {
  /* Header adjustments */
  header .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    position: relative;
    min-height: 200px; /* ensure enough height for bottom placement */
  }

  .logo {
    margin-bottom: 10px;
  }
.phone-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 40px;
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: bold;
}
.phone-box i {
  font-size: 20px;
  color: #ffffff;
}

 
  .phone-box i {
    font-size: 1.2em;
  }
  /* Navigation adjustments */
  nav .container {
    position: relative;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--accent-color);
    flex-direction: column;
    z-index: 1000;
    box-shadow: var(--shadow-md);
  }
  
  nav.active ul {
    display: flex;
  }
  
  nav ul li {
    width: 100%;
  }
  
  nav ul li a {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: flex-start;
  }
  
  .mobile-nav-toggle {
    display: block !important;
  }
  
  /* Hero section adjustments */
  .hero {
    height: 500px;
  }
  
  .slide-content {
    width: 90%;
    max-width: 600px;
  }
  
  .slide-content h2 {
    font-size: 32px;
  }
  
  .slide-content p {
    font-size: 16px;
  }
  
  /* Stats section */
  .stats .container {
    gap: 15px;
  }
  
  .stat-item {
    min-width: calc(50% - 30px);
    margin: 0;
  }
  
  /* Destinations grid */
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* About section */
  .about-content {
    flex-direction: column;
  }
  
  .about-image, .about-text {
    width: 100%;
  }
  
  .experience-badge {
    right: 20px;
  }
  
  /* Testimonials */
  .prev-testimonial, .next-testimonial {
    width: 35px;
    height: 35px;
  }
  
  /* Footer */
  .footer-content {
    gap: 30px;
  }
  
  .footer-section {
    min-width: calc(50% - 30px);
  }
  
  /* Visa pages */
  .visa-content {
    flex-direction: column;
  }
  
  .visa-details, .visa-sidebar {
    width: 100%;
  }
  
  .visa-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Form layouts */
  .booking-form-container {
    flex-direction: column;
  }
  
  .booking-form, .booking-sidebar {
    width: 100%;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  /* Header */
  header {
    height: auto;
    padding: 10px 0;
  }
  
  header .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .logo {
    margin-bottom: 10px;
  }
  
  .social-icons {
    justify-content: center;
    margin-bottom: 10px;
  }
  
  .phone-box {
    margin-left: 0;
  }
  
  /* Hero section */
  .hero {
    height: 400px;
  }
  
  .slide-content h2 {
    font-size: 28px;
  }
  
  .slide-content p {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .prev, .next {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  /* Stats section */
  .stat-item {
    min-width: 100%;
  }
  
  /* Destinations grid */
  .destinations-grid {
    grid-template-columns: 1fr;
  }
  
  /* Partners */
  .partner-logos {
    justify-content: center;
  }
  
  .partner {
    min-width: 120px;
  }
  
  /* About features */
  .about-features {
    grid-template-columns: 1fr;
  }
  
  /* Newsletter */
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
  }
  
  .newsletter-form .btn {
    width: 100%;
    border-radius: var(--border-radius);
  }
  
  /* Footer */
  .footer-section {
    min-width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  /* Visa pages */
  .visa-highlights {
    grid-template-columns: 1fr;
  }
  
  .visa-banner h1 {
    font-size: 32px;
  }
  
  .visa-banner p {
    font-size: 16px;
  }
  
  /* Form layouts */
  .form-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .form-group {
    width: 100%;
  }
  
  .contact-options {
    flex-direction: column;
    gap: 10px;
  }
  
  .contact-option {
    width: 100%;
    margin-right: 0 !important;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  /* Header */
  .logo h1 {
    font-size: 22px;
  }
  
  .icon-box {
    width: 35px;
    height: 35px;
  }
.social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap; /* allows wrapping if needed on small screens */
}
.phone-box {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-size: 14px;
  margin-top: 10px;

  /* KEY PART 👇 */
  width: 100%;       /* or any fixed width like 200px */
  flex-basis: 100%;  /* force it to appear on a new row */
  text-decoration: none;
  justify-content: center; /* center the text */
}


  /* Hero section */
  .hero {
    height: 350px;
  }
  
  .slide-content {
    padding: 20px;
  }
  
  .slide-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .slide-content p {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .slide-content .btn {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  /* Section headers */
  .section-header h2 {
    font-size: 28px;
  }
  
  .section-header p {
    font-size: 16px;
  }
  
  /* Stats */
  .counter {
    font-size: 28px;
  }
  
  /* Testimonials */
  .quote {
    font-size: 16px;
  }
  
  /* Visa process */
  .process-steps {
    gap: 20px;
  }
  
  .process-step {
    padding: 15px;
  }
  
  /* Forms */
  .form-section h3 {
    font-size: 18px;
  }
  
  .form-group label {
    font-size: 14px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px;
    font-size: 14px;
  }
  
  /* Buttons */
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Fix for navigation toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Fix for slider dots on mobile */
.slider-dots, .testimonial-dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.dot {
  margin: 0 5px;
}

/* Fix for quantity selectors */
.quantity-controls {
  display: flex;
  align-items: center;
  max-width: 100%;
}

/* Fix for payment options */
.payment-option {
  flex-wrap: wrap;
}

/* Fix for visa boxes */
.visa-box {
  width: 100%;
}

/* Fix for contact form */
.contact-form-container {
  flex-direction: column;
}

.contact-form, .contact-info-container {
  width: 100%;
}