﻿/* ==========================================================================
   Contact Page — stemforthefuture v3
   ========================================================================== */

/* ==========================================================================
   1. Hero — Fullscreen with background image
   ========================================================================== */

.ctn-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: clamp(6rem, 10vw, 10rem) 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 10% 85%, rgba(151, 210, 251, 0.35) 0%, transparent 55%),
        linear-gradient(135deg, var(--color-blue-light) 0%, var(--color-surface-2) 40%, var(--color-white) 75%);
    color: var(--color-text);
}

.ctn-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.ctn-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.ctn-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(255,92,43,0.12) 0%, transparent 55%),
        linear-gradient(135deg, rgba(27,45,79,0.93) 0%, rgba(27,45,79,0.80) 100%);
}

.ctn-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 680px;
}

.ctn-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.ctn-hero__sub {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--color-text-light);
    line-height: 1.75;
    max-width: 520px;
}

/* ==========================================================================
   2. Contact Body
   ========================================================================== */

.ctn-body {
    padding: clamp(5rem, 9vw, 9rem) 0;
    background: var(--color-surface);
}

.ctn-inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: start;
}

/* ==========================================================================
   3. Info Panel (left)
   ========================================================================== */

.ctn-info {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ctn-brand {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border-subtle);
}

.ctn-brand__name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.ctn-brand__tag {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.ctn-details {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.ctn-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.ctn-detail__icon {
    width: 36px;
    height: 36px;
    background: var(--color-blue-light);
    color: var(--color-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.ctn-detail__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 0.2rem;
}

.ctn-detail__value {
    font-size: 0.92rem;
    color: var(--color-text-light);
    transition: color var(--transition);
    word-break: break-all;
}

a.ctn-detail__value:hover {
    color: var(--color-primary);
}

.ctn-map {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.ctn-map__label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

.ctn-map iframe {
    border-radius: var(--radius-lg);
    display: block;
    width: 100%;
}

/* ==========================================================================
   4. Form Card (right)
   ========================================================================== */

.ctn-form-card {
    background: var(--color-bg);
    border: 1.5px solid var(--color-border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.ctn-form-card__header {
    background: var(--color-primary);
    padding: 2rem 2.5rem;
}

.ctn-form-card__header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.ctn-form-card__header p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.55;
}

.ctn-form {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

/* ==========================================================================
   Responsive — Tablet <= 1024px
   ========================================================================== */

@media (max-width: 1024px) {
    .ctn-hero { min-height: 85vh; }
    .ctn-inner { grid-template-columns: 1fr; gap: 3rem; }
    .ctn-info { position: static; }
}

/* ==========================================================================
   Responsive — Mobile <= 768px
   ========================================================================== */

@media (max-width: 768px) {
    .ctn-hero { min-height: 100svh; padding: clamp(5rem, 8vw, 7rem) 0; }
    .ctn-form-card__header { padding: 1.5rem; }
    .ctn-form { padding: 1.5rem; }
}
