* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF6B35;
    --secondary: #004E89;
    --accent: #F7B801;
    --dark: #1A1A2E;
    --light: #EAEAEA;
    --white: #FFFFFF;
    
    /* 🎨 CHANGE YOUR HERO IMAGE HERE 👇 */
    --hero-image: url('../images/grand-junction-ridgeline.jpg');
    /* Replace with your image URL or local file path like: url('my-image.jpg') */
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    background: var(--white);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--dark);
    z-index: 1000;
    padding: 0 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo-image {
  height: 100px;
  width: auto;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

.cta-btn {
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

.cta-btn:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3; /* Adjust opacity: 0.1 (faint) to 0.8 (bright) */
}

/* Optional: Add an overlay to darken/tint the image */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(135deg, rgba(0,78,137,0.7) 0%, rgba(26,26,46,0.7) 100%);*/
    /* Comment out the line above to remove the color overlay */
}

@keyframes slidePattern {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(70px) translateY(70px); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    color: var(--white);
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: 2px;
}

.hero h1 span {
    color: var(--primary);
    display: block;
    font-size: 6rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    display: inline-block;
}

.btn-primary:hover {
    background: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,107,53,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-3px);
}

/* Featured Section */
.featured {
    padding: 8rem 2rem;
    background: var(--light);
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--dark);
    letter-spacing: -1px;
}

.featured-plan {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    transition: transform 0.3s ease;
}

.featured-plan:hover {
    transform: translateY(-10px);
}

.plan-image {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.plan-image::after {
    content: '🏠';
    position: absolute;
    font-size: 15rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
}

.plan-details {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.plan-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.plan-details h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
}

.plan-specs {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 600;
}

.plan-details p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

/* Communities Grid */
.communities {
    padding: 8rem 2rem;
    background: var(--white);
}

.state-group {
    margin-bottom: 5rem;
}

.state-header {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.communities-grid {
    display: grid;
    gap: 2rem;
}

/* Utah: 4 circles in a row */
.utah-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* Colorado: 2 circles centered */
.colorado-grid {
    grid-template-columns: repeat(4, 1fr);
}

.colorado-grid .community-card:nth-child(1) {
    grid-column: 2 / 3;
}

.colorado-grid .community-card:nth-child(2) {
    grid-column: 3 / 4;
}

.community-card {
    background: linear-gradient(135deg, var(--secondary), var(--dark));
    border-radius: 50%; /* Makes it a circle */
    overflow: hidden;
    position: relative;
    aspect-ratio: 1; /* Makes it square, then border-radius makes it circular */
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

.community-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255,107,53,0.3), transparent);
}

.community-image {
    font-size: 8rem;
    z-index: 1;
    transition: all 0.3s ease;
}

.community-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.community-card:hover .community-overlay {
    opacity: 1;
}

.community-card:hover .community-image {
    transform: scale(0.8);
    opacity: 0;
}

.community-overlay h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.community-overlay .address {
    font-size: 1.1rem;
    color: var(--white);
    text-align: center;
    opacity: 0.9;
}



