/*==================================================
        RESPONSIVE.CSS
        Bootstrap 5.3
===================================================*/

/*=========================
Large Devices
1200px
==========================*/

@media (max-width: 1200px) {
  .container {
    max-width: 1140px;
  }

  .hero-item h1 {
    font-size: 54px;
  }

  #about h2 {
    font-size: 38px;
  }

  .course-body h4 {
    font-size: 22px;
  }

  .counter-section h2 {
    font-size: 48px;
  }

  .footer-area {
    text-align: left;
  }
}

/*=========================
Laptop
992px
==========================*/

@media (max-width: 992px) {
  section {
    padding: 70px 0;
  }

  .navbar {
    padding: 12px 0;
  }

  .navbar-brand img {
    height: 50px;
  }

  .navbar-collapse {
    background: #fff;
    padding: 20px;
    margin-top: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  }

  .navbar-nav .nav-link {
    padding: 12px 0;
    margin: 0;
  }

  .dropdown-menu {
    border: none;
    box-shadow: none;
    background: #f8f9fa;
  }

  .hero-item {
    text-align: center;
  }

  .hero-item h1 {
    font-size: 46px;
  }

  .hero-item p {
    margin: auto auto 30px;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-btns .btn {
    margin-bottom: 15px;
  }

  .feature-card {
    margin-bottom: 30px;
  }

  #about {
    text-align: center;
  }

  #about img {
    margin-bottom: 40px;
  }

  #about ul {
    text-align: left;
  }

  .course-category img {
    height: 230px;
  }

  .course-card {
    margin-bottom: 30px;
  }

  .counter-section .col-lg-3 {
    margin-bottom: 30px;
  }

  .partner-logo {
    max-height: 60px;
  }

  .contact-cta {
    text-align: center;
  }

  .contact-cta .btn {
    margin-top: 20px;
  }

  .footer-area {
    text-align: center;
  }

  .footer-area ul {
    padding: 0;
  }

  .social-icons {
    justify-content: center;
  }
}

/*=========================
Tablet
768px
==========================*/

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  section {
    padding: 60px 0;
  }

  .heroSwiper,
  .hero-item {
    height: 90vh;
  }

  .hero-item h1 {
    font-size: 36px;
  }

  .hero-item p {
    font-size: 16px;
  }

  .sub-title {
    font-size: 14px;
  }

  .btn {
    padding: 12px 26px;
    font-size: 15px;
  }

  section .text-center h2 {
    font-size: 32px;
  }

  .feature-card {
    padding: 30px 22px;
  }

  .feature-icon {
    width: 75px;
    height: 75px;
    font-size: 30px;
  }

  #about h2 {
    font-size: 34px;
  }

  .course-category img {
    height: 220px;
  }

  .course-content h4 {
    font-size: 22px;
  }

  .course-body {
    padding: 22px;
  }

  .course-body h4 {
    font-size: 20px;
  }

  .counter-section h2 {
    font-size: 40px;
  }

  .counter-section p {
    font-size: 16px;
  }

  .testimonial-card {
    padding: 30px 22px;
  }

  .testimonial-img {
    width: 80px;
    height: 80px;
  }

  .footer-area h4 {
    margin-top: 20px;
  }

  .scroll-top {
    width: 45px;
    height: 45px;
  }
}

/*=========================
Mobile
576px
==========================*/

@media (max-width: 576px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .heroSwiper,
  .hero-item {
    height: 85vh;
  }

  .hero-item h1 {
    font-size: 30px;
    line-height: 1.3;
  }

  .hero-item p {
    font-size: 15px;
  }

  .hero-btns .btn {
    width: 100%;
  }

  section .text-center h2 {
    font-size: 28px;
  }

  .section-subtitle,
  .text-primary {
    font-size: 14px;
  }

  .feature-card {
    padding: 25px 20px;
  }

  .feature-card h4 {
    font-size: 20px;
  }

  #about h2 {
    font-size: 28px;
  }

  #about h5 {
    font-size: 20px;
  }

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

  .course-category img {
    height: 210px;
  }

  .course-content {
    padding: 20px;
  }

  .course-content h4 {
    font-size: 20px;
  }

  .course-body {
    padding: 20px;
  }

  .course-info {
    flex-direction: column;
    gap: 8px;
  }

  .course-card .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .counter-section {
    text-align: center;
  }

  .counter-section h2 {
    font-size: 34px;
  }

  .partner-logo {
    max-height: 50px;
  }

  .testimonial-card h4 {
    font-size: 20px;
  }

  .accordion-button {
    padding: 18px;
    font-size: 15px;
  }

  .footer-area {
    padding-top: 50px;
  }

  .footer-area p,
  .footer-area li {
    font-size: 15px;
  }

  .call-btn,
  .whatsapp-btn {
    width: 48px;
    height: 48px;
  }

  .employee-btn {
    display: none;
  }
}

/*=========================
Small Mobile
400px
==========================*/

@media (max-width: 400px) {
  .hero-item h1 {
    font-size: 26px;
  }

  .hero-item p {
    font-size: 14px;
  }

  .btn {
    font-size: 14px;
    padding: 10px 20px;
  }

  .feature-icon {
    width: 65px;
    height: 65px;
    font-size: 26px;
  }

  .feature-card h4 {
    font-size: 18px;
  }

  .course-body h4 {
    font-size: 18px;
  }

  .counter-section h2 {
    font-size: 30px;
  }

  .testimonial-card {
    padding: 25px 18px;
  }

  .testimonial-img {
    width: 70px;
    height: 70px;
  }

  .scroll-top {
    width: 42px;
    height: 42px;
  }
}

/*=========================
Landscape Mobile
==========================*/

@media (max-height: 500px) {
  .heroSwiper,
  .hero-item {
    height: 120vh;
  }
}

/*=========================
Retina Displays
==========================*/

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  img {
    image-rendering: auto;
  }
}

/*=========================
Reduced Motion
==========================*/

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
