@media (max-width: 1399px) {
  .form_bx .discount .discount_txt h5 {
    font-size: 18px;
  }

  .discount_txt h3 {
    font-size: 30px;
  }

  h2.shedule_txt {
    font-size: 24px;
  }

  .hero_section h1 {
    font-size: 45px;
    line-height: 50px;
    margin-bottom: 20px;
  }

  .hero_section p {
    font-size: 18px;
    line-height: 28px;
  }
  .marquee__content {
    font-size: 35px;
  }

  .portfolio p {
    font-size: 16px;
  }

  .portfolio h2 {
    font-size: 45px;
  }

  .cta_bx h2 {
    font-size: 50px;
  }

  .content_txt h2 {
    font-size: 45px;
  }
  .process h2 {
    font-size: 45px;
  }
  .process_bx h4 {
    font-size: 24px;
  }

  .cta2 h4 {
    font-size: 18px;
  }

  .what_offer h2 {
    font-size: 50px;
  }

  .what_offer p {
    font-size: 16px;
  }

  .offer_bx h4 {
    font-size: 26px;
  }

  .offer_bx {
    padding: 30px;
  }

  .contact_sect h2 {
    font-size: 45px;
  }

  .contact_sect p {
    font-size: 16px;
  }

  .faq_sect h2 {
    font-size: 50px;
  }

  .faq_sect p {
    font-size: 16px;
  }

  .faq_sect .accordion-button {
    font-size: 20px;
  }

  .support_bx h5 {
    font-size: 28px;
  }

  .faq_sect .support_bx p {
    font-size: 14px;
  }

  .testimonials h2 {
    font-size: 45px;
  }

  .testimonials p {
    font-size: 16px;
  }
}

