/* CSS Custom Properties for Mobile Optimization */
:root {
    --transition-duration: 0.3s;
    --touch-target-size: 44px;
    --mobile-padding: 1rem;
    --mobile-border-radius: 8px;
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Lazy loading styles */
.lazy {
    opacity: 0;
    transition: opacity var(--transition-duration);
}

.lazy.loaded {
    opacity: 1;
}

/* Mobile-specific touch optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Touch device optimizations */
    .btn, .nav-link, .contact-item {
        min-height: var(--touch-target-size);
        -webkit-tap-highlight-color: transparent;
    }
    
    .btn:active, .nav-link:active, .contact-item:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Improve scrolling performance on mobile */
    * {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Optimize text selection */
    ::selection {
        background-color: rgba(37, 99, 235, 0.2);
    }
    
    /* Better focus indicators for touch */
    .btn:focus, .nav-link:focus {
        outline: 2px solid #2563eb;
        outline-offset: 2px;
    }
}

/* Critical CSS - Above the fold styles */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #2563eb;
    font-weight: 700;
}

.logo-image {
    height: 40px;
    width: auto;
    margin-right: 10px;
    display: block; /* Show by default */
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

.hamburger {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hamburger animation for active state */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Banner Section */
.banner {
    width: 100%;
    height: 300px;
    background: url('cropped-Beach-huts-Littlehampton.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin-top: 70px; /* Account for fixed navbar */
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-logo {
    margin-bottom: 2rem;
    text-align: center;
}

.hero-logo-image {
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(1); /* Makes the logo white */
    display: block; /* Show by default */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(79, 70, 229, 0.4);
}

.hero-placeholder i {
    font-size: 5rem;
    color: white;
}



/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f9fafb;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.testimonial-highlight {
    background: #2563eb;
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-style: italic;
    position: relative;
}

.testimonial-highlight cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #4b5563;
}

.about-text ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.about-text li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.6;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #6b7280;
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: #f9fafb;
}

.pricing-content {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 2rem;
}

.currency {
    font-size: 2rem;
    vertical-align: top;
}

.period {
    font-size: 1.2rem;
    color: #6b7280;
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: #4b5563;
    font-size: 1.1rem;
}

.pricing-features i {
    color: #10b981;
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.pricing-note {
    background: #f3f4f6;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Clients Section */
.clients {
    padding: 80px 0;
    background: white;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.client-card {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: white;
}

.client-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.client-card h3 {
    font-size: 1.2rem;
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.client-card p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #f9fafb;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4b5563;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-info strong {
    display: block;
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.author-info span {
    color: #6b7280;
    font-size: 0.95rem;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: #f9fafb;
}

.blog-controls {
    margin-bottom: 2rem;
    text-align: right;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-excerpt {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card-category {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
}

.close:hover {
    color: #1f2937;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1f2937;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 300px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.contact-details p {
    color: #6b7280;
}

.contact-details a {
    color: #2563eb;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}



/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.back-to-top:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: white;
}

/* Footer services grid for two columns */
.footer-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.footer-services-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-services-grid ul li {
    margin-bottom: 0.5rem;
}

.footer-services-grid ul li a {
    color: #d1d5db;
    text-decoration: none;
}

.footer-services-grid ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

.build-info {
    font-size: 0.75rem;
    color: #6b7280;
    font-style: italic;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* Navigation mobile optimization */
    .hamburger {
        display: flex !important;
        padding: 0.5rem;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #2563eb;
        cursor: pointer;
        transition: color 0.3s ease;
        min-height: 44px; /* Touch-friendly target */
        align-items: center;
        justify-content: center;
    }

    .hamburger:hover {
        color: #1d4ed8;
    }

    .nav-menu {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        flex-direction: column !important;
        background-color: white !important;
        width: 100% !important;
        text-align: center !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1) !important;
        padding: 2rem 0 !important;
        z-index: 1000 !important;
        border-radius: 0 0 12px 12px !important;
        transform: translateY(-100%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        display: none !important; /* Hidden by default on mobile */
    }

    .nav-menu.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important; /* Show when active */
        animation: slideIn 0.3s ease;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(-10px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-item {
        width: 100%;
        padding: 0.8rem 0;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
        border-radius: 8px;
        transition: background-color 0.3s ease;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-link:hover {
        background-color: #f8fafc;
    }

    /* Hero section mobile optimization */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }

    .hero-placeholder {
        width: 100px;
        height: 100px;
        margin: 1rem auto;
    }

    .hero-placeholder i {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        min-height: 44px;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 250px;
    }

    /* Banner section mobile optimization */
    .banner-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .banner-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }

    /* Content sections mobile optimization */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Section headers mobile optimization */
    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    /* Contact section mobile optimization */
    .contact-info {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .contact-item {
        width: 100%;
        max-width: none;
        padding: 1.5rem;
        margin: 0;
        min-height: 44px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    /* Pricing card mobile optimization */
    .pricing-card {
        margin: 1rem 0;
        padding: 1.5rem;
    }

    .price {
        font-size: 2.5rem;
    }

    /* Stats display mobile optimization */
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat {
        padding: 1.5rem;
    }

    .stat h3 {
        font-size: 2rem;
    }

    /* Improved spacing for mobile */
    .hero, .banner, section {
        padding: 2rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    /* Better text readability on mobile */
    p, li {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Service and blog cards mobile optimization */
    .service-card,
    .blog-card {
        padding: 1.5rem;
        margin: 0;
    }


    
    /* Back to top button mobile optimization */
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* Footer mobile optimization */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    /* Footer services grid mobile optimization */
    .footer-services-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 80px 0 50px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .hero-placeholder {
        width: 80px;
        height: 80px;
    }

    .hero-placeholder i {
        font-size: 2rem;
    }

    .banner-title {
        font-size: 1.8rem;
    }

    .banner-subtitle {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .service-card,
    .blog-card {
        padding: 1.25rem;
        margin: 0;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.8rem 1.25rem;
    }

    .contact-item {
        padding: 1.25rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .pricing-card {
        padding: 1.25rem;
    }

    .price {
        font-size: 2rem;
    }

    .stat h3 {
        font-size: 1.75rem;
    }

    /* Reduce padding for very small screens */
    .hero, .banner, section {
        padding: 1.5rem 0.75rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .banner-title {
        font-size: 1.6rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .btn {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 0.75rem;
    }

    .hero, .banner, section {
        padding: 1.25rem 0.5rem;
    }
} 