/*====================================================
 * RESPONSIVE CSS
 *====================================================*/

/* Large Desktop - 1200px and up */
@media (min-width: 1200px) {
  /* Large screens specific styles if needed */
}

/* Tablet & Smaller Desktops - below 992px */
@media (max-width: 991.98px) {

  /* Force burger menu visibility */
  .custom-toggler {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1050;
    padding: 5px 10px;
  }

  /* Fix header background and overflow */
  .site-header {
    background-color: var(--white) !important;
    width: 100vw !important;
  }

  /* Fix preloader centering */
  #preloader {
    width: 100vw;
    height: 100vh;
  }

  /* Category Sidebar Mobile/Tablet Layout */
  .category-sidebar {
    margin-bottom: 30px;
  }

  .site-header .main-header {
    height: 70px;
  }

  .site-header.scrolled .main-header {
    height: 70px;
  }

  .logo-placeholder {
    height: 45px;
    font-size: 20px;
  }

  .site-logo {
    height: 45px;
  }

  .hero-section {
    margin-top: 70px;
  }
}

/* Mobile Devices - below 768px */
@media (max-width: 767.98px) {

  /* Force burger menu visibility on mobile */
  .custom-toggler {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1050;
  }

  /* Fix header background and overflow */
  .site-header {
    background-color: var(--white) !important;
    width: 100vw !important;
  }

  /* Fix preloader centering for mobile */
  #preloader {
    width: 100vw;
    height: 100vh;
  }



  .site-header .main-header {
    height: 65px;
  }

  .site-header.scrolled .main-header {
    height: 65px;
  }

  .logo-placeholder {
    height: 40px;
    font-size: 18px;
  }

  .site-logo {
    height: 40px;
  }

  /* Small quote button on mobile if needed, though hidden in offcanvas per design */
  .btn-quote {
    padding: 10px 20px;
    font-size: 14px;
    height: 42px;
  }

  .hero-section {
    margin-top: 65px !important;
  }
}

/*====================================================
 * HERO SECTION RESPONSIVENESS (1920px to 360px)
 *====================================================*/
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 48px;
  }

  .hero-content::before {
    font-size: 140px;
  }
}

