/* QualityBadges Custom Color Scheme */

/* Ensure full width layout */
html, body {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* Ensure all containers respect full width */
.container, .container-fluid {
    width: 100% !important;
}

:root {
    /* Primary Colors - Professional Blue Theme */
    --primary-color: #1e3a8a;        /* Deep Blue */
    --primary-light: #3b82f6;        /* Lighter Blue */
    --primary-dark: #1e40af;         /* Darker Blue */
    
    /* Secondary Colors - Gold/Amber Accents */
    --secondary-color: #f59e0b;      /* Amber/Gold */
    --secondary-light: #fbbf24;      /* Light Gold */
    --secondary-dark: #d97706;       /* Dark Gold */
    
    /* Neutral Colors */
    --text-dark: #1f2937;           /* Dark Gray */
    --text-light: #6b7280;          /* Light Gray */
    --white: #ffffff;
    --black: #000000;
    
    /* Background Colors */
    --bg-light: #f8fafc;            /* Very Light Gray */
    --bg-dark: #0f172a;             /* Very Dark Blue */
    
    /* Status Colors */
    --success-color: #10b981;       /* Green */
    --warning-color: #f59e0b;       /* Amber */
    --error-color: #ef4444;         /* Red */
}

/* Header Styling */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: relative;
}

/* Ensure header is full width on all pages */
.header__top,
.header__bottom {
    width: 100%;
}

/* Force full width for header containers */
.header .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.header__top {
    background: #000000 !important;
    color: #ffffff !important;
}

.header__info a {
    color: #ffffff !important;
    text-decoration: none;
}

.header__info a:hover {
    color: #ffffff !important;
    text-decoration: none;
}

.header__info a i {
    color: #ffffff !important;
}

.header__info a:hover i {
    color: #ffffff !important;
}

.header__top .social__links a {
    color: #000000 !important;
    background: #ffffff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.header__top .social__links a:hover {
    color: #ffffff !important;
    background: var(--primary-color);
}

.header__top .social__links a i {
    color: #000000 !important;
    font-size: 14px;
}

.header__top .social__links a:hover i {
    color: #ffffff !important;
}

/* Force override any existing styles for header top elements */
.header__top *:not(.social__links):not(.social__links *) {
    color: #ffffff !important;
}

.header__top a:not(.social__links a) {
    color: #ffffff !important;
}

.header__top a:not(.social__links a):hover {
    color: #ffffff !important;
}

.header__top a:not(.social__links a):visited {
    color: #ffffff !important;
}

.header__top a:not(.social__links a):focus {
    color: #ffffff !important;
}

.header__top i:not(.social__links i) {
    color: #ffffff !important;
}

.header__top a:not(.social__links a) i:not(.social__links i) {
    color: #ffffff !important;
}

.header__top a:not(.social__links a):hover i:not(.social__links i) {
    color: #ffffff !important;
}

.header__top a:not(.social__links a):visited i:not(.social__links i) {
    color: #ffffff !important;
}

.header__top a:not(.social__links a):focus i:not(.social__links i) {
    color: #ffffff !important;
}

/* Navigation Styling */
.mainmenu ul li a {
    color: var(--text-dark);
    font-weight: 500;
}

.mainmenu ul li a:hover,
.mainmenu ul li.current a {
    color: var(--primary-color);
}

