/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #3F2305;
    --secondary: #e1ecf0;
    --accent: #d8520e;
    --dark: #0a0a0a;
    --light: #faf8f8;
    --white: #fff;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text h2 {
    color: var(--primary);
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.2;
}

.logo-text span {
    color: var(--dark);
    font-size: 0.75rem;
    display: block;
    line-height: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* EMERGENCY IMAGE FIXES */
img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100%;
    height: auto;
}

/* Force all images to show */
.gallery-item img,
.hero-enhanced img,
.project-card img,
.service-card-enhanced img,
.about-image img,
.featured-projects img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    height: auto;
}

/* Remove any hiding styles */
img[style*="display: none"],
img[style*="visibility: hidden"],
img[style*="opacity: 0"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Style for broken images */
.gallery-item {
    position: relative;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    min-height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Hero Carousel Section */
.hero-carousel {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: white;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 8%;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    animation: slideInLeft 0.8s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10;
    transition: all 0.3s ease;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.hero-prev {
    left: 30px;
}

.hero-next {
    right: 30px;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.hero-cta {
    position: absolute;
    bottom: 80px;
    left: 5%;
    display: flex;
    gap: 1rem;
    z-index: 10;
    flex-wrap: wrap;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsive for Hero Carousel */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-slide {
        padding: 0 5%;
    }
    
    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .hero-prev {
        left: 10px;
    }
    
    .hero-next {
        right: 10px;
    }
    
    .hero-cta {
        bottom: 60px;
        left: 5%;
        right: 5%;
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
}

/* Enhanced Hero Section */
.hero-enhanced {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: -1;
}

.hero-content-enhanced {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 25px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.hero-content-enhanced h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: var(--accent);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons-enhanced {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    text-align: center;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Trust Badges */
.trust-badges {
    padding: 3rem 0;
    background: var(--white);
    border-bottom: 1px solid #eee;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.badge-item i {
    font-size: 2rem;
    color: var(--primary);
}

.badge-item span {
    font-weight: 600;
    color: var(--dark);
}

/* Services Overview */
.services-overview {
    padding: 5rem 0;
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--dark);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card-enhanced {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card-enhanced:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card-enhanced h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card-enhanced p {
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
    color: var(--secondary);
}

.services-cta {
    text-align: center;
}

/* Featured Projects */
.featured-projects {
    padding: 5rem 0;
    background: var(--light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #f8f9fa;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.projects-cta {
    text-align: center;
}

/* Gallery Styles */
.gallery-categories {
    padding: 5rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--dark);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    color: var(--primary);
}

.category-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.category-card h3 {
    margin-bottom: 1rem;
}

/* Image Gallery Sections */
.image-gallery {
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
}

.image-gallery h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Lightbox Modal Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 20px;
    max-width: 90%;
    max-height: 90%;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 1.1rem;
}

/* Navigation Controls */
.lightbox-prev,
.lightbox-next,
.lightbox-close {
    position: absolute;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
}

.lightbox-prev {
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
}

.lightbox-next {
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
}

.lightbox-counter {
    position: absolute;
    top: 20px;
    left: 30px;
    color: white;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--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,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-section a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-link i {
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content-enhanced h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-buttons-enhanced {
        flex-direction: column;
        align-items: center;
    }

    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 2rem;
        top: 10px;
        right: 15px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-content {
        max-width: 95%;
        padding: 10px;
    }

    .lightbox-counter {
        top: 60px;
        left: 15px;
    }

    .whatsapp-link span {
        display: none;
    }
    
    .whatsapp-link {
        padding: 15px;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content-enhanced h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
/* Add to style.css */

/* Contact Page Styles */
.contact-content {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 8px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.method-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.quick-action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-whatsapp-large {
    background: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.btn-call {
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.map-section {
    padding: 3rem 0;
    background: var(--light);
    text-align: center;
}

.map-placeholder {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* About Page Styles */
.about-content {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.features-list {
    margin: 2rem 0;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature i {
    color: var(--primary);
    margin-top: 0.2rem;
}

.feature h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.mission-vision {
    padding: 5rem 0;
    background: var(--light);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mv-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mv-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.mv-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Home Page Additional Styles */
.why-choose-us {
    padding: 5rem 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.process-section {
    padding: 5rem 0;
    background: var(--light);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.testimonials {
    padding: 5rem 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.testimonial-content i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.client-info {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.cta-section-enhanced {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-buttons-enhanced {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
}

.cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary);
}
/* Add image loading states */
.gallery-item {
    position: relative;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    min-height: 200px;
}

.gallery-item.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.gallery-item img {
    transition: opacity 0.3s ease;
}

.gallery-item img:not([src]) {
    opacity: 0;
}
/* Current mobile nav has issues - improve with: */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 100%; /* Start below header */
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
}
/* Improve text scaling for mobile */
@media (max-width: 480px) {
    .hero-content-enhanced h1 {
        font-size: 1.8rem !important; /* Smaller for mobile */
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .stat-number {
        font-size: 1.5rem !important;
    }
}
/* Make buttons more touch-friendly */
@media (max-width: 768px) {
    .btn {
        padding: 14px 20px; /* Larger touch targets */
        min-height: 44px; /* Apple's recommended minimum */
    }
    
    .hero-buttons-enhanced {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons-enhanced .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}
/* Better mobile gallery */
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .gallery-item img {
        height: 200px !important; /* Consistent height */
    }
}
/* Better form UX on mobile */
@media (max-width: 768px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 14px !important;
    }
}
/* Add these to your existing media queries */

/* Tablet Styles (768px and below) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .services-grid-enhanced,
    .projects-grid,
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-item {
        flex: 1;
        min-width: 100px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Styles (480px and below) */
@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem !important;
    }
    
    .section-header h2 {
        font-size: 1.8rem !important;
    }
    
    .service-card-enhanced {
        padding: 1.5rem 1rem;
    }
    
    .trust-badges .badges-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}
/* Prevent 100vh issues on mobile */
.hero-enhanced {
    min-height: 100vh;
    min-height: 100dvh; /* New CSS unit for dynamic viewport height */
}

@media (max-width: 768px) {
    .hero-enhanced {
        min-height: 80vh;
        min-height: 80dvh;
    }
}
/* Mobile Navigation Fixes */
.nav-links.active {
    display: flex !important;
}

/* Hamburger Animation */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-toggle span {
    transition: all 0.3s ease;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex !important;
    }
    
    .nav-links li {
        margin: 0.5rem 0;
    }
    
    .nav-links a {
        padding: 1rem;
        display: block;
        border-bottom: 1px solid #eee;
    }
    
    .nav-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 1000;
    }
}
/* CRITICAL MOBILE NAV FIXES */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        width: 100% !important;
        background: white !important;
        flex-direction: column !important;
        padding: 20px !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
        z-index: 1000 !important;
        height: auto !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
    }
    
    .nav-links[style*="display: flex"] {
        display: flex !important;
    }
    
    .nav-toggle {
        display: flex !important;
        flex-direction: column !important;
        cursor: pointer !important;
        z-index: 1001 !important;
        background: none !important;
        border: none !important;
        padding: 10px !important;
    }
    
    .nav-toggle span {
        width: 25px !important;
        height: 3px !important;
        background: #3F2305 !important;
        margin: 3px 0 !important;
        transition: 0.3s !important;
        display: block !important;
    }
    
    /* Hamburger animation */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px) !important;
    }
    
    .nav-links li {
        margin: 10px 0 !important;
        width: 100% !important;
    }
    
    .nav-links a {
        display: block !important;
        padding: 15px !important;
        border-bottom: 1px solid #eee !important;
        width: 100% !important;
        text-align: left !important;
    }
}
/* Add this to your CSS to hide the debug text */
body::before {
    display: none !important;
    content: none !important;
}
/* MOBILE-OPTIMIZED BUT DESKTOP-LIKE HERO */
@media (max-width: 768px) {
    .hero-enhanced {
        min-height: 80vh !important;
        padding: 4rem 0 !important;
    }
    
    .hero-content-enhanced {
        text-align: center !important;
        max-width: 90% !important;
        margin: 0 auto !important;
    }
    
    .hero-content-enhanced h1 {
        font-size: 2.5rem !important; /* Larger than typical mobile but readable */
        line-height: 1.2 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 2.5rem !important;
        max-width: 600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .hero-stats {
        display: flex !important;
        justify-content: center !important;
        gap: 2rem !important;
        margin: 2.5rem 0 !important;
        flex-wrap: wrap !important;
    }
    
    .stat-item {
        text-align: center !important;
        min-width: 100px !important;
    }
    
    .stat-number {
        font-size: 2rem !important;
        display: block !important;
    }
    
    .hero-buttons-enhanced {
        display: flex !important;
        flex-direction: row !important;
        gap: 1rem !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    
    .hero-buttons-enhanced .btn {
        min-width: 200px !important;
        padding: 12px 25px !important;
    }
}

@media (max-width: 480px) {
    .hero-content-enhanced h1 {
        font-size: 2.2rem !important;
    }
    
    .hero-buttons-enhanced {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .hero-buttons-enhanced .btn {
        width: 100% !important;
        max-width: 280px !important;
    }
    
    .hero-stats {
        gap: 1.5rem !important;
    }
}