/* ================================================== RESPONSIVE ADJUSTMENTS CSS START ========================================= */
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.2rem;
  }

  .mega-menu .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px to 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .logo-img {
    max-width: 180px;
  }

  .nav-link {
    margin: 10px 10px;
    padding: 8px 12px !important;
    font-size: 0.95rem;
  }

  .subject-item {
    padding: 1.5rem 0.8rem;
  }
}

/* Medium devices (tablets, 768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  body {
    padding-top: 76px;
  }

  .hero-section {
    padding: 5rem 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .logo-img {
    max-width: 160px;
  }

  .navbar-nav {
    text-align: left;
  }

  .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin-top: 0;
  }

  .mega-menu .row {
    padding: 0;
  }

  .mega-menu .col-md-3 {
    margin-bottom: 1.5rem;
  }

  .service-card .card-body {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2.8rem;
  }

  .footer-title {
    font-size: 1.2rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 30px;
    left: 30px;
  }

  #scrollToTopBtn {
    width: 45px;
    height: 45px;
    bottom: 30px;
    right: 30px;
  }
}

/* Small devices (landscape phones, 576px to 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  body {
    padding-top: 72px;
    font-size: 14px;
  }

  .hero-section {
    padding: 4rem 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .logo-img {
    max-width: 150px;
  }

  .navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .service-card .card-body {
    padding: 1.2rem;
  }

  .icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .service-card .card-title {
    font-size: 1.2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .testimonial-card {
    min-height: 350px;
  }

  .subject-item {
    padding: 1.2rem 0.5rem;
  }

  .subject-icon {
    font-size: 2rem;
  }

  .footer {
    padding: 3rem 0 0;
  }

  .footer-title {
    margin-bottom: 1rem;
  }

  .footer-bottom {
    margin-top: 2rem;
  }

  .whatsapp-float {
    width: 45px;
    height: 45px;
    font-size: 20px;
    bottom: 20px;
    left: 20px;
  }

  #scrollToTopBtn {
    width: 40px;
    height: 40px;
    font-size: 16px;
    bottom: 20px;
    right: 20px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  body {
    padding-top: 70px;
    font-size: 14px;
  }

  .hero-section {
    padding: 3rem 0;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .logo-img {
    max-width: 130px;
  }

  .navbar-toggler {
    padding: 0.2rem 0.4rem;
    font-size: 0.9rem;
  }

  .nav-link {
    margin: 5px 8px;
    padding: 6px 10px !important;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-title::after {
    width: 60px;
  }

  .service-card {
    margin-bottom: 1.5rem;
  }

  .service-card .card-body {
    padding: 1.5rem 1rem;
  }

  .icon-wrapper {
    width: 55px;
    height: 55px;
    margin-bottom: 1rem;
  }

  .service-card .icon-wrapper i {
    font-size: 1.5rem;
  }

  .service-card .card-title {
    font-size: 1.1rem;
  }

  .btn-readmore {
    font-size: 0.9rem;
  }

  .why-choose-section .icon-wrap {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .why-choose-section .card-body {
    padding: 1.5rem;
  }

  .process-steps .step-circle {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 1rem;
  }

  .testimonial-card {
    min-height: auto;
    margin-bottom: 1.5rem;
  }

  .avatar-img {
    width: 80px;
    height: 80px;
  }

  .subject-item {
    padding: 1rem 0.5rem;
    margin-bottom: 1rem;
  }

  .subject-icon {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }

  .payment-method {
    margin-bottom: 1rem;
  }

  .final-cta-section .hero-title {
    font-size: 2rem;
  }

  .final-cta-section .hero-subtitle {
    font-size: 1.1rem;
  }

  .btn-cta {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .faq-question {
    font-size: 1rem;
  }

  .footer {
    padding: 2rem 0 0;
  }

  .footer-title {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }

  .footer-bottom {
    margin-top: 1.5rem;
    padding: 1rem 0;
  }

  .social-icons a {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
    margin-right: 8px;
  }

  .whatsapp-float {
    width: 40px;
    height: 40px;
    font-size: 18px;
    bottom: 15px;
    left: 15px;
  }

  #scrollToTopBtn {
    width: 35px;
    height: 35px;
    font-size: 14px;
    bottom: 15px;
    right: 15px;
  }
}

/* Special adjustments for very small devices */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .logo-img {
    max-width: 110px;
  }

  .btn-primary {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .subject-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* Height adjustments for landscape mode on mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    padding: 2rem 0;
  }

  .hero-title {
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    margin-bottom: 1.5rem;
  }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-img {
    filter: contrast(1.1);
  }
}
/* ================================================== RESPONSIVE ADJUSTMENTS CSS END =========================================== */
