/* ==========================================MEDIA QUERIES START========================================== */

/* Extra small devices (phones, 320px and down) */
@media only screen and (max-width: 320px) {
  .navbar-brand img {
    width: 180px;
  }
  
  .what-we-provide h1, .section-title h2, .section-header h2 {
    font-size: 1.8rem;
  }
  
  .feature-card-alt, .step-card {
    padding: 25px 15px;
  }
  
  .feature-icon-alt {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  
  .testimonial-slider {
    height: 380px;
  }
}

/* Small devices (portrait phones, 576px and down) */
@media only screen and (max-width: 576px) {
  body {
    font-size: 14px;
  }
  
  .navbar {
    padding: 8px 0;
  }
  
  .navbar-nav .nav-link {
    padding: 6px 10px;
    margin: 3px 0;
    justify-content: flex-start;
  }
  
  .navbar-nav .btn-enroll {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
  }
  
  .section-padding, .features, .testimonials {
    padding: 50px 0;
  }
  
  .what-we-provide h1, .section-title h2, .section-header h2 {
    font-size: 2rem;
  }
  
  .what-we-provide p, .section-title p, .section-header p {
    font-size: 1rem;
  }
  
  .feature-card-alt h3, .step-title {
    font-size: 1.4rem;
  }
  
  .feature-card h3 {
    font-size: 1.2rem;
  }
  
  .cta-section h2 {
    font-size: 1.8rem;
  }
  
  .footer-column {
    margin-bottom: 30px;
  }
  
  .back-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .whatsapp-sticky {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    left: 15px;
    bottom: 15px;
  }
  
  .preloader-text {
    font-size: 2.5rem;
  }
}

/* Medium devices (tablets, 768px and down) */
@media only screen and (max-width: 768px) {
  .container {
    width: 95%;
  }
  
  .navbar-collapse {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 10px;
  }
  
  .what-we-provide header, .section-header {
    margin-bottom: 30px;
  }
  
  .feature-card-alt, .step-card, .feature-card {
    margin-bottom: 20px;
  }
  
  .testimonial-slider {
    height: 350px;
  }
  
  .testimonial-card {
    padding: 25px;
  }
  
  .cta-button, .cta-section .btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  .footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
}

/* Large devices (desktops, 992px and down) */
@media only screen and (max-width: 992px) {
  .navbar-nav .nav-link {
    font-size: 0.9rem;
    padding: 6px 10px;
  }
  
  .what-we-provide h1, .section-title h2, .section-header h2 {
    font-size: 2.2rem;
  }
  
  .feature-card-alt, .step-card {
    padding: 30px 20px;
  }
  
  .feature-icon-alt {
    width: 80px;
    height: 80px;
    font-size: 2.2rem;
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .testimonial-slider {
    height: 300px;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
}

/* Extra large devices (large desktops, 1200px and down) */
@media only screen and (max-width: 1200px) {
  .container {
    max-width: 100%;
  }
  
  .what-we-provide, .how-to-start-section {
    padding: 60px 20px;
  }
  
  .feature-card-alt h3, .step-title {
    font-size: 1.6rem;
  }
}

/* Landscape orientation adjustments */
@media only screen and (max-width: 768px) and (orientation: landscape) {
  .testimonial-slider {
    height: 250px;
  }
  
  .navbar {
    padding: 5px 0;
  }
  
  .section-padding {
    padding: 40px 0;
  }
}

/* High-resolution displays */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi) {
  .navbar-brand img {
    width: auto;
    height: 45px;
  }
}

/* Print styles */
@media print {
  .navbar, .whatsapp-sticky, .back-to-top {
    display: none;
  }
  
  body {
    background: white;
    color: black;
    padding: 20px;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
  }
}
/* ==========================================MEDIA QUERIES END============================================ */