.hero {
    /* Flexbox for perfect centering */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    /* Sizing */
    width: 100%;
    min-height: 94vh;
    padding: 0 15px; /* Prevents text hitting edges on mobile */

    /* Modern text styling */
    color: white;
}



/* Add spacing between the elements inside the hero */
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); /* extra safety for readability */
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem; /* Creates the "nice spacing" to the button */
    max-width: 800px;
}

/* The "Get a Quote" Button */
.hero .btn-quote {
    padding: 12px 30px;
    background-color: #ff9800; /* Use your brand color */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.hero .btn-quote:hover {
    transform: scale(1.05);
}
.hero-buttons {
    display: flex;
    gap: 15px;
}
.btn-projects {
    padding: 12px 30px;
    background-color: #ff8c00;
    color: white;
    text-decoration: none;
    border: 2px solid #ff8c00;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.btn-projects:hover {
    transform: scale(1.05);
    background-color: #e67e00;
    border-color: #e67e00;
}
.services { padding: 50px 10%; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.service-card { border: 1px solid #ddd; padding: 20px; border-radius: 8px; text-align: center; }

.services {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 4rem 2rem;
    flex-wrap: wrap;
    background-color: #0a0a0a; /* Dark background */
}

.service-card {
    background: rgba(255, 255, 255, 0.05); /* Semi-transparent */
    backdrop-filter: blur(12px); /* The "Glass" effect */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2.5rem;
    width: 300px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.service-card:hover {
    transform: translateY(-10px); /* Lifts the card up */
    border-color: #ff8c00; /* Subtle orange glow on hover */
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.2);
}

.service-card h3 {
    color: #ff8c00; /* Professional Orange Accent */
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card p {
    color: #cccccc;
    line-height: 1.6;
    font-size: 1rem;
}

.contact-section {
    padding: 80px 10%;
    background: #0a0a0a; /* Deep black to match your theme */
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-container {
    width: 100%;
    max-width: 650px;
    background: rgba(255, 255, 255, 0.03); /* Glassmorphism */
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.contact-container h2 {
    text-align: center;
    color: #ff8c00; /* Matching your orange accent */
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Targeting Django's {{ form.as_p }} structure */
.quote-form p {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.quote-form label {
    font-weight: bold;
    color: #cccccc;
    font-size: 0.9rem;
}

.quote-form input, 
.quote-form textarea {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 15px;
    border-radius: 8px;
    color: white;
    font-family: inherit;
    transition: all 0.3s ease;
}

.quote-form input:focus, 
.quote-form textarea:focus {
    outline: none;
    border-color: #ff8c00;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.2);
}

.submit-btn {
    width: 100%;
    background: #ff8c00;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
    margin-top: 10px;
}

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

.submit-btn:active {
    transform: translateY(0);
}

/* Featured Work Section */
.featured-work {
    padding: 80px 10%;
    background: #0a0a0a;
    text-align: center;
}

.featured-work h2 {
    color: #ff8c00;
    font-size: 2rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.featured-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.featured-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    max-width: 100%;
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 140, 0, 0.2);
}

.featured-card img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.featured-card:hover img {
    transform: scale(1.05);
}

.featured-large {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

.featured-large img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 30px 30px;
    text-align: left;
}

.featured-overlay h3 {
    color: #ff8c00;
    font-size: 1.5rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-overlay p {
    color: #cccccc;
    font-size: 1rem;
    margin: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .featured-large img {
        height: 250px;
    }
    
    .featured-work {
        padding: 40px 5%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
}