@media (max-width: 1199px) {
  .top_header a {
    font-size: 14px;
  }

  nav ul.navbar-nav {
    gap: 0 15px;
  }

  .form_bx .discount img {
    width: 100px;
  }

  .form_bx .discount .discount_txt h5 {
    font-size: 14px;
  }

  .discount_txt h3 {
    font-size: 24px;
  }

  h2.shedule_txt {
    font-size: 20px;
  }

  .form_bx input.form-control,
  .form_bx textarea {
    padding: 10px;
  }

  .form_bx .services_checks {
    justify-content: start;
    gap: 5px 20px;
  }

  .form_bx button.btn_dflt {
    font-size: 16px !important;
  }
  .marquee__content {
    font-size: 30px;
  }
  .content_txt h2 {
    font-size: 40px;
  }

  .count_bx h3 {
    font-size: 45px;
  }

  .count_bx h3 span {
    font-size: 45px;
  }

  .count_bx h3 strong {
    font-size: 45px;
  }

  .count_bx p {
    font-size: 14px;
  }

  .content_txt h2 {
    font-size: 35px;
  }

  .content_bx p {
    font-size: 15px;
  }

  .cta_bx h2 {
    font-size: 45px;
  }

  .portfolio h2 {
    font-size: 40px;
  }

  .portfolio_head ul .nav-link {
    font-size: 20px;
  }

  .cta2 h4 {
    font-size: 16px;
  }

  .cta2_bx a span {
    font-size: 24px;
  }

  .cta2_bx a {
    font-size: 16px;
  }

  .what_offer h2 {
    font-size: 45px;
  }

  .offer_bx h4 {
    font-size: 24px;
  }

  .offer_bx .title_txt .img_bx strong {
    font-size: 35px;
  }

  .contact_sect h2 {
    font-size: 40px;
  }

  .cont_form_bx input,
  .cont_form_bx select,
  .cont_form_bx textarea {
    padding: 15px;
  }

  .cont_form_bx label {
    font-size: 18px;
  }

  .faq_sect h2 {
    font-size: 45px;
  }

  .chat_bx {
    padding: 30px;
  }

  .support_bx {
    padding: 20px;
  }
  .testimonials h2 {
    font-size: 40px;
  }

  .rating_bx {
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .package_bx h3 {
    font-size: 26px;
}
}

@media (max-width: 991px) {
  .top_header {
    display: none;
  }
  nav.navbar button.navbar-toggler {
    background: var(--secondary-color);
  }

  nav.navbar button.navbar-toggler span {
    filter: invert(1);
    opacity: 1;
  }

  .offcanvas-header img {
    width: 180px;
  }

  .offcanvas-header button {
    filter: invert(1);
    opacity: 1;
  }

  .offcanvas-body ul li {
    margin-bottom: 15px;
  }

  .offcanvas-body ul {
    margin-bottom: 20px;
  }
  .hero_section h1 {
    text-align: center;
  }

  .hero_section p {
    text-align: center;
  }

  .hero_content {
    text-align: center;
  }
  .form_bx .discount img {
    width: 200px;
  }

  .form_bx .discount .discount_txt h5 {
    font-size: 24px;
  }

  .discount_txt h3 {
    font-size: 38px;
  }

  h2.shedule_txt {
    font-size: 30px;
  }

  .form_bx .services_checks {
    justify-content: center;
    gap: 10px 35px;
  }

  .form_bx button.btn_dflt {
    font-size: 20px !important;
  }

  .content_sect1 {
    text-align: center;
  }

  .counter {
    justify-content: center;
    gap: 50px;
  }

  .count_bx h3 {
    justify-content: center;
  }

  .content_sect2 {
    text-align: center;
  }

  .content_bx {
    margin-top: 80px;
  }

  .cta_bx h2 {
    font-size: 35px;
  }

  .cta_bx p {
    padding: 0 30px;
  }

  .portfolio h2 {
    font-size: 35px;
  }

  .portfolio_head ul .nav-link {
    font-size: 18px;
  }

  .portfolio_head ul {
    gap: 10px;
    position: relative;
  }

  .portfolio_head ul:after {
    height: 1px;
    content: "";
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary-color);
  }
  .process h2 {
    font-size: 40px;
  }

  .cta2 h4 {
    font-size: 20px;
  }

  .cta2_bx a {
    font-size: 20px;
  }

  .cta2_bx a span {
    font-size: 30px;
  }

  .cta2 {
    text-align: center;
  }

  .content_txt h2 {
    font-size: 40px;
  }

  .what_offer h2 {
    font-size: 40px;
  }

  .contact_sect {
    text-align: center;
  }

  .cont_form_bx .form-group {
    text-align: start;
  }
  .faq_sect h2 {
    font-size: 40px;
  }

  .faq_sect .support_bx p {
    font-size: 24px;
  }

  .support_bx h5 {
    font-size: 45px;
  }

  .support_bx .ico_bx {
    width: 100px;
    height: 100px;
  }

  .support_bx a {
    justify-content: center;
  }

  .rating_bx h3 + img {
    width: 150px;
    margin-bottom: 10px;
  }

  .rating_bx {
    align-items: center;
  }

  .rating_bx p {
    font-size: 24px;
    padding: 0 30px;
  }
  .logo_desc {
    text-align: center;
  }

  .socials_links {
    justify-content: center;
  }
}
@media (max-width: 767px) {
  .hero_section h1 {
    font-size: 35px;
    line-height: 40px;
  }
  .hero_section p {
    font-size: 16px;
    line-height: 24px;
  }
  .marquee__content {
    font-size: 25px;
  }
  .portfolio p {
    font-size: 14px;
  }
  .portfolio h2 {
    font-size: 30px;
  }
  .cta_bx h2 {
    font-size: 30px;
  }
  .content_bx {
    flex-direction: column-reverse;
    margin-top: 30px;
    padding: 30px;
  }

  .content_bx .txt {
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
  }

  .content_bx:before {
    width: 100%;
  }

  .content_bx a {
    margin: auto;
  }

  .cta_bx {
    padding: 90px 20px;
  }

  .cta_bx p {
    padding: 0;
  }

  .content_txt h2 {
    font-size: 35px;
  }
  .packages .title_txt h2{
    font-size: 35px;
  }
  .packages .title_txt p{
    font-size: 16px;
  }
  .floating_wrap{
    display: none;
  }
}

