/* =========================
   SPECIAL CONTACT PAGE STYLES
   Darur Rashad – Gold + White Palette
========================= */

/* ---- Page Title Section ---- */
.page-title {
    background: #FDF8F0;
    padding: 100px 0 50px;
    text-align: center;
}

.page-title h1 {
    font-size: 3rem;
    color: #1E1E1E;
    margin-bottom: 0.5rem;
}

.underline {
    width: 70px;
    height: 3px;
    background: #C9A43E;
    margin: 0 auto 20px;
    border-radius: 2px;
}

.page-subtitle {
    color: #555;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---- Contact Section ---- */
.contact-section {
    background: #FFFFFF;
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* ---- Contact Form Card ---- */
.contact-form-card {
    background: #F5F5F5;
    padding: 45px 40px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.contact-form-card:hover {
    box-shadow: 0 20px 40px rgba(201, 164, 62, 0.1);
}

.contact-form-card h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #1E1E1E;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1E1E1E;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 14px;
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #FFFFFF;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #C9A43E;
    box-shadow: 0 0 0 4px rgba(201, 164, 62, 0.15);
}

.send-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    margin-top: 10px;
    background: #C9A43E;
    color: #fff;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.send-btn:hover {
    background: #b38f2f;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(201, 164, 62, 0.35);
}

.form-success-message {
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
    min-height: 22px;
}

/* ---- Contact Info (Right) ---- */
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1E1E1E;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
    padding: 18px 20px;
    background: #FDF8F0;
    border-radius: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid transparent;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    border-color: #C9A43E;
}

.info-icon {
    font-size: 1.8rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.info-card strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: #1E1E1E;
}

.info-card p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

.info-card a {
    color: #1E1E1E;
    text-decoration: none;
    transition: color 0.3s;
}

.info-card a:hover {
    color: #C9A43E;
    text-decoration: underline;
}

/* ---- Map Placeholder ---- */
.map-container {
    margin: 35px 0 25px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.map-placeholder {
    background: #F5F5F5;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px dashed #C9A43E;
    border-radius: 20px;
    color: #777;
    text-align: center;
    transition: background 0.3s;
}

.map-placeholder:hover {
    background: #FFF9EF;
}

.map-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.map-placeholder p {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1E1E1E;
    margin-bottom: 5px;
}

.map-placeholder small {
    color: #999;
}

/* ---- WhatsApp Button ---- */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid #1E1E1E;
    background: transparent;
    color: #1E1E1E;
    border-radius: 40px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    background: #1E1E1E;
    color: #FFFFFF;
    border-color: #1E1E1E;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .page-title h1 {
        font-size: 2.3rem;
    }
    .contact-form-card {
        padding: 30px 25px;
    }
}

/* --- 1. Import Base Styles --- */
/* This line ensures we inherit all global styles and variables from style.css */
@import url("style.css"); 

/* --- 2. Contact Page Specific Layout Overrides --- */

/* Ensures the grid layout is specifically tuned for this page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default to single column for mobile */
    gap: 40px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    /* Desktop: Form (2/3) and Info (1/3) */
    .contact-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* --- 3. Form Aesthetics (Upgraded Look) --- */

.contact-form {
    padding: 30px;
    border-radius: 12px;
    background-color: var(--white-color);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); /* Slightly heavier shadow for depth */
}

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

.form-group label {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
    border: 2px solid #ddd;
    border-radius: 10px; /* More rounded input fields */
    padding: 14px 15px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(255, 195, 0, 0.3); /* Prominent golden glow */
}

.contact-form .btn-primary {
    width: 100%; /* Make the submit button full width for prominence */
    font-size: 1.1rem;
    padding: 15px;
}

/* --- 4. Join Us Button Alignment --- */

.partner-options {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    justify-content: space-around;
    gap: 30px;
    margin-top: 30px;
}

.partner-options .vision-card {
    flex: 1 1 300px; /* Each card takes up minimum 300px, maximizing row count */
    text-align: center;
    padding: 25px;
}

/* Donate Button Card Emphasis */
.partner-options .vision-card:last-child {
    border: 3px solid var(--secondary-color); /* Extra border for focus */
    transform: scale(1.05); /* Slightly bigger to stand out */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
}

.partner-options .vision-card:last-child:hover {
    transform: scale(1.08);
}

.partner-options .vision-card .btn-primary {
    margin-top: 15px;
    padding: 10px 30px;
}

/* Ensure consistent card height for visual alignment */
@media (min-width: 992px) {
    .partner-options {
        align-items: stretch;
    }
    .partner-options .vision-card {
        height: 100%;
    }
}