/* Import base styles */
@import 'impact.css';

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lora', Georgia, serif;
}

/* Contact Hero Section */
.contact-hero {
    min-height: 90vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(26, 51, 161, 0.85) 0%, rgba(153, 56, 0, 0.85) 50%, rgba(13, 77, 214, 0.85) 100%), url('images/scholars-wall.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-badge i {
    font-size: 1.2rem;
    color: #fff;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    min-width: 120px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta { margin-top: 30px; }

.pulse-btn {
    background: var(--chocolate, #d2691e);
    color: white;
    border: none;
    padding: 16px 36px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s ease;
}

.pulse-btn:hover {
    background: #a3560f;
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.4rem; }
    .hero-stats { gap: 20px; }
    .stat-item { min-width: 100px; padding: 15px; }
    .stat-number { font-size: 1.8rem; }
}

/* Contact Grid Section */
.contact-grid {
    padding: 80px 0;
    background: var(--bg-color);
}

.contact-grid .container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 32px;
    color: var(--text-color);
    padding-bottom: 15px;
    border-bottom: 3px solid var(--chocolate, #d2691e);
    display: inline-block;
}

.info-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 32px 0;
}

.info-card {
    flex: 1;
    min-width: 260px;
    background: #fff;
    border: 1px solid var(--border-color, #e4e2dd);
    border-radius: 14px;
    padding: 28px;
    text-align: center;
}

.card-icon {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    border-radius: 50%;
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--chocolate, #d2691e);
}

/* Contact Form */
.form-wrapper {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color, #e4e2dd);
}

.form-wrapper h2 {
    font-size: 2.2rem;
    margin-bottom: 32px;
    color: var(--text-color);
    padding-bottom: 15px;
    border-bottom: 3px solid var(--chocolate, #d2691e);
    display: inline-block;
}

.form-group { margin-bottom: 24px; }

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-size: 1rem;
    border-bottom: 2px solid var(--border-color, #ccc);
}

.input-wrapper textarea {
    min-height: 120px;
    resize: vertical;
}

.input-wrapper label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--text-color);
    opacity: 0.7;
    transition: transform 0.2s ease, color 0.2s ease;
    pointer-events: none;
}

.input-wrapper .input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--chocolate, #d2691e);
    transition: width 0.2s ease;
}

.input-wrapper input:focus + label,
.input-wrapper textarea:focus + label {
    transform: translateY(-25px) scale(0.85);
    color: var(--chocolate, #d2691e);
}

.input-wrapper input:focus ~ .input-line,
.input-wrapper textarea:focus ~ .input-line {
    width: 100%;
}

.submit-btn {
    background: var(--chocolate, #d2691e);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s ease;
}

.submit-btn:hover { background: #a3560f; }

/* Map Section */
.map-section {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.map-content {
    position: relative;
    z-index: 1;
    height: 100%;
}

.map-container {
    position: absolute;
    inset: 0;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-marker {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.location-marker i {
    font-size: 2rem;
    color: var(--chocolate, #d2691e);
}

/* Neural Network Separator — simplified to a plain divider band */
.neural-separator {
    background: var(--dark-blue, #1a365d);
    padding: 50px 20px;
    text-align: center;
}

.separator-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.glow-text {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.neural-icons {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.pulse-icon {
    font-size: 1.8rem;
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid .container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .contact-hero { min-height: 55vh; padding: 60px 20px; }
    .hero-content h1 { font-size: 2rem; }
    .contact-grid { padding: 50px 0; }
    .contact-grid .container { gap: 32px; padding: 0 16px; }
    .contact-info h2, .form-wrapper h2 { font-size: 1.7rem; margin-bottom: 22px; }
    .info-cards { flex-direction: column; }
    .form-wrapper { padding: 26px 20px; }
    .map-section { height: 320px; }
    .neural-separator { padding: 36px 16px; }
    .glow-text { font-size: 1.5rem; }
    .neural-icons { gap: 18px; }
    .pulse-icon { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .contact-hero { min-height: 50vh; padding: 50px 16px; }
    .hero-content h1 { font-size: 1.7rem; }
    .hero-content p { font-size: 1rem; }
    .contact-info h2, .form-wrapper h2 { font-size: 1.5rem; }
    .info-card { padding: 20px; }
    .form-wrapper { padding: 20px 14px; }
    .submit-btn { padding: 12px 28px; font-size: 0.95rem; }
    .map-section { height: 260px; }
}

.afsn-footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.afsn-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    flex-shrink: 0;
}

.afsn-logo-box img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}