/* ========================================
   RESPONSIVE CSS - 1000% MOBILE OPTIMIZED
   ======================================== */

/* ========================================
   BREAKPOINT SYSTEM
   ======================================== */
:root {
    --mobile: 480px;
    --tablet: 768px;
    --desktop: 1024px;
    --large-desktop: 1200px;
    --xl-desktop: 1400px;
}

/* ========================================
   GLOBAL RESPONSIVE UTILITIES
   ======================================== */
@media (max-width: 1199px) {
    .custom-wide-container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 991px) {
    .custom-wide-container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 767px) {
    .custom-wide-container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .row > [class*="col-"] {
        margin-bottom: 1rem;
    }
    
    .d-flex {
        flex-direction: column;
    }
    
    .d-flex.gap-3 > * {
        margin-bottom: 0.75rem;
    }
    
    .d-flex.gap-4 > * {
        margin-bottom: 1rem;
    }
}

/* ========================================
   NAVIGATION RESPONSIVENESS
   ======================================== */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        margin: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .navbar-right-group {
        margin-top: 1rem;
        justify-content: center;
    }
    
    .phone-box {
        font-size: 0.9rem !important;
        padding: 6px 14px !important;
    }
}

@media (max-width: 767px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-toggler {
        border: 1px solid rgba(255,255,255,0.5);
        padding: 0.25rem 0.5rem;
    }
    
    .phone-box {
        font-size: 0.8rem !important;
        padding: 5px 12px !important;
    }
}

/* ========================================
   HERO SECTION RESPONSIVENESS
   ======================================== */
@media (max-width: 1199px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-bg-wrapper {
        min-height: 500px;
    }
}