@media (max-width: 991.98px) {
  .hero-content {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .hero-content::before {
    font-size: 110px;
  }

  .hero-title {
    font-size: 42px;
    margin-bottom: 2rem !important;
  }

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

  .hero-controls-container {
    bottom: 30px;
  }
}

@media (max-width: 767.98px) {
  .hero-content::before {
    font-size: 70px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-title {
    font-size: 32px;
    margin-bottom: 1.5rem !important;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .hero-content {
    padding-top: 80px;
    padding-bottom: 120px;
  }

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

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

  .hero-next,
  .hero-prev {
    width: 40px;
    height: 40px;
  }

  .hero-next::after,
  .hero-prev::after {
    font-size: 14px;
  }

  .hero-controls-container {
    bottom: 20px;
    gap: 15px !important;
  }
}

@media (max-width: 380px) {
  .hero-content {
    padding-top: 0px;
    padding-bottom: 100px;
  }

  .hero-content::before {
    font-size: 50px;
  }

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

  .hero-controls-container {
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px !important;
  }
}

/*====================================================
 * ABOUT SECTION RESPONSIVENESS
 *====================================================*/
@media (max-width: 1199.98px) {
  .about-content {
    padding-left: 0;
  }
}

@media (max-width: 991.98px) {
  .about-image-wrapper {
    margin-bottom: 50px;
    padding: 15px 30px 30px 45px;
  }

  .about-experience-block {
    padding: 15px;
    min-height: 150px;
    width: 150px;
  }

  .about-experience-block .number {
    font-size: 46px;
  }

  .about-experience-block .text {
    font-size: 13px;
    letter-spacing: 1.5px;
  }

  .about-iso-block {
    right: 5px;
    left: auto;
    bottom: -5px;
    padding: 15px;
    width: 150px;
    min-height: 130px;
  }

  .about-iso-block .iso-title {
    font-size: 38px;
  }

  .about-iso-block .iso-text {
    font-size: 13px;
  }

  .features-list {
    padding-right: 0 !important;
  }
}

@media (max-width: 767.98px) {
  .about-image-wrapper {
    padding: 10px 15px 30px 25px;
  }

  .about-bg-shape {
    width: 90%;
  }

  .about-experience-block {
    top: 5%;
    padding: 10px;
    min-height: 130px;
    width: 130px;
  }

  .about-experience-block .number {
    font-size: 38px;
    margin-bottom: 5px;
  }

  .about-experience-block .text {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .about-iso-block {
    right: 0px;
    left: auto;
    bottom: 0px;
    padding: 10px;
    width: 130px;
    min-height: 110px;
  }

  .about-iso-block .iso-title {
    font-size: 32px;
  }

  .about-iso-block .iso-text {
    font-size: 11px;
    letter-spacing: 1px;
  }
}

@media (max-width: 575.98px) {
  .about-image-wrapper {
    padding: 0px;
  }

  .about-bg-shape {
    width: 99%;
    height: 85%;
  }

  .about-experience-block {
    top: -10px;
    left: 0;
    padding: 8px;
    min-height: 110px;
    width: 110px;
  }

  .about-experience-block .number {
    font-size: 28px;
    margin-bottom: 2px;
  }

  .about-experience-block .text {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .about-iso-block {
    right: -5px;
    left: auto;
    bottom: -5px;
    padding: 8px;
    width: 110px;
    min-height: 90px;
  }

  .about-iso-block .iso-title {
    font-size: 26px;
    margin-bottom: 5px;
  }

  .about-iso-block .iso-text {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .why-image-wrapper {
    padding: 0;
  }

  .why-bg-shape {
    top: 10px;
    left: 10px;
  }
}

/*====================================================
 * FOOTER RESPONSIVENESS
 *====================================================*/
@media (max-width: 767.98px) {
  .footer-contact-cta {
    margin-top: -50px !important;
    padding: 30px !important;
    text-align: center;
  }

  .footer-contact-cta .cta-icon {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px !important;
  }

  .footer-bottom .text-md-end {
    text-align: center !important;
    margin-top: 15px;
  }
}

/*====================================================
 * BREADCRUMB RESPONSIVENESS
 *====================================================*/
@media (max-width: 991.98px) {
  .breadcrumb-section {
    padding: 140px 0 50px 0;
  }

  .breadcrumb-section .breadcrumb-title {
    font-size: 38px !important;
  }
}

@media (max-width: 767.98px) {
  .breadcrumb-section {
    padding: 120px 0 40px 0;
  }

  .breadcrumb-section .breadcrumb-title {
    font-size: 32px !important;
  }
}

@media (max-width: 575.98px) {
  .breadcrumb-section {
    padding: 110px 0 35px 0;
  }

  .breadcrumb-section .breadcrumb-title {
    font-size: 26px !important;
  }

  .breadcrumb-section .breadcrumb {
    font-size: 13px;
  }

  .breadcrumb-section .breadcrumb-item a,
  .breadcrumb-section .breadcrumb-item.active {
    font-size: 13px;
  }
}

/*====================================================
 * ABOUT PAGE MODERN RESPONSIVENESS
 *====================================================*/
@media (max-width: 991.98px) {
  .about-page-modern .experience-badge-modern {
    right: 15px;
    bottom: 15px;
    padding: 20px;
    min-width: 180px;
  }

  .about-page-modern .experience-badge-modern .num {
    font-size: 42px;
  }
}

@media (max-width: 767.98px) {
  .about-page-modern .image-stack {
    padding: 0;
    margin-bottom: 30px;
  }

  .about-page-modern .experience-badge-modern {
    right: 15px;
    bottom: 15px;
    padding: 15px;
    min-width: 160px;
  }

  .about-page-modern .experience-badge-modern .num {
    font-size: 36px;
  }

  .about-page-modern .section-title-modern {
    font-size: 32px;
  }
}

@media (max-width: 575.98px) {
  .about-page-modern .stat-box {
    text-align: center;
  }

  .about-page-modern .stat-box .icon {
    margin: 0 auto 15px auto;
  }
}

@media (max-width: 380px) {
  .about-page-modern .experience-badge-modern {
    position: absolute;
    left: auto;
    right: 10px;
    bottom: 10px;
    margin: 0;
    min-width: 140px;
    padding: 10px;
  }

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

/*====================================================
 * INDUSTRIES WE SERVE RESPONSIVENESS
 *====================================================*/
@media (max-width: 991.98px) {
  .industry-card {
    padding: 25px 20px;
  }

  .industry-card .icon-wrapper {
    width: 60px;
    height: 60px;
    font-size: 28px;
    margin-bottom: 20px;
  }

  .industry-card .industry-title {
    font-size: 18px;
  }
}

@media (max-width: 767.98px) {
  .industry-card {
    text-align: center;
  }

  .industry-card .icon-wrapper {
    margin: 0 auto 20px auto;
  }
}

/*====================================================
 * CERTIFICATES RESPONSIVENESS
 *====================================================*/
@media (max-width: 991.98px) {

  .certificate-title {
    font-size: 1.4rem;
  }

}

@media (max-width: 767.98px) {



  .certificate-title {
    font-size: 1.25rem;
  }

  .certificate-desc {
    font-size: 14.5px;
  }

  .certificate-meta li {
    font-size: 13.5px;
  }


  .certificate-action .btn {
    width: 100%;
    text-align: center;
  }
}

/*====================================================
 * CLASSIC COUNTER SECTION RESPONSIVENESS
 *====================================================*/
@media (max-width: 1199.98px) {
  .classic-counter-card {
    padding: 20px 14px;
  }

  .classic-icon-wrapper {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 20px;
    margin-right: 12px;
  }

  .classic-counter-number {
    font-size: 28px;
  }

  .counter-symbol {
    font-size: 20px;
  }

  .classic-counter-title {
    font-size: 12px;
    letter-spacing: 0.5px;
  }

  .classic-counter-desc {
    font-size: 11px;
  }
}

@media (max-width: 991.98px) {
  .counter-section {
    padding: 30px 0;
  }

  .classic-counter-card {
    padding: 22px 18px;
  }

  .classic-icon-wrapper {
    width: 52px;
    height: 52px;
    min-width: 52px;
    font-size: 22px;
    margin-right: 15px;
  }

  .classic-counter-number {
    font-size: 32px;
  }

  .counter-symbol {
    font-size: 24px;
  }

  .classic-counter-title {
    font-size: 13px;
  }

  .classic-counter-desc {
    font-size: 12px;
  }
}

@media (max-width: 575.98px) {
  .counter-section {
    padding: 25px 0;
  }

  .classic-counter-card {
    padding: 18px 16px;
  }

  .classic-icon-wrapper {
    width: 46px;
    height: 46px;
    min-width: 46px;
    font-size: 20px;
    margin-right: 14px;
  }

  .classic-counter-number {
    font-size: 28px;
    margin-bottom: 2px;
  }

  .counter-symbol {
    font-size: 20px;
  }

  .classic-counter-title {
    font-size: 12px;
    margin-bottom: 2px;
  }

  .classic-counter-desc {
    font-size: 11.5px;
  }
}