/* Button Styling */
.site-btn {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.site-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.site-btn__s2 {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.site-btn__s2:hover {
    background: var(--primary-color);
    color: var(--white);
}

.site-btn__s3 {
    background: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.site-btn__s3:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--white);
}

/* Hero Section - Dark Banner Optimized */
.hero__title {
    color: #ffffff !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 100%;
    word-wrap: break-word;
}

.hero__title br {
    display: block;
    margin: 0.2em 0;
}

.hero__content p {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 30px;
    max-width: 100%;
    word-wrap: break-word;
}

/* Additional hero text elements for dark backgrounds */
.hero__content h1,
.hero__content h2,
.hero__content h3,
.hero__content h4,
.hero__content h5,
.hero__content h6 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero__content .subtitle,
.hero__content .description {
    color: #e0e0e0 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hero buttons and links for dark backgrounds */
.hero__content .site-btn {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border: 2px solid var(--primary-color) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero__content .site-btn:hover {
    background: #ffffff !important;
    color: var(--primary-color) !important;
    border-color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.hero__content .site-btn .icon {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

.hero__content .site-btn:hover .icon {
    color: var(--primary-color) !important;
}

.hero__content .site-btn__2 {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero__content .site-btn__2:hover {
    background: #ffffff !important;
    color: var(--primary-color) !important;
    border-color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Hero icons and decorative elements */
.hero__content .icon {
    color: #ffffff !important;
}

.hero__content .btn-icon {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

/* Section Headers */
.section-title {
    color: var(--text-dark);
}

.sub-heading {
    color: var(--primary-color);
}

/* Feature Items - Equal Height Cards */
.feature-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 20px;
}

.feature-item__icon {
    width: 56px;
    min-height: 56px;
    height: 56px;
    margin-bottom: 16px;
    border-radius: 12px;
}

.feature-item__icon img {
    max-width: 28px;
    max-height: 28px;
}

.feature-item__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-item__title {
    color: var(--text-dark);
    flex-shrink: 0;
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-item__content p {
    color: var(--text-light);
    flex: 1;
    margin-bottom: 0;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .feature-item {
        padding: 40px 32px;
    }

    .feature-item__icon {
        width: 90px;
        min-height: 90px;
        margin-bottom: 30px;
    }

    .feature-item__title {
        font-size: 22px;
        margin-bottom: 20px;
    }
}

/* Ensure feature row uses flexbox for equal heights */
.feature-section .row {
    display: flex;
    flex-wrap: wrap;
}

.feature-section .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

/* Service Items - Equal Height Cards */
.service-item {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    padding: 14px 12px;
    box-shadow: 0 4px 16px rgba(2, 24, 95, 0.06);
}

.service-item__icon {
    flex: 0 0 48px;
    width: 48px;
    max-width: 48px;
    min-height: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item__icon img {
    max-width: 24px;
    max-height: 24px;
    width: auto;
    height: auto;
}

.service-item__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: auto;
    min-width: 0;
    padding: 0;
}

.service-item__title {
    color: var(--text-dark);
    flex-shrink: 0;
    font-size: 17px;
    line-height: 1.25;
    margin-bottom: 4px;
}

.service-item__content p {
    color: var(--text-light);
    flex: 0 1 auto;
    margin-bottom: 0;
    line-height: 1.45;
    font-size: 13px;
}

@media (min-width: 768px) {
    .service-item {
        flex-direction: row;
        align-items: stretch;
        border-radius: 5px;
        padding: 0;
        gap: 0;
    }

    .service-item__icon {
        flex: 0 0 170px;
        max-width: 170px;
        width: auto;
        min-height: 170px;
        height: auto;
        border-radius: 5px 0 0 5px;
    }

    .service-item__icon img {
        max-width: none;
        max-height: none;
    }

    .service-item__icon--noborder {
        border-radius: 5px 0 0 5px;
    }

    .service-item__content {
        padding: 38px 30px 38px 40px;
    }

    .service-item__content--2 {
        padding: 38px 30px 38px 40px;
    }

    .service-item__title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .service-item__content p {
        font-size: inherit;
        line-height: 1.6;
        flex: 1;
    }
}

/* Ensure service row uses flexbox for equal heights */
.service-section .row {
    display: flex;
    flex-wrap: wrap;
}

.service-section .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

/* Pricing/Process Items */
.pricing-item__head .heading-title {
    color: var(--primary-color);
}

.pricing-item__head .sub-heading-title {
    color: var(--text-light);
}

.price-btn {
    background: var(--primary-color);
    color: var(--white);
}

.price-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* Testimonial Section */
.testimonial-area {
    background: #000000 !important;
}

.section-title__white {
    color: var(--white);
}

.sub-heading__white {
    color: var(--secondary-light);
}

/* CTA Section - Optimized */
.cta-area {
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.cta-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4b8c 100%);
    z-index: 1;
}

.cta-area .container {
    position: relative;
    z-index: 2;
}

/* CTA Content */
.cta-content {
    padding-right: 30px;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-title .highlight {
    color: var(--secondary-color);
    position: relative;
}

.cta-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 500px;
}

/* CTA Action */
.cta-action {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-color);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(253, 74, 54, 0.3);
}

.cta-badge i {
    font-size: 16px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: var(--primary-color);
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
    text-decoration: none;
}

.cta-btn .btn-icon {
    background: var(--secondary-color);
    color: #ffffff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cta-btn:hover .btn-icon {
    background: var(--primary-color);
    transform: translateX(3px);
}

.cta-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
    margin-bottom: 0;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .cta-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .cta-title {
        font-size: 42px;
    }
    
    .cta-description {
        max-width: 100%;
    }
    
    .cta-action {
        padding: 30px 20px;
    }
}

@media (max-width: 991px) {
    .cta-title {
        font-size: 36px;
    }
    
    .cta-description {
        font-size: 16px;
    }
    
    .cta-action {
        padding: 25px 15px;
    }
    
    .cta-btn {
        padding: 15px 30px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .cta-title {
        font-size: 28px;
    }
    
    .cta-description {
        font-size: 15px;
    }
    
    .cta-action {
        padding: 20px 15px;
    }
    
    .cta-btn {
        padding: 12px 25px;
        font-size: 13px;
    }
    
    .cta-btn .btn-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* FAQ Section */
.card__header button {
    color: var(--text-dark);
}

.card__header button:hover,
.card__header button:focus {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: #f5f5f5;
    color: #333333;
    width: 100%;
    position: relative;
}

/* Ensure footer is full width on all pages */
.footer .container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.footer__bottom {
    width: 100%;
    background: #e5e5e5;
}

.footer__bottom .copyright-text {
    color: #333333;
}

.footer__bottom .copyright-text p {
    color: #333333;
}

.footer__bottom .copyright-text a {
    color: var(--primary-color);
}

.footer__bottom .container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.footer-widget .widget-title {
    color: #000000 !important;
}

.footer-widget a {
    color: #000000 !important;
    opacity: 0.8;
}

.footer-widget a:hover {
    color: #000000 !important;
    opacity: 1;
}

.footer-widget p {
    color: #000000 !important;
}

.footer-widget .newslater__title {
    color: #000000 !important;
}

.footer-widget .contact-title {
    color: #000000 !important;
}

.footer-widget .contact-list {
    color: #000000 !important;
}

.footer-widget .contact-list li {
    color: #000000 !important;
}

.footer-widget .contact-list li a {
    color: #000000 !important;
}

.footer-widget .contact-list li a:hover {
    color: #000000 !important;
}

.footer-widget .contact-list li i {
    color: #000000 !important;
}

.footer-widget .contact-list li:hover i {
    color: #000000 !important;
}

/* Specific styling for contact info section */
.footer .contact-info {
    color: #000000;
}

.footer .contact-info p {
    color: #000000;
}

.footer .contact-info p a {
    color: #000000;
}

.footer .contact-info p a:hover {
    color: #000000;
}

.footer .contact-info p i {
    color: #000000;
}

.footer .contact-info p:hover i {
    color: #000000;
}

.footer .contact-info li {
    color: #000000;
}

.footer .contact-info li a {
    color: #000000;
}

.footer .contact-info li a:hover {
    color: #000000;
}

.footer .contact-info li i {
    color: #000000;
}

.footer .contact-info li:hover i {
    color: #000000;
}

/* Override hover styles to maintain proper colors */
.footer .contact-info:hover {
    background: #F7F7F7 !important;
}

.footer .contact-info:hover .contact-info__title {
    color: #000000 !important;
}

.footer .contact-info:hover p {
    color: #000000 !important;
}

.footer .contact-info:hover a {
    color: #000000 !important;
}

.footer .contact-info:hover li {
    color: #000000 !important;
}

.footer .contact-info:hover li i {
    color: #000000 !important;
}

/* Footer form styling */
.footer .newslater__form input {
    color: #333333;
    background: #ffffff;
    border: 1px solid #cccccc;
}

.footer .newslater__form input::placeholder {
    color: #666666;
}

.footer .newslater__form button {
    background: var(--primary-color);
    color: #ffffff;
}

.footer .newslater__form button:hover {
    background: var(--primary-dark);
    color: #ffffff;
}

/* Footer social links - Black icons with white text, website blue on hover */
.footer .social__links a {
    background: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000;
    transition: all 0.3s ease;
}

.footer .social__links a:hover {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.footer .social__links a i {
    color: inherit !important;
    transition: all 0.3s ease;
}

/* Brand Section */
.brand-section {
    background: var(--bg-light);
}

/* Quote Button */
.quote-btn {
    background: var(--secondary-color);
    color: var(--white);
}

.quote-btn:hover {
    background: var(--primary-color);
    color: #ffffff !important;
}

/* Social Links */
.social__links a {
    color: var(--text-light);
}

.social__links a:hover {
    color: var(--primary-color);
}

/* News/Articles */
.post-box__title a {
    color: var(--text-dark);
}

.post-box__title a:hover {
    color: var(--primary-color);
}

/* Form Elements */
.form-group input,
.form-group textarea {
    border: 1px solid #e5e7eb;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero__title {
        font-size: 2rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }
    
    .hero__content p {
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .header__bottom {
        padding: 15px 0;
    }
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-item,
.service-item,
.pricing-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover,
.service-item:hover,
.pricing-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Loading Animation for Components */
#header-placeholder,
#footer-placeholder {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#header-placeholder:empty::before,
#footer-placeholder:empty::before {
    content: "";
}

/* WhatsApp Button Styling */
.whatsapp-btn {
    background: #25D366 !important;
    color: white !important;
}

.whatsapp-btn:hover {
    background: #128C7E !important;
    color: white !important;
}

/* Scroll to Top Button */
.scroll-to-top {
    background: var(--primary-color) !important;
    color: white !important;
}

/* Hero Section - Override Original CSS */
.hero {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
}
/* Fallback banner background (ensures banner is visible even if <img> fails) */
.hero {
    background-image: none !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
/* Remove global overlay to avoid washing out content */
.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: transparent !important;
    z-index: 1;
    pointer-events: none;
}

/* Strengthen text panel only behind the content */
.hero__content {
    background: rgba(0, 0, 0, 0.45) !important; /* improves contrast only under text */
    z-index: 3 !important;
    border: none !important;
}

/* Stronger text contrast */
.hero__title {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7), 0 0 2px rgba(0,0,0,0.6) !important;
    -webkit-text-stroke: 0.2px rgba(0,0,0,0.25);
}
.hero__content p {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 0 1px rgba(0,0,0,0.6) !important;
}

/* Ensure button stays above and readable */
.hero__content .site-btn { position: relative; z-index: 4; }

/* Dark Banner Optimizations - Removed duplicate overlay */

/* Responsive Hero Section */
@media (max-width: 991px) {
    .hero__item {
        height: 600px !important;
    }
    
    .hero__content {
        padding: 60px 40px;
        width: 70%;
        max-width: 600px;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    }
    
    .hero__image {
        width: 100% !important;
    }
    
    .hero__title {
        font-size: 2.5rem;
        line-height: 1.2;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    }
    
    .hero__title br {
        margin: 0.15em 0;
    }
    
    .hero__content p {
        font-size: 1rem;
        line-height: 1.4;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
}

/* Mobile responsive hero height */
@media (max-width: 768px) {
    .hero__item {
        height: 500px !important;
    }
    
    .hero__content {
        padding: 50px 30px;
        width: 100%;
        max-width: 100%;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    }
    
    .hero__image {
        width: 100% !important;
    }
    
    .hero__title {
        font-size: 2rem;
        line-height: 1.2;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    }
    
    .hero__title br {
        margin: 0.1em 0;
    }
    
    .hero__content p {
        font-size: 0.9rem;
        line-height: 1.4;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    }
}

@media (max-width: 480px) {
    .hero__item {
        height: 400px !important;
    }
    
    .hero__content {
        padding: 40px 20px;
        width: 100%;
        max-width: 100%;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
    }
    
    .hero__title {
        font-size: 1.8rem;
        line-height: 1.2;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    }
    
    .hero__title br {
        margin: 0.1em 0;
    }
    
    .hero__content p {
        font-size: 0.8rem;
        line-height: 1.4;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    }
}

.scroll-to-top:hover {
    background: var(--primary-dark) !important;
    color: white !important;
}

/* Mobile Header & Slide-In Drawer */
.header--desktop {
    display: none;
}

.header--mobile {
    display: block;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.mobile-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    min-height: 64px;
    background: var(--white);
}

.mobile-header__logo {
    flex: 0 0 auto;
    max-width: 160px;
}

.mobile-header__logo img {
    max-height: 42px;
    width: auto;
    display: block;
}

.mobile-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-header__phone,
.mobile-header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-header__phone:hover,
.mobile-header__toggle:hover {
    background: var(--bg-light);
}

.mobile-header__phone i {
    font-size: 18px;
}

.mobile-header__hamburger,
.mobile-header__hamburger::before,
.mobile-header__hamburger::after {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    position: relative;
    transition: transform 0.2s ease;
}

.mobile-header__hamburger::before,
.mobile-header__hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.mobile-header__hamburger::before {
    top: -8px;
}

.mobile-header__hamburger::after {
    top: 8px;
}

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 10000;
    visibility: hidden;
    pointer-events: none;
}

.mobile-nav.is-open {
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav.is-open .mobile-nav__backdrop {
    opacity: 1;
}

.mobile-nav__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(85vw, 360px);
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.mobile-nav.is-open .mobile-nav__panel {
    transform: translateX(0);
}

.mobile-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    background: var(--white);
}

.mobile-nav__brand img {
    max-height: 38px;
    width: auto;
}

.mobile-nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border: none;
    background: transparent;
    color: var(--primary-color);
    font-size: 20px;
    cursor: pointer;
    border-radius: 8px;
}

.mobile-nav__close:hover {
    background: var(--bg-light);
}

.mobile-nav__contact {
    padding: 12px 16px;
    background: var(--primary-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav__contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    min-height: 36px;
}

.mobile-nav__contact-link i {
    color: var(--secondary-light);
    width: 18px;
}

.mobile-nav__menu {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav__item {
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav__row {
    display: flex;
    align-items: stretch;
}

.mobile-nav__link {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 14px 16px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    min-height: 48px;
}

.mobile-nav__link:hover,
.mobile-nav__link.is-active,
.mobile-nav__sublink.is-active {
    color: var(--primary-color);
    background: var(--bg-light);
}

.mobile-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    border: none;
    border-left: 1px solid #f1f5f9;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-nav__toggle i {
    transition: transform 0.2s ease;
}

.mobile-nav__item--has-children.is-open .mobile-nav__toggle i {
    transform: rotate(180deg);
}

.mobile-nav__submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background: #f8fafc;
    transition: max-height 0.3s ease;
}

.mobile-nav__item--has-children.is-open .mobile-nav__submenu {
    max-height: 1400px;
}

.mobile-nav__sublink {
    display: block;
    padding: 12px 16px 12px 28px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    min-height: 44px;
}

.mobile-nav__sublink:hover {
    color: var(--primary-color);
    background: #f1f5f9;
}

.mobile-nav__footer {
    padding: 16px;
    border-top: 1px solid #e5e7eb;
    background: var(--white);
}

.mobile-nav__cta {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 14px;
    padding: 14px 20px !important;
}

.mobile-nav__social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.mobile-nav__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--primary-color);
    text-decoration: none;
}

body.mobile-nav-open {
    overflow: hidden;
}

#desktop-menu a.is-active {
    color: var(--primary-color) !important;
}

@media (min-width: 992px) {
    .header--desktop {
        display: block;
    }

    .header--mobile,
    .mobile-nav {
        display: none !important;
    }
}

/* Desktop Header Inline Optimization */
@media (min-width: 992px) {
    /* Reduce header padding to give more horizontal space */
    .header__bottom {
        padding: 0 40px !important;
    }
    
    /* Ensure the header row is a flex container and elements do not wrap */
    .header__bottom .row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }
    
    /* Override Bootstrap grid columns on desktop to size dynamically */
    .header__bottom .col-xl-9,
    .header__bottom .col-lg-12 {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
    }
    
    .header__bottom .col-xl-3,
    .header__bottom .col-lg-2 {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
    }
    
    /* Flex container for logo and menu */
    .navarea {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 40px !important;
    }
    
    /* Compact Logo */
    .navarea .site-logo {
        flex: 0 0 auto !important;
        max-width: 180px !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .navarea .site-logo img {
        max-height: 48px !important;
        width: auto !important;
        object-fit: contain !important;
    }
    
    /* Main Menu alignment and sizing */
    .mainmenu {
        padding-left: 0 !important;
        flex: 0 0 auto !important;
    }
    
    .mainmenu > ul,
    #desktop-menu > ul {
        display: flex !important;
        gap: 25px !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    
    .mainmenu > ul > li,
    #desktop-menu > ul > li {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .mainmenu > ul > li > a,
    #desktop-menu > ul > li > a {
        padding: 25px 0 !important;
        font-size: 15px !important;
        display: block !important;
    }
    
    /* Language and Action Button container */
    .lang-quote {
        display: flex !important;
        align-items: center !important;
        gap: 20px !important;
    }
    
    /* Compact Get a Sample Button */
    .quote-btn {
        padding: 12px 25px !important;
        font-size: 14px !important;
        white-space: nowrap !important;
    }
    
    /* Remove grey background on hover */
    .mainmenu > ul > li > a:hover,
    .mainmenu > ul > li:hover > a,
    #desktop-menu > ul > li > a:hover,
    #desktop-menu > ul > li:hover > a {
        background: transparent !important;
        color: var(--primary-color) !important;
    }
}

/* Product / Service Details Page Styles */
.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.service-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.process-steps .step {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.process-steps .step h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.quote-form .form-group {
    margin-bottom: 20px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.why-choose-list {
    list-style: none;
    padding: 0;
}

.why-choose-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.why-choose-list li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.service-details-area .contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service-details-area .contact-info p i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
}

/* Portfolio Page */
.portfolio-filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
}

.portfolio-filter-buttons button {
    background: transparent;
    border: 1px solid #e2e8f0;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 44px;
}

.portfolio-filter-buttons button:hover,
.portfolio-filter-buttons button.active {
    background: #1e3a8a;
    color: #fff;
    border-color: #1e3a8a;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
}

.portfolio-grid-item {
    margin-bottom: 30px;
}

.portfolio-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.portfolio-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-box__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.portfolio-box__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-box:hover .portfolio-box__img img {
    transform: scale(1.08);
}

.portfolio-box__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-box:hover .portfolio-box__overlay {
    opacity: 1;
}

.portfolio-box__zoom {
    width: 55px;
    height: 55px;
    background: #fff;
    color: #1e3a8a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.portfolio-box__zoom:hover {
    background: #fbbf24;
    color: #1e3a8a;
    transform: scale(1.1);
}

.portfolio-box__content {
    padding: 20px;
    text-align: center;
    background: #fff;
}

.portfolio-box__title {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 5px;
}

.portfolio-box__category {
    font-size: 13px;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Reviews Page */
.review-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1);
    border-color: rgba(30, 58, 138, 0.1);
}

.review-stars {
    color: #f59e0b;
    font-size: 16px;
    margin-bottom: 15px;
}

.review-text {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.review-author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1e3a8a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.review-author-info h5 {
    margin: 0;
    font-size: 16px;
    color: #1e3a8a;
    font-weight: 600;
}

.review-author-info span {
    font-size: 13px;
    color: #888;
}

.submit-review-box {
    background: #f8fafc;
    border-radius: 15px;
    padding: 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.whatsapp-btn,
.scroll-to-top {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    font-size: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    pointer-events: auto;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    left: 20px;
    position: fixed;
    bottom: 20px;
}

.scroll-to-top {
    background: #333;
    color: white;
    right: 20px;
    position: fixed;
    bottom: 20px;
}

.whatsapp-btn:hover,
.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.whatsapp-btn.visible,
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Site-Wide Mobile Responsive */
@media (max-width: 991px) {
    .container,
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .pt-120 { padding-top: 45px !important; }
    .pt-125 { padding-top: 45px !important; }
    .pt-130 { padding-top: 50px !important; }
    .pb-125 { padding-bottom: 45px !important; }
    .pb-130 { padding-bottom: 50px !important; }
    .pt-180 { padding-top: 70px !important; }
    .pb-180 { padding-bottom: 55px !important; }

    .mt-50 { margin-top: 16px !important; }
    .mt-30 { margin-top: 14px !important; }
    .mb-75 { margin-bottom: 28px !important; }
    .mb-50 { margin-bottom: 24px !important; }
    .mb-25 { margin-bottom: 10px !important; }

    .pl-80,
    .pl-70,
    .pl-45,
    .pr-0 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .about-area .col-xl-6.pr-0,
    .about-area .col-xl-6.pl-80 {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-bottom: 30px;
    }

    .about-area .row {
        flex-direction: column;
    }

    .service-details-area .col-xl-4 {
        margin-top: 40px;
    }

    .footer .col-xl-2,
    .footer .col-xl-3,
    .footer .col-xl-4 {
        text-align: center;
    }

    .footer .pl-45,
    .footer .pl-70 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .footer__bottom {
        margin-top: 60px !important;
        text-align: center;
    }

    .footer__bottom .row {
        flex-direction: column;
        gap: 20px;
    }

    .footer__bottom .social__links {
        justify-content: center;
    }

    .project-area .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .testimonial-area .owl-nav button {
        min-width: 44px;
        min-height: 44px;
    }

    .submit-review-box {
        padding: 24px 16px;
    }
}

@media (max-width: 767px) {
    .service-item,
    .service-item.service-item__2 {
        flex-direction: row !important;
        align-items: center !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 12px 14px !important;
        gap: 10px !important;
    }

    .service-item__icon,
    .service-item__icon--noborder {
        flex: 0 0 48px !important;
        width: 48px !important;
        max-width: 48px !important;
        min-height: 48px !important;
        height: 48px !important;
        border-radius: 8px !important;
    }

    .service-item__content,
    .service-item__content--2 {
        padding: 0 !important;
        flex: 1 !important;
        min-width: 0 !important;
        justify-content: flex-start !important;
    }

    .service-item__icon img {
        max-width: 24px !important;
        max-height: 24px !important;
        width: auto !important;
        height: auto !important;
    }

    .service-item__title {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .service-item__content p {
        font-size: 13px;
        line-height: 1.45;
        flex: none !important;
    }

    .service-section .row > [class*="col-"],
    .feature-section .row > [class*="col-"] {
        margin-top: 14px !important;
        margin-bottom: 0 !important;
        height: auto !important;
    }

    .service-section .row.mt-none-50,
    .feature-section .row.mt-none-30 {
        margin-top: 0 !important;
    }

    .service-section .section-header,
    .feature-section .section-header {
        margin-bottom: 24px !important;
    }

    .service-area.pt-125,
    .feature-area.pt-120 {
        padding-top: 40px !important;
    }

    .service-area.pb-125,
    .feature-area.pb-125 {
        padding-bottom: 40px !important;
    }

    .section-header .sub-heading {
        margin-bottom: 10px !important;
    }

    .feature-item {
        height: auto !important;
        padding: 18px 14px;
    }

    .feature-item__icon {
        width: 48px;
        min-height: 48px;
        height: 48px;
        margin-bottom: 12px;
    }

    .feature-item__title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .feature-item__content p {
        font-size: 13px;
        line-height: 1.45;
    }
}

@media (max-width: 767px) {
    .hero__title {
        font-size: 1.75rem !important;
        line-height: 1.25 !important;
    }

    .hero__content p {
        font-size: 1rem !important;
    }

    .hero__content .site-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        min-height: 48px;
    }

    .section-title {
        font-size: 1.6rem !important;
    }

    .breadcrumb-text__title {
        font-size: 1.75rem !important;
    }

    .breadcrumb-text__nav {
        flex-wrap: wrap;
    }

    .form-group input,
    .form-group textarea,
    .form-group select,
    .newslater__form input,
    .quote-form input,
    .quote-form select,
    .quote-form textarea {
        font-size: 16px !important;
    }

    .portfolio-filter-buttons {
        margin-bottom: 30px;
    }

    .portfolio-filter-buttons button {
        padding: 8px 16px;
        font-size: 13px;
    }

    .review-card {
        padding: 20px;
    }

    .feature-item,
    .service-item,
    .pricing-item {
        margin-bottom: 0;
    }

    .service-section .row > [class*="col-"],
    .feature-section .row > [class*="col-"] {
        margin-bottom: 0;
    }

    .service-item__title a,
    .service-item__title {
        word-break: break-word;
    }

    body {
        padding-bottom: 90px;
    }

    .contact-map iframe,
    .map-container iframe {
        width: 100% !important;
        min-height: 280px;
    }

    .whatsapp-btn,
    .scroll-to-top {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .mobile-nav.is-open ~ .floating-actions .scroll-to-top,
    body.mobile-nav-open .scroll-to-top {
        z-index: 1;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.5rem !important;
    }

    .hero__content {
        padding: 100px 0 60px !important;
    }

    .section-title {
        font-size: 1.4rem !important;
    }

    .mobile-header__logo {
        max-width: 130px;
    }

    .portfolio-box__title {
        font-size: 16px;
    }
}

@media (hover: none) and (pointer: coarse) {
    [data-tilt] {
        transform: none !important;
    }

    .feature-item:hover,
    .service-item:hover,
    .pricing-item:hover,
    .portfolio-box:hover,
    .review-card:hover {
        transform: none;
    }
}

/* ===== QualityBadges Product Cards (Digitizinghut-style) ===== */
.qb-services-area {
    background: #f5f6f8;
}

.qb-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid #e8eaee;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.qb-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    color: inherit;
}

.qb-product-card__media {
    background: #ffffff;
    padding: 22px 22px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.qb-product-card__media img {
    width: 100%;
    max-width: 260px;
    height: 200px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.qb-product-card__body {
    padding: 8px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.qb-product-card__title {
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 10px;
    color: #1f2937;
    font-weight: 700;
}

.qb-product-card__text {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 0 18px;
    flex: 1;
}

.qb-product-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1e3a8a;
}

.qb-product-card:hover .qb-product-card__link {
    color: #f59e0b;
}

/* Service detail gallery */
.service-gallery__item {
    background: #fff;
    border: 1px solid #e8eaee;
    border-radius: 12px;
    padding: 12px;
    height: 100%;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.service-gallery__item img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    display: block;
}

.service-details-content__thumb {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8eaee;
    padding: 16px;
}

.service-details-content__thumb img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    margin-bottom: 10px;
}

.service-list a {
    color: #1f2937;
    text-decoration: none;
}

.service-list a:hover {
    color: #1e3a8a;
}

/* ===== Banner slider: full-width, no crop, no overlay text ===== */
.hero.owl-carousel,
.hero {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #111111 !important;
    background-image: none !important;
}

.hero::after {
    display: none !important;
}

.hero .owl-stage-outer,
.hero .owl-stage,
.hero .owl-item {
    height: auto !important;
}

.hero .hero__item {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: #111111 !important;
    overflow: hidden !important;
}

.hero .hero__image {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    z-index: 1 !important;
    display: block !important;
}

.hero .hero__image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
}

.hero .hero__content {
    display: none !important;
}

.hero .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9) !important;
    color: #1e3a8a !important;
    z-index: 5;
}

.hero .owl-nav .owl-prev { left: 12px; }
.hero .owl-nav .owl-next { right: 12px; }

.hero .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 5;
    text-align: center;
}

