/* Responsive Design Styles - Enhanced for Better Screen Fitting */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-content .hero-title {
        font-size: 4rem;
    }
    
    .hero-content .welcome-text {
        font-size: 1.5rem;
    }
    
    .hero-content .title-main {
        font-size: 4.5rem;
    }
    
    .hero-actions {
        gap: 2rem;
    }
    
    .hero-btn {
        padding: 15px 30px;
        font-size: 1.2rem;
        min-width: 180px;
    }
}

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-content .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-content .welcome-text {
        font-size: 1.3rem;
    }
    
    .hero-content .title-main {
        font-size: 3.8rem;
    }
    
    .hero-actions {
        gap: 1.5rem;
    }
    
    .hero-btn {
        padding: 12px 24px;
        font-size: 1.1rem;
        min-width: 160px;
    }
}

/* Large Devices (992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .hero-content .hero-title {
        font-size: 3rem;
    }
    
    .hero-content .welcome-text {
        font-size: 1.2rem;
    }
    
    .hero-content .title-main {
        font-size: 3.2rem;
    }
    
    .hero-actions {
        gap: 1.2rem;
    }
    
    .hero-btn {
        padding: 12px 20px;
        font-size: 1rem;
        min-width: 150px;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
}

/* Medium Devices (768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    .hero-content .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content .welcome-text {
        font-size: 1.1rem;
    }
    
    .hero-content .title-main {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-btn {
        padding: 12px 24px;
        font-size: 1rem;
        min-width: 200px;
        width: 100%;
        max-width: 300px;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

/* Small Devices (576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    .hero-content .hero-title {
        font-size: 2rem;
    }
    
    .hero-content .welcome-text {
        font-size: 1rem;
    }
    
    .hero-content .title-main {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        margin: 1.5rem 0;
    }
    
    .hero-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 180px;
        width: 100%;
        max-width: 280px;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

/* Extra Small Devices (less than 576px) */
@media (max-width: 575.98px) {
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .hero-section {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile */
        padding: 1rem 0;
        display: flex;
        align-items: center;
    }
    
    .hero-section::after {
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: scroll !important;
    }
    
    .page-header {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile */
        padding: 70px 0 1rem;
        display: flex;
        align-items: center;
    }
    
    .page-header::after {
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: scroll !important;
    }
    
    .hero-content .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-content .welcome-text {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-content .title-main {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-tagline {
        margin: 1rem 0;
    }
    
    .hero-tagline .tagline-deep-clean,
    .hero-tagline .tagline-fresh {
        font-size: 0.8rem;
        display: block;
        margin: 0.2rem 0;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        margin: 1.5rem 0;
        width: 100%;
    }
    
    .hero-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: 160px;
        width: 100%;
        max-width: 250px;
    }
    
    .hero-promo {
        margin: 1rem 0;
        font-size: 0.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .page-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .stylish-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
}

/* Professional Header Mobile Styles */
@media (max-width: 991.98px) {
    .professional-navbar {
        padding: 0.5rem 0;
    }
    
    .professional-navbar .container-fluid {
        padding: 0 1rem;
        flex-wrap: nowrap;
        overflow: visible;
    }
    
    .brand-logo {
        gap: 0.5rem;
    }
    
    .brand-icon {
        width: 40px;
        height: 40px;
    }
    
    .brand-icon i {
        font-size: 1.1rem;
    }
    
    .brand-name {
        font-size: 1.25rem;
        color: #2563eb; /* Professional blue */
        font-family: 'Georgia', 'Times New Roman', serif;
        font-weight: 700;
        font-style: italic;
    }
    
    .brand-subtitle {
        font-size: 0.85rem; /* Enlarged from 0.7rem */
        color: #1e40af; /* Medium blue */
        font-family: 'Georgia', 'Times New Roman', serif;
        font-style: italic;
    }
    
    .professional-nav {
        background: rgba(0, 0, 0, 0.95);
        border-radius: 16px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        padding: 1rem;
        margin-top: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
    }
    
    .professional-link {
        padding: 1rem;
        border-radius: 12px;
        margin-bottom: 0.5rem;
        color: #E5E7EB;
    }
    
    .professional-link:last-child {
        margin-bottom: 0;
    }
    
    .professional-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        background: rgba(59, 130, 246, 0.1);
        margin: 0.5rem 0 0 1rem;
        border-radius: 12px;
    }
    
    .professional-cart-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        background: rgba(59, 130, 246, 0.1);
        margin: 0.5rem 0 0 1rem;
        border-radius: 12px;
    }
}

