/* ===============================================
   Custom CSS Overrides - Magna Decor World
   Date: October 29, 2025
   =============================================== */

/* ========================================
   0. CSS VARIABLE OVERRIDES - Brand Colors
   ======================================== */

:root {
    --theme-color1: #365b6d !important;
    --bg-theme-color1: #365b6d !important;
    --border-theme-color1: #365b6d !important;
    --link-color: #365b6d !important;
    --link-hover-color: #2a4654 !important;
    --sec-title-subtitle-color: #365b6d !important;
}

/* ========================================
   1. HEADER STYLING - White/Light Theme
   ======================================== */

/* Header Top - REMOVED, keeping only for reference if needed */

/* Header Lower - Light background */
.main-header .header-lower {
    background-color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Navigation container - flex layout for nav + social icons */
.main-header .nav-outer {
    display: flex !important;
    align-items: center !important;
}

/* Social icons after navigation */
.main-header .nav-outer .social-icon-one {
    display: inline-flex !important;
    margin-left: 30px !important;
    gap: 10px !important;
    list-style: none !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.main-header .nav-outer .social-icon-one li {
    margin: 0 !important;
}

.main-header .nav-outer .social-icon-one li a {
    background-color: #365b6d !important;
    color: #ffffff !important;
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.main-header .nav-outer .social-icon-one li a:hover {
    background-color: #2a4654 !important;
    transform: translateY(-2px);
}

/* Call Us button styling */
.main-header .btn-box .theme-btn {
    background-color: #ffffff !important;
    color: #365b6d !important;
    padding: 14px 28px !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    box-shadow: 0 3px 10px rgba(54, 91, 109, 0.25) !important;
    transition: all 0.3s ease !important;
    border: 2px solid #365b6d !important;
    letter-spacing: 0.5px !important;
}

.main-header .btn-box .theme-btn:hover {
    background-color: #365b6d !important;
    color: #ffffff !important;
    border-color: #365b6d !important;
    box-shadow: 0 5px 15px rgba(54, 91, 109, 0.4) !important;
    transform: translateY(-2px) !important;
}

.main-header .btn-box .theme-btn .btn-title {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.main-header .btn-box .theme-btn .fa-phone {
    margin-right: 8px !important;
    font-size: 16px !important;
}

/* Navigation text color */
.main-header .navigation > li > a {
    color: #333333 !important;
}

.main-header .navigation > li > a:hover,
.main-header .navigation > li.current > a {
    color: #365b6d !important;
}


/* ========================================
   2. COLOR SCHEME - Replace Green with Brown/Wood Tones
   ======================================== */

/* Primary buttons - change from green to brown */
.theme-btn.btn-style-one,
.scroll-to-top {
    background-color: #365b6d !important;
    border-color: #365b6d !important;
    color: #ffffff !important;
}

.theme-btn.btn-style-one:hover,
.scroll-to-top:hover {
    background-color: #2a4654 !important;
    border-color: #2a4654 !important;
}


/* ========================================
   2.1 BREADCRUMB STYLING
   ======================================== */

/* Page Title Section */
.page-title {
    padding: 80px 0 60px !important;
    position: relative;
}

.page-title .title-outer {
    position: relative;
    z-index: 2;
}

.page-title .title {
    color: #ffffff !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Breadcrumb Navigation */
.page-breadcrumb {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    list-style: none !important;
    padding: 15px 30px !important;
    margin: 20px auto 0 !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    max-width: fit-content !important;
    backdrop-filter: blur(10px);
}

.page-breadcrumb li {
    display: flex !important;
    align-items: center !important;
    color: #333333 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

.page-breadcrumb li a {
    color: #365b6d !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
}

.page-breadcrumb li a:hover {
    color: #2a4654 !important;
    text-decoration: underline !important;
}

.page-breadcrumb li:not(:last-child)::after {
    content: '›' !important;
    margin-left: 10px !important;
    color: #365b6d !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.page-breadcrumb li:last-child {
    color: #666666 !important;
}

/* Responsive breadcrumb */
@media (max-width: 767px) {
    .page-title {
        padding: 60px 0 40px !important;
    }
    
    .page-title .title {
        font-size: 32px !important;
    }
    
    .page-breadcrumb {
        padding: 12px 20px !important;
        font-size: 14px !important;
        gap: 8px !important;
    }
    
    .page-breadcrumb li {
        font-size: 14px !important;
    }
}


/* ========================================
   3. SPACING REDUCTION
   ======================================== */
.theme-btn.bg-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
}

/* Secondary accent color */
.sub-title,
.sec-title .sub-title {
    color: #365b6d !important;
}

/* Links and hover states */
a:hover,
.list-style-two li i,
.list-style-four li:before {
    color: #365b6d !important;
}

/* Icon backgrounds */
.service-block .inner-box i,
.feature-block .inner-box .icon {
    color: #365b6d !important;
    background-color: transparent !important;
}

.service-block .inner-box {
    background-color: transparent !important;
}

.service-block.style-two .inner-box {
    background-color: transparent !important;
}

/* Category tags */
.cat,
.project-block .cat {
    background-color: transparent !important;
    color: #365b6d !important;
    border: 2px solid #365b6d !important;
    padding: 5px 15px !important;
    font-weight: 600 !important;
}

/* Progress bars, borders, etc */
.skill-item .bar-inner,
.progress-line .bar-inner .bar-fill {
    background-color: #365b6d !important;
}

/* Section backgrounds with brown tint - REMOVED */
.about-section-nine .service-block .inner-box,
.about-section-nine .service-block.style-two .inner-box {
    background-color: #ffffff !important; /* Changed to white */
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

/* Service Block Icon Styling */
.service-block .inner-box i.icon {
    width: 80px !important;
    height: 80px !important;
    background-color: #e8f4f8 !important;
    color: #365b6d !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 36px !important;
    margin-bottom: 20px !important;
}

/* Service Block Layout and Alignment */
.about-section-nine .service-block {
    margin-bottom: 30px !important;
}

.about-section-nine .service-block .inner-box {
    padding: 35px 25px !important;
    border-radius: 12px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    transition: all 0.3s ease !important;
}

.about-section-nine .service-block .inner-box:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 20px rgba(54, 91, 109, 0.15) !important;
}

.about-section-nine .service-block .title {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    color: #333333 !important;
}

.about-section-nine .service-block .text {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #666666 !important;
}

/* Ensure row alignment */
.about-section-nine .service-column .row {
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.about-section-nine .service-column .row > [class*="col-"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
    display: flex !important;
}

/* Card hover effects */
.project-block-six:hover .content-box,
.card:hover {
    border-color: #365b6d !important;
}

/* Products Section - White Heading (only for light sections) */
.sec-title.light h2,
.projects-section-six .sec-title h2 {
    color: #ffffff !important;
}

.sec-title.light .sub-title {
    color: #ffffff !important;
    opacity: 0.9;
}


/* ========================================
   3. REDUCE WHITE SPACE - Tighter Layout
   ======================================== */

/* Reduce section padding */
section.page-title {
    padding: 80px 0 40px !important; /* Reduced from default */
}

.about-section-nine,
.faq-section-two,
.video-section-two,
.products-section {
    padding: 60px 0 !important; /* Reduced from 100px+ */
}

/* Tighter spacing in content areas */
.sec-title {
    margin-bottom: 30px !important; /* Reduced from 50px */
}

.project-block-six {
    margin-bottom: 20px !important; /* Tighter grid */
}

/* Reduce excessive padding in cards */
.card-body {
    padding: 1.25rem !important; /* Tighter than default 1.5-2rem */
}

/* Content column spacing */
.content-column .inner-column,
.about-section-nine .inner-column {
    padding-top: 0 !important;
}

/* Footer spacing */
.main-footer .widgets-section {
    padding: 60px 0 30px !important; /* Reduced padding */
}

.footer-column {
    margin-bottom: 30px !important; /* Tighter footer */
}

/* Row and column gaps */
.row {
    margin-left: -10px !important;
    margin-right: -10px !important;
}

.row > * {
    padding-left: 10px !important;
    padding-right: 10px !important;
}


/* ========================================
   4. GOOGLE REVIEWS STYLING
   ======================================== */

/* Container for review section */
.testimonial-section,
.testimonial-block-three {
    background-color: #ffffff !important;
    padding: 40px 0 !important;
}

/* Google Reviews Header */
.testimonial-section .sec-title h2 {
    color: #333333 !important;
    font-size: 28px !important;
    margin-bottom: 10px !important;
}

/* Google branding colors */
.google-reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.google-reviews-badge .google-logo {
    color: #4285f4; /* Google Blue */
    font-weight: 700;
    font-size: 24px;
}

/* Star ratings - Google yellow */
.testimonial-block-three .rating,
.rating-stars {
    color: #fbbc04 !important; /* Google Yellow for stars */
    font-size: 18px !important;
}

.rating-stars i {
    color: #fbbc04 !important;
}

/* Individual review cards - Google style */
.testimonial-block-three .inner-box {
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12) !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
}

.testimonial-block-three .inner-box:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}

/* Reviewer name - Google style */
.testimonial-block-three .name {
    color: #202124 !important; /* Google dark text */
    font-weight: 500 !important;
    font-size: 16px !important;
    margin-bottom: 5px !important;
}

/* Reviewer designation/location */
.testimonial-block-three .designation {
    color: #5f6368 !important; /* Google gray */
    font-size: 13px !important;
    margin-bottom: 10px !important;
}

/* Review text */
.testimonial-block-three .text {
    color: #3c4043 !important; /* Google text */
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* Review date - Google style */
.review-date {
    color: #5f6368 !important;
    font-size: 12px !important;
    margin-top: 10px !important;
}

/* Google verified badge */
.google-verified {
    display: inline-flex;
    align-items: center;
    color: #1a73e8 !important; /* Google link blue */
    font-size: 12px !important;
    margin-top: 5px !important;
}

.google-verified i {
    margin-right: 4px;
}

/* Overall rating summary - Google style */
.google-rating-summary {
    background-color: #f8f9fa !important;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.google-rating-summary .rating-number {
    font-size: 48px;
    font-weight: 300;
    color: #202124;
    line-height: 1;
}

.google-rating-summary .rating-stars {
    font-size: 24px;
    margin: 10px 0;
}

.google-rating-summary .rating-count {
    color: #5f6368;
    font-size: 14px;
}

.google-rating-summary .google-logo-small {
    color: #4285f4;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
}


/* ========================================
   5. MOBILE RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {
    /* Tighter spacing on mobile */
    section.page-title {
        padding: 60px 0 30px !important;
    }
    
    .about-section-nine,
    .faq-section-two,
    .products-section {
        padding: 40px 0 !important;
    }
    
    .sec-title {
        margin-bottom: 20px !important;
    }
    
    /* Header adjustments */
    .main-header .header-top {
        padding: 8px 0;
    }
    
    .main-header .header-top .list-style-one.light li {
        font-size: 12px !important;
    }
}


/* ========================================
   6. ADDITIONAL REFINEMENTS
   ======================================== */

/* Better button contrast */
.theme-btn.btn-style-one {
    box-shadow: 0 2px 4px rgba(54, 91, 109, 0.3);
}

.theme-btn.btn-style-one:hover {
    box-shadow: 0 4px 8px rgba(54, 91, 109, 0.4);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Card improvements */
.card {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Product cards - ensure buttons align at bottom */
.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-body .d-flex.gap-2 {
    margin-top: auto !important; /* Push buttons to bottom */
    padding-top: 15px;
}

/* Ensure consistent button sizing */
.card-body .theme-btn {
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

/* Improved readability */
.text,
p {
    line-height: 1.7 !important;
    color: #444444 !important;
}

/* Section titles */
.sec-title h2 {
    color: #2c2c2c !important;
    font-weight: 600 !important;
}

/* Footer styling */
.main-footer {
    background-color: #2c2c2c !important;
}

.main-footer .text,
.main-footer .widget-content,
.main-footer .widget-content .text,
.main-footer p,
.main-footer li,
.main-footer a,
.main-footer span {
    color: #ffffff !important;
}

.main-footer a:hover {
    color: #365b6d !important;
}

.footer-widget h5 {
    color: #ffffff !important;
    border-bottom: 2px solid #365b6d !important;
    padding-bottom: 10px;
}

/* Footer Contact Location Blocks */
.footer-location-block {
    background-color: rgba(54, 91, 109, 0.1) !important;
    border-left: 3px solid #365b6d !important;
    padding: 20px 15px !important;
    margin-bottom: 20px !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
}

.footer-location-block:hover {
    background-color: rgba(54, 91, 109, 0.2) !important;
    transform: translateX(5px) !important;
}

.footer-location-block .location-title {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
}

.footer-location-block .location-title i {
    color: #365b6d !important;
    margin-right: 8px !important;
    font-size: 16px !important;
}

.footer-location-block .location-address {
    color: #e0e0e0 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 10px !important;
    padding-left: 26px !important;
}

.footer-location-block .location-phone {
    font-size: 15px !important;
    margin-bottom: 0 !important;
    padding-left: 26px !important;
}

.footer-location-block .location-phone i {
    color: #365b6d !important;
    margin-right: 8px !important;
}

.footer-location-block .location-phone a {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.footer-location-block .location-phone a:hover {
    color: #365b6d !important;
}

/* Footer Email Block */
.footer-email-block {
    background-color: rgba(54, 91, 109, 0.1) !important;
    border-left: 3px solid #365b6d !important;
    padding: 15px !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
}

.footer-email-block:hover {
    background-color: rgba(54, 91, 109, 0.2) !important;
}

.footer-email-block p {
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.footer-email-block i {
    color: #365b6d !important;
    margin-right: 10px !important;
    font-size: 16px !important;
}

.footer-email-block a {
    color: #ffffff !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    word-break: break-word !important;
}

.footer-email-block a:hover {
    color: #365b6d !important;
}

/* Responsive adjustments for footer contact */
@media (max-width: 991px) {
    .footer-location-block,
    .footer-email-block {
        padding: 15px 12px !important;
    }
    
    .footer-location-block .location-title {
        font-size: 15px !important;
    }
    
    .footer-location-block .location-address {
        font-size: 13px !important;
        padding-left: 22px !important;
    }
    
    .footer-location-block .location-phone {
        font-size: 14px !important;
        padding-left: 22px !important;
    }
}

/* Smooth transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Why Choose Us List Icons */
.why-choose-list li {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 18px !important;
    line-height: 1.7 !important;
}

.why-choose-list li i {
    color: #365b6d !important;
    font-size: 20px !important;
    margin-right: 15px !important;
    margin-top: 3px !important;
    flex-shrink: 0 !important;
}

.why-choose-list li strong {
    color: #2c2c2c !important;
    font-weight: 600 !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .why-choose-list li i {
        font-size: 18px !important;
        margin-right: 12px !important;
    }
}

/* Green Badge Icon - Highly Specialized Team */
.video-section-two .image-column .experience .inner {
    background-color: #365b6d !important;
}

.video-section-two .image-column .experience .inner .icon,
.video-section-two .image-column .experience .inner i {
    color: #ffffff !important;
    font-size: 70px !important;
    margin-bottom: 20px !important;
}

/* Responsive for green badge */
@media (max-width: 767px) {
    .video-section-two .image-column .experience .inner .icon,
    .video-section-two .image-column .experience .inner i {
        font-size: 55px !important;
    }
}


/* ========================================
   8. REMOVE UNWANTED BROWN BACKGROUNDS
   ======================================== */

/* Remove brown backgrounds from various elements */
.feature-block,
.feature-block-two,
.service-block-two,
.project-block-six .content-box,
.testimonial-block .inner-box {
    background-color: #ffffff !important;
}

/* Ensure text is readable - dark text on light backgrounds */
.service-block .title,
.service-block .text,
.feature-block .title,
.feature-block .text {
    color: #333333 !important;
}

/* Category badges - outline style instead of filled */
.badge,
.label {
    background-color: transparent !important;
    border: 2px solid #365b6d !important;
    color: #365b6d !important;
}

/* Remove any brown tinted overlays */
.overlay,
.overlay-2 {
    background-color: rgba(0,0,0,0.5) !important; /* Use dark overlay instead */
}


/* ========================================
   9. RESPONSIVE HEADER STYLES
   ======================================== */

/* Improve touch targets */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Mobile Nav Toggler - Hamburger Icon */
.mobile-nav-toggler {
    display: none !important;
    cursor: pointer;
    padding: 10px;
    background-color: #365b6d;
    border-radius: 5px;
    margin-left: 10px;
    transition: all 0.3s ease;
    border: none;
    min-width: 46px;
    min-height: 46px;
    align-items: center;
    justify-content: center;
}

.mobile-nav-toggler:active {
    transform: scale(0.95);
    background-color: #2a4654;
}

.mobile-nav-toggler .icon {
    color: #ffffff;
    font-size: 24px;
}

/* Show hamburger on tablets and mobile */
@media (max-width: 991px) {
    /* Hide desktop navigation and social icons */
    .main-header .nav-outer .main-menu,
    .main-header .nav-outer .social-icon-one {
        display: none !important;
    }
    
    /* Show mobile nav toggler */
    .mobile-nav-toggler {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Adjust Call Us button for tablets */
    .main-header .btn-box .theme-btn {
        padding: 12px 20px !important;
        font-size: 15px !important;
    }
    
    .main-header .btn-box .theme-btn .btn-title {
        font-size: 15px !important;
    }
    
    /* Adjust logo size for tablets */
    .logo-box .logo img {
        width: 180px !important;
        height: auto !important;
    }
    
    /* Adjust main box layout */
    .main-header .main-box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
    }
    
    .main-header .outer-box {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    /* Ensure header stays at top */
    .main-header .header-lower {
        position: relative;
        z-index: 999;
    }
}

@media (max-width: 767px) {
    /* Smaller logo on mobile */
    .logo-box .logo img {
        width: 150px !important;
    }
    
    /* Make Call Us button more compact but readable */
    .main-header .btn-box .theme-btn {
        padding: 11px 18px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
    }
    
    .main-header .btn-box .theme-btn .fa-phone {
        margin-right: 6px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 575px) {
    /* Even smaller logo */
    .logo-box .logo img {
        width: 120px !important;
    }
    
    /* Compact button with icon and text */
    .main-header .btn-box .theme-btn {
        padding: 10px 16px !important;
        font-size: 13px !important;
        min-width: auto !important;
    }
    
    .main-header .btn-box .theme-btn .btn-title {
        display: flex !important;
        align-items: center !important;
    }
    
    .main-header .btn-box .theme-btn .fa-phone {
        margin-right: 5px !important;
        font-size: 13px !important;
    }
    
    /* Make mobile menu wider on small screens */
    .mobile-menu {
        width: 300px;
        max-width: 90vw;
    }
    
    /* Adjust padding for smaller screens */
    .main-header .auto-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Smaller fonts in mobile menu */
    .mobile-menu .navigation li a {
        font-size: 15px;
        padding: 16px 20px;
    }
    
    .mobile-menu .contact-list-one {
        padding: 20px 15px;
    }
    
    .mobile-menu .contact-list-one li {
        padding: 15px;
    }
    
    .mobile-menu .contact-list-one li .text {
        font-size: 14px;
    }
}

/* Mobile Menu Sidebar Styling */
.mobile-menu {
    position: fixed;
    right: -100%;
    top: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background-color: #ffffff;
    z-index: 99999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 20px rgba(0,0,0,0.4);
}

body.mobile-menu-visible .mobile-menu {
    right: 0;
}

.mobile-menu .menu-backdrop {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
    pointer-events: none;
}

body.mobile-menu-visible .mobile-menu .menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu .menu-box {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    padding-bottom: 40px;
    background-color: #ffffff;
    z-index: 100000;
}

/* Custom scrollbar for mobile menu */
.mobile-menu .menu-box::-webkit-scrollbar {
    width: 6px;
}

.mobile-menu .menu-box::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.mobile-menu .menu-box::-webkit-scrollbar-thumb {
    background: #365b6d;
    border-radius: 3px;
}

.mobile-menu .menu-box::-webkit-scrollbar-thumb:hover {
    background: #2a4654;
}

.mobile-menu .upper-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #365b6d;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-menu .nav-logo img {
    max-width: 140px;
    height: auto;
    filter: none;
}

.mobile-menu .close-btn {
    cursor: pointer;
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
    padding: 5px 10px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu .close-btn:hover {
    background-color: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

/* Mobile Navigation Items */
.mobile-menu .navigation {
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: #ffffff;
}

.mobile-menu .navigation li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu .navigation li a {
    display: block;
    padding: 18px 25px;
    color: #333333;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu .navigation li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 70%;
    background-color: #365b6d;
    transition: width 0.3s ease;
}

.mobile-menu .navigation li a:hover,
.mobile-menu .navigation li.current a {
    background-color: #f8f4f0;
    color: #365b6d;
    padding-left: 35px;
}

.mobile-menu .navigation li a:hover::before,
.mobile-menu .navigation li.current a::before {
    width: 4px;
}

/* Mobile Contact List */
.mobile-menu .contact-list-one {
    padding: 25px 20px;
    margin: 0;
    list-style: none;
    background-color: #fafafa;
}

.mobile-menu .contact-list-one li {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid #365b6d;
}

.mobile-menu .contact-list-one li:last-child {
    margin-bottom: 0;
}

.mobile-menu .contact-list-one li .icon {
    color: #365b6d;
    font-size: 22px;
    margin-bottom: 10px;
    display: block;
}

.mobile-menu .contact-list-one li .title {
    display: block;
    font-weight: 700;
    color: #365b6d;
    margin-bottom: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-menu .contact-list-one li .text {
    color: #333333;
    font-size: 15px;
    line-height: 1.7;
    word-wrap: break-word;
}

.mobile-menu .contact-list-one li .text a {
    color: #365b6d;
    text-decoration: none;
    font-weight: 600;
}

.mobile-menu .contact-list-one li .text a:hover {
    text-decoration: underline;
}

/* Mobile Social Links */
.mobile-menu .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 30px 20px;
    margin: 0;
    list-style: none;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
}

.mobile-menu .social-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #365b6d;
    color: #ffffff;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(54, 91, 109, 0.3);
}

.mobile-menu .social-links li a:hover {
    background-color: #2a4654;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(54, 91, 109, 0.4);
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-visible {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100vh;
}

/* Landscape orientation adjustments */
@media (max-width: 991px) and (orientation: landscape) {
    .mobile-menu {
        width: 340px;
        max-width: 50vw;
    }
    
    .mobile-menu .menu-box {
        padding-bottom: 20px;
    }
    
    .mobile-menu .contact-list-one li {
        padding: 15px;
        margin-bottom: 15px;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .mobile-menu {
        width: 280px;
        max-width: 90vw;
    }
    
    .logo-box .logo img {
        width: 100px !important;
    }
    
    /* Ensure Call Us button is still readable on tiny screens */
    .main-header .btn-box .theme-btn {
        padding: 9px 14px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
    }
    
    .main-header .btn-box .theme-btn .fa-phone {
        font-size: 12px !important;
    }
    
    .mobile-nav-toggler {
        padding: 8px;
    }
    
    .mobile-nav-toggler .icon {
        font-size: 20px;
    }
    
    .mobile-menu .navigation li a {
        font-size: 14px;
        padding: 14px 18px;
    }
    
    .mobile-menu .contact-list-one li {
        padding: 12px;
    }
    
    .mobile-menu .contact-list-one li .text {
        font-size: 13px;
    }
    
    .mobile-menu .social-links li a {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Sticky Header Responsive */
@media (max-width: 991px) {
    .sticky-header .main-menu {
        display: none;
    }
    
    .sticky-header .mobile-nav-toggler {
        display: block;
        background-color: #365b6d;
        color: #ffffff;
        padding: 10px;
        border-radius: 5px;
        cursor: pointer;
    }
    
    .sticky-header .logo img {
        max-width: 150px;
        height: auto;
    }
}

@media (max-width: 575px) {
    .sticky-header .logo img {
        max-width: 120px;
    }
}

/* ========================================
   10. PRINT STYLES (Optional)
   ======================================== */

@media print {
    .main-header,
    .main-footer,
    .scroll-to-top,
    .theme-btn,
    .mobile-menu {
        display: none !important;
    }
}
