/* builders.css - Styles for the Builders & Developers Page */

/* --- Hero Section --- */
.builders-hero {
    /* Industrial/Architecture Theme - Dark Slate to Orange Accent */
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    color: #ffffff;
    padding: 6rem 1.5rem 5rem;
    text-align: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    margin-bottom: 2rem;
    border-bottom: 5px solid #f97316; /* Orange construction accent */
}

.builders-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.builders-hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Layout --- */
.main-content {
    background-color: #f8fafc;
    padding-bottom: 6rem;
}

/* --- Builder Partners (Logo Carousel) --- */
.builder-partners {
    padding: 2rem 0 4rem;
    background-color: #fff;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 4rem;
}

.logo-ribbon {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    white-space: nowrap;
}

/* Gradient Fade */
.logo-ribbon::before,
.logo-ribbon::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.logo-ribbon::before { left: 0; background: linear-gradient(to right, white, transparent); }
.logo-ribbon::after { right: 0; background: linear-gradient(to left, white, transparent); }

.logo-track {
    display: flex;
    /* Adjust width based on repeated sets */
    width: calc(200px * 20); 
    animation: scroll 30s linear infinite;
}

.logo-slide {
    width: 200px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.logo-slide img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 10)); } /* Adjust based on set size */
}

/* --- Benefits Grid --- */
/* --- Enhanced Benefit Cards --- */
/* --- Benefits Grid: The "Architectural" Look --- */
.benefits-section {
    position: relative;
    margin-bottom: 5rem;
    padding: 2rem 0;
    /* Adds a subtle engineering "dot grid" pattern to the background */
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 20px 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.benefit-card {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 4px; /* Sharper corners for a "technical" feel */
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden; /* Keeps the watermark inside */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.benefit-card.glass-card {
    border-radius: 12px;
}

/* The Large Watermark Number (01, 02, 03) */
.benefit-card::before {
    content: attr(data-step);
    position: absolute;
    top: -1rem;
    right: -1rem;
    font-size: 8rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: #f1f5f9; /* Very subtle gray */
    z-index: 0;
    line-height: 1;
    transition: all 0.4s ease;
}

/* Ensure content sits above the watermark */
.card-content {
    position: relative;
    z-index: 1;
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #fff7ed; /* Light orange background */
    color: #f97316;
    font-size: 1.75rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
    transition: color 0.3s ease;
}

.benefit-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}

/* The Animated Bottom Border (The "Progress Bar") */
.card-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e2e8f0; /* Start gray */
    transition: background 0.3s ease;
}

.card-border::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #f97316; /* Brand Orange */
    transition: width 0.4s ease-out;
}

/* --- Hover Effects --- */

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

/* 1. Watermark moves slightly and darkens */
.benefit-card:hover::before {
    color: #fff7ed; /* Turns subtle orange tint */
    transform: translate(-10px, 10px); /* Shifts position */
}

/* 2. Icon box changes style */
.benefit-card:hover .icon-box {
    background: #f97316;
    color: white;
    transform: rotateY(180deg); /* Optional: A cool 3D flip, or just scale(1.1) */
}

/* 3. The Bottom Line Fills Up */
.benefit-card:hover .card-border::after {
    width: 100%;
}
/* --- Form Section --- */
.inquiry-section {
    max-width: 1000px;
    margin: 0 auto;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.form-intro h2 {
    font-size: 2.2rem;
    color: var(--npt-black);
    margin-bottom: 1.5rem;
}

.form-intro p {
    color: #475569;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.form-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}

/* Form Styles */
.form-group { margin-bottom: 1.25rem; }
.form-row { display: flex; gap: 1rem; }
.form-group.half { flex: 1; }

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #334155;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #1e293b;
    background: #fff;
}

.form-input:focus {
    outline: none;
    border-color: #f97316; /* Orange focus */
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.select-wrapper { position: relative; }
.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #94a3b8;
    font-size: 0.8rem;
}
select { -webkit-appearance: none; appearance: none; }

/* Success State */
.success-box {
    text-align: center;
    padding: 2rem 0;
    animation: fadeIn 0.5s ease;
}

.icon-check {
    font-size: 3.5rem;
    color: var(--cfn-green);
    margin-bottom: 1rem;
}

.success-box h3 {
    color: var(--npt-black);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
    .form-wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { flex-direction: column; gap: 0; }
}

/* Anti-Spam Honeypot (Visually Hidden) */
.visual-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}