@media (max-width: 991px) {
    .hero-section {
        min-height: 450px;
    }
    
    .hero-bg-wrapper {
        min-height: 450px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-content .lead {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 400px;
        padding-top: 80px;
    }
    
    .hero-bg-wrapper {
        min-height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-content .lead {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-content .btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 350px;
        padding-top: 70px;
    }
    
    .hero-bg-wrapper {
        min-height: 350px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem !important;
    }
    
    .hero-content .lead {
        font-size: 0.9rem !important;
    }
}

/* ========================================
   QUOTE FORM RESPONSIVENESS
   ======================================== */
@media (max-width: 991px) {
    .quote-form-card-modern {
        max-width: 100%;
        margin: 0 auto;
        padding: 2rem 1.5rem;
    }
    
    .form-control-modern {
        font-size: 1rem !important;
        padding: 0.75rem 1rem 0.75rem 2.5rem !important;
    }
}

@media (max-width: 767px) {
    .quote-form-card-modern {
        padding: 1.5rem 1rem;
        margin: 1rem;
    }
    
    .form-control-modern {
        font-size: 0.9rem !important;
        padding: 0.7rem 0.8rem 0.7rem 2.2rem !important;
        min-height: 44px;
    }
    
    .form-icon-modern {
        font-size: 0.9rem;
        left: 0.8rem;
    }
}

@media (max-width: 480px) {
    .quote-form-card-modern {
        padding: 1rem 0.8rem;
        margin: 0.5rem;
    }
    
    .form-control-modern {
        font-size: 0.85rem !important;
        padding: 0.6rem 0.7rem 0.6rem 2rem !important;
    }
}

/* ========================================
   SEARCH FILTER RESPONSIVENESS
   ======================================== */
@media (max-width: 991px) {
    .search-filter-section {
        margin-top: -40px;
    }
    
    .search-filter-card {
        padding: 2rem !important;
    }
    
    .form-select-lg {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 767px) {
    .search-filter-section {
        margin-top: -30px;
    }
    
    .search-filter-card {
        padding: 1.5rem !important;
        margin: 0 1rem;
    }
    
    .form-select-lg {
        font-size: 0.9rem;
        padding: 0.7rem 0.8rem;
    }
    
    .btn-go-cut {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }
}

@media (max-width: 480px) {
    .search-filter-card {
        padding: 1rem !important;
        margin: 0 0.5rem;
    }
    
    .form-select-lg {
        font-size: 0.85rem;
        padding: 0.6rem 0.7rem;
    }
}

/* ========================================
   ABOUT SECTION RESPONSIVENESS
   ======================================== */
@media (max-width: 991px) {
    .about-section {
        padding: 3rem 0;
    }
    
    .about-image-wrapper {
        min-height: 400px;
        margin-bottom: 2rem;
    }
    
    .about-content {
        margin-top: 0 !important;
        padding-left: 0 !important;
    }
    
    .about-content h2 {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 767px) {
    .about-section {
        padding: 2rem 0;
    }
    
    .about-image-wrapper {
        min-height: 300px;
    }
    
    .about-content h2 {
        font-size: 1.6rem !important;
    }
    
    .about-content .lead {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .about-image-wrapper {
        min-height: 250px;
    }
    
    .about-content h2 {
        font-size: 1.4rem !important;
    }
}

/* ========================================
   SERVICES SECTION RESPONSIVENESS
   ======================================== */
@media (max-width: 1199px) {
    .services-section-updated {
        padding: 3rem 0;
    }
}

@media (max-width: 991px) {
    .services-section-updated {
        padding: 2.5rem 0;
    }
    
    .services-section-updated h2 {
        font-size: 2.5rem !important;
    }
    
    .services-section-updated .lead {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 767px) {
    .services-section-updated {
        padding: 2rem 0;
    }
    
    .services-section-updated h2 {
        font-size: 2rem !important;
    }
    
    .services-section-updated .lead {
        font-size: 1rem !important;
    }
    
    .service-card-v2 {
        width: 100%;
        height: 400px;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .services-section-updated h2 {
        font-size: 1.8rem !important;
    }
    
    .service-card-v2 {
        height: 350px;
        margin-bottom: 1rem;
    }
}

/* ========================================
   CTA SECTION RESPONSIVENESS
   ======================================== */
@media (max-width: 991px) {
    .plumbing-problems-cta {
        padding: 3rem 0;
    }
    
    .plumbing-problems-cta h2 {
        font-size: 2.5rem !important;
    }
    
    .plumbing-problems-cta .lead {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 767px) {
    .plumbing-problems-cta {
        padding: 2rem 0;
    }
    
    .plumbing-problems-cta h2 {
        font-size: 2rem !important;
    }
    
    .plumbing-problems-cta .lead {
        font-size: 1rem !important;
    }
    
    .plumbing-problems-cta .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .plumbing-problems-cta h2 {
        font-size: 1.8rem !important;
    }
    
    .plumbing-problems-cta .btn {
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem;
    }
}

/* ========================================
   WHY CHOOSE US SECTION RESPONSIVENESS
   ======================================== */
@media (max-width: 991px) {
    .new-why-choose-us-section {
        padding: 3rem 0;
    }
    
    .new-why-choose-us-section h2 {
        font-size: 2.5rem !important;
    }
    
    .new-why-choose-us-section .lead {
        font-size: 1.1rem !important;
    }
    
    .why-choose-overlap-row {
        margin-bottom: -200px !important;
    }
}

@media (max-width: 767px) {
    .new-why-choose-us-section {
        padding: 2rem 0;
    }
    
    .new-why-choose-us-section h2 {
        font-size: 2rem !important;
    }
    
    .new-why-choose-us-section .lead {
        font-size: 1rem !important;
    }
    
    .why-choose-overlap-row {
        margin-bottom: -150px !important;
    }
    
    .service-card-v2 {
        min-height: 280px !important;
    }
}

@media (max-width: 480px) {
    .new-why-choose-us-section h2 {
        font-size: 1.8rem !important;
    }
    
    .why-choose-overlap-row {
        margin-bottom: -100px !important;
    }
    
    .service-card-v2 {
        min-height: 250px !important;
    }
}

/* ========================================
   STATES SECTION RESPONSIVENESS
   ======================================== */
@media (max-width: 991px) {
    .states-section {
        padding: 3rem 0;
    }
    
    .states-section h2 {
        font-size: 2.5rem !important;
    }
    
    .states-section .section-description {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 767px) {
    .states-section {
        padding: 2rem 0;
    }
    
    .states-section h2 {
        font-size: 2rem !important;
    }
    
    .states-section .section-description {
        font-size: 1rem !important;
    }
    
    .row-cols-2 {
        --bs-rows-cols: 2;
    }
}

@media (max-width: 480px) {
    .states-section h2 {
        font-size: 1.8rem !important;
    }
    
    .row-cols-2 {
        --bs-rows-cols: 1;
    }
}

/* ========================================
   TESTIMONIALS SECTION RESPONSIVENESS
   ======================================== */
@media (max-width: 1199px) {
    .new-testimonial-section {
        padding: 3rem 0;
    }
    
    .testimonial-cards-row {
        width: 95vw;
        gap: 1.5rem;
    }
}

@media (max-width: 991px) {
    .new-testimonial-section {
        padding: 2.5rem 0;
    }
    
    .new-testimonial-section h2 {
        font-size: 2rem !important;
    }
    
    .new-testimonial-section .lead {
        font-size: 1.1rem !important;
    }
    
    .testimonial-cards-row {
        width: 90vw;
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-card-new {
        flex: 0 0 100%;
        max-width: 100%;
        min-width: auto;
        margin-bottom: 1rem;
    }
    
    .testimonial-arrow-between {
        display: none;
    }
}

@media (max-width: 767px) {
    .new-testimonial-section {
        padding: 2rem 0;
    }
    
    .new-testimonial-section h2 {
        font-size: 1.8rem !important;
    }
    
    .new-testimonial-section .lead {
        font-size: 1rem !important;
    }
    
    .testimonial-cards-row {
        width: 85vw;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 480px) {
    .new-testimonial-section h2 {
        font-size: 1.6rem !important;
    }
    
    .testimonial-cards-row {
        width: 90vw;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* ========================================
   FAQS SECTION RESPONSIVENESS
   ======================================== */
@media (max-width: 991px) {
    .faqs-section {
        padding: 3rem 0;
    }
    
    .faqs-section h2 {
        font-size: 2.5rem !important;
    }
    
    .faqs-section .section-subtitle {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 767px) {
    .faqs-section {
        padding: 2rem 0;
    }
    
    .faqs-section h2 {
        font-size: 2rem !important;
    }
    
    .faqs-section .section-subtitle {
        font-size: 1rem !important;
    }
    
    .accordion-button {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .accordion-body {
        font-size: 0.9rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .faqs-section h2 {
        font-size: 1.8rem !important;
    }
    
    .accordion-button {
        font-size: 0.85rem;
        padding: 0.7rem 0.8rem;
    }
    
    .accordion-body {
        font-size: 0.85rem;
        padding: 0.8rem;
    }
}

/* ========================================
   FOOTER RESPONSIVENESS
   ======================================== */
@media (max-width: 991px) {
    .new-footer {
        padding: 3rem 0 2rem 0;
    }
    
    .new-footer h3 {
        font-size: 1.5rem;
    }
    
    .new-footer p {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .new-footer {
        padding: 2rem 0 1.5rem 0;
    }
    
    .new-footer h3 {
        font-size: 1.3rem;
    }
    
    .new-footer p {
        font-size: 0.9rem;
    }
    
    .new-footer ul {
        justify-content: center !important;
        gap: 2rem !important;
    }
    
    .social-icon {
        width: 35px !important;
        height: 35px !important;
    }
}

@media (max-width: 480px) {
    .new-footer {
        padding: 1.5rem 0 1rem 0;
    }
    
    .new-footer h3 {
        font-size: 1.2rem;
    }
    
    .new-footer p {
        font-size: 0.85rem;
    }
    
    .new-footer ul {
        gap: 1.5rem !important;
    }
    
    .social-icon {
        width: 30px !important;
        height: 30px !important;
    }
}

/* ========================================
   SCROLL TO TOP BUTTON RESPONSIVENESS
   ======================================== */
@media (max-width: 767px) {
    .scroll-to-top {
        width: 70px !important;
        height: 70px !important;
        top: -35px !important;
        right: 20px !important;
        font-size: 28px !important;
        border-width: 8px !important;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        width: 60px !important;
        height: 60px !important;
        top: -30px !important;
        right: 15px !important;
        font-size: 24px !important;
        border-width: 6px !important;
    }
}

/* ========================================
   FORM RESPONSIVENESS
   ======================================== */
@media (max-width: 767px) {
    .form-control, .form-select {
        font-size: 0.9rem;
        padding: 0.7rem 0.8rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .form-control, .form-select {
        font-size: 0.85rem;
        padding: 0.6rem 0.7rem;
    }
    
    .form-label {
        font-size: 0.85rem;
    }
    
    .btn {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
}

/* ========================================
   CARD RESPONSIVENESS
   ======================================== */
@media (max-width: 767px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .card-body {
        padding: 0.8rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-text {
        font-size: 0.85rem;
    }
}

/* ========================================
   TOUCH DEVICE OPTIMIZATIONS
   ======================================== */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none !important;
    }
    
    .service-card-new:hover {
        transform: none !important;
    }
    
    .service-card-v2:hover {
        transform: none !important;
    }
    
    .btn-get-quote-cut:hover {
        transform: none !important;
    }
    
    /* Increase touch targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .form-control, .form-select {
        min-height: 44px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   FOCUS VISIBILITY IMPROVEMENTS
   ======================================== */
.btn:focus,
.form-control:focus,
.form-select:focus,
.nav-link:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* ========================================
   RESPONSIVE TYPOGRAPHY
   ======================================== */
@media (max-width: 767px) {
    .display-3 {
        font-size: 2.5rem !important;
    }
    
    .display-4 {
        font-size: 2rem !important;
    }
    
    .display-5 {
        font-size: 1.8rem !important;
    }
    
    .lead {
        font-size: 1rem !important;
    }
    
    .section-title {
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {
    .display-3 {
        font-size: 2rem !important;
    }
    
    .display-4 {
        font-size: 1.8rem !important;
    }
    
    .display-5 {
        font-size: 1.6rem !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }
}

/* ========================================
   RESPONSIVE SPACING
   ======================================== */
@media (max-width: 767px) {
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
}

/* ========================================
   RESPONSIVE IMAGES
   ======================================== */
@media (max-width: 767px) {
    .hero-bg-img {
        object-position: center center;
    }
    
    .about-image-wrapper img {
        max-width: 100%;
        height: auto;
    }
    
    .service-card-v2 {
        background-size: cover;
        background-position: center;
    }
}

/* ========================================
   iOS ZOOM PREVENTION
   ======================================== */
@media (max-width: 767px) {
    .form-control, .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-control-modern {
        font-size: 16px !important;
    }
}

/* ========================================
   END OF RESPONSIVE CSS
   ======================================== */
/ *   A d v a n c e d   R e s p o n s i v e   F e a t u r e s   * / 
 
 @ m e d i a   ( m a x - w i d t h :   7 6 7 p x )   {   . d - m o b i l e - n o n e   {   d i s p l a y :   n o n e   ! i m p o r t a n t ;   }   . d - m o b i l e - b l o c k   {   d i s p l a y :   b l o c k   ! i m p o r t a n t ;   }   . t e x t - m o b i l e - c e n t e r   {   t e x t - a l i g n :   c e n t e r   ! i m p o r t a n t ;   }   . m b - m o b i l e - 3   {   m a r g i n - b o t t o m :   1 r e m   ! i m p o r t a n t ;   }   } 
 
 @ m e d i a   ( o r i e n t a t i o n :   l a n d s c a p e )   a n d   ( m a x - h e i g h t :   5 0 0 p x )   {   . h e r o - s e c t i o n   {   m i n - h e i g h t :   1 0 0 v h ;   p a d d i n g - t o p :   6 0 p x ;   }   . h e r o - c o n t e n t   h 1   {   f o n t - s i z e :   1 . 8 r e m   ! i m p o r t a n t ;   m a r g i n - b o t t o m :   0 . 5 r e m   ! i m p o r t a n t ;   }   } 
 
 @ m e d i a   ( - w e b k i t - m i n - d e v i c e - p i x e l - r a t i o :   2 ) ,   ( m i n - r e s o l u t i o n :   1 9 2 d p i )   {   . h e r o - b g - i m g ,   . a b o u t - i m a g e ,   . s e r v i c e - c a r d - v 2   {   i m a g e - r e n d e r i n g :   - w e b k i t - o p t i m i z e - c o n t r a s t ;   i m a g e - r e n d e r i n g :   c r i s p - e d g e s ;   }   } 
 
 @ m e d i a   p r i n t   {   . n a v b a r ,   . s c r o l l - t o - t o p ,   . b t n ,   . f o r m - c o n t r o l ,   . f o r m - s e l e c t   {   d i s p l a y :   n o n e   ! i m p o r t a n t ;   }   . h e r o - s e c t i o n   {   m i n - h e i g h t :   a u t o ;   p a d d i n g :   1 r e m   0 ;   }   b o d y   {   f o n t - s i z e :   1 2 p t ;   l i n e - h e i g h t :   1 . 4 ;   }   } 
 
 @ m e d i a   ( p r e f e r s - c o l o r - s c h e m e :   d a r k )   {   : r o o t   {   - - b u t t o n - c o l o r :   # 6 0 a 5 f a ;   - - b u t t o n - c o l o r - h o v e r :   # 3 b 8 2 f 6 ;   }   . c a r d   {   b a c k g r o u n d - c o l o r :   # 3 7 4 1 5 1 ;   c o l o r :   # f 9 f a f b ;   }   } 
 
 @ m e d i a   ( m a x - w i d t h :   7 6 7 p x )   {   . l o a d i n g   {   m i n - h e i g h t :   2 0 0 p x ;   d i s p l a y :   f l e x ;   a l i g n - i t e m s :   c e n t e r ;   j u s t i f y - c o n t e n t :   c e n t e r ;   }   . l o a d i n g : : a f t e r   {   c o n t e n t :   ' ' ;   w i d t h :   4 0 p x ;   h e i g h t :   4 0 p x ;   b o r d e r :   4 p x   s o l i d   # f 3 f 3 f 3 ;   b o r d e r - t o p :   4 p x   s o l i d   # 3 b 8 2 f 6 ;   b o r d e r - r a d i u s :   5 0 % ;   a n i m a t i o n :   s p i n   1 s   l i n e a r   i n f i n i t e ;   }   }   @ k e y f r a m e s   s p i n   {   0 %   {   t r a n s f o r m :   r o t a t e ( 0 d e g ) ;   }   1 0 0 %   {   t r a n s f o r m :   r o t a t e ( 3 6 0 d e g ) ;   }   } 
 
 / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   E N D   O F   R E S P O N S I V E   C S S   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * / 
 
 