/* business.css - Styles for the Business Internet Page */

/* --- Hero Section --- */
.business-hero {
    /* Professional Blue/Dark Theme */
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #ffffff;
    padding: 6rem 1.5rem 4rem;
    text-align: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    margin-bottom: 2rem;
}

.business-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    color: white;
}

.business-hero p {
    font-size: 1.25rem;
    color: #bfdbfe;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Layout --- */
.main-content {
    background-color: #f8fafc;
    padding-bottom: 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--npt-black);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #64748b;
}

/* --- Trusted Partners (Logo Carousel) --- */
.trusted-partners {
    padding: 3rem 0;
    background-color: white;
    overflow: hidden;
    margin-bottom: 4rem;
    border-bottom: 1px solid #e2e8f0;
}

.logo-ribbon {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    white-space: nowrap;
}

/* Gradient Fade on Sides */
.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;
    /* (Slide Width + Gap) * Total Items */
    /* Approx 200px per slide * 20 items (10 original + 10 dupe) */
    width: calc(200px * 20); 
    animation: scroll 40s linear infinite;
}

.logo-slide {
    width: 200px;
    height: 80px; /* Fixed height container */
    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.6;
    transition: all 0.3s ease;
}

.logo-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    /* Move left by width of Original 10 items (200px * 10) */
    100% { transform: translateX(calc(-200px * 10)); } 
}

.logo-track:hover {
    animation-play-state: paused;
}


/* --- Map Section --- */
.map-section {
    margin-bottom: 4rem;
}

.map-wrapper-card {
    background: white;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #e2e8f0; /* Loading placeholder */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Map Legend --- */
.map-legend {
    margin-top: 1.5rem;
    padding: 1rem;
    border-top: 1px solid #f1f5f9;
}

.map-legend h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--npt-black);
}

.legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.legend-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.color-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}

.color-box.red { background-color: #ef4444; }
.color-box.orange { background-color: #f97316; }
.color-box.green { background-color: #22c55e; }
.color-box.blue { background-color: #3b82f6; }

.legend-text {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.legend-text strong {
    color: var(--npt-black);
    margin-bottom: 2px;
}

.legend-text span {
    color: #64748b;
    font-size: 0.8rem;
}

/* --- Inquiry Form Section --- */
.inquiry-section {
    max-width: 1100px;
    margin: 0 auto;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Text left, Form right */
    gap: 3rem;
    align-items: start;
}

.form-intro {
    padding-top: 1rem;
}

.form-intro h2 {
    font-size: 2rem;
    color: var(--npt-black);
    margin-bottom: 1rem;
}

.form-intro p {
    color: #475569;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--npt-black);
}

.benefit-list i {
    color: var(--cfn-green);
    background: #dcfce7;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Form Card */
.form-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.form-card:hover {
    box-shadow: var(--glow-green);
}

.form-card.glass-card {
    background: rgba(255, 255, 255, 0.9);
}

/* Input Consistency with Support Page */
.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.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #1e293b;
}

.form-input:focus {
    outline: none;
    border-color: var(--cfn-green);
    box-shadow: 0 0 0 3px rgba(3, 166, 60, 0.1);
}

.help-text {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 4px;
}

/* 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;
}

.success-box p {
    color: #64748b;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(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;
}

/* Responsive */
@media (max-width: 900px) {
    .form-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .form-intro {
        text-align: center;
    }
    .benefit-list {
        display: inline-block;
        text-align: left;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}