@media (max-width: 576px) {
    .professional-navbar .container-fluid {
        padding: 0 0.75rem;
    }
    
    .brand-logo {
        gap: 0.4rem;
    }
    
    .brand-icon {
        width: 35px;
        height: 35px;
    }
    
    .brand-icon i {
        font-size: 1rem;
    }
    
    .brand-name {
        font-size: 1.1rem;
        color: #2563eb; /* Professional blue */
        font-family: 'Georgia', 'Times New Roman', serif;
        font-weight: 700;
        font-style: italic;
    }
    
    .brand-subtitle {
        font-size: 0.8rem; /* Enlarged from 0.65rem */
        color: #1e40af; /* Medium blue */
        font-family: 'Georgia', 'Times New Roman', serif;
        font-style: italic;
    }
    
    .professional-toggler {
        width: 35px;
        height: 35px;
    }
    
    .hamburger-line {
        width: 18px;
    }
    
    .professional-link {
        padding: 0.875rem;
        font-size: 0.9rem;
        color: #E5E7EB;
    }
    
    .nav-icon {
        font-size: 0.9rem;
    }
}

/* Mobile Menu Styles - Updated to work with mobile-menu.css */
.mobile-menu-toggle {
    /* Let mobile-menu.css handle the display property */
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-menu.show {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu a {
    display: block;
    padding: 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.mobile-menu a:hover {
    background-color: var(--gray-50);
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive Tables */
.table-responsive {
    overflow-x: auto;
}

/* Responsive Cart */
@media (max-width: 768px) {
    .cart-summary {
        width: calc(100% - 2rem);
        right: 1rem;
        left: 1rem;
    }
    
    .cart-toggle {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile */
        padding: 2rem 0;
        display: flex;
        align-items: center;
    }
    
    .hero-section::after {
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: scroll !important;
    }
    
    .hero {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile */
        padding: 2rem 0;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
        padding: 1rem;
    }
    
    .hero-visual {
        margin-top: 2rem;
    }
    
    .page-header {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile */
        padding: 80px 0 2rem;
        display: flex;
        align-items: center;
    }
    
    .page-header::after {
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: scroll !important;
    }
}

/* Responsive Service Cards */
@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h3 {
        margin-bottom: 1rem;
    }
}

/* Print Styles */
@media print {
    .nav,
    .cart-toggle,
    .cart-summary,
    .cart-toggle-btn,
    .btn {
        display: none !important;
    }
    
    .container {
        max-width: 100%;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* Image Loading Responsive Styles - Tablet */
@media (max-width: 768px) {
    .image-text-overlay {
        margin: 0;
        padding: 0;
        border-radius: 0;
    }
    
    .image-text-overlay .hero-content {
        padding: 3rem 1.5rem;
        max-width: 100%;
    }
    
    .image-text-overlay .hero-title {
        font-size: 3rem;
        margin-bottom: 1.25rem;
    }
    
    .image-text-overlay .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 1.75rem;
    }
    
    .image-text-overlay .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    .image-text-overlay .hero-features {
        gap: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .image-text-overlay .hero-features .feature-item {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-width: 180px;
    }
    
    .image-text-overlay .hero-actions {
        gap: 1.5rem;
    }
    
    .image-text-overlay .hero-actions .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-width: 180px;
    }
}

/* Mobile Large (480px - 576px) */
@media (max-width: 576px) and (min-width: 481px) {
    .image-text-overlay .hero-content {
        padding: 2.5rem 1.25rem;
    }
    
    .image-text-overlay .hero-title {
        font-size: 2.75rem;
        margin-bottom: 1.25rem;
        line-height: 1.15;
    }
    
    .image-text-overlay .hero-subtitle {
        font-size: 1.4rem;
        margin-bottom: 1.75rem;
        line-height: 1.25;
    }
    
    .image-text-overlay .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2.25rem;
        line-height: 1.6;
    }
    
    .image-text-overlay .hero-features {
        gap: 1.5rem;
        margin-bottom: 2.25rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .image-text-overlay .hero-features .feature-item {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-width: 160px;
        flex: 0 0 auto;
    }
    
    .image-text-overlay .hero-actions {
        gap: 1.25rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .image-text-overlay .hero-actions .btn {
        padding: 1rem 1.75rem;
        font-size: 1rem;
        min-width: 160px;
        flex: 0 0 auto;
    }
}

/* Mobile Medium (400px - 480px) */
@media (max-width: 480px) and (min-width: 401px) {
    .image-text-overlay .hero-content {
        padding: 2rem 1rem;
    }
    
    .image-text-overlay .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1rem;
        line-height: 1.1;
    }
    
    .image-text-overlay .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }
    
    .image-text-overlay .hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }
    
    .image-text-overlay .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.875rem;
        margin-bottom: 2rem;
    }
    
    .image-text-overlay .hero-features .feature-item {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        min-width: 140px;
        width: 100%;
        max-width: 260px;
    }
    
    .image-text-overlay .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 0.875rem;
        width: 100%;
        max-width: 280px;
    }
    
    .image-text-overlay .hero-actions .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        width: 100%;
        min-width: auto;
    }
}