/* Quiz Section */
.quiz-section {
    padding: 8rem 2rem;
    background: var(--primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quiz-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.quiz-content {
    position: relative;
    z-index: 2;
}

.quiz-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.quiz-section p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Map Section */
.map-section {
    padding: 8rem 2rem;
    background: var(--dark);
    color: var(--white);
}

.map-container {
    background: var(--secondary);
    border-radius: 20px;
    padding: 4rem;
    margin-top: 3rem;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.map-container::after {
    content: '📍';
    position: absolute;
    font-size: 10rem;
    opacity: 0.1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

.locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    z-index: 2;
}

.location {
    text-align: center;
}

.location h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.location p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

/* Contact Form Section */
.contact-form-section {
    padding: 8rem 2rem;
    background: var(--light);
}

.contact-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--light);
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

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

.helper-text {
    font-size: 0.85rem;
    font-weight: 400;
    color: #666;
    font-style: italic;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.75rem;
    border: 2px solid var(--light);
    border-radius: 10px;
    transition: all 0.3s ease;
    background: var(--white);
}

.checkbox-label:hover:not(.disabled) {
    border-color: var(--primary);
    background: rgba(255, 107, 53, 0.05);
}

.checkbox-label.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f5f5f5;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-label.disabled input[type="checkbox"] {
    cursor: not-allowed;
}

.checkbox-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
}

.checkbox-label.disabled .checkbox-text {
    color: #999;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 1.2rem;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* INDIVIDUAL PAGES */

/* INDIVIDUAL PAGES Hero Section */
        .community-hero {
            height: 60vh;
            background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 70px;
        }

        .community-hero-content {
            text-align: center;
            color: var(--white);
            z-index: 2;
        }

        .community-hero h1 {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 5rem;
            letter-spacing: 3px;
            margin-bottom: 1rem;
        }

        .community-hero p {
            font-size: 1.5rem;
            opacity: 0.9;
        }

/* Description Section */
.description-section {
    padding: 6rem 2rem;
    background: var(--white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.description-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.description-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.description-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #666;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 10px;
}

.location-info span {
    font-size: 2rem;
}

.location-info p {
    margin: 0;
    font-weight: 600;
    color: var(--dark);
}

.description-image {
    background: var(--dark);
    border-radius: 20px;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
    min-height: 400px;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    align-items: center;
    justify-content: center;
    font-size: 10rem;
    position: absolute;
    top: 0;
    left: 0;
}

.slide.active {
    display: flex;
}

/* Slideshow navigation */
.slide-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* Prev/Next buttons */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: var(--white);
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slide-btn:hover {
    background: rgba(0,0,0,0.8);
}

.slide-btn.prev {
    left: 10px;
}

.slide-btn.next {
    right: 10px;
}

.description-cta {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.description-cta .btn-primary,
.description-cta .btn-secondary {
    flex: 1;
}

/* Floor Plans Section */
.floorplans-section {
    padding: 6rem 2rem;
    background: var(--light);
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

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

.floorplan-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.floorplan-card:hover {
    transform: translateY(-10px);
}

.floorplan-image {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    height: 250px;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.floorplan-image img {
    width: 100%;
    height: 100%;
    max-height: 250px;
    object-fit: cover;
    object-position: center;
}


.floorplan-details {
    padding: 2rem;
}

.floorplan-details h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.floorplan-specs {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    font-size: 0.95rem;
    color: #666;
}

.floorplan-price {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    margin: 1.5rem 0;
}

.availability-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #2ecc71;
    color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.availability-badge.sold-out {
    background: #e74c3c;
}

.btn-apply {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-apply:hover {
    background: transparent;
    color: var(--primary);
}

/* Amenities Section */
.amenities-section {
    padding: 6rem 2rem;
    background: var(--white);
}

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

.amenity-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.amenity-item:hover {
    background: var(--light);
}

.amenity-item span {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.amenity-item h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: var(--dark);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--dark);
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

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

.footer-section h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: var(--light);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.7;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .utah-grid,
    .colorado-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /*Reset Colorado centering on tablet*/
    .colorado-grid .community-card:nth-child(1),
    .colorado-grid .community-card:nth-child(2) {
        grid-column: auto;
    }

    .plan-details {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-container .cta-btn {
        display: none;
    }

    .hero {
        min-height: 100vh;
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h1 span {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .featured, .communities, .quiz-section, .map-section {
        padding: 4rem 1rem;
    }

    .featured-plan {
        grid-template-columns: 1fr;
    }

    .plan-image {
        min-height: 300px;
    }

    .plan-details {
        padding: 2rem 1.5rem;
    }

    .plan-details h3 {
        font-size: 2rem;
    }

    .plan-specs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .communities-grid {
         grid-template-columns: 1fr;
     }

     .utah-grid,
     .colorado-grid {
        grid-template-columns: 1fr;
     }

     .state-header {
        font-size: 2rem;
     }

     .state-group {
        margin-bottom: 3rem;
     }
     
     .community-card {
         aspect-ratio: auto;
         min-height: 300px;
     }
     
     /* On mobile, always show the overlay */
     .community-overlay {
         opacity: .7;
         background: rgba(0,0,0,0.7);
     }
     
     .community-image {
         position: absolute;
         opacity: 0.2;
         font-size: 10rem;
     }
     
     .community-overlay h3 {
         font-size: 2rem;
     }
     
     .community-overlay .address {
         font-size: 1rem;
     }

     .community-card {
         min-height: 500px;
     }

     .community-content {
         padding: 2rem;
     }

     .community-content h3 {
         font-size: 2rem;
     }

     .community-icon {
         font-size: 4rem;
     }

    .quiz-section h2 {
        font-size: 2.5rem;
    }

    .quiz-section p {
        font-size: 1.1rem;
    }

    .map-container {
        padding: 2rem;
    }

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

    .community-hero h1 {
                font-size: 3rem;
            }

    .description-grid {
        grid-template-columns: 1fr;
    }
   
    .description-cta {
        flex-direction: column;
    }
   
    .description-cta .btn-primary,
    .description-cta .btn-secondary {
        width: 100%;
    }

    .floorplans-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 400px;
    }
   
    .slide {
        font-size: 6rem;
    }
   
    .slide-btn {
        font-size: 1.5rem;
        padding: 0.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem .5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h1 span {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .plan-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .quiz-section h2 {
        font-size: 2rem;
    }

    .community-content h3 {
        font-size: 1.75rem;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}