/* ==========================================================
   SysGuard — Responsive Stylesheet
   Desktop large → laptop → tablet (landscape/portrait) → mobile
   ========================================================== */

/* ---------- Large desktop (≥1801px) ---------- */
@media (min-width: 1801px) {
  .hero_section { min-height: 820px; }
  .hero_title { font-size: 74px; }
  .section_title { font-size: 50px; }
  .service_card, .service_img { min-height: 360px; }
  .protect_banner { min-height: 680px; }
  p { font-size: 1rem; }
}

/* ---------- 1500 – 1800 ---------- */
@media (min-width: 1500px) and (max-width: 1800px) {
  .hero_title { font-size: 68px; }
  .section_title { font-size: 48px; }
}

/* ---------- Laptop 1200 – 1499 ---------- */
@media (max-width: 1499px) {
  .main_menu .nav-link { padding: 9px 16px !important; }
  .header_right { gap: 16px; }
  .section_title { font-size: 42px; }
  .hero_title { font-size: 58px; }
  .stat_item { padding: 0 26px; }
}

@media (max-width: 1359px) {
  .brand_logo img { width: 165px; }
  .main_menu .nav-link { padding: 8px 13px !important; font-size: 13.5px; }
  .header_call { display: none; }
  .section_title { font-size: 38px; }
  .service_card { padding: 28px 24px; }
  .service_icon { top: 24px; left: 24px; }
  .service_card .title { font-size: 20px; }
  .stat_highlight { padding: 30px; }
  .stat_highlight .stat_number { font-size: 56px; }
  .stat_number { font-size: 42px; }
  .stat_item { padding: 0 22px; }
  .stat_item i { font-size: 42px; }
  .cta_box .section_title { font-size: 34px; }
}

/* ---------- Small laptop / tablet landscape 992 – 1199 ---------- */
@media (max-width: 1199px) {
  .section_space { padding: 90px 0; }
  .hero_section { min-height: 620px; }
  .hero_title { font-size: 50px; }
  .main_menu .nav-link { padding: 8px 11px !important; font-size: 13px; }
  .header_right .btn_red { padding: 10px 16px; font-size: 13px; }
  .service_card, .service_img { min-height: 320px; }
  .service_card p { font-size: 14px; }
  .why_feature { width: 92px; }
  .why_feature i { font-size: 30px; }
  .stat_list { padding: 30px 10px; }
  .stat_item { padding: 0 16px; }
  .stat_highlight p { font-size: 14px; }
  .stat_item .title { font-size: 14px; }
  .protect_banner { min-height: 540px; }
  .cta_box { padding: 44px; }
}