@media (max-width: 575px) {
  .form_bx .discount img {
    width: 120px;
  }

  .form_bx .discount .discount_txt h5 {
    font-size: 18px;
  }

  .discount_txt h3 {
    font-size: 28px;
  }

  h2.shedule_txt {
    font-size: 25px;
  }

  .form_bx .services_checks {
    gap: 15px 10px;
    align-items: center;
    justify-content: space-between;
  }

  .form_bx button.btn_dflt {
    width: 100%;
  }
  .marquee__content {
    font-size: 20px;
  }
  .portfolio_head ul .nav-link {
    font-size: 14px;
  }

  .faq_sect .support_bx p {
    font-size: 18px;
  }

  .support_bx h5 {
    font-size: 35px;
  }

  .support_bx {
    margin-top: 30px;
  }

  .testimonials p {
    font-size: 14px;
  }

  .rev_bx .title_bx {
    flex-direction: column;
    align-items: start;
    margin-top: 30px;
  }
}

@media (max-width: 375px) {
  .hero_section h1 {
    font-size: 28px;
    line-height: 32px;
  }

  .form_bx .discount img {
    width: 120px;
  }

  .form_bx .discount {
    justify-content: center;
    text-align: center;
    position: relative;
    flex-direction: column;
    gap: 10px;
  }

  .form_bx .discount .discount_txt h5 {
    font-size: 20px;
  }

  .discount_txt h3 {
    font-size: 32px;
  }

  h2.shedule_txt {
    font-size: 20px;
  }

  .content_txt h2 {
    font-size: 30px;
  }

  .counter {
    flex-wrap: wrap;
  }

  .content_bx img {
    width: 100%;
    padding: 0;
  }

  .cta_bx h2 {
    font-size: 25px;
  }

  .cta_bx p {
    font-size: 14px;
  }

  section.cta_sect a.btn_red {
    margin: 0 !important;
  }

  .portfolio_head ul {
    gap: 5px;
  }

  .portfolio_head ul .nav-link {
    font-size: 12px;
    padding: 8px;
  }

  .cta2 h4 {
    font-size: 18px;
  }

  .content_txt p {
    font-size: 16px;
  }

  .what_offer p {
    font-size: 14px;
  }

  .offer_bx {
    padding: 20px;
  }

  .contact_sect h2 {
    font-size: 30px;
  }

  .faq_sect h2 {
    font-size: 30px;
  }

  .faq_sect p {
    font-size: 14px;
  }

  .faq_sect .accordion-button {
    font-size: 16px;
  }

  .faq_sect .accordion-item p {
    font-size: 14px;
  }

  .faq_sect .accordion-item .accordion-body {
    padding: 0 20px 20px;
  }

  .faq_sect .support_bx p {
    font-size: 14px;
  }

  .support_bx h5 {
    font-size: 30px;
  }

  .testimonials h2 {
    font-size: 30px;
  }

  .rev_bx {
    padding: 30px;
  }

  .rev_bx .title_txt h6 {
    font-size: 22px;
  }

  .rev_slider .slick-prev,
  .rev_slider .slick-next {
    width: 35px;
    height: 35px;
  }

  .rev_slider .slick-next {
    bottom: 10px;
  }

  .rev_slider .slick-prev {
    bottom: 10px;
    right: 85px;
  }
}


/* Desktop Dropdown Animation */
@media (min-width: 992px) {
  .navbar .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    display: block; /* only desktop */
    transition: all 0.3s ease;
  }

  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
  }
}

/* Mobile (Offcanvas) Dropdown – reset to Bootstrap default */
@media (max-width: 991px) {
  .offcanvas .dropdown-menu {
    display: none; /* Bootstrap default */
    opacity: 1;
    visibility: visible;
  }

  .offcanvas .dropdown-toggle.show + .dropdown-menu {
    display: block; /* When toggled */
  }
}