/* ==========================================================================
   Responsive Adaptations & Media Queries
   ========================================================================== */

/* --------------------------------------------------------------------------
   Laptops & Medium Desktops (max-width: 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .dt_navbar-mainmenu {
    gap: 1.25rem;
  }

  .dt_navbar-mainmenu > li > a {
    font-size: 0.95rem;
    padding: 1.5rem 0.15rem;
  }

  .site--logo-wrapper {
    padding: 0.75rem 1.25rem 0.75rem 0.75rem;
  }

  .site--logo-link {
    max-width: 180px;
  }

  .phone-cta-wrapper {
    padding: 0.45rem 1.15rem 0.45rem 0.85rem;
    gap: 0.5rem;
  }

  .phone-cta-link {
    padding: 0.35rem 0.75rem;
    font-size: 0.84375rem;
  }

  .services-cards-grid,
  .why-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .slider-heading {
    font-size: 2.75rem;
  }
}

/* --------------------------------------------------------------------------
   Tablets & Small Desktops (max-width: 991px)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  /* Hide Desktop Header Navbar, Show Mobile Bar */
  .dt_navbar-wrapper {
    display: none !important;
  }

  /* Responsive Top Information Bar on Tablets */
  .dt_header-topbar {
    width: 100%;
    min-height: 38px;
  }

  .topbar-inner {
    min-height: 38px;
    padding: 0.35rem clamp(0.75rem, 2.5vw, 1.75rem);
  }

  .dt_mobilenav-bar {
    display: flex;
  }

  /* Slider adjustments */
  .dt_slider-container,
  .dt_slider-track {
    min-height: 540px;
  }

  .dt_slider-content-wrapper {
    padding: 4.5rem 0;
  }

  .slider-heading {
    font-size: 2.25rem;
  }

  .slider-description {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  .slider-arrow-btn {
    display: none; /* Rely on dots and touch/drag on tablets & mobile */
  }

  /* Info highlight cards bar */
  .dt_service_one {
    margin-top: 0;
    padding-top: 3rem;
  }

  .info-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Protect Section - Balanced Two-Column Layout on Wider Tablets (851px - 991px) */
  .dt_protect .dt-row {
    flex-direction: row;
    align-items: center;
  }

  .dt_protect .dt-col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .protect-image-block {
    min-height: auto;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .protect-image-wrap {
    max-width: 360px;
  }

  .protect-shield-img {
    max-width: 360px;
  }

  .protect-badge-box {
    width: 115px;
    right: -10px;
    bottom: 1.25rem;
  }

  .protect-content-box {
    padding-left: 1.25rem;
  }

  .protect-content-box .dt_siteheading .title {
    font-size: 1.95rem;
    line-height: 1.3;
    margin-bottom: 0.85rem;
  }

  .protect-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
    margin-top: 1.5rem;
  }

  .protect-badge-item {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }

  .protect-badge-title {
    font-size: 0.875rem;
  }

  /* Services Split Header & Grid */
  .services-siteheading {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .services-siteheading .siteheading-left,
  .services-siteheading .siteheading-right {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .services-siteheading .title {
    font-size: 2.1rem;
  }

  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }

  .service-card-item:nth-child(n) {
    margin-top: 0;
  }

  .why-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .dt_footer_main {
    padding: 2.25rem 0 1.5rem;
  }

  .footer-split-layout {
    flex-direction: column-reverse;
    gap: 1.25rem;
  }

  .footer-main-col {
    padding-right: 0;
    width: 100%;
  }

  .footer-vertical-divider {
    display: none;
  }

  .footer-logo-col {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    justify-content: center;
    gap: 1.15rem;
  }

  .footer-brand-logo--large {
    max-width: 230px;
    margin: 0 auto;
  }

  .footer-brand-logo--large img {
    max-height: 95px;
    width: 100%;
    height: auto;
  }

  .footer-talk-btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.8125rem;
  }

  .footer-services-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.75rem;
  }

  .footer-services-list li a {
    font-size: 0.9375rem;
  }

  .footer-horizontal-divider {
    margin: 1.25rem 0 1.25rem;
  }

  .footer-contact-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .dt_footer_bottom {
    padding: 0.95rem 0;
  }
}

/* --------------------------------------------------------------------------
   Narrower Tablets & Portrait Tablets (max-width: 850px)
   -------------------------------------------------------------------------- */
@media (max-width: 850px) {
  /* Protect Section - Stacked Layout for Narrower Tablets */
  .dt_protect .dt-row {
    flex-direction: column;
    align-items: center;
  }

  .dt_protect .dt-col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .protect-image-block {
    min-height: auto;
    margin-bottom: 1.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .protect-image-wrap {
    max-width: 330px;
  }

  .protect-shield-img {
    max-width: 330px;
  }

  .protect-badge-box {
    width: 105px;
    right: -5px;
    bottom: 1rem;
    border-width: 3px;
  }

  .protect-content-box {
    padding-left: 0;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    text-align: left;
  }

  .protect-content-box .dt_siteheading {
    margin-bottom: 1.25rem;
  }

  .protect-content-box .dt_siteheading .title {
    font-size: 1.85rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }

  .protect-content-box .dt_siteheading .description {
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
  }

  .protect-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
    margin-top: 1.25rem;
  }

  .protect-badge-item {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }

  .protect-badge-title {
    font-size: 0.875rem;
  }
}

