/* ==============================================================
   CTA DAZE / BLS TRAINING - RESPONSIVE STYLESHEET
   Responsive Breakpoints for All Devices
================================================================= */

/* Large Screens & Laptops (Max Width 1199px) */
@media (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 40px;
  }

  .hero-content .hero-subtitle {
    font-size: 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .why-choose-content h2 {
    font-size: 28px;
  }

  .accreditation-logo {
    width: 120px;
  }
}

/* Tablets & Mobile Screens (Max Width 991.98px)
   Menu responsive from right side on <= 991px width
----------------------------------------------------------------- */
@media (max-width: 991.98px) {

  /* Prevent abrupt slide-out animation on window resize / breakpoint switch */
  .custom-navbar .offcanvas:not(.show):not(.showing):not(.hiding) {
    transition: none !important;
  }

  /* Right Side Offcanvas Menu Styling */
  .custom-navbar .offcanvas.offcanvas-end {
    width: 300px;
    background-color: #ffffff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    border-left: none;
  }

  .custom-navbar .offcanvas-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .custom-navbar .offcanvas-header .btn-close {
    font-size: 16px;
    opacity: 0.8;
    box-shadow: none;
  }

  .custom-navbar .offcanvas-body {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
  }

  .custom-navbar .navbar-menu {
    width: 100%;
    margin-bottom: 25px !important;
    align-items: start !important;
  }

  .custom-navbar .navbar-menu .nav-item {
    border-bottom: 1px solid #f5f5f5;
  }

  .custom-navbar .navbar-menu .nav-link {
    padding: 12px 0px !important;
    font-size: 16px;
    color: #222222;
    display: block;
  }

  .custom-navbar .navbar-menu .nav-link:hover,
  .custom-navbar .navbar-menu .nav-link.active {
    color: var(--primary-color);
    /* padding-left: 8px !important; */
  }

  .custom-navbar .nav-right-actions {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 15px !important;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eeeeee;
  }

  .custom-navbar .nav-right-actions .header-phone {
    font-size: 15px;
    padding: 5px 0;
  }

  .custom-navbar .nav-right-actions .custom-btn {
    width: 100%;
    text-align: center;
  }

  .navbar-toggler {
    border: none;
    padding: 6px 10px;
    background-color: #f5f5f5;
    border-radius: 6px;
    color: var(--primary-color);
    font-size: 22px;
    box-shadow: none !important;
  }

  .navbar-toggler:focus {
    outline: none;
  }

  /* Hero Section */
  .hero-section {
    padding: 70px 0 60px;
    background-position: center right;
    min-height: 420px;
  }

  .hero-overlay {
    background: linear-gradient(to right,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(255, 255, 255, 0.4) 80%,
        rgba(255, 255, 255, 0.0) 100%);
  }

  .hero-content p {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  /* Why Choose Us Section */
  .why-choose-content {
    margin-bottom: 40px;
    text-align: center;
  }

  /* About Us Section */
  .about-img-col {
    min-height: 280px;
    position: relative;
  }

  .about-img-wrapper {
    position: absolute;
    inset: 0;
  }

  .about-card .row {
    min-height: unset;
  }

  .about-content {
    padding: 28px 22px;
  }

  /* Info Right Image */
  .info-right-image {
    margin-top: 35px;
  }

  /* Counter Stats Banner */
  .stats-banner {
    padding: 30px 15px;
  }

  .stat-item {
    margin-bottom: 20px;
  }

  .stat-item:last-child {
    margin-bottom: 0;
  }

  .stat-number {
    font-size: 30px;
  }

  /* Testimonials Section */
  .testimonials-section {
    padding: 100px 0 60px;
  }

  /* Blog Section Header */
  .blog-header-right {
    margin-top: 15px;
  }

  /* Footer */
  .footer-widget {
    margin-bottom: 35px;
  }

  .footer-bottom {
    margin-top: 30px;
    text-align: center;
  }

  .footer-bottom-links {
    margin-top: 10px;
  }

  .footer-bottom-links a {
    margin: 0 10px;
  }
}

/* Mobile Screens (Max Width 767.98px) */
@media (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content .hero-subtitle {
    font-size: 18px;
  }

  .section-title {
    font-size: 24px;
  }

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

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

  .step-card {
    margin-bottom: 20px;
  }

  .about-content h2 {
    font-size: 24px;
  }

  .blog-card {
    margin-bottom: 25px;
  }

  .accreditations-wrapper {
    gap: 15px;
  }

}

/* Small Mobile Screens (Max Width 575.98px) */
@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 26px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .custom-btn {
    width: 100%;
  }

  .feature-box {
    margin-bottom: 20px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .about-img-left-1 img {
    height: 180px !important;
  }

  .about-img-left-2 img {
    height: 240px !important;
  }

  .about-support-card {
    padding: 8px 10px;
    gap: 8px;
  }

  .support-icon-circle {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .support-number {
    font-size: 13px;
  }
}