.hero .owl-dots .owl-dot span {
    background: rgba(255,255,255,0.55);
}

.hero .owl-dots .owl-dot.active span {
    background: #f59e0b;
}

@media (max-width: 767px) {
    .hero .hero__item,
    .hero .hero__image,
    .hero .hero__image img {
        height: auto !important;
        min-height: 0 !important;
    }

    .hero .owl-dots {
        bottom: 8px;
    }

    .hero .owl-dots .owl-dot {
        display: inline-block;
        padding: 6px;
    }

    .hero .owl-dots .owl-dot span {
        width: 10px;
        height: 10px;
        margin: 0;
    }
}

@media (max-width: 575px) {
    .hero .hero__item {
        height: auto !important;
        min-height: 0 !important;
    }
}

@media (max-width: 380px) {
    .hero .hero__item {
        height: auto !important;
        min-height: 0 !important;
    }
}


@media (max-width: 767px) {
    .qb-product-card__media {
        min-height: 180px;
        padding: 16px 16px 4px;
    }

    .qb-product-card__media img {
        height: 160px;
    }

    .qb-product-card__body {
        padding: 8px 18px 22px;
    }
}

/* (replaced) old services mega dropdown removed */


/* ===== Mobile optimization: services, hero, detail pages ===== */
@media (max-width: 991px) {
    .qb-services-area.pt-125 {
        padding-top: 50px !important;
    }

    .qb-services-area.pb-125 {
        padding-bottom: 50px !important;
    }

    .qb-product-card {
        border-radius: 14px;
    }

    .qb-product-card__title {
        font-size: 20px;
    }

    .service-details-area.pt-125,
    .service-details-area.pb-125 {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .service-details-content__thumb {
        padding: 12px;
        border-radius: 12px;
    }

    .service-details-content__thumb img {
        max-height: 320px;
    }

    .service-gallery__item img {
        height: 120px;
    }

    .breadcrumb-section.pt-180 {
        padding-top: 130px !important;
    }

    .breadcrumb-section.pb-180 {
        padding-bottom: 50px !important;
    }
}

@media (max-width: 767px) {
    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw;
    }

    .hero .hero__item,
    .hero .hero__image,
    .hero .hero__image img {
        height: auto !important;
        min-height: 0 !important;
    }

    .hero .hero__image {
        display: block !important;
        position: relative !important;
        width: 100% !important;
    }

    .hero .hero__image img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    .hero .hero__content {
        display: none !important;
    }

    .hero .owl-dots {
        bottom: 10px;
    }

    .hero .owl-dots .owl-dot {
        display: inline-block;
        padding: 6px;
    }

    .hero .owl-dots .owl-dot span {
        width: 10px;
        height: 10px;
        margin: 0;
    }

    .qb-services-area .section-header {
        margin-bottom: 20px !important;
    }

    .qb-services-area .row > [class*="col-"] {
        padding-left: 12px;
        padding-right: 12px;
    }

    .qb-product-card {
        border-radius: 12px;
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    }

    .qb-product-card:hover {
        transform: none;
    }

    .qb-product-card:active {
        transform: scale(0.99);
    }

    .qb-product-card__media {
        min-height: 170px;
        padding: 14px 14px 0;
    }

    .qb-product-card__media img {
        max-width: 100%;
        height: 150px;
        object-fit: contain;
    }

    .qb-product-card__body {
        padding: 12px 16px 18px;
    }

    .qb-product-card__title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .qb-product-card__text {
        font-size: 13.5px;
        line-height: 1.5;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .qb-product-card__link {
        font-size: 13px;
        min-height: 24px;
    }

    .view-all {
        margin-top: 28px !important;
        padding: 0 8px;
    }

    .view-all p {
        font-size: 14px;
        line-height: 1.5;
    }

    .service-details-content__text .title {
        font-size: 1.5rem !important;
        line-height: 1.3;
        margin-top: 18px;
    }

    .service-details-content__text h3 {
        font-size: 1.15rem;
        margin-top: 22px;
    }

    .service-details-content__thumb img {
        max-height: 260px;
    }

    .service-gallery {
        margin-top: 16px !important;
    }

    .service-gallery .col-6 {
        padding-left: 8px;
        padding-right: 8px;
    }

    .service-gallery__item {
        padding: 8px;
        border-radius: 10px;
    }

    .service-gallery__item img {
        height: 100px;
    }

    .service-features li,
    .service-details-content__text ul li {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 8px;
    }

    .process-steps .step {
        padding: 14px;
        margin-bottom: 12px;
    }

    .process-steps .step h4 {
        font-size: 15px;
    }

    .process-steps .step p {
        font-size: 13px;
        margin-bottom: 0;
    }

    .service-sidebar .widget {
        margin-bottom: 20px;
        padding: 18px 16px;
    }

    .quote-form .site-btn,
    .quote-form button.site-btn {
        min-height: 48px;
        width: 100%;
    }

    .floating-actions {
        right: 12px !important;
        bottom: 16px !important;
        gap: 10px;
    }

    .mobile-nav__sublink {
        padding: 11px 16px 11px 24px;
        font-size: 13.5px;
    }

    .mobile-nav__panel {
        width: min(100vw - 28px, 360px);
    }
}

@media (max-width: 575px) {
    .qb-services-area .row > [class*="col-md-6"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero .hero__item,
    .hero .hero__image img {
        height: auto !important;
        min-height: 0 !important;
    }
.qb-product-card__media {
        min-height: 160px;
    }

    .qb-product-card__media img {
        height: 140px;
    }

    .service-gallery .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .breadcrumb-text__title {
        font-size: 1.45rem !important;
    }

    .section-title {
        font-size: 1.45rem !important;
    }
}

@media (max-width: 380px) {
    .hero .hero__item {
        height: auto !important;
        min-height: 0 !important;
    }
.qb-product-card__title {
        font-size: 16px;
    }

    .qb-product-card__text {
        -webkit-line-clamp: 2;
        font-size: 13px;
    }
}

/* Prefer reduced motion on mobile banners */
@media (prefers-reduced-motion: reduce) {
    .hero.owl-carousel .owl-item,
    .qb-product-card {
        transition: none !important;
        animation: none !important;
    }
}

/* Strategy section image */
.strategy_bg {
    border-radius: 16px;
    overflow: hidden;
    background: #f5f6f8;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.strategy_bg img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .strategy-section .pl-60 {
        padding-left: 15px !important;
        margin-top: 28px;
    }

    .strategy_bg {
        border-radius: 12px;
    }

    .strategy_bg img {
        max-height: 320px;
    }

    .strategy-section .section-header__2 {
        margin-bottom: 30px !important;
    }
}


/* Final banner fit overrides (no crop, no text) */
.hero,
.hero.owl-carousel,
.hero .hero__item,
.hero .owl-item,
.hero .owl-stage,
.hero .owl-stage-outer {
    height: auto !important;
    min-height: 0 !important;
}

.hero .hero__content {
    display: none !important;
}

.hero .hero__image {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.hero .hero__image img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
}


/* ===== QualityPatches-style split banner (home + inner pages) ===== */
.qb-split-banner {
    width: 100%;
    background: #000000;
    color: #ffffff;
    overflow: hidden;
}

.qb-split-banner__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: stretch;
    min-height: 420px;
    max-width: 1400px;
    margin: 0 auto;
}

