/*
===========================================
MOBILE RESPONSIVE CSS FOR HYGIENE CARE
===========================================
*/

/* Base Mobile Styles */
@media screen and (max-width: 991px) {
  /* Container padding adjustment */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Typography adjustments */
  h1 {
    font-size: 32px !important;
    line-height: 1.3 !important;
  }

  h2 {
    font-size: 28px !important;
    line-height: 1.3 !important;
  }

  h3 {
    font-size: 22px !important;
    line-height: 1.4 !important;
  }

  h4 {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }

  p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
}

/* Header Responsive */
@media screen and (max-width: 991px) {
  .vl-header-area3 .container {
    max-width: 100%;
  }

  .vl-logo img {
    max-width: 100px !important;
  }

  .vl-header3-btns {
    display: none !important;
  }

  .vl-header-action-item {
    display: block !important;
  }

  .vl-main-menu {
    display: none !important;
  }
}

/* Hero Section Responsive */
@media screen and (max-width: 991px) {
  .hero3 {
    padding: 60px 0 40px !important;
  }

  .hero3 .col-lg-7,
  .hero3 .col-lg-5 {
    width: 100%;
  }

  .hero3 .col-lg-5 {
    margin-top: 40px;
  }

  .main-heading3 h1 {
    font-size: 30px !important;
    line-height: 1.3 !important;
  }

  .main-heading3 p {
    font-size: 15px !important;
    margin-top: 20px !important;
  }

  .main-heading3 .buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .main-heading3 .buttons a {
    width: 100%;
    text-align: center;
    padding: 12px 20px !important;
    font-size: 14px !important;
  }

  .hero3-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .review-area-all {
    margin-top: 30px !important;
  }

  .review-area-all .col-md-6,
  .review-area-all .col-md-3 {
    width: 100%;
    margin-bottom: 20px;
  }

  .award-area {
    justify-content: center;
    text-align: center;
  }

  .review-on-image,
  .review-stars-area {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero3-images {
    text-align: center;
  }

  .hero3-images .main-image img {
    max-width: 100%;
    height: auto;
  }
}

/* About Section Responsive */
@media screen and (max-width: 991px) {
  .about3 {
    padding: 60px 0 !important;
  }

  .about3 .col-lg-6 {
    width: 100%;
  }

  .about3-images {
    margin-bottom: 40px;
    text-align: center;
    height: auto !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative !important;
  }

  .about3-images .image1,
  .about3-images .image2 {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100%;
  }

  .about3-images .shape1 {
    display: none;
  }

  .about3-images img {
    max-width: 100%;
    height: auto;
    width: 100%;
  }

  .about3-counters .row {
    justify-content: center !important;
  }

  .about3-counters .col-md-4,
  .about3-counters .col-6 {
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .single-counter {
    padding: 15px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 0 auto !important;
    text-align: center;
  }

  .single-counter h3 {
    font-size: 32px !important;
    position: relative;
    z-index: 1;
  }

  .single-counter p {
    position: relative;
    z-index: 1;
    text-align: center !important;
  }

  .single-counter h2 {
    text-align: center !important;
  }

  .about3-counters .shape-bg1 {
    height: 50px !important;
    width: 60px !important;
    top: -10px !important;
    left: -10px !important;
    opacity: 0.7;
  }

  .ml-40 {
    margin-left: 0 !important;
  }
}

/* Choose Section Responsive */
@media screen and (max-width: 991px) {
  .choose3 {
    padding: 60px 0 !important;
  }

  .choose3 .col-lg-7,
  .choose3 .col-lg-4 {
    width: 100%;
  }

  .choose3-box {
    margin: 20px 0 !important;
    padding: 20px;
  }

  .choose3-box .content {
    text-align: left !important;
  }

  .ml-30,
  .mr-30,
  .ml-20,
  .mr-20 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .choose3-main-images {
    margin: 40px 0;
    text-align: center;
  }

  .choose3-main-images img {
    max-width: 80%;
    height: auto;
  }

  .num {
    width: 50px;
    height: 50px;
    font-size: 18px !important;
  }
}

/* Work Section Responsive */
@media screen and (max-width: 991px) {
  .work3 {
    padding: 60px 0 !important;
  }

  .work3 .col-lg-5,
  .work3 .col-lg-7 {
    width: 100%;
  }

  .work3 .col-lg-7 {
    margin-top: 40px;
  }

  .work3 .image img {
    max-width: 100%;
    height: auto;
  }

  .work3-box {
    padding: 25px;
    margin-bottom: 20px;
  }

  .work3 .col-lg-4,
  .work3 .col-md-6 {
    width: 100%;
  }
}

/* Testimonial Section Responsive */
@media screen and (max-width: 991px) {
  .tes3 {
    padding: 60px 0 !important;
  }

  .tes3 .col-lg-6,
  .tes3 .col-lg-4,
  .tes3 .col-lg-8 {
    width: 100%;
  }

  .tes3-left-side-images {
    margin-bottom: 40px;
    text-align: center;
  }

  .tes3-left-side-images img {
    max-width: 80%;
    height: auto;
  }

  .tes3-single-slider-items {
    padding: 25px;
  }

  .tes3-single-slider-items p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  .tes3-slider-all {
    padding: 20px !important;
    padding-bottom: 70px !important;
    position: relative;
  }

  .tes3 .slick-dots {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    margin-top: 25px !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px;
  }

  .tes3 .slick-dots li {
    margin: 0 !important;
  }

  .tes3 .slick-dots button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .tes3 .slick-dots li.slick-active button {
    width: 14px !important;
    height: 14px !important;
  }

  /* Ensure dots are rounded on all devices */
  .tes3-slider .slick-dots button,
  .tes3-slider .slick-dots li button,
  .tes3 .slick-dots button,
  .tes3 .slick-dots li button {
    border-radius: 50% !important;
    width: 12px !important;
    height: 12px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .tes3-slider .slick-dots li.slick-active button,
  .tes3 .slick-dots li.slick-active button {
    border-radius: 50% !important;
    width: 14px !important;
    height: 14px !important;
  }

  .author-area {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .author-thumb {
    margin-bottom: 15px;
  }
}

/* CTA Section Responsive */
@media screen and (max-width: 991px) {
  .cta3 {
    padding: 60px 0 !important;
  }

  .cta3 .col-lg-6 {
    width: 100%;
  }

  .cta3 h2 {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }

  .cta3 .button {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .cta3 .button a {
    width: 100%;
    text-align: center;
    margin-left: 0 !important;
  }

  .cta3-images {
    margin-top: 40px;
    text-align: center;
  }

  .cta3-images img {
    max-width: 100%;
    height: auto;
  }
}

/* Footer Responsive */
@media screen and (max-width: 991px) {
  .vl-footer-area3 {
    padding: 40px 0 20px !important;
  }

  .vl-footer-widget-black1 {
    margin-bottom: 40px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  .vl-footer-logo img {
    max-width: 150px !important;
  }

  .vl-footer-social3 {
    justify-content: flex-start !important;
  }

  .vl-footer-social3 a {
    margin-right: 15px !important;
  }

  /* Footer columns */
  .vl-footer-area3 .col-xl-4,
  .vl-footer-area3 .col-lg-4,
  .vl-footer-area3 .col-lg-2,
  .vl-footer-area3 .col-lg-3,
  .vl-footer-area3 .col-md-6,
  .vl-footer-area3 .col-md-4,
  .vl-footer-area3 .col-md-8 {
    width: 100% !important;
    padding: 0 15px;
  }

  .vl-footer-area3 .col-6 {
    width: 50% !important;
  }

  /* Footer widget headings */
  .vl-footer-widget-black1 h4 {
    font-size: 20px !important;
    margin-bottom: 20px !important;
  }

  /* Footer lists */
  .vl-footer-list ul li {
    margin-bottom: 12px !important;
  }

  .vl-footer-list ul li a {
    font-size: 15px !important;
  }

  /* Contact items in footer */
  .vl-footer-contact3 .single-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px !important;
    flex-wrap: nowrap;
  }

  .vl-footer-contact3 .single-contact-item .icon {
    flex-shrink: 0;
    margin-right: 15px;
    width: 40px;
  }

  .vl-footer-contact3 .single-contact-item .icon img {
    max-width: 30px;
  }

  .vl-footer-contact3 .single-contact-item .text {
    flex: 1;
    word-wrap: break-word;
  }

  .vl-footer-contact3 .single-contact-item .text a {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  /* Footer text */
  .vl-footer-text p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  /* Copyright section */
  .vl-copyright3 {
    flex-direction: column !important;
    text-align: center !important;
    padding: 20px 0 !important;
  }

  .vl-copyright3 .col-lg-6 {
    width: 100% !important;
    margin-bottom: 15px;
    text-align: center !important;
  }

  .copyright-text {
    text-align: center !important;
    width: 100%;
    display: block !important;
  }

  .copyright-text.left-side,
  .copyright-text.right-side {
    text-align: center !important;
  }

  .copyright-text.left-side.text-lg-start,
  .copyright-text.right-side.text-lg-end {
    text-align: center !important;
  }

  .copyright-text p {
    font-size: 13px !important;
    text-align: center !important;
    width: 100%;
  }

  .copyright-text p a {
    display: inline !important;
  }

  .ml-70,
  .ml-50,
  .mr-50 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Mobile Menu Responsive */
@media screen and (max-width: 991px) {
  .vl-offcanvas {
    width: 280px;
  }

  .vl-offcanvas-wrapper {
    padding: 30px 20px;
  }

  .vl-offcanvas-logo img {
    max-width: 120px;
  }

  .vl-offcanvas-menu nav ul li a {
    font-size: 16px;
    padding: 12px 0;
  }
}

/* Tablet Specific (768px - 991px) */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .hero3 .buttons {
    flex-direction: row !important;
    flex-wrap: wrap;
  }

  .hero3 .buttons a {
    width: auto !important;
    flex: 1;
  }

  .about3-counters .col-md-4 {
    width: 33.33%;
    padding: 0 10px;
  }

  .about3-counters .single-counter {
    padding: 15px !important;
    margin: 0 !important;
  }

  .work3 .col-md-6 {
    width: 50%;
  }

  .choose3 .col-lg-4 {
    width: 50%;
  }
}

/* Small Mobile (max-width: 575px) */
@media screen and (max-width: 575px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  h1 {
    font-size: 26px !important;
  }

  h2 {
    font-size: 24px !important;
  }

  h3 {
    font-size: 20px !important;
  }

  h4 {
    font-size: 16px !important;
  }

  .hero3 {
    padding: 40px 0 30px !important;
  }

  .sp {
    padding: 40px 0 !important;
  }

  .about3-counters .col-6 {
    width: 50%;
    padding: 0 8px;
  }

  .single-counter {
    padding: 12px !important;
    margin: 0 !important;
  }

  .single-counter h3 {
    font-size: 28px !important;
  }

  .single-counter p {
    font-size: 13px !important;
  }

  .about3-counters .shape-bg1 {
    height: 45px !important;
    width: 50px !important;
    top: -8px !important;
    left: -8px !important;
  }

  .vl-offcanvas {
    width: 260px;
  }

  .theme-btn5,
  .theme-btn6 {
    font-size: 13px !important;
    padding: 10px 18px !important;
  }

  .sub-title {
    font-size: 13px !important;
  }

  .work3-box,
  .choose3-box,
  .tes3-single-slider-items {
    padding: 20px;
  }

  /* Footer columns on small mobile */
  .vl-footer-area3 .col-6 {
    width: 100% !important;
  }

  .vl-footer-widget-black1 h4 {
    font-size: 18px !important;
  }

  .vl-footer-list ul li a {
    font-size: 14px !important;
  }

  .vl-footer-contact3 .single-contact-item .text a {
    font-size: 13px !important;
  }

  /* CTA buttons stacked */
  .cta3 .button {
    gap: 12px !important;
  }

  .cta3 .button a {
    font-size: 14px !important;
    padding: 12px 20px !important;
  }

  /* Testimonial dots on small mobile */
  .tes3-slider-all {
    padding: 15px !important;
    padding-bottom: 60px !important;
  }

  .tes3 .slick-dots {
    margin-top: 20px !important;
    gap: 6px !important;
  }

  .tes3 .slick-dots button {
    width: 10px !important;
    height: 10px !important;
  }

  .tes3 .slick-dots li.slick-active button {
    width: 12px !important;
    height: 12px !important;
  }

  /* Ensure dots remain rounded on small mobile */
  .tes3-slider .slick-dots button,
  .tes3-slider .slick-dots li button,
  .tes3 .slick-dots button,
  .tes3 .slick-dots li button {
    border-radius: 50% !important;
    width: 10px !important;
    height: 10px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .tes3-slider .slick-dots li.slick-active button,
  .tes3 .slick-dots li.slick-active button {
    border-radius: 50% !important;
    width: 12px !important;
    height: 12px !important;
  }
}

/* Extra Small Mobile (max-width: 420px) */
@media screen and (max-width: 420px) {
  h1 {
    font-size: 24px !important;
  }

  h2 {
    font-size: 22px !important;
  }

  .vl-logo img {
    max-width: 80px !important;
  }

  .hero3-call-btn {
    font-size: 13px !important;
  }

  .award-content h6 {
    font-size: 14px !important;
  }

  .single-counter h3 {
    font-size: 24px !important;
  }

  .num {
    width: 45px;
    height: 45px;
    font-size: 16px !important;
  }
}

/* Landscape Mobile Orientation */
@media screen and (max-width: 991px) and (orientation: landscape) {
  .hero3,
  .about3,
  .choose3,
  .work3,
  .tes3,
  .cta3 {
    padding: 50px 0 !important;
  }

  .hero3-images,
  .about3-images,
  .choose3-main-images {
    max-width: 60%;
    margin: 20px auto;
  }
}

/* Fix for overflow issues */
@media screen and (max-width: 991px) {
  body {
    overflow-x: hidden !important;
  }

  .row {
    margin-left: 0;
    margin-right: 0;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .space100 {
    height: 50px !important;
  }

  .space20 {
    height: 10px !important;
  }

  /* Ensure buttons don't break layout */
  .buttons a,
  .button a {
    display: inline-block;
    white-space: normal;
    word-wrap: break-word;
  }
}

/* Touch-friendly elements */
@media screen and (max-width: 991px) {
  a,
  button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .vl-offcanvas-toggle {
    padding: 15px;
  }
}

/* Improve readability on small screens */
@media screen and (max-width: 991px) {
  .white-heading h2 {
    color: #fff !important;
  }

  .gray2 {
    font-size: 15px !important;
  }

  .text-18 {
    font-size: 16px !important;
  }

  .text-24 {
    font-size: 20px !important;
  }
}

/* Spacing adjustments for mobile */
@media screen and (max-width: 991px) {
  .mt-60 {
    margin-top: 30px !important;
  }

  .mt-30 {
    margin-top: 20px !important;
  }

  .mt-16 {
    margin-top: 12px !important;
  }

  .mb-90 {
    margin-bottom: 40px !important;
  }

  .mb-50 {
    margin-bottom: 30px !important;
  }

  .mb-40 {
    margin-bottom: 25px !important;
  }

  .mb-20 {
    margin-bottom: 15px !important;
  }
}

/* Fix for specific mobile issues */
@media screen and (max-width: 991px) {
  /* Ensure header stays at top */
  .vl-header-area3 {
    position: relative;
    z-index: 999;
  }

  /* Fix WhatsApp button on mobile */
  .whatsapp-float {
    bottom: 80px !important;
    right: 20px !important;
  }

  /* Ensure progress wrap is visible */
  .progress-wrap {
    width: 45px !important;
    height: 45px !important;
    bottom: 20px !important;
    right: 20px !important;
  }

  /* Mobile-friendly forms */
  input,
  textarea,
  select {
    font-size: 16px !important;
    padding: 12px !important;
  }
}

/*
===========================================
CONTACT PAGE SPECIFIC RESPONSIVE STYLES
===========================================
*/

/* Inner Hero Section - Contact Page */
@media screen and (max-width: 991px) {
  .inner-hero {
    padding: 60px 0 40px !important;
  }

  .inner-hero h1 {
    font-size: 32px !important;
    line-height: 1.3 !important;
  }

  .breadcrumbs-pages {
    margin-top: 15px !important;
  }

  .breadcrumbs-pages ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .breadcrumbs-pages ul li {
    font-size: 14px !important;
  }
}

/* Contact Info Boxes */
@media screen and (max-width: 991px) {
  .contact2 {
    padding: 50px 0 !important;
  }

  .contact-page-box {
    margin-bottom: 20px !important;
    padding: 30px 20px !important;
  }

  .contact-page-box .icon {
    width: 60px !important;
    height: 60px !important;
    margin: 0 auto 20px !important;
  }

  .contact-page-box .icon img {
    max-width: 30px !important;
  }

  .contact-page-box .content {
    text-align: center !important;
  }

  .contact-page-box .content h3 {
    font-size: 18px !important;
    margin-bottom: 12px !important;
  }

  .contact-page-box .content a {
    font-size: 14px !important;
    line-height: 1.6 !important;
    display: block !important;
    word-break: break-word !important;
  }
}

/* Contact Form Section */
@media screen and (max-width: 991px) {
  .contact2-form {
    margin-bottom: 40px;
  }

  .contact2-form .sub-title {
    font-size: 13px !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .contact2-form .sub-title img {
    max-width: 20px !important;
  }

  .contact2-form h2 {
    font-size: 26px !important;
    line-height: 1.3 !important;
    margin-top: 15px !important;
  }

  .contact2-form p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-top: 12px !important;
  }

  .contact2-form .single-input {
    margin-bottom: 15px !important;
  }

  .contact2-form .single-input input,
  .contact2-form .single-input textarea {
    font-size: 16px !important;
    padding: 14px 16px !important;
    width: 100% !important;
    border-radius: 8px !important;
  }

  .contact2-form .single-input textarea {
    min-height: 120px !important;
  }

  .contact2-form .single-input .nice-select {
    font-size: 16px !important;
    padding: 14px 16px !important;
    width: 100% !important;
    border-radius: 8px !important;
  }

  .contact2-form .nice-select .list {
    max-height: 200px !important;
    overflow-y: auto !important;
  }

  .contact2-form .button .theme-btn5 {
    width: 100% !important;
    padding: 14px 30px !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  #formMessage {
    font-size: 14px !important;
    padding: 12px !important;
    margin-top: 12px !important;
    line-height: 1.5 !important;
  }
}

/* Contact Image */
@media screen and (max-width: 991px) {
  .contact2-image {
    margin-top: 30px !important;
    margin-left: 0 !important;
    text-align: center;
  }

  .contact2-image img {
    max-width: 80%;
    height: auto;
    margin: 0 auto;
  }
}

/* Contact Map */
@media screen and (max-width: 991px) {
  .contact-map-page {
    margin-top: 40px !important;
    height: 350px !important;
  }

  .contact-map-page iframe {
    width: 100% !important;
    height: 350px !important;
  }
}

/* Mobile Offcanvas Menu - Contact Section */
@media screen and (max-width: 991px) {
  .vl-offcanvas-info h4 {
    font-size: 18px !important;
    margin-bottom: 20px !important;
  }

  .vl-offcanvas-info .single-contact {
    margin-bottom: 15px !important;
  }

  .vl-offcanvas-info .single-contact .text a {
    font-size: 14px !important;
    line-height: 1.5 !important;
    padding: 8px 0 !important;
  }

  .vl-offcanvas-social h4 {
    font-size: 18px !important;
    margin-top: 25px !important;
  }

  .vl-copyright-social2 a {
    margin-right: 15px !important;
    font-size: 18px !important;
  }
}

/* Small Mobile - Contact Page */
@media screen and (max-width: 575px) {
  .inner-hero {
    padding: 50px 0 30px !important;
  }

  .inner-hero h1 {
    font-size: 28px !important;
  }

  .breadcrumbs-pages ul li {
    font-size: 13px !important;
  }

  .contact-page-box {
    padding: 25px 15px !important;
  }

  .contact-page-box .icon {
    width: 55px !important;
    height: 55px !important;
  }

  .contact-page-box .content h3 {
    font-size: 17px !important;
  }

  .contact-page-box .content a {
    font-size: 13px !important;
  }

  .contact2-form h2 {
    font-size: 24px !important;
  }

  .contact2-form p {
    font-size: 14px !important;
  }

  .contact2-form .single-input input,
  .contact2-form .single-input textarea,
  .contact2-form .single-input .nice-select {
    font-size: 15px !important;
    padding: 12px 14px !important;
  }

  .contact2-form .button .theme-btn5 {
    padding: 12px 25px !important;
    font-size: 15px !important;
  }

  .contact2-image img {
    max-width: 90%;
  }

  .contact-map-page {
    height: 300px !important;
  }

  .contact-map-page iframe {
    height: 300px !important;
  }
}

/* Extra Small Mobile - Contact Page */
@media screen and (max-width: 420px) {
  .inner-hero h1 {
    font-size: 24px !important;
  }

  .contact-page-box {
    padding: 20px 12px !important;
  }

  .contact-page-box .icon {
    width: 50px !important;
    height: 50px !important;
  }

  .contact-page-box .content h3 {
    font-size: 16px !important;
  }

  .contact-page-box .content a {
    font-size: 12px !important;
  }

  .contact2-form h2 {
    font-size: 22px !important;
  }

  .contact2-form .button .theme-btn5 {
    font-size: 14px !important;
    padding: 11px 20px !important;
  }
}

/* CTA Section on Contact Page */
@media screen and (max-width: 991px) {
  .cta3 h2 {
    font-size: 24px !important;
    line-height: 1.4 !important;
  }

  .cta3 p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .cta3 .button a {
    font-size: 14px !important;
    padding: 12px 24px !important;
    white-space: nowrap;
  }

  .cta3 .button a.ml-3 {
    margin-left: 0 !important;
  }
}

/* Fix for row spacing on contact page */
@media screen and (max-width: 991px) {
  .contact2 .row {
    margin-left: -10px;
    margin-right: -10px;
  }

  .contact2 .row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Improve touch targets for mobile */
@media screen and (max-width: 991px) {
  .contact-page-box {
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .contact-page-box a {
    padding: 5px 0;
  }
}

/* Landscape orientation fixes for contact page */
@media screen and (max-width: 991px) and (orientation: landscape) {
  .inner-hero {
    padding: 40px 0 30px !important;
  }

  .contact2 {
    padding: 40px 0 !important;
  }

  .contact-map-page {
    height: 280px !important;
  }

  .contact-map-page iframe {
    height: 280px !important;
  }
}

/* Accessibility improvements for mobile */
@media screen and (max-width: 991px) {
  .contact2-form input:focus,
  .contact2-form textarea:focus,
  .contact2-form select:focus {
    outline: 2px solid #c03819 !important;
    outline-offset: 2px;
  }

  .contact-page-box:focus-within {
    outline: 2px solid #c03819;
    outline-offset: 2px;
  }
}

/* Fix form columns on mobile */
@media screen and (max-width: 991px) {
  .contact2-form .row .col-md-6,
  .contact2-form .row .col-md-12 {
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Proper spacing for contact section elements */
@media screen and (max-width: 991px) {
  .contact2 .col-lg-4,
  .contact2 .col-md-6 {
    width: 100% !important;
    margin-bottom: 20px;
  }

  .contact2 .col-lg-6 {
    width: 100% !important;
  }

  .heading2 {
    padding: 0 10px;
  }
}

/*
===========================================
ABOUT PAGE SPECIFIC RESPONSIVE STYLES
===========================================
*/

/* About Page Inner Hero */
@media screen and (max-width: 991px) {
  .about-page .inner-hero {
    padding: 60px 0 40px !important;
  }

  .about-page .inner-hero h1 {
    font-size: 32px !important;
    line-height: 1.3 !important;
  }
}

/* About Content Section */
@media screen and (max-width: 991px) {
  .about-content-section {
    padding: 50px 0 !important;
  }

  .about-content-section .col-lg-6 {
    width: 100% !important;
  }

  .about-content-section .heading2 h2 {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }

  .about-content-section .heading2 p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  .about-content-section .space30 {
    height: 20px !important;
  }

  .about-content-section ul li {
    font-size: 15px !important;
    margin-bottom: 12px !important;
    padding-left: 30px !important;
  }

  .about-content-section ul li i {
    font-size: 18px !important;
    left: 0 !important;
  }
}

/* Mission Vision Values Section */
@media screen and (max-width: 991px) {
  .mission-vision-section {
    padding: 50px 0 !important;
  }

  .mission-vision-box {
    padding: 30px 20px !important;
    margin-bottom: 20px !important;
  }

  .mission-vision-box .icon {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 20px !important;
  }

  .mission-vision-box h3 {
    font-size: 20px !important;
    margin-bottom: 15px !important;
  }

  .mission-vision-box p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
}

/* Team Section */
@media screen and (max-width: 991px) {
  .team-section {
    padding: 50px 0 !important;
  }

  .team-card {
    margin-bottom: 30px !important;
  }

  .team-card .image img {
    width: 100% !important;
    height: auto !important;
  }

  .team-card .content h4 {
    font-size: 18px !important;
  }

  .team-card .content p {
    font-size: 14px !important;
  }
}

/* Small Mobile - About Page */
@media screen and (max-width: 575px) {
  .about-page .inner-hero h1 {
    font-size: 28px !important;
  }

  .about-content-section .heading2 h2 {
    font-size: 24px !important;
  }

  .mission-vision-box {
    padding: 25px 15px !important;
  }

  .mission-vision-box .icon {
    width: 55px !important;
    height: 55px !important;
  }

  .mission-vision-box h3 {
    font-size: 18px !important;
  }
}

/*
===========================================
PRODUCTS PAGE SPECIFIC RESPONSIVE STYLES
===========================================
*/

/* Products Page Hero */
@media screen and (max-width: 991px) {
  .products-page .inner-hero {
    padding: 60px 0 40px !important;
  }

  .products-page .inner-hero h1 {
    font-size: 32px !important;
    line-height: 1.3 !important;
  }
}

/* Products Grid Section */
@media screen and (max-width: 991px) {
  .products-section {
    padding: 50px 0 !important;
  }

  .product-category-heading {
    font-size: 28px !important;
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
  }

  .product-card {
    margin-bottom: 30px !important;
    padding: 20px !important;
  }

  .product-card .image {
    margin-bottom: 20px !important;
  }

  .product-card .image img {
    max-width: 100% !important;
    height: auto !important;
  }

  .product-card .content h3 {
    font-size: 20px !important;
    margin-bottom: 12px !important;
  }

  .product-card .content p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .product-card .features {
    margin-top: 15px !important;
  }

  .product-card .features li {
    font-size: 13px !important;
    padding: 8px 0 !important;
  }

  .product-card .features li i {
    font-size: 14px !important;
    margin-right: 8px !important;
  }

  .product-card .button a {
    font-size: 14px !important;
    padding: 10px 25px !important;
  }
}

/* Product Features Grid */
@media screen and (max-width: 991px) {
  .product-features {
    padding: 50px 0 !important;
  }

  .feature-box {
    padding: 25px 15px !important;
    margin-bottom: 20px !important;
    text-align: center !important;
  }

  .feature-box .icon {
    width: 60px !important;
    height: 60px !important;
    margin: 0 auto 15px !important;
  }

  .feature-box h4 {
    font-size: 17px !important;
    margin-bottom: 10px !important;
  }

  .feature-box p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
}

/* Product Specifications Table */
@media screen and (max-width: 991px) {
  .specifications-table {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .specifications-table table {
    min-width: 300px !important;
    font-size: 14px !important;
  }

  .specifications-table th,
  .specifications-table td {
    padding: 10px 12px !important;
    font-size: 13px !important;
  }
}

/* Product Gallery/Slider */
@media screen and (max-width: 991px) {
  .product-gallery {
    margin-top: 30px !important;
  }

  .product-gallery .swiper-slide img {
    max-width: 100% !important;
    height: auto !important;
  }

  .product-gallery .swiper-button-next,
  .product-gallery .swiper-button-prev {
    width: 35px !important;
    height: 35px !important;
  }

  .product-gallery .swiper-pagination {
    bottom: 10px !important;
  }
}

/* Small Mobile - Products Page */
@media screen and (max-width: 575px) {
  .products-page .inner-hero h1 {
    font-size: 28px !important;
  }

  .product-category-heading {
    font-size: 24px !important;
  }

  .product-card {
    padding: 15px !important;
  }

  .product-card .content h3 {
    font-size: 18px !important;
  }

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

  .feature-box {
    padding: 20px 12px !important;
  }

  .feature-box .icon {
    width: 50px !important;
    height: 50px !important;
  }

  .feature-box h4 {
    font-size: 16px !important;
  }
}

/* Extra Small Mobile - Products Page */
@media screen and (max-width: 420px) {
  .products-page .inner-hero h1 {
    font-size: 24px !important;
  }

  .product-category-heading {
    font-size: 22px !important;
  }

  .product-card .content h3 {
    font-size: 17px !important;
  }

  .product-card .button a {
    font-size: 13px !important;
    padding: 9px 20px !important;
  }
}

/*
===========================================
SERVICES PAGE SPECIFIC RESPONSIVE STYLES
===========================================
*/

/* Services Page Hero */
@media screen and (max-width: 991px) {
  .services-page .inner-hero {
    padding: 60px 0 40px !important;
  }

  .services-page .inner-hero h1 {
    font-size: 32px !important;
    line-height: 1.3 !important;
  }
}

/* Services Grid Section */
@media screen and (max-width: 991px) {
  .services-section {
    padding: 50px 0 !important;
  }

  .service-box {
    margin-bottom: 30px !important;
    padding: 30px 20px !important;
  }

  .service-box .icon {
    width: 70px !important;
    height: 70px !important;
    margin-bottom: 20px !important;
  }

  .service-box .icon img {
    max-width: 35px !important;
  }

  .service-box h3 {
    font-size: 20px !important;
    margin-bottom: 15px !important;
    line-height: 1.3 !important;
  }

  .service-box p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
  }

  .service-box ul {
    margin-top: 15px !important;
  }

  .service-box ul li {
    font-size: 13px !important;
    padding: 8px 0 !important;
    padding-left: 25px !important;
  }

  .service-box ul li i {
    font-size: 14px !important;
    left: 0 !important;
  }

  .service-box .button a {
    font-size: 14px !important;
    padding: 10px 25px !important;
    margin-top: 15px !important;
  }
}

/* Custom Branding Section */
@media screen and (max-width: 991px) {
  .custom-branding-section {
    padding: 50px 0 !important;
  }

  .custom-branding-section .col-lg-6 {
    width: 100% !important;
  }

  .custom-branding-section .heading2 h2 {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }

  .custom-branding-section .heading2 p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  .branding-features {
    margin-top: 30px !important;
  }

  .branding-feature-item {
    padding: 20px !important;
    margin-bottom: 15px !important;
  }

  .branding-feature-item .icon {
    width: 50px !important;
    height: 50px !important;
    margin-right: 15px !important;
  }

  .branding-feature-item h4 {
    font-size: 17px !important;
    margin-bottom: 8px !important;
  }

  .branding-feature-item p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
}

/* Bulk Order Section */
@media screen and (max-width: 991px) {
  .bulk-order-section {
    padding: 50px 0 !important;
  }

  .bulk-order-pricing {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .bulk-order-pricing table {
    min-width: 300px !important;
    font-size: 14px !important;
  }

  .bulk-order-pricing th,
  .bulk-order-pricing td {
    padding: 12px 10px !important;
    font-size: 13px !important;
  }
}

/* Service Process Steps */
@media screen and (max-width: 991px) {
  .service-process {
    padding: 50px 0 !important;
  }

  .process-step {
    margin-bottom: 30px !important;
    padding: 25px 20px !important;
    text-align: center !important;
  }

  .process-step .step-number {
    width: 60px !important;
    height: 60px !important;
    font-size: 24px !important;
    margin: 0 auto 20px !important;
  }

  .process-step h4 {
    font-size: 18px !important;
    margin-bottom: 12px !important;
  }

  .process-step p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  /* Remove connecting lines between steps on mobile */
  .process-step::after {
    display: none !important;
  }
}

/* Service FAQs */
@media screen and (max-width: 991px) {
  .service-faqs {
    padding: 50px 0 !important;
  }

  .faq-item {
    margin-bottom: 15px !important;
    padding: 20px 15px !important;
  }

  .faq-item .question {
    font-size: 16px !important;
    line-height: 1.4 !important;
    padding-right: 35px !important;
  }

  .faq-item .question i {
    font-size: 18px !important;
    right: 10px !important;
  }

  .faq-item .answer {
    font-size: 14px !important;
    line-height: 1.6 !important;
    padding-top: 12px !important;
  }
}

/* Small Mobile - Services Page */
@media screen and (max-width: 575px) {
  .services-page .inner-hero h1 {
    font-size: 28px !important;
  }

  .service-box {
    padding: 25px 15px !important;
  }

  .service-box .icon {
    width: 60px !important;
    height: 60px !important;
  }

  .service-box h3 {
    font-size: 18px !important;
  }

  .custom-branding-section .heading2 h2 {
    font-size: 24px !important;
  }

  .branding-feature-item {
    flex-direction: column !important;
    text-align: center !important;
  }

  .branding-feature-item .icon {
    margin: 0 auto 15px !important;
  }

  .process-step {
    padding: 20px 15px !important;
  }

  .process-step .step-number {
    width: 50px !important;
    height: 50px !important;
    font-size: 20px !important;
  }

  .faq-item {
    padding: 15px 12px !important;
  }

  .faq-item .question {
    font-size: 15px !important;
  }
}

/* Extra Small Mobile - Services Page */
@media screen and (max-width: 420px) {
  .services-page .inner-hero h1 {
    font-size: 24px !important;
  }

  .service-box h3 {
    font-size: 17px !important;
  }

  .service-box p,
  .service-box ul li {
    font-size: 13px !important;
  }

  .process-step h4 {
    font-size: 16px !important;
  }
}

/*
===========================================
HOME PAGE ADDITIONAL RESPONSIVE STYLES
===========================================
*/

/* Hero Statistics Section */
@media screen and (max-width: 991px) {
  .hero-stats {
    margin-top: 30px !important;
  }

  .stat-box {
    padding: 20px 15px !important;
    margin-bottom: 15px !important;
    text-align: center !important;
  }

  .stat-box h3 {
    font-size: 28px !important;
  }

  .stat-box p {
    font-size: 14px !important;
  }
}

/* Instagram Feed Section */
@media screen and (max-width: 991px) {
  .instagram-feed {
    padding: 50px 0 !important;
  }

  .instagram-item {
    margin-bottom: 15px !important;
  }

  .instagram-item img {
    width: 100% !important;
    height: auto !important;
  }
}

/* Blog/News Section */
@media screen and (max-width: 991px) {
  .blog-section {
    padding: 50px 0 !important;
  }

  .blog-card {
    margin-bottom: 30px !important;
  }

  .blog-card .image img {
    width: 100% !important;
    height: auto !important;
  }

  .blog-card .content {
    padding: 20px 15px !important;
  }

  .blog-card .content .date {
    font-size: 13px !important;
  }

  .blog-card .content h3 {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }

  .blog-card .content p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .blog-card .content .read-more {
    font-size: 14px !important;
  }
}

/* Partners/Clients Logo Section */
@media screen and (max-width: 991px) {
  .partners-section {
    padding: 50px 0 !important;
  }

  .partner-logo {
    padding: 20px !important;
    margin-bottom: 20px !important;
  }

  .partner-logo img {
    max-width: 120px !important;
    height: auto !important;
    opacity: 0.7;
  }
}

/* Video Section */
@media screen and (max-width: 991px) {
  .video-section {
    padding: 50px 0 !important;
  }

  .video-container {
    position: relative;
    padding-bottom: 56.25% !important;
    height: 0 !important;
    overflow: hidden;
  }

  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
  }
}

/* Pricing Section */
@media screen and (max-width: 991px) {
  .pricing-section {
    padding: 50px 0 !important;
  }

  .pricing-card {
    margin-bottom: 30px !important;
    padding: 30px 20px !important;
  }

  .pricing-card .price {
    font-size: 32px !important;
  }

  .pricing-card h3 {
    font-size: 22px !important;
  }

  .pricing-card ul li {
    font-size: 14px !important;
    padding: 10px 0 !important;
  }

  .pricing-card .button a {
    width: 100% !important;
    font-size: 15px !important;
  }
}

/* Small Mobile - Home Page */
@media screen and (max-width: 575px) {
  .stat-box h3 {
    font-size: 24px !important;
  }

  .blog-card .content h3 {
    font-size: 17px !important;
  }

  .partner-logo img {
    max-width: 100px !important;
  }

  .pricing-card {
    padding: 25px 15px !important;
  }

  .pricing-card .price {
    font-size: 28px !important;
  }

  .pricing-card h3 {
    font-size: 20px !important;
  }
}

/*
===========================================
COMMON ELEMENTS RESPONSIVE FIXES
===========================================
*/

/* Section Headings */
@media screen and (max-width: 991px) {
  .section-heading {
    text-align: center !important;
    margin-bottom: 40px !important;
  }

  .section-heading .sub-title {
    font-size: 13px !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .section-heading h2 {
    font-size: 28px !important;
    line-height: 1.3 !important;
    margin-top: 15px !important;
  }

  .section-heading p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-top: 12px !important;
  }
}

/* Buttons Global */
@media screen and (max-width: 991px) {
  .theme-btn1,
  .theme-btn2,
  .theme-btn3,
  .theme-btn4,
  .theme-btn5,
  .theme-btn6 {
    font-size: 14px !important;
    padding: 12px 28px !important;
    white-space: nowrap;
  }

  .button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .button-group a {
    width: 100%;
    text-align: center;
  }
}

/* Lists with Icons */
@media screen and (max-width: 991px) {
  .icon-list li {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;
    padding-left: 30px !important;
    position: relative;
  }

  .icon-list li i {
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 16px !important;
  }
}

/* Cards/Boxes Shadow and Hover */
@media screen and (max-width: 991px) {
  .card,
  .box,
  .service-card,
  .product-card,
  .feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .card:active,
  .box:active,
  .service-card:active,
  .product-card:active {
    transform: scale(0.98);
  }
}

/* Modal/Popup Responsive */
@media screen and (max-width: 991px) {
  .modal-dialog {
    margin: 20px !important;
    max-width: calc(100% - 40px) !important;
  }

  .modal-content {
    padding: 20px 15px !important;
  }

  .modal-header h3 {
    font-size: 20px !important;
  }

  .modal-body p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
}

/* Tabs Responsive */
@media screen and (max-width: 991px) {
  .nav-tabs {
    flex-wrap: wrap !important;
    border: none !important;
  }

  .nav-tabs .nav-link {
    font-size: 14px !important;
    padding: 10px 15px !important;
    margin-bottom: 10px !important;
    width: 100% !important;
    text-align: center !important;
  }

  .tab-content {
    padding: 20px 0 !important;
  }
}

/* Accordion Responsive */
@media screen and (max-width: 991px) {
  .accordion-item {
    margin-bottom: 15px !important;
  }

  .accordion-button {
    font-size: 16px !important;
    padding: 15px 20px !important;
  }

  .accordion-body {
    font-size: 14px !important;
    line-height: 1.6 !important;
    padding: 15px 20px !important;
  }
}

/* Small Mobile - Common Elements */
@media screen and (max-width: 575px) {
  .section-heading h2 {
    font-size: 24px !important;
  }

  .theme-btn1,
  .theme-btn2,
  .theme-btn3,
  .theme-btn4,
  .theme-btn5,
  .theme-btn6 {
    font-size: 13px !important;
    padding: 11px 24px !important;
  }

  .icon-list li {
    font-size: 14px !important;
  }

  .modal-dialog {
    margin: 15px !important;
    max-width: calc(100% - 30px) !important;
  }

  .nav-tabs .nav-link {
    font-size: 13px !important;
    padding: 9px 12px !important;
  }
}

/* Extra Small Mobile - Common Elements */
@media screen and (max-width: 420px) {
  .section-heading h2 {
    font-size: 22px !important;
  }

  .section-heading p {
    font-size: 14px !important;
  }
}

/*
===========================================
COPYRIGHT SECTION BACKGROUND COLOR
===========================================
*/

/* Copyright background color for all pages */
.vl-copyright3 {
  background-color: #e0998a !important;
}

/* Ensure it works with container-fluid as well */
.container-fluid .vl-copyright3,
.container .vl-copyright3 {
  background-color: #e0998a !important;
}

/* Add padding for better appearance */
@media screen and (min-width: 992px) {
  .vl-copyright3 {
    padding: 20px 0 !important;
  }
}

/* Mobile responsive for copyright section */
@media screen and (max-width: 991px) {
  .vl-copyright3 {
    background-color: #e0998a !important;
    padding: 15px 0 !important;
  }
}
