:root {
    --vibrant-fuchsia: #f72585;
    --vibrant-royal: #4361ee;
    --vibrant-teal: #4cc9f0;
    --vibrant-gold: #fee440;
    --vibrant-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #f72585 0%, #4361ee 100%);
    --text-dark: #000a12;
}

/* 1. BASE STYLES (Mobile First) */
body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.5;
    overflow-x: hidden; /* Prevents horizontal wobble on phones */
}

nav {
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #000;
    position: fixed;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
}

.logo { 
    font-weight: 900; 
    font-size: 1.1rem; /* Smaller for mobile to prevent wrapping */
    color: #000; 
    text-decoration: none;
    text-transform: uppercase;
}
.logo span { color: var(--vibrant-fuchsia); }

.nav-links a { 
    color: #000; 
    text-decoration: none; 
    margin-left: 15px; 
    font-size: 0.8rem;
    font-weight: 700;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 40px 5%;
    min-height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: var(--vibrant-white);
    padding: 30px 20px;
    border-radius: 15px;
    border: 4px solid #000;
    box-shadow: 10px 10px 0 #000;
    text-align: center;
    width: 100%;
}

.hero h1 { 
    font-size: 1.8rem; /* Mobile friendly */
    margin: 0 0 10px 0; 
    line-height: 1.1;
    font-weight: 900; 
}
.hero p { font-size: 1rem; color: #333; margin: 0 auto; }

/* Pricing Section */
.pricing-section { padding: 50px 5%; text-align: center; }
.pricing-section h2 { font-size: 2rem; color: #fff; text-shadow: 2px 2px 0 #000; }

.pricing-container {
    display: flex;
    flex-direction: column; /* Stack vertically on mobile */
    gap: 30px;
    align-items: center;
}

.price-card {
    background: var(--vibrant-white);
    border: 3px solid #000;
    padding: 30px;
    width: 100%;
    max-width: 350px; /* Limits width so it doesn't look stretched on tablets */
    border-radius: 12px;
    box-shadow: 8px 8px 0 #000;
    box-sizing: border-box;
}

/* Shared Components */
.btn {
    display: block;
    padding: 15px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    border-radius: 4px;
}

ul { list-style: none; padding: 0; text-align: left; }
li { margin-bottom: 12px; font-size: 0.9rem; display: flex; align-items: center; }
li i { color: var(--vibrant-teal); margin-right: 10px; }

footer { 
    background: #000; 
    color: #fff; 
    padding: 40px 20px; 
    text-align: center; 
    font-size: 0.8rem; 
}

/* 2. TABLET & DESKTOP ENHANCEMENTS (Media Queries) */
@media (min-width: 768px) {
    .logo { font-size: 1.6rem; }
    .nav-links a { font-size: 0.9rem; margin-left: 30px; }
    
    .hero h1 { font-size: 3.5rem; }
    .hero-card { padding: 60px; max-width: 800px; }
    
    .pricing-container {
        flex-direction: row; /* Side-by-side on desktop */
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .price-card { width: 320px; }
}
.contact-section {
padding: 60px 5%;
display: flex;
justify-content: center;
}

/* --- SERVICES SECTION SPECIFICS --- */
/* This reuses your existing .about-card styles but adds specific grid logic */

.services-container {
            flex: 1;
            margin-top: 80px; /* Reduced from 140px for mobile */
            padding: 20px 5% 60px 5%;
            display: flex;
            justify-content: center;
}
.about-card {
            background: var(--vibrant-white);
            max-width: 900px;
            padding: 30px 20px; /* Crucial: Reduced padding for mobile */
            border: 4px solid #000;
            border-radius: 20px;
            box-shadow: 10px 10px 0 #000;
            width: 100%;
            box-sizing: border-box;
        }

/* Ensure icons have the same Neo-Brutalist pop as the rest of the site */
.value-item i {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.value-item h4 {
    margin: 10px 0;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 900;
}

.values-grid {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-top: 40px;
        }

        .value-item {
            padding: 25px;
            border: 3px solid #000;
            border-radius: 12px;
            background: #fff;
            box-shadow: 5px 5px 0 #000;
        }

        .value-item i { font-size: 28px; color: var(--vibrant-teal); margin-bottom: 10px; }
        .value-item h4 { margin: 10px 0; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }


/* Desktop Grid: 2x2 for a clean, balanced look */
@media (min-width: 768px) {
    .values-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-top: 40px;
    }
    
    .value-item {
        transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .value-item:hover {
        transform: translate(-5px, -5px);
        box-shadow: 10px 10px 0 var(--vibrant-teal);
    }
}

.contact-card {
    background: var(--vibrant-white);
    border: 4px solid #000;
    box-shadow: 12px 12px 0 #000;
    padding: 40px 25px;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
}

.contact-card h2 {
    margin-top: 0;
    font-size: 2rem;
    text-transform: uppercase;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 8px;
}

.input-group label {
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input, 
.input-group select, 
.input-group textarea {
    padding: 15px;
    border: 3px solid #000;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px; /* CRITICAL: Prevents iOS zoom */
    background: #f9f9f9;
    transition: 0.2s;
}

.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
    outline: none;
    border-color: var(--vibrant-fuchsia);
    background: #fff;
    box-shadow: 5px 5px 0 var(--vibrant-teal);
}

.submit-btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.1rem;
}

.submit-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--vibrant-royal);
}
/* CALL TO ACTION SECTION */
.cta-section {
    padding: 40px 5% 80px 5%;
    display: flex;
    justify-content: center;
}

.cta-card {
    background: var(--vibrant-white);
    border: 4px solid #000;
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 12px 12px 0 #000;
    max-width: 800px;
    width: 100%;
}

.cta-card h2 {
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.cta-card h2 span {
    color: var(--vibrant-fuchsia);
}

.cta-card p {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    flex-direction: column; /* Stacked for mobile */
    gap: 15px;
}

.primary-cta {
    background: #000;
    color: #fff;
    border: 3px solid #000;
}

.primary-cta:hover {
    background: var(--vibrant-fuchsia);
    border-color: var(--vibrant-fuchsia);
}

.secondary-cta {
    background: transparent;
    color: #000;
    border: 3px solid #000;
}

.secondary-cta:hover {
    background: var(--vibrant-gold);
}

/* --- DESKTOP CTA --- */
@media (min-width: 768px) {
    .cta-card {
        padding: 60px;
    }
    
    .cta-card h2 {
        font-size: 2.8rem;
    }

    .cta-buttons {
        flex-direction: row; /* Side-by-side for desktop */
        justify-content: center;
    }
    
    .btn {
        width: auto;
        padding: 15px 40px;
    }
}
/* Container for the thumbnail link */
.preview-link {
    display: block;
    position: relative;
    border: 3px solid #000;
    border-radius: 8px;
    overflow: hidden; /* Keeps the image inside the borders */
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #000; /* Background color shows through during load */
    text-decoration: none;
}

/* The actual image inside */
.preview-link img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

/* Hover Effects */
.preview-link:hover {
    transform: translate(-5px, -5px);
    box-shadow: 10px 10px 0 var(--vibrant-teal); /* Matches your logo blue */
}

.preview-link:hover img {
    opacity: 0.7; /* Dims slightly to show it's active */
}

/* Adding a "Click to View" hint on hover */
.preview-link::after {
    content: "VIEW FULL BLUEPRINT";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Allows click to pass through to link */
    text-align: center;
    width: 100%;
}

.preview-link:hover::after {
    opacity: 1;
}