.qb-split-banner__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 48px 70px 56px;
    background: #000000;
    z-index: 2;
}

.qb-split-banner__title {
    color: #ffffff !important;
    font-size: clamp(2rem, 3.4vw, 3.35rem);
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 18px;
    text-transform: none;
}

.qb-split-banner__text {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.55;
    margin: 0 0 28px;
    max-width: 34rem;
}

.qb-split-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

.qb-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.qb-banner-btn--outline {
    background: #111111;
    color: #ffffff !important;
    border: 1.5px solid #f97316;
}

.qb-banner-btn--outline:hover {
    background: #f97316;
    color: #ffffff !important;
}

.qb-banner-btn--accent {
    background: #16a34a;
    color: #ffffff !important;
    border: 1.5px solid #16a34a;
}

.qb-banner-btn--accent:hover {
    background: #15803d;
    border-color: #15803d;
    color: #ffffff !important;
}

.qb-split-banner__note {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px;
    margin: 0;
}

.qb-split-banner__crumbs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.qb-split-banner__crumbs li {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    text-transform: capitalize;
}

.qb-split-banner__crumbs a {
    color: #f97316 !important;
    text-decoration: none;
}

.qb-split-banner__crumbs a:hover {
    color: #fdba74 !important;
}

.qb-split-banner__media {
    position: relative;
    background: #000000;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qb-split-banner__media img {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: contain;
    object-position: center right;
    display: block;
}

