/* =========================================
   GLOBAL PAGE OFFSETS
   ========================================= */
body.home-page {
    padding-top: 0; 
}

body.internal-page {
    padding-top: 85px; /* Offset for fixed nav */
}

/* =========================================
   HERO (Home Page)
   ========================================= */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(31, 41, 51, 0.75), rgba(31, 41, 51, 0.75)),
    url('https://images.unsplash.com/photo-1529156069898-49953eb1b5ae?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero-content {
    max-width: 700px;
    margin: auto;
}

.hero h1 {
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #f3f4f6;
}

/* =========================================
   IMPACT SECTION
   ========================================= */
.impact {
    background: var(--dark);
    color: white;
}

.impact h2, .impact p {
    color: white;
}

.partners {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.partner-box {
    width: 120px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
}

/* =========================================
   CONTACT PAGE STYLES
   ========================================= */
.contact-wrapper {
    padding: 100px 0;
}

/* Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Info takes 1 fraction, form takes slightly more */
    gap: 60px;
    align-items: start; /* Aligns both columns to the top */
}

/* Left Column: Info Text */
.contact-info-section {
    padding-right: 20px;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 40px;
    line-height: 1.6;
}

.info-list {
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start; /* Aligns text with the top of the icon */
    gap: 20px;
    margin-bottom: 30px;
}

.icon-circle {
    width: 55px;
    height: 55px;
    background: white;
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.info-text h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
}

.info-text p, .info-text a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
    margin: 0;
}

.info-text a:hover {
    color: var(--secondary);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(243, 146, 35, 0.3);
}

/* Right Column: Form Card */
.contact-card {
    background: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary);
    width: 100%; /* Ensures it fills the 1.2fr grid space properly */
}

.modern-form {
    text-align: left;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: var(--bg-light); /* Adds a subtle background to inputs */
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(74, 158, 70, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--secondary); /* Changed to orange for better call-to-action visibility */
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-info-section {
        padding-right: 0;
        text-align: center;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .social-links {
        justify-content: center;
    }
}

@media(max-width: 768px){
    .hero h1 { font-size: 32px; }
    .section-title { font-size: 28px; }
    .contact-card { padding: 30px 20px; }
}