/* --------------------------------------------------------------------------
   Mobile Landscape & Large Phones (max-width: 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  html {
    font-size: 15px;
  }

  /* Responsive Top Information Bar on Mobile */
  .topbar-inner {
    padding: 0.35rem 0.75rem;
    min-height: 36px;
    gap: 0.5rem;
  }

  .topbar-announcement {
    gap: 0.5rem;
    max-width: 100%;
  }

  .announcement-tag {
    padding: 0.25rem 0.65rem;
    font-size: 0.725rem;
  }

  .news-rail-container {
    max-width: 100%;
    flex: 1 1 auto;
  }

  .news-rail-item {
    font-size: 0.78125rem;
  }

  .news-rail-bullet {
    margin: 0 0.85rem;
    font-size: 0.75rem;
  }

  .topbar-contact-item {
    font-size: 0.78125rem;
    gap: 0.45rem;
  }

  .topbar-divider {
    height: 16px;
  }

  .topbar-social.widget_social li a {
    width: 1.875rem;
    height: 1.875rem;
    font-size: 0.75rem;
  }

  .dt-py-default {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .dt_siteheading .title,
  .services-siteheading .title {
    font-size: 1.85rem;
  }

  .dt_siteheading,
  .services-siteheading {
    margin-bottom: 2rem;
  }

  /* Slider adjustments */
  .dt_slider-container,
  .dt_slider-track {
    min-height: 480px;
  }

  .slider-heading {
    font-size: 1.75rem;
  }

  .slider-description {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .info-cards-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .info-card-item {
    padding: 1.5rem;
  }

  /* Protect section on mobile */
  .protect-image-block {
    margin-bottom: 1.5rem;
  }

  .protect-image-wrap {
    max-width: 290px;
  }

  .protect-shield-img {
    max-width: 290px;
  }

  .protect-badge-box {
    width: 95px;
    right: 0;
    bottom: 0.75rem;
    border-width: 3px;
  }

  .protect-content-box .dt_siteheading .title {
    font-size: 1.65rem;
  }

  .protect-badges-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Services & Why Choose Us section */
  .services-cards-grid,
  .why-cards-grid {
    grid-template-columns: 1fr;
  }

  .service-card-image {
    height: 200px;
  }

  /* Footer */
  .dt_footer_main {
    padding: 1.75rem 0 1.25rem;
  }

  .footer-split-layout {
    gap: 1rem;
  }

  .footer-logo-col {
    gap: 1rem;
  }

  .footer-brand-logo--large {
    max-width: 200px;
    margin: 0 auto;
  }

  .footer-brand-logo--large img {
    max-height: 85px;
    width: 100%;
    height: auto;
  }

  .footer-talk-btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.8125rem;
  }

  .footer-services-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
  }

  .footer-services-list li a {
    font-size: 0.875rem;
  }

  .footer-horizontal-divider {
    margin: 1rem 0 1rem;
  }

  .footer-contact-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .footer-contact-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
  }

  .contact-block-icon {
    font-size: 1.15rem;
    margin-top: 0;
  }

  .contact-block-title {
    font-size: 0.875rem;
    margin: 0 0 0.2rem 0;
  }

  .contact-block-text {
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .dt_footer_bottom {
    padding: 0.85rem 0;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.65rem;
  }

  .footer-social-icons li a {
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 5px;
    font-size: 0.8125rem;
  }

  .copyright-content,
  .copyright-content p {
    text-align: center;
    font-size: 0.78125rem;
    margin: 0;
  }
}

/* --------------------------------------------------------------------------
   Small Mobile Phones (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .topbar-location {
    display: none;
  }

  .topbar-divider:nth-of-type(2) {
    display: none;
  }

  .dt_mobilenav-bar {
    padding: 0.75rem 1rem;
  }

  .dt_mobilenav-logo img {
    max-height: 38px;
  }

  .slider-heading {
    font-size: 1.5rem;
  }

  .dt-btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
  }

  .protect-image-wrap {
    max-width: 240px;
  }

  .protect-shield-img {
    max-width: 240px;
  }

  .protect-badge-box {
    width: 80px;
    right: 0;
    bottom: 0.5rem;
    border-width: 2px;
  }

  .protect-content-box .dt_siteheading .title {
    font-size: 1.45rem;
  }

  /* Footer Small Mobile */
  .dt_footer_main {
    padding: 1.5rem 0 1rem;
  }

  .footer-brand-logo--large {
    max-width: 175px;
    margin: 0 auto;
  }

  .footer-brand-logo--large img {
    max-height: 75px;
    width: 100%;
    height: auto;
  }

  .footer-services-list {
    gap: 0.4rem 1rem;
  }

  .footer-services-list li a {
    font-size: 0.8125rem;
  }

  .footer-contact-row {
    gap: 0.85rem;
  }

  .footer-talk-btn {
    padding: 0.55rem 1.25rem;
    font-size: 0.78125rem;
  }
}