.qb-split-banner--page {
    margin-top: 0;
}

.qb-split-banner--page .qb-split-banner__inner {
    min-height: 280px;
}

.qb-split-banner--page .qb-split-banner__content {
    padding: 90px 40px 50px 56px;
}

.qb-split-banner--page .qb-split-banner__title {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    margin-bottom: 14px;
    text-transform: capitalize;
}

.qb-split-banner--page .qb-split-banner__media img {
    max-height: 360px;
}

/* Offset for sticky/fixed header on inner pages */
body > .qb-split-banner--page,
#header-placeholder + .qb-split-banner--page {
    padding-top: 0;
}

@media (max-width: 991px) {
    .qb-split-banner__inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .qb-split-banner__content {
        padding: 28px 24px 40px;
        text-align: left;
        order: 2;
    }

    .qb-split-banner--page .qb-split-banner__content {
        padding: 24px 24px 36px;
    }

    .qb-split-banner__media {
        order: 1;
        min-height: 240px;
        padding: 24px 16px 10px;
    }

    .qb-split-banner__media img {
        max-height: 300px;
        object-position: center center;
    }

    .qb-split-banner__actions {
        width: 100%;
    }

    .qb-banner-btn {
        flex: 1 1 auto;
        min-width: 140px;
    }
}

