/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0088cc;
    --primary-dark: #006699;
    --secondary-color: #6c757d;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-accent: #f0f9ff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-size: 16px;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 900;
}

h2 {
    font-size: 2.25rem;
    font-weight: 800;
}

h3 {
    font-size: 1.875rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
    padding: 6rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: white;
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

/* Form Styles */
.estimate-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.form-wrapper h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.form-wrapper > p {
    text-align: center;
    margin-bottom: 2rem;
}

.estimate-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

.radio-label input[type="radio"] {
    margin: 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    margin-top: 0.25rem;
}

.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error-color);
}

.form-group.error .error-message {
    display: block;
}

.success-message {
    background: var(--bg-accent);
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.success-message h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Projects Section */
.projects-section {
    padding: 6rem 0;
}

.projects-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.projects-section > .container > p {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.project-card {
    background: white;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.new-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--success-color);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.project-media {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-media img,
.project-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-media img,
.project-card:hover .project-media video {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.project-card:hover .video-overlay {
    background: rgba(0, 0, 0, 0.9);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    background: var(--bg-accent);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-date {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-content h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-ctas {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.service-areas {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.service-areas h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-areas ul {
    list-style: none;
}

.service-areas li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.service-areas li:last-child {
    border-bottom: none;
}

/* Footer */
.footer {
    background: var(--text-primary);
    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 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

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

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

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

/* Project details */
.project-details {
    margin: 0.75rem 0;
    font-size: 0.875rem;
}

.detail-item {
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
}

.detail-item strong {
    color: var(--text-primary);
}

.lightbox-details {
    margin: 1rem 0;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.lightbox-details .detail-item {
    margin-bottom: 0.5rem;
}

/* Page header for projects page */
.page-header {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
    padding: 4rem 0 2rem;
    text-align: center;
}

.page-header-content h1 {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}

.breadcrumb {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

/* Projects filters */
.projects-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.projects-filters label {
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 0.5rem;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
}

.results-count {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Projects CTA section */
.projects-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
}

.projects-cta h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.projects-cta p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Empty projects state */
.empty-projects {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
}

.empty-projects p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.empty-projects a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.empty-projects a:hover {
    color: var(--primary-dark);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    z-index: 2000;
    overflow-y: auto;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-content {
    background: white;
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-header {
    padding: 1.5rem 1.5rem 0;
}

.lightbox-header h3 {
    margin-bottom: 0;
}

.lightbox-media {
    padding: 1rem 1.5rem;
}

.media-container {
    position: relative;
    margin-bottom: 1rem;
}

.media-container img,
.media-container video {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.media-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1.2rem;
}

.nav-btn:disabled {
    background: var(--border-color);
    cursor: not-allowed;
}

.media-dots {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.media-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: background 0.2s ease;
}

.media-dot.active {
    background: var(--primary-color);
}

.lightbox-info {
    padding: 0 1.5rem 1.5rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.alert-success {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.alert-error {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Container and spacing */
    .container {
        padding: 0 1.25rem;
    }
    
    /* Typography improvements */
    h1 {
        font-size: 2.25rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    h2 {
        font-size: 1.875rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }
    
    h3 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    /* Hero section mobile optimization */
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    /* Form improvements for mobile */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-wrapper {
        padding: 2.5rem 1.5rem;
        margin: 0 1rem;
        border-radius: var(--radius-xl);
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-radius: var(--radius-md);
    }
    
    /* About section mobile layout */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-ctas {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .service-areas {
        padding: 1.5rem;
        background: var(--bg-secondary);
        border-radius: var(--radius-lg);
    }
    
    .service-areas ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-top: 1rem;
    }
    
    /* Projects grid mobile optimization */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Projects filters mobile */
    .projects-filters {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        padding: 1.25rem;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .filter-group label {
        text-align: center;
        margin-right: 0;
    }
    
    .filter-select {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .results-count {
        text-align: center;
        font-size: 1rem;
    }
    
    /* Projects CTA mobile */
    .projects-cta {
        margin: 2rem 1rem 0;
        padding: 2rem 1.5rem;
    }
    
    .projects-cta h3 {
        font-size: 1.5rem;
    }
    
    .projects-cta p {
        font-size: 1rem;
    }
    
    /* Empty projects mobile */
    .empty-projects {
        margin: 1.5rem 1rem;
        padding: 3rem 1.5rem;
    }
    
    .empty-projects p {
        font-size: 1rem;
    }
    
    .project-card {
        border-radius: var(--radius-lg);
        overflow: hidden;
    }
    
    .project-card-content {
        padding: 1.5rem;
    }
    
    .project-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .project-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .project-tags {
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .project-tag {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
    }
    
    /* Footer mobile layout */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section {
        padding: 1.5rem;
        background: var(--bg-secondary);
        border-radius: var(--radius-lg);
    }
    
    .footer-section h3 {
        margin-bottom: 1rem;
        color: var(--text-primary);
    }
    
    .footer-section ul {
        gap: 0.75rem;
    }
    
    /* Lightbox mobile improvements */
    .lightbox.active {
        padding: 1rem;
    }
    
    .lightbox-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
        border-radius: var(--radius-lg);
    }
    
    .media-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    /* Mobile button improvements */
    .btn {
        min-height: 48px;
        min-width: 48px;
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: var(--radius-lg);
        transition: all 0.2s ease;
    }
    
    .btn-large {
        min-height: 52px;
        padding: 1.125rem 2.25rem;
        font-size: 1.125rem;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    /* Header mobile improvements */
    .header {
        padding: 0.75rem 0;
    }
    
    .header-content {
        padding: 0.75rem 0;
    }
    
    .logo {
        font-size: 1.125rem;
    }
    
    .logo img {
        width: 50px;
        height: 50px;
    }
    
    /* Navigation mobile improvements */
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-menu a {
        font-size: 0.95rem;
        padding: 0.5rem 0.75rem;
        border-radius: var(--radius-md);
        transition: all 0.2s ease;
    }
    
    .nav-menu a:hover,
    .nav-menu a:active {
        background: var(--bg-accent);
        color: var(--primary-color);
    }
    
    /* Section spacing for mobile */
    .estimate-section,
    .projects-section,
    .about-section {
        padding: 3rem 0;
    }
    
    .estimate-section h2,
    .projects-section h2,
    .about-section h2 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Projects CTA mobile styling */
    .projects-cta {
        margin-top: 2.5rem;
        text-align: center;
    }
    
    /* Empty projects message mobile styling */
    .empty-projects {
        margin: 2rem 1rem;
    }
    
    .empty-projects p {
        padding: 2rem 1.5rem;
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    /* Container adjustments for very small screens */
    .container {
        padding: 0 1rem;
    }
    
    /* Hero section for small mobile */
    .hero {
        padding: 3rem 0 2rem;
    }
    
    .hero-title {
        font-size: 1.875rem;
        line-height: 1.1;
        margin-bottom: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .hero-ctas {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    /* Section spacing for small mobile */
    .estimate-section,
    .projects-section,
    .about-section {
        padding: 2.5rem 0;
    }
    
    .estimate-section h2,
    .projects-section h2,
    .about-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    /* Form optimizations for small mobile */
    .form-wrapper {
        margin: 0 0.5rem;
        padding: 2rem 1.25rem;
        border-radius: var(--radius-lg);
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.75rem 0.875rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Button sizing for small mobile */
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-large {
        min-height: 48px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Project cards for small mobile */
    .project-card {
        margin: 0 0.5rem;
    }
    
    .project-card-content {
        padding: 1.25rem;
    }
    
    .project-card h3 {
        font-size: 1.125rem;
    }
    
    .project-card p {
        font-size: 0.9rem;
    }
    
    .project-tags {
        gap: 0.375rem;
    }
    
    .project-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.625rem;
    }
    
    /* About section for small mobile */
    .about-grid {
        gap: 2rem;
    }
    
    .service-areas {
        padding: 1.25rem;
    }
    
    .service-areas ul {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    /* Footer for small mobile */
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section {
        padding: 1.25rem;
    }
    
    /* Badges and form elements */
    .badges {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .radio-group label {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Lightbox for small mobile */
    .lightbox-content {
        margin: 0.5rem;
        max-height: calc(100vh - 1rem);
    }
    
    .lightbox-header {
        padding: 1rem;
    }
    
    .lightbox-header h3 {
        font-size: 1.25rem;
    }
    
    /* Header adjustments for small mobile */
    .header {
        padding: 0.5rem 0;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .logo img {
        width: 45px;
        height: 45px;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
        padding: 0.375rem 0.625rem;
    }
}

/* Animation utilities */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    /* Touch-friendly improvements */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Better scrolling on mobile */
    html {
        scroll-behavior: auto;
    }
    
    /* Improved focus states for mobile */
    .btn:focus-visible,
    input:focus-visible,
    textarea:focus-visible,
    select:focus-visible {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
    
    /* Card hover effects for mobile */
    .project-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Form field improvements */
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
    }
    
    /* Better spacing for mobile forms */
    .form-wrapper {
        box-shadow: var(--shadow-lg);
    }
    
    /* Improved mobile navigation */
    .nav-menu a {
        position: relative;
    }
    
    .nav-menu a::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }
    
    .nav-menu a:hover::after,
    .nav-menu a:active::after {
        width: 100%;
    }
    
    /* Mobile-specific animations */
    .project-card,
    .form-wrapper,
    .about-content {
        animation: fadeInUp 0.6s ease-out;
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Better mobile lightbox */
    .lightbox {
        backdrop-filter: blur(8px);
    }
    
    .lightbox-content {
        animation: slideUp 0.3s ease-out;
    }
    
    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(50px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Mobile-optimized service areas */
    .service-areas ul li {
        padding: 0.75rem 1rem;
        background: var(--bg-primary);
        border-radius: var(--radius-md);
        border: 1px solid var(--border-color);
        transition: all 0.2s ease;
    }
    
    .service-areas ul li:hover {
        background: var(--bg-accent);
        border-color: var(--primary-color);
        transform: translateY(-1px);
    }
    
    /* Mobile footer improvements */
    .footer-section ul li a {
        padding: 0.5rem 0;
        display: block;
        transition: color 0.2s ease;
    }
    
    .footer-section ul li a:hover {
        color: var(--primary-color);
    }
    
    /* Mobile button states */
    .btn:active {
        transform: scale(0.96);
        transition: transform 0.1s ease;
    }
    
    .btn-primary:active {
        background: var(--primary-dark);
    }
    
    .btn-outline:active {
        background: var(--primary-color);
        color: white;
    }
}

/* Focus visible improvements */
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Smooth scrolling for anchors */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