@media (min-width:1200px ){
    .service_sidebar {
    position: sticky;
    top: 100px; /* set this to your fixed header height plus a little gap */
  }
}
/* ---------- Tablet (< 992px): mobile navigation ---------- */
@media (max-width: 991px) {
  .newsletter_form {
    max-width: 500px;
  }
  :root { --header-h: 76px; }
  .site_header.is_sticky { height: 70px; }
  .menu_toggler { display: flex; }
  .brand_logo img, .is_sticky .brand_logo img { width: 160px; }

  .site_header .navbar-collapse {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 20px 40px rgba(11,42,94,.12);
    border-top: 1px solid var(--border);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site_header .navbar-collapse > * { padding-left: 24px; padding-right: 24px; }
  .main_menu {
    background: transparent; border-radius: 0;
    padding-top: 12px; padding-bottom: 6px;
    align-items: stretch; gap: 0;
  }
  .main_menu .nav-link {
    padding: 13px 0 !important; border-radius: 0; font-size: 15px;
    border-bottom: 1px solid var(--border); justify-content: space-between;
  }
  .main_menu .nav-link:hover,
  .main_menu .nav-link.active { background: transparent; box-shadow: none; }

  .sub_menu {
    position: static; transform: none !important;
    opacity: 1; visibility: visible;
    box-shadow: none; border-top: 0; border-radius: 0;
    min-width: 0; padding: 4px 0 4px 12px; display: none;
    background: #FAFBFC;
    margin-left: 0px;
  }
  .sub_menu::before { display: none; }
  .sub_menu li { opacity: 1; transform: none; }
  .sub_menu a { white-space: normal; }

  .header_right { padding-top: 16px; padding-bottom: 22px; flex-wrap: wrap; }
  .header_call { display: flex; }

  .section_space { padding: 80px 0; }
  .section_title { font-size: 34px; }
  .section_head { margin-bottom: 40px; }

  .hero_section { min-height: 560px; padding: 100px 0; }
  .hero_title { font-size: 44px; }

  .why_section { padding: 70px 0; }
  .rotate_badge { width: 120px; height: 120px; }
  .rotate_arrow { width: 52px; height: 52px; font-size: 22px; }
  .why_media { margin-left: 56px; }

  .approach_img img { min-height: 360px; }
  .head_text { margin-top: 14px; }

  .stats_bar { flex-direction: column; margin-bottom: -80px; }
  .stat_highlight { width: 100%; }
  .stat_list { padding: 30px 10px; }
  .protect_banner { padding-top: 160px; min-height: 520px; }

  .cta_box { padding: 40px 34px; }
  .cta_img img { height: 280px; }
  .footer_main .col-md-12 { margin-top: 10px; }
}

/* ---------- Tablet portrait / large phones landscape (< 768px) ---------- */
@media (max-width: 767px) {
  .service_icon {
    position: relative;
    top: 0px;
    left: 0px;
    margin-bottom: 10px;
  }
  .why_feature img {
    width: 40px;
    height: auto;
    margin-bottom: 2px;
  }
  .tag_pill {
    font-size: .75rem;
  }
  .hd-support-btn {
    width: 100%;
    justify-content: center;
  }
  .header_right .btn_red {
    width: 100%;
  }
  body { font-size: 15px; }
  .footer_col-block {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section_space { padding: 30px 0; }
  .why_section {
    padding: 30px 0px;
  }
  .section_title { font-size: 30px; }
  .hero_title { font-size: 38px; }
  .hero_section { min-height: 520px; padding: 90px 0; }
  .hero_text p { font-size: 15px; }

  .service_card, .service_img { min-height: 300px; }

  .why_head .section_title { font-size: 24px; }
  .rotate_badge { width: 100px; height: 100px; }
  .rotate_arrow { width: 44px; height: 44px; font-size: 19px; }

  .stat_list { flex-wrap: wrap; padding: 26px 0; }
  .stat_item { flex: 0 0 33.333%; padding: 0 16px; }
  .stat_item i { font-size: 34px; margin-bottom: 12px; }
  .stat_number { font-size: 36px; }
  .stat_highlight .stat_number { font-size: 40px; }

  .protect_banner { padding: 130px 0 50px; min-height: 480px; }
  .play_btn { margin: 26px 0 0; width: 64px; height: 64px; font-size: 28px; }

  .testimonial_slider .slick-dots { text-align: center; }

  .cta_box .section_title { font-size:20px; }
  .footer_bottom { justify-content: center; text-align: center; }
}

/* ---------- Mobile (< 576px) ---------- */
@media (max-width: 575px) {
  .full_wrap { width: 96%; border-radius: 12px; }
  .section_title { font-size: 27px; }
  .hero_title { font-size: 31px; }
  .hero_title br { display: none; }
  .btn_group { flex-direction: column; align-items: stretch; }
  .btn_group a { width: 100%; }
  .hero_section .btn_group { align-items: center; }
  .hero_section .btn_group a { width: auto; min-width: 260px; }
  .btn_red, .btn_outline_white { padding: 13px 22px; font-size: 14px; }

  /* keep text-card / image alternating on single column */
  .service_grid > div:nth-child(5) { order: 6; }
  .service_grid > div:nth-child(6) { order: 5; }
  .service_grid > div:nth-child(7) { order: 8; }
  .service_grid > div:nth-child(8) { order: 7; }
  .service_grid > div:nth-child(-n+4) { order: 0; }
  .service_card { min-height: 240px; }
  .service_img { min-height: 200px; }

  .why_head .col-9 { width: 100%; }
  .why_head .col-3 { width: 100%; text-align: left !important; margin-top: 18px; }
  .why_media { margin-left: 0; }
  .why_media > img { min-height: 300px; }
  .why_overlay { left: 0; top: 50%; right: 14%; }
  .why_play { width: 40px; font-size: 22px; }
  .why_features { flex: 1; justify-content: space-around; padding: 12px 4px; }
  .why_feature { width: auto; flex: 1; padding: 0 3px; }
  .why_feature i { font-size: 24px; margin-bottom: 4px; }
  .why_feature .title { font-size: 10px; }
  .why_box { flex-direction: column; align-items: flex-start; padding: 22px; gap: 14px; }

  .approach_steps { padding-right: 20px; }
  .approach_btn .title { font-size: 17px; }
  .approach_img img { min-height: 260px; }

  .stats_bar { margin-bottom: -60px; }
  .stat_highlight { padding: 26px 24px; }
  .stat_list { padding: 10px 0; }
  .stat_item {
    flex: 0 0 100%; display: grid; grid-template-columns: 100%; column-gap: 14px; align-items: center;
    border-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding: 18px 24px;
  }
  .stat_item:first-child { border-top: 0; }
  .stat_item i { grid-row: span 2; margin: 0; font-size: 38px; }
  .stat_number { margin-bottom: 4px; font-size: 32px; }

  .protect_banner { padding: 110px 0 40px; min-height: 440px; }

  .cta_box { padding: 32px 22px; margin-bottom: 50px; }
  .cta_img img { height: 220px; }
  .site_footer { padding-top: 50px; }
  .footer_bottom { flex-direction: column; align-items: center; }
  .back_top { right: 14px; bottom: 120px; width: 40px; height: 40px; }
  .why_box_icon img {
    width: 40px;
  }
}

/* ---------- Very small phones (< 375px) ---------- */
@media (max-width: 374px) {
  .hero_title { font-size: 27px; }
  .section_title { font-size: 24px; }
  .brand_logo img, .is_sticky .brand_logo img { width: 140px; }
  .hero_section .btn_group a { min-width: 0; width: 100%; }
}

/* ---------- Phones & tablets in landscape (short viewports) ---------- */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 991px) {
  :root { --header-h: 66px; }
  .site_header.is_sticky { height: 62px; }
  .hero_section { min-height: 0; padding: 70px 0; }
  .hero_title { font-size: 32px; }
  .hero_title br { display: inline; }
  .protect_banner { min-height: 0; }
  .site_header .navbar-collapse { max-height: calc(100vh - 66px); }
}

/* ---------- Tablet landscape (iPad etc.) ---------- */
@media (min-width: 992px) and (max-width: 1199px) and (orientation: landscape) {
  .hero_section { min-height: 600px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero_bg, .rotate_text, .play_btn::before, .play_btn::after, .why_play i { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   INNER PAGES — responsive
   ========================================================== */
@media (min-width: 1801px) {
  .inner_hero { min-height: 380px; }
  .inner_title { font-size: 60px; }
}
@media (max-width: 1359px) {
  .inner_title { font-size: 48px; }
  .navy_box, .contact_aside { padding: 44px 36px; }
  .contact_form_box { padding: 44px 38px; }
  .exp_badge { right: -10px; }
}
@media (max-width: 1199px) {
  .inner_hero { min-height: 300px; padding: 70px 0; }
  .inner_title { font-size: 44px; }
  .icon_card { padding: 30px 24px; }
  .service_main h2.section_title { font-size: 34px; }
  .sidebar_widget { padding: 22px; }
  .check_list.two_col { grid-template-columns: 1fr; }
}

@media (min-width:992px) and (max-width:1199px){
  .brand_logo img {
    width: 135px !important;
  }
  .hd-support-btn {
    padding: 11px 8px;
    font-size: .85rem;
  }
  .contact_card .card_icon {
    width: 46px;
    height: 46px;
  }
}
@media (max-width: 991px) {
  .inner_hero { min-height: 260px; padding: 60px 0; }
  .inner_hero::after { width: 70%; opacity: 0.25; }
  .inner_title { font-size: 40px; margin-bottom: 18px; }

  .about_media { margin-bottom: 20px; }
  .about_media .main_img { min-height: 380px; }
  .exp_badge { right: 16px; }

  .faq_sidebar, .service_sidebar { position: static; }
  .faq_nav { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .faq_nav::-webkit-scrollbar { display: none; }
  .faq_nav a { white-space: nowrap; flex-shrink: 0; }
  .faq_sidebar .help_card { display: none; }

  .contact_cards { margin-top: -60px; }
  .inner_hero.has_overlap { padding-bottom: 100px; }
  .contact_aside, .contact_form_box { padding: 40px 32px; }
  .split_img img { min-height: 340px; }
  .service_main h3.sub_title { margin-top: 38px; }
  .service_sidebar { margin-top: 20px; }
  .map_wrap iframe { height: 360px; }
}
@media (max-width: 767px) {
  .inner_hero { min-height: 230px; padding: 50px 0; }
  .inner_title { font-size: 34px; }
  .section_head .section_title br { display: none; }
  .breadcrumb_nav li { font-size: 13px; }
  .faq_group_title { font-size: 22px; }
  .faq_btn { padding: 18px; }
  .faq_btn .title { font-size: 16px; }
  .faq_body { padding: 0 18px 18px; }
  .contact_aside .section_title,
  .contact_form_box .section_title,
  .service_main h2.section_title { font-size: 24px; }
  .service_feature_img img { height: 320px; }
  .service_main h3.sub_title { font-size: 24px; }
  .stat_item {
    text-align: center;
  }
  .stat_item img  {
    margin: 0px auto 15px;
    width: 55px;
    height: auto;
  }
  .service_feature_img {
    margin-bottom: 10px;
  }
  .contact_card .card_icon {
    width: 42px;
    height: 42px;
  }
}
@media (max-width: 575px) {
  .inner_hero { min-height: 210px; padding: 44px 15px; }
  .inner_title { font-size: 29px; }
  .breadcrumb_nav ol { padding: 7px 16px; }
  .about_media { padding: 0 0 30px 20px; }
  .about_media .main_img { min-height: 300px; }
  .exp_badge { padding: 14px 18px; top: 16px; }
  .exp_badge .stat_number { font-size: 34px; }
  .exp_badge .stat_number .counter {
    font-size: 25px;
  }
  .exp_badge span { font-size: 11px; }
  .navy_box, .contact_aside, .contact_form_box { padding: 32px 22px; }
  .contact_card { padding: 24px 20px; }
  .contact_cards { margin-top: -40px; }
  .inner_hero.has_overlap { padding-bottom: 80px; }
  .service_feature_img img { height: 260px; }
  .service_feature_img .img_tag { left: 12px; bottom: 12px; right: 12px; padding: 12px 14px; }
  .faq_item { margin-bottom: 10px; }
  .map_wrap iframe { height: 300px; }
  .footer_main {
    padding-bottom: 10px;
  }
}
@media (max-width: 374px) {
  .inner_title { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .exp_badge { animation: none !important; }
}