@media (max-width: 575px) {
    .qb-split-banner__title {
        font-size: 1.7rem;
    }

    .qb-split-banner__text {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .qb-banner-btn {
        width: 100%;
    }

    .qb-split-banner__media {
        min-height: 200px;
        padding-bottom: 22px;
    }

    .qb-split-banner__media img {
        max-height: 240px;
    }

    .qb-split-banner--page .qb-split-banner__content {
        padding-top: 24px;
    }
}


/* ===== Services dropdown fix + improved mega menu ===== */
.header--desktop,
.header__bottom,
.navarea,
.mainmenu,
#desktop-menu {
    overflow: visible !important;
}

.mainmenu > ul > li.menu_has_children,
#desktop-menu > ul > li.menu_has_children {
    position: relative !important;
}

.mainmenu ul li .sub-menu,
#desktop-menu ul li .sub-menu,
.mainmenu > ul > li > .sub-menu,
#desktop-menu > ul > li > .sub-menu {
    display: block !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(8px) !important;
    width: 560px !important;
    min-width: 560px !important;
    max-width: min(560px, 92vw) !important;
    margin: 0 !important;
    padding: 18px 12px 14px !important;
    list-style: none !important;
    background: #ffffff !important;
    border: 1px solid #e8eaee !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16) !important;
    z-index: 9999 !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
    columns: 2 !important;
    column-gap: 8px !important;
    -webkit-columns: 2 !important;
}

.mainmenu ul li .sub-menu::after,
#desktop-menu ul li .sub-menu::after {
    display: none !important;
}

.mainmenu ul li:hover > .sub-menu,
#desktop-menu ul li:hover > .sub-menu,
.mainmenu ul li.menu_has_children:focus-within > .sub-menu,
#desktop-menu ul li.menu_has_children:focus-within > .sub-menu {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
    top: calc(100% + 6px) !important;
}

.mainmenu ul li .sub-menu li,
#desktop-menu ul li .sub-menu li {
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    break-inside: avoid !important;
    -webkit-column-break-inside: avoid !important;
    page-break-inside: avoid !important;
}

.mainmenu ul li .sub-menu li a,
#desktop-menu ul li .sub-menu li a {
    display: block !important;
    width: auto !important;
    padding: 11px 14px !important;
    margin: 2px 6px !important;
    border-radius: 8px !important;
    color: #1f2937 !important;
    background: transparent !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    text-align: left !important;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

.mainmenu ul li .sub-menu li a:hover,
#desktop-menu ul li .sub-menu li a:hover,
.mainmenu ul li .sub-menu li a.is-active,
#desktop-menu ul li .sub-menu li a.is-active {
    background: #f3f6fb !important;
    color: #1e3a8a !important;
}

