/* Contact page: extra styles only.
   Navbar, footer, buttons and animations come from style.css */

html { scroll-padding-top: 100px; }
.section { scroll-margin-top: 100px; }

/* ---------- Hero: text + background video ---------- */
.contact-hero {
    min-height: 84vh;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #061522;
}

/* Dim the video */
.contact-hero .hero-video {
    opacity: 0.25;
    filter: brightness(0.45) saturate(0.8);
}

/* Dark blue gradient so the text is easy to read */
.contact-hero .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(5, 18, 31, 0.92) 0%,
        rgba(5, 18, 31, 0.75) 50%,
        rgba(5, 18, 31, 0.4) 100%
    );
}

/* Keep the text above the overlay */
.contact-hero .hero-content {
    position: relative;
    z-index: 1;
}

.contact-hero-content { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }

/* ---------- Form section ---------- */
.contact-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; align-items: start; }
.contact-side { position: sticky; top: 120px; }

.business-card { margin-top: 40px; padding: 32px; background: var(--navy); color: var(--white); border-radius: var(--radius); transition: transform 0.3s; }
.business-card:hover { transform: translateY(-5px); }
.business-card h3 { margin-bottom: 18px; font-size: 22px; }
.business-card ul { list-style: none; }
.business-card li { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.15); line-height: 1.5; }
.business-card small { display: block; margin-bottom: 4px; color: var(--yellow); font: 700 11px "Montserrat", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; }
.business-card a { transition: color 0.3s; }
.business-card a:hover { color: var(--yellow); }

.form-card { padding: 40px; background: var(--card); border-radius: var(--radius); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 30px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 700 12px "Montserrat", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; padding: 15px 18px; background: var(--bg); border: 2px solid transparent; border-radius: 14px; color: var(--dark); font: 500 15px "DM Sans", sans-serif; transition: border-color 0.3s, box-shadow 0.3s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(243, 180, 41, 0.4); }
.error { display: none; color: #b3261e; font-size: 13px; font-weight: 600; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3261e; }
.field.invalid .error { display: block; animation: rise 0.3s both; }
.form-card .button { border: 0; cursor: pointer; }

/* thank-you message */
.success { display: none; padding: 50px 10px; text-align: center; }
.success.show { display: block; animation: rise 0.6s both; }
.form-card.sent form { display: none; }
.success i { width: 76px; height: 76px; display: inline-grid; place-items: center; margin-bottom: 24px; background: var(--yellow); color: var(--navy); border-radius: 50%; font-size: 30px; animation: pop 0.6s 0.2s both; }
.success h3 { font-size: 30px; }
.success p { max-width: 420px; margin: 14px auto 30px; line-height: 1.7; opacity: 0.75; }
@keyframes pop { from { transform: scale(0); } 70% { transform: scale(1.2); } to { transform: scale(1); } }

/* ---------- Partnerships ---------- */
.partner-cta .section-heading { max-width: 760px; margin-bottom: 0; }
.partner-cta .section-heading .button { margin-top: 34px; }


/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .contact-hero-content, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .ripple { max-width: 300px; }
    .contact-side { position: static; }
}

@media (max-width: 650px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-card { padding: 26px; }
}