/* =========================================================
   Responsive fixes - 3DS website
   Keep this file after style.css and header.css
========================================================= */

@media (max-width: 1199.98px) {
  .navbar-brand img {
    max-width: 130px;
    width: 130px;
  }

  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .cards-slider .slick-track {
    gap: 10px;
  }

  .testimonial-section,
  .stats-section {
    width: min(100% - 32px, 1120px);
  }
}

@media (max-width: 991.98px) {
  .navigation .navbar-collapse {
    background: #fff;
    margin-top: 14px;
    padding: 16px;
    border-radius: 18px;
    box-shadow: 0 16px 45px rgba(0,0,0,.12);
  }

  .navigation .navbar-nav {
    text-align: left;
    gap: 4px;
  }

  .navigation .nav-link,
  .navigation .dropdown-item {
    padding: 11px 12px;
    border-radius: 10px;
  }

  #hero {
    min-height: auto;
  }

  #hero::after {
    background: linear-gradient(180deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 100%);
  }

  .hero-inner {
    padding: 115px 0 70px;
  }

  .hero-left {
    padding-left: 34px;
  }

  .slide-title {
    max-width: 650px;
  }

  .slide-desc {
    max-width: 620px;
  }

  .cards-slider-wrap {
    padding-left: 4px;
  }

  .service-card,
  .service-card.slick-current {
    height: 260px;
  }

  .slick-slide {
    height: 300px !important;
  }

  .about-image {
    margin-bottom: 38px;
  }

  .about_img_1,
  .about_img_2 {
    max-width: 100%;
  }

  .section-title h1,
  .about-content h1,
  .testimonial-section h1,
  .stats-section h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-card {
    margin-top: 10px;
  }

  .slider-controls {
    position: static;
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
  }

  .contact-form-box,
  .info-card {
    width: 100%;
  }

  .inner-hero {
    min-height: 340px;
  }
}

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

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .container,
  .container-fluid {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-inner {
    padding: 105px 0 56px;
  }

  .hero-left {
    padding-left: 0;
  }

  .dot-nav,
  .progress-bar-wrap,
  .slide-counter {
    display: none !important;
  }

  .slide-tag {
    font-size: .68rem;
    letter-spacing: 2px;
  }

  .slide-title {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .slide-desc {
    font-size: .95rem;
    margin-bottom: 24px;
  }

  .hero-right {
    margin-top: 26px;
  }

  .service-card,
  .service-card.slick-current {
    height: 220px;
    border-radius: 14px;
  }

  .slick-slide {
    height: 250px !important;
  }

  .arrow-nav {
    justify-content: flex-start;
    padding-left: 0;
  }

  .block,
  .difference-of-us-item,
  .info-card,
  .contact-form-box,
  .testimonial-card,
  .process-card {
    border-radius: 18px;
  }

  .about-content .row > div,
  .footer .row > div,
  .contact-wrap .row > div {
    width: 100%;
  }

  .about_small_right {
    margin-top: 24px;
  }

  .help_box,
  .manager_box {
    width: 100%;
  }

  .portfolio_filter ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding-left: 0;
  }

  .portfolio_filter li {
    width: 100%;
    text-align: center;
    margin: 0 !important;
  }

  .portfolio-grid {
    grid-template-columns: 1fr !important;
  }

  .portfolio-item.wide {
    grid-column: auto !important;
  }

  .stats-wrap {
    padding: 64px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-wrap {
    padding-top: 64px;
  }

  .testimonial-section {
    padding: 0 18px;
  }

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

  .testimonial-text {
    font-size: 1rem;
    line-height: 1.75;
  }

  .client-row {
    align-items: center;
  }

  .client-name {
    font-size: 1.2rem;
  }

  .inner-hero {
    min-height: 300px;
  }

  .inner-hero .container {
    padding-top: 54px;
  }

  .inner-hero h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .service-nav-pills {
    display: none;
  }

  .service-detail-row {
    scroll-margin-top: 84px;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
    right: 18px;
    bottom: 18px;
  }

  .scroll-top {
    right: 18px;
    bottom: 84px;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand img {
    width: 112px;
    max-width: 112px;
  }

  .hero-inner {
    padding: 60px 20px 20px 20px;
  }

  .slide-title {
    line-height: 1.12;
  }

  .btn,
  .cf-btn,
  .gallery_btn,
  .gallery_link {
    min-height: 44px;
  }

  .service-card,
  .service-card.slick-current {
    height: 205px;
  }

  .card-label {
    padding: 34px 14px 14px;
  }

  .card-label h5 {
    font-size: .98rem;
  }

  .section-title,
  .about-content,
  .content {
    text-align: left;
  }

  .portfolio_filter ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-content h4 {
    font-size: 1.15rem;
  }

  .gallery-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .client-row {
    gap: 14px;
  }

  .client-photo {
    width: 64px;
    height: 64px;
  }

  .dots {
    justify-content: flex-start;
  }

  .contact-wrap .text-center {
    text-align: left !important;
  }

  .footer .col-6 {
    width: 100%;
  }
}

/* =========================================================
   About Home Section Responsive - Modern Partner Model
========================================================= */

@media (max-width: 1199.98px) {
  .about-content-modern h1 {
    font-size: 38px;
  }

  .partner-company-box {
    grid-template-columns: 150px 1fr;
  }
}

@media (max-width: 991.98px) {
  .about-home-section {
    padding: 70px 0;
  }

  .about-image-modern {
    min-height: 390px;
    max-width: 620px;
    margin: 0 auto 20px;
  }

  .about-content-modern {
    text-align: left;
  }

  .about-content-modern h1 {
    font-size: 36px;
  }
}

@media (max-width: 767.98px) {
  .about-home-section {
    padding: 55px 0;
  }

  .about-image-modern {
    min-height: 350px;
  }

  .about-image-modern .about_img_1 {
    height: 310px;
  }

  .about-image-modern .about_img_2 {
    right: 18px;
    bottom: 8px;
    width: 54%;
    height: 135px;
    border-width: 5px;
  }

  .about-content-modern h1 {
    font-size: 32px;
  }

  .about-main-text {
    font-size: 15px;
  }

  .partner-company-box {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .partner-logo-wrap {
    min-height: 76px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-contact-person {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 575.98px) {
  .about-home-section {
    padding: 45px 0;
  }

  .about-image-modern {
    min-height: 300px;
  }

  .about-image-modern .about_img_1 {
    height: 260px;
    border-radius: 16px;
  }

  .about-image-modern .about_img_2 {
    width: 58%;
    height: 110px;
    right: 12px;
    bottom: 4px;
    border-radius: 14px;
  }

  .about-content-modern h1 {
    font-size: 28px;
    line-height: 1.22;
  }

  .partner-content h5 {
    font-size: 16px;
  }

  .partner-content p {
    font-size: 13px;
  }

  .about-action-panel {
    padding: 16px;
    border-radius: 18px;
  }

  .about-feature-item {
    min-height: auto;
    justify-content: flex-start;
    font-size: 14px;
  }

  .about-help-mini,
  .about-manager-mini {
    padding: 16px;
  }

  .about-help-mini i,
  .about-manager-mini i {
    width: 40px;
    min-width: 40px;
    height: 40px;
  }

  .about-help-mini strong,
  .about-manager-mini strong,
  .about-help-mini a,
  .about-manager-mini span {
    font-size: 14px;
  }
}




/* =========================================================
   About Section Responsive - Final Clean Model
   Paste this at the bottom of responsive.css
========================================================= */

@media (max-width: 1199.98px) {
  .about-content-modern h1 {
    font-size: 36px !important;
  }

  .partner-company-box {
    grid-template-columns: 140px 1fr !important;
  }

  .about-action-panel-clean {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .about-action-card {
    padding: 18px !important;
  }
}

@media (max-width: 991.98px) {
  .about-home-section {
    padding: 70px 0 !important;
  }

  .about-image-modern {
    max-width: 620px !important;
    min-height: 390px !important;
    margin: 0 auto 20px !important;
  }

  .about-content-modern h1 {
    font-size: 34px !important;
  }

  .about-action-panel-clean {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin-top: 34px !important;
  }
}

@media (max-width: 767.98px) {
  .about-home-section {
    padding: 58px 0 !important;
  }

  .about-image-modern {
    min-height: 335px !important;
  }

  .about-image-modern .about_img_1 {
    height: 300px !important;
  }

  .about-image-modern .about_img_2 {
    right: 16px !important;
    bottom: 4px !important;
    width: 55% !important;
    height: 125px !important;
    border-width: 5px !important;
  }

  .about-content-modern h1 {
    font-size: 30px !important;
  }

  .about-main-text {
    font-size: 15px !important;
  }

  .partner-company-box {
    grid-template-columns: 1fr !important;
    padding: 18px !important;
  }

  .partner-logo-wrap {
    min-height: 76px !important;
  }

  .about-readmore-wrap .btn {
    width: 100% !important;
    text-align: center !important;
  }

  .about-action-panel-clean {
    grid-template-columns: 1fr !important;
    padding: 20px !important;
    gap: 14px !important;
    border-radius: 20px !important;
  }

  .about-action-card {
    min-height: auto !important;
    padding: 16px !important;
  }
}

@media (max-width: 575.98px) {
  .about-home-section {
    padding: 46px 0 !important;
  }

  .about-image-modern {
    min-height: 285px !important;
  }

  .about-image-modern .about_img_1 {
    height: 245px !important;
    border-radius: 16px !important;
  }

  .about-image-modern .about_img_2 {
    width: 58% !important;
    height: 102px !important;
    right: 10px !important;
    bottom: 0 !important;
    border-radius: 14px !important;
  }

  .about-content-modern h1 {
    font-size: 27px !important;
    line-height: 1.22 !important;
  }

  .partner-content h5 {
    font-size: 16px !important;
  }

  .partner-content p {
    font-size: 13px !important;
  }

  .about-action-panel-clean {
    margin-top: 28px !important;
    padding: 16px !important;
  }

  .about-action-card {
    align-items: flex-start !important;
    gap: 13px !important;
  }

  .about-action-card i {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    font-size: 15px !important;
  }

  .about-action-card-white i {
    width: auto !important;
    min-width: 20px !important;
    height: auto !important;
    font-size: 16px !important;
  }

  .about-action-card strong {
    font-size: 14px !important;
  }

  .about-action-card a,
  .about-action-card span {
    font-size: 13px !important;
  }
}