/* Keep parent Services link highlighted while open */
.mainmenu > ul > li.menu_has_children:hover > a,
#desktop-menu > ul > li.menu_has_children:hover > a {
    color: #1e3a8a !important;
    background: transparent !important;
}

@media (max-width: 1199px) {
    .mainmenu ul li .sub-menu,
    #desktop-menu ul li .sub-menu {
        width: 300px !important;
        min-width: 300px !important;
        columns: 1 !important;
        -webkit-columns: 1 !important;
        left: auto !important;
        right: 0 !important;
        transform: translateY(8px) !important;
    }

    .mainmenu ul li:hover > .sub-menu,
    #desktop-menu ul li:hover > .sub-menu,
    .mainmenu ul li.menu_has_children:focus-within > .sub-menu,
    #desktop-menu ul li.menu_has_children:focus-within > .sub-menu {
        transform: translateY(0) !important;
    }
}

@media (max-width: 991px) {
    /* Desktop mega menu not used on mobile drawer */
    .mainmenu ul li .sub-menu,
    #desktop-menu ul li .sub-menu {
        display: none !important;
    }
}

/* Testimonial author portraits */
.testimonial-item__thumb .author {
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.testimonial-item__thumb .author img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 50% !important;
    display: block;
}

/* FAQ section - black background */
.faq-area {
    background: #000000 !important;
}

.faq-area::after {
    background: #000000 !important;
}

.faq-area .section-header .sub-heading,
.faq-area .section-header .section-title {
    color: #ffffff !important;
}

.faq-area .faqs .card {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.faq-area .faqs .card__header .btn-link,
.faq-area .card__header button {
    color: #ffffff !important;
}

.faq-area .faqs .card__header .btn-link:hover,
.faq-area .faqs .card__header .btn-link:focus,
.faq-area .card__header button:hover,
.faq-area .card__header button:focus {
    color: #f97316 !important;
}

.faq-area .faqs .card__header .btn-link::after {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

.faq-area .faqs .card .title > button[aria-expanded="true"]::after {
    color: #f97316 !important;
}

.faq-area .faqs .card__body p {
    color: rgba(255, 255, 255, 0.78) !important;
}
