/* Clean Light Mode Contact Page per Reference Design */

body, .site-main.bg-light {
    background-color: #f7f9fc !important; /* light gray background */
    color: #1a1a1a;
    font-family: 'Helvetica Neue', Inter, sans-serif;
}

.contact-page-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Hero Section */
.contact-hero {
    background: #efecf8;
    border-radius: 24px;
    text-align: center;
    padding: 5rem 2rem;
    margin-bottom: 2.5rem;
}

.contact-hero .pre-heading {
    display: block;
    color: #4b32c3;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.contact-hero .entry-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.contact-hero .highlight {
    color: #4b32c3; /* matching purple */
}

.contact-hero .hero-desc {
    max-width: 600px;
    margin: 0 auto;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 2rem;
    align-items: start;
}

/* Cards */
.sidebar-card, .form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.card-title {
    font-size: 1.7rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

/* Sidebar Channels Info */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #4b32c3;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-text .label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.info-text a {
    color: #4b32c3;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
}

.info-text p {
    margin: 0;
    color: #555;
    line-height: 1.5;
    font-size: 0.95rem;
}

.social-section {
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.social-section .label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f4f4f4;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.social-icon:hover {
    background: #e0e0e0;
}

/* Image Card */
.image-card {
    margin-top: 2rem;
    height: 280px; /* Increased from 200px to make the image fully visible and slightly larger */
    background-image: url('../images/img_152.png');
    background-size: contain; /* Changed to contain so the whole character is visible */
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: center bottom; /* Align the astronaut to the bottom of the card */
    position: relative;
    padding: 1.5rem;
    display: flex;
    align-items: flex-end;
}

.image-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: transparent; /* Removed the dark overlay to ensure the astronaut looks bright and clean */
    border-radius: 16px;
}

.image-card .badge {
    position: relative;
    z-index: 1;
    background: #fff;
    color: #4b32c3;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 0.5rem;
}

.ai-orbit-contact-form input[type="text"],
.ai-orbit-contact-form input[type="email"],
.ai-orbit-contact-form textarea {
    width: 100%;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0.9rem 1.25rem;
    color: #1a1a1a;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.ai-orbit-contact-form input::placeholder,
.ai-orbit-contact-form textarea::placeholder {
    color: #aaa;
}

.ai-orbit-contact-form input:focus,
.ai-orbit-contact-form textarea:focus {
    outline: none;
    border-color: #8b6ff9;
    box-shadow: 0 0 0 4px rgba(75, 50, 195, 0.08);
}

.ai-orbit-contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

/* Submit Button */
.ai-orbit-submit-btn {
    background: #4b32c3;
    color: #fff;
    border: none;
    padding: 0.85rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s, transform 0.2s;
}

.ai-orbit-submit-btn:hover {
    background: #39229e;
    transform: translateY(-1px);
}

/* Notices */
.notice {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}
.notice.success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.notice.error { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }

/* Responsive Constraints */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-hero { padding: 3rem 1.5rem; }
    .contact-hero .entry-title { font-size: 2.5rem; }
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
}