/* Mobile Small (360px - 400px) */
@media (max-width: 400px) and (min-width: 361px) {
    .image-text-overlay .hero-content {
        padding: 1.75rem 0.875rem;
    }
    
    .image-text-overlay .hero-title {
        font-size: 2rem;
        margin-bottom: 0.875rem;
        line-height: 1.05;
    }
    
    .image-text-overlay .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
        line-height: 1.15;
    }
    
    .image-text-overlay .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.75rem;
        line-height: 1.4;
    }
    
    .image-text-overlay .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1.75rem;
    }
    
    .image-text-overlay .hero-features .feature-item {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
        min-width: 120px;
        width: 100%;
        max-width: 240px;
    }
    
    .image-text-overlay .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 260px;
    }
    
    .image-text-overlay .hero-actions .btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        width: 100%;
        min-width: auto;
    }
}

/* Mobile Extra Small (320px - 360px) */
@media (max-width: 360px) {
    .image-text-overlay {
        margin: 0;
        padding: 0;
        border-radius: 0;
    }
    
    .image-text-overlay .hero-content {
        padding: 1.5rem 0.75rem;
        max-width: 100%;
    }
    
    .image-text-overlay .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
        line-height: 1.05;
    }
    
    .image-text-overlay .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
        line-height: 1.1;
    }
    
    .image-text-overlay .hero-description {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        line-height: 1.35;
    }
    
    .image-text-overlay .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.625rem;
        margin-bottom: 1.5rem;
    }
    
    .image-text-overlay .hero-features .feature-item {
        padding: 0.5rem 0.875rem;
        font-size: 0.8rem;
        min-width: 100px;
        width: 100%;
        max-width: 220px;
    }
    
    .image-text-overlay .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 0.625rem;
        width: 100%;
        max-width: 240px;
    }
    
    .image-text-overlay .hero-actions .btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.8rem;
        width: 100%;
        min-width: auto;
    }
}

/* Mobile Landscape Optimizations */
@media (max-height: 500px) and (orientation: landscape) {
    .image-text-overlay .hero-content {
        padding: 1rem 2rem;
        min-height: auto;
        justify-content: center;
    }
    
    .image-text-overlay .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .image-text-overlay .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .image-text-overlay .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .image-text-overlay .hero-features {
        flex-direction: row;
        gap: 1rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }
    
    .image-text-overlay .hero-features .feature-item {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-width: auto;
        flex: 0 0 auto;
    }
    
    .image-text-overlay .hero-actions {
        flex-direction: row;
        gap: 1rem;
        max-width: none;
    }
    
    .image-text-overlay .hero-actions .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
        min-width: auto;
        flex: 0 0 auto;
    }
}

/* Extra Small Mobile (280px - 320px) */
@media (max-width: 320px) {
    .image-text-overlay .hero-content {
        padding: 1.25rem 0.5rem;
    }
    
    .image-text-overlay .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.625rem;
        line-height: 1.05;
    }
    
    .image-text-overlay .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0.875rem;
        line-height: 1.1;
    }
    
    .image-text-overlay .hero-description {
        font-size: 0.8rem;
        margin-bottom: 1.25rem;
        line-height: 1.3;
    }
    
    .image-text-overlay .hero-features {
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }
    
    .image-text-overlay .hero-features .feature-item {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
        min-width: 80px;
        max-width: 200px;
    }
    
    .image-text-overlay .hero-actions {
        gap: 0.5rem;
        max-width: 200px;
    }
    
    .image-text-overlay .hero-actions .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* Ultra Small Mobile (240px - 280px) */
@media (max-width: 280px) {
    .image-text-overlay .hero-content {
        padding: 1rem 0.375rem;
    }
    
    .image-text-overlay .hero-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
        line-height: 1.05;
    }
    
    .image-text-overlay .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        line-height: 1.1;
    }
    
    .image-text-overlay .hero-description {
        font-size: 0.75rem;
        margin-bottom: 1rem;
        line-height: 1.25;
    }
    
    .image-text-overlay .hero-features {
        gap: 0.375rem;
        margin-bottom: 1rem;
    }
    
    .image-text-overlay .hero-features .feature-item {
        padding: 0.25rem 0.625rem;
        font-size: 0.7rem;
        min-width: 60px;
        max-width: 180px;
    }
    
    .image-text-overlay .hero-actions {
        gap: 0.375rem;
        max-width: 180px;
    }
    
    .image-text-overlay .hero-actions .btn {
        padding: 0.375rem 0.625rem;
        font-size: 0.7rem;
    }
}

/* Mobile Testimonial Cards Optimization */
@media (max-width: 768px) {
    .testimonial-card {
        margin-bottom: 2rem;
        width: 100%;
        max-width: 100%;
    }
    
    .testimonial-card .testimonial-content {
        padding: 1.5rem;
    }
    
    .testimonial-card .testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .testimonial-card .testimonial-author {
        font-size: 0.95rem;
    }
    
    .testimonial-card .testimonial-role {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
    
    .testimonial-card .testimonial-content {
        padding: 1.25rem;
    }
    
    .testimonial-card .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .testimonial-card .testimonial-author {
        font-size: 0.9rem;
    }
    
    .testimonial-card .testimonial-role {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        margin-bottom: 1.25rem;
    }
    
    .testimonial-card .testimonial-content {
        padding: 1rem;
    }
    
    .testimonial-card .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.875rem;
    }
    
    .testimonial-card .testimonial-author {
        font-size: 0.85rem;
    }
    
    .testimonial-card .testimonial-role {
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .testimonial-card {
        margin-bottom: 1rem;
    }
    
    .testimonial-card .testimonial-content {
        padding: 0.875rem;
    }
    
    .testimonial-card .testimonial-text {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }
    
    .testimonial-card .testimonial-author {
        font-size: 0.8rem;
    }
    
    .testimonial-card .testimonial-role {
        font-size: 0.7rem;
    }
}

/* Professional Service Cards - Mobile Responsive */
@media (max-width: 768px) {
    .service-card-wrapper {
        margin-bottom: 1.5rem !important;
    }
    
    .service-card {
        min-height: 280px !important;
        border-radius: 14px !important;
    }
    
    .service-card .service-card-content {
        padding: 1.5rem 1.25rem !important;
    }
    
    .service-card .service-icon {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 1rem !important;
    }
    
    .service-card .service-icon i {
        font-size: 1.25rem !important;
    }
    
    .service-card .service-title {
        font-size: 1.25rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .service-card .service-description {
        font-size: 0.8rem !important;
        margin-bottom: 0 !important;
        max-width: 100% !important;
    }
    
    .service-card-wrapper .service-card-button {
        margin-top: 1rem !important;
    }
    
    .service-card-wrapper .service-card-button .btn.service-btn {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.8rem !important;
    }
}

@media (max-width: 576px) {
    .service-card-wrapper {
        margin-bottom: 1.25rem !important;
    }
    
    .service-card {
        min-height: 260px !important;
        border-radius: 12px !important;
    }
    
    .service-card .service-card-content {
        padding: 1.25rem 1rem !important;
    }
    
    .service-card .service-icon {
        width: 45px !important;
        height: 45px !important;
        margin-bottom: 0.875rem !important;
    }
    
    .service-card .service-icon i {
        font-size: 1.125rem !important;
    }
    
    .service-card .service-title {
        font-size: 1.125rem !important;
        margin-bottom: 0.625rem !important;
    }
    
    .service-card .service-description {
        font-size: 0.75rem !important;
        margin-bottom: 0 !important;
        max-width: 100% !important;
    }
    
    .service-card-wrapper .service-card-button {
        margin-top: 0.875rem !important;
    }
    
    .service-card-wrapper .service-card-button .btn.service-btn {
        padding: 0.625rem 1rem !important;
        font-size: 0.75rem !important;
    }
}

/* ========================================
   ENHANCED RESPONSIVE DESIGN IMPROVEMENTS
   ======================================== */

/* Ultra Small Devices (320px and below) */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-content .title-main {
        font-size: 1.6rem;
    }
    
    .hero-content .welcome-text {
        font-size: 0.8rem;
    }
    
    .hero-btn {
        padding: 12px 16px;
        font-size: 0.8rem;
        min-width: 140px;
    }
    
    .service-card {
        padding: 1rem 0.8rem;
    }
    
    .gallery-item {
        height: 160px;
    }
}

/* Enhanced Mobile Touch Interactions */
@media (max-width: 768px) {
    /* Better touch targets */
    .btn, .hero-btn, .service-btn {
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Enhanced button hover states for touch */
    .btn:hover, .hero-btn:hover, .service-btn:hover {
        transform: scale(1.02);
        transition: transform 0.2s ease;
    }
    
    /* Better form inputs */
    .form-control {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 16px;
        border-radius: 8px;
    }
    
    /* Enhanced navigation */
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .mobile-menu-toggle {
        padding: 8px;
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Enhanced typography */
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    p {
        line-height: 1.5;
        word-wrap: break-word;
    }
    
    /* Enhanced spacing */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    /* Enhanced gallery */
    .gallery-item {
        height: 200px;
        margin-bottom: 1rem;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .gallery-image {
        transition: transform 0.3s ease;
    }
    
    .gallery-item:hover .gallery-image {
        transform: scale(1.05);
    }
    
    /* Enhanced service cards */
    .service-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
        border-radius: 12px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .service-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    /* Enhanced contact section */
    .contact-item {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Enhanced footer */
    .footer {
        padding: 2rem 0;
    }
    
    .footer-brand {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-links {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: transform 0.3s ease;
    }
    
    .social-link:hover {
        transform: scale(1.1);
    }
    
    /* Enhanced animations */
    .hero-content {
        animation: fadeInUp 0.8s ease-out;
    }
    
    .service-card {
        animation: fadeInUp 0.6s ease-out;
        animation-fill-mode: both;
    }
    
    .service-card:nth-child(1) { animation-delay: 0.1s; }
    .service-card:nth-child(2) { animation-delay: 0.2s; }
    .service-card:nth-child(3) { animation-delay: 0.3s; }
    .service-card:nth-child(4) { animation-delay: 0.4s; }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Enhanced scroll behavior */
    html {
        scroll-behavior: smooth;
    }
    
    /* Enhanced focus states for accessibility */
    .btn:focus, .hero-btn:focus, .service-btn:focus {
        outline: 2px solid #3B82F6;
        outline-offset: 2px;
    }
    
    /* Enhanced loading states */
    .gallery-image {
        background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
        background-size: 200% 100%;
        animation: loading 1.5s infinite;
    }
    
    @keyframes loading {
        0% { background-position: 200% 0; }
        100% { background-position: -200% 0; }
    }
}

/* Enhanced Tablet Experience */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 2rem;
    }
    
    .hero-content .title-main {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
    
    .hero-btn {
        min-width: 180px;
        padding: 14px 24px;
    }
    
    .service-card {
        min-height: 250px;
    }
    
    .gallery-item {
        height: 220px;
    }
    
    /* Enhanced tablet navigation */
    .navbar-nav {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
    }
}

/* Enhanced Desktop Experience */
@media (min-width: 1025px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-content .title-main {
        font-size: 3.5rem;
    }
    
    .hero-actions {
        gap: 1.5rem;
    }
    
    .hero-btn {
        min-width: 200px;
        padding: 16px 32px;
        font-size: 1.1rem;
    }
    
    .service-card {
        min-height: 300px;
        transition: all 0.3s ease;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }
    
    .gallery-item {
        height: 250px;
    }
    
    /* Enhanced desktop animations */
    .hero-content {
        animation: fadeInUp 1s ease-out;
    }
    
    .service-card {
        animation: fadeInUp 0.8s ease-out;
        animation-fill-mode: both;
    }
    
    .service-card:nth-child(1) { animation-delay: 0.1s; }
    .service-card:nth-child(2) { animation-delay: 0.2s; }
    .service-card:nth-child(3) { animation-delay: 0.3s; }
    .service-card:nth-child(4) { animation-delay: 0.4s; }
}

/* Landscape Orientation Enhancements */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-content {
        padding: 0.5rem 0;
    }
    
    .hero-content .title-main {
        font-size: 1.8rem;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 1rem;
    }
    
    .hero-btn {
        min-width: 140px;
        padding: 10px 16px;
    }
}

/* High DPI Display Enhancements */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .gallery-image,
    .service-card {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-content,
    .service-card,
    .gallery-item {
        animation: none;
    }
    
    .btn:hover,
    .service-card:hover,
    .gallery-item:hover {
        transform: none;
    }
}

/* ========================================
   100% RESPONSIVE DESIGN ENHANCEMENTS
   ======================================== */

/* Ultra Wide Screens (1920px and up) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    .hero-content .title-main {
        font-size: 5rem;
    }
    
    .hero-content .welcome-text {
        font-size: 1.8rem;
    }
    
    .service-card {
        min-height: 350px;
    }
    
    .gallery-item {
        height: 300px;
    }
}

/* Large Desktop (1600px - 1919px) */
@media (min-width: 1600px) and (max-width: 1919px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-content .title-main {
        font-size: 4.5rem;
    }
    
    .service-card {
        min-height: 320px;
    }
}

/* Desktop (1200px - 1599px) */
@media (min-width: 1200px) and (max-width: 1599px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-content .title-main {
        font-size: 3.8rem;
    }
    
    .service-card {
        min-height: 300px;
    }
}

/* Large Tablet (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .container {
        max-width: 100%;
        padding: 0 2rem;
    }
    
    .hero-content .title-main {
        font-size: 3.2rem;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .service-card {
        min-height: 280px;
    }
    
    .gallery-item {
        height: 240px;
    }
}

/* Tablet Portrait (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    
    .hero-content .title-main {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
    
    .hero-btn {
        min-width: 160px;
        padding: 12px 20px;
    }
    
    .service-card {
        min-height: 260px;
        margin-bottom: 1.5rem;
    }
    
    .gallery-item {
        height: 220px;
    }
    
    .navbar-nav {
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Large Mobile (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .hero-content .title-main {
        font-size: 2.2rem;
    }
    
    .hero-content .welcome-text {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .hero-btn {
        min-width: 180px;
        width: 100%;
        max-width: 280px;
    }
    
    .service-card {
        min-height: 240px;
        margin-bottom: 1rem;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
}

/* Mobile Landscape (480px - 575px) */
@media (min-width: 480px) and (max-width: 575px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-content .title-main {
        font-size: 2rem;
    }
    
    .hero-content .welcome-text {
        font-size: 0.9rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .hero-btn {
        min-width: 160px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .service-card {
        min-height: 220px;
        padding: 1rem 0.8rem;
    }
    
    .gallery-item {
        height: 180px;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .service-price {
        font-size: 0.8rem;
    }
}

/* Small Mobile (360px - 479px) */
@media (min-width: 360px) and (max-width: 479px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero-content .title-main {
        font-size: 1.8rem;
    }
    
    .hero-content .welcome-text {
        font-size: 0.8rem;
    }
    
    .hero-tagline {
        font-size: 0.7rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-btn {
        min-width: 140px;
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .service-card {
        min-height: 200px;
        padding: 0.8rem 0.6rem;
    }
    
    .gallery-item {
        height: 160px;
    }
    
    .service-title {
        font-size: 1rem;
        padding: 0.4rem !important;
    }
    
    .service-price {
        font-size: 0.75rem;
        padding: 0.25rem 0.4rem !important;
    }
    
    .navbar {
        padding: 0.4rem 0.75rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
}

/* Extra Small Mobile (320px - 359px) */
@media (min-width: 320px) and (max-width: 359px) {
    .container {
        padding: 0 0.4rem;
    }
    
    .hero-content .title-main {
        font-size: 1.6rem;
    }
    
    .hero-content .welcome-text {
        font-size: 0.75rem;
    }
    
    .hero-tagline {
        font-size: 0.65rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.4rem;
    }
    
    .hero-btn {
        min-width: 120px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .service-card {
        min-height: 180px;
        padding: 0.6rem 0.4rem;
    }
    
    .gallery-item {
        height: 140px;
    }
    
    .service-title {
        font-size: 0.9rem;
        padding: 0.3rem !important;
    }
    
    .service-price {
        font-size: 0.7rem;
        padding: 0.2rem 0.3rem !important;
    }
    
    .navbar {
        padding: 0.3rem 0.5rem;
    }
    
    .navbar-brand {
        font-size: 0.9rem;
    }
}

/* Ultra Small Mobile (240px - 319px) */
@media (min-width: 240px) and (max-width: 319px) {
    .container {
        padding: 0 0.3rem;
    }
    
    .hero-content .title-main {
        font-size: 1.4rem;
    }
    
    .hero-content .welcome-text {
        font-size: 0.7rem;
    }
    
    .hero-tagline {
        font-size: 0.6rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .hero-btn {
        min-width: 100px;
        padding: 5px 10px;
        font-size: 0.7rem;
    }
    
    .service-card {
        min-height: 160px;
        padding: 0.5rem 0.3rem;
    }
    
    .gallery-item {
        height: 120px;
    }
    
    .service-title {
        font-size: 0.8rem;
        padding: 0.25rem !important;
    }
    
    .service-price {
        font-size: 0.65rem;
        padding: 0.15rem 0.25rem !important;
    }
    
    .navbar {
        padding: 0.25rem 0.4rem;
    }
    
    .navbar-brand {
        font-size: 0.8rem;
    }
}

/* Enhanced Touch Interactions for All Devices */
@media (hover: none) and (pointer: coarse) {
    .btn, .hero-btn, .service-btn, .nav-link, .mobile-nav-link {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .service-card {
        cursor: pointer;
    }
    
    .gallery-item {
        cursor: pointer;
    }
}

/* High DPI/Retina Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-card,
    .gallery-image,
    .hero-video {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .mobile-menu-overlay,
    .hero-actions,
    .service-card-button,
    .footer {
        display: none !important;
    }
    
    .hero-content {
        color: #000 !important;
        text-shadow: none !important;
    }
    
    .service-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .service-card {
        background-color: rgba(0, 0, 0, 0.8);
    }
    
    .service-title,
    .service-price {
        background: rgba(0, 0, 0, 0.9) !important;
        color: #ffffff !important;
    }
}

/* Focus Management for Keyboard Navigation */
@media (any-hover: hover) {
    .btn:focus,
    .hero-btn:focus,
    .service-btn:focus,
    .nav-link:focus {
        outline: 2px solid #3B82F6;
        outline-offset: 2px;
    }
}