/* Contact Page Container */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 2rem 6rem;
}

 .impact-page{
     padding: 0;
 }

 .impact-hero{
     position: relative;
     padding: clamp(3.5rem, 6vw, 6rem) 1rem;
     background: radial-gradient(1000px 520px at 20% 0%, rgba(176,141,85,0.18), rgba(0,0,0,0) 60%),
                 linear-gradient(135deg, rgba(0,0,0,0.88), rgba(18,24,38,0.92)),
                 url('../images/contact.jpg');
     background-size: auto, auto, cover;
     background-position: center, center, center;
     background-repeat: no-repeat;
     color: #fff;
     overflow: hidden;
 }

 .impact-hero-inner{
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 1rem;
 }

 .impact-hero h1{
     font-size: clamp(2.5rem, 4.5vw, 4.2rem);
     line-height: 1.06;
     margin: 0 0 0.75rem;
     color: #fff;
 }

 .impact-hero-sub{
     margin: 0;
     font-size: 1.1rem;
     color: rgba(255,255,255,0.86);
     max-width: 60ch;
 }

/* Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 6rem;
    align-items: start;
}

/* Left Side: Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-title {
    font-size: 3.5rem;
    font-style: italic;
    color: #1a1a1a;
    margin: 0;
    line-height: 1;
}

.contact-subtitle {
    font-size: 2rem;
    font-style: italic;
    line-height: 1.2;
    color: #333;
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.contact-email {
    color: #5ba4b3; /* Teal from image */
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-email:hover {
    color: #488a97;
}

.contact-details address {
    font-style: normal;
    font-size: 1.05rem;
    color: #666;
    line-height: 1.5;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-icons a {
    color: #0e76a8; /* LinkedIn Blue-ish or Teal to match theme */
    color: #5ba4b3;
    font-size: 1.4rem;
    transition: transform 0.2s;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

/* Right Side: Form */
.contact-form-wrapper {
    padding-top: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 1rem;
    color: #888;
    font-weight: 400;
}

.required {
    color: #d9534f;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem 0;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    background: transparent;
    font-size: 1.1rem;
    font-family: inherit;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #5ba4b3;
}

.form-group textarea {
    resize: none;
    min-height: 40px; /* Start small like text input */
}

/* Submit Button as Arrow or Minimal */
.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1rem;
}

.btn-submit-arrow {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
    transition: transform 0.3s, color 0.3s;
}

.btn-submit-arrow:hover {
    transform: translateX(5px);
    color: #5ba4b3;
}


/* Responsive */
@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .contact-title {
        display: none; /* Hide H1 on mobile */
    }

    .contact-subtitle {
        font-size: 1.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .contact-container {
        padding: 6rem 1.5rem;
    }
}

.map-section iframe {
    display: block;
    filter: grayscale(100%); /* Optional: Makes map match the sleek/corporate look */
}

/* Subscribe Section */
.subscribe-section {
    background-color: var(--brand-primary-light); /* Light blue background */
    padding: 6rem 2rem;
    text-align: center;
}

.subscribe-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

.subscribe-container h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #1a1a1a;
    line-height: 1.2;
    font-weight: 400;
    font-style: italic;
}

.subscribe-form {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    max-width: 600px; 
}

.subscribe-form input[type="email"] {
    flex-grow: 1;
    padding: 0 1.2rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 2px;
    color: #555;
    outline: none;
    height: 50px;
}

.subscribe-form input[type="email"]::placeholder {
    color: #888;
}

.subscribe-form button { 
    height: 50px;
} 

/* Responsive Subscribe */
@media (max-width: 600px) {
    .subscribe-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .subscribe-form button {
        width: 100%;
    }
}
