/* ==========================================
   Global Styles
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1B4332;
    --secondary-color: #D4914A;
    --action-hover: #FFB703;
    --dark-color: #1a1a1a;
    --light-color: #f1f1f1;
    --text-color: #212529;
    --gray-color: #708D81;
    --accent-color: #708D81;
    --border-color: #e0e0e0;

    --light-bg: #f8f9fa;
    --primary-variant: #2D5A47;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   ABOUT PAGE EXCLUSIVE STYLES
   ========================================== */

   /* HERO & SLIDESHOW */
.about-hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.slideshow-container {
    position: absolute;
    inset: 0;
}

.slide-train {
    display: flex;
    width: 400%;
    height: 100%;
    animation: autoPan 40s linear infinite;
}

.slide-train img {
    width: 25%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /*background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.4));*/
    background: linear-gradient(75deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 5;
    display: flex;
    align-items: center;
    color: #FFFFFF;;
    text-align: center;
}

@keyframes autoPan {
    0% { transform: translateX(0); }
    100% { transform: translateX(-75%); }
}

.hero-overlay h1 {
    font-size: 2.9rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-overlay p {
    font-size: 1rem; 
    line-height: 1.8;
    font-weight: 400;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.2); /* Very light dark plate for legibility */
    padding: 20px;
    border-radius: 8px;
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-overlay h1 {
        font-size: 1.5rem;
    }
    .hero-overlay p {
        font-size: 0.85rem;
        padding: 0;
    }
}

/* MISSION & VISION */
.core-essence {
    padding: 50px 0;
    background: white;
}

.essence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.essence-item {
    padding: 40px;
    border-top: 4px solid var(--secondary-color);
    background: var(--light-bg);
    text-align: center;
}

.essence-item svg {
    font-size: 3rem;
    stroke: var(--primary-color);
    margin-bottom: 0px;
    stroke-width: 1.3;
    fill: none;
}

/* STRATEGIC OBJECTIVES SECTION */
.objectives {
    padding: 50px 0;
    /*background-color: var(--primary-variant);*/
    /*background: radial-gradient(circle at center, var(--primary-variant) 0%, var(--primary-color) 100%);*/
    background-color: #2D5A47;
    color: #FFFFFF;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.objectives-header {
    text-align: center;
    margin-bottom: 60px;
}

.objectives-header svg {
    stroke: var(--secondary-color);
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.objectives-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.objectives-header p {
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* THE GRID */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.obj-item {
    display: flex;
    gap: 25px;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px; /* Softens the industrial look */
}

.obj-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--secondary-color);
    /*transform: translateX(10px);*/
    /*transform: translateY(-5px); /* Lift instead of slide for a cleaner feel */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.obj-icon svg {
    stroke: var(--secondary-color);
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

.obj-text h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.obj-text p {
    line-height: 1.7;
    opacity: 0.9;
    font-size: 1.05rem;
}

/* RESPONSIVE FIX */
@media (max-width: 768px) {
    .objectives-grid {
        grid-template-columns: 1fr;
    }
    .obj-item {
        padding: 20px;
    }
}

/* APPROACH CARDS */
.approach { padding: 60px 0; }
.section-title { 
    text-align: center; 
    margin-bottom: 50px; 
    color: var(--primary-color); 
    font-size: 2.2rem; 
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.value-card {
    padding: 30px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.value-card:hover { border-color: var(--secondary-color); background: #fffdf9; }

.value-card svg { 
    stroke: var(--secondary-color); 
    font-size: 2rem; 
    display: block; 
    stroke-width: 1.5;
    margin: 0 auto 20px;
}

.value-card h3 {
    text-align: center;
}

/* IMPACT LAYOUT */
.experience-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

/* TEXT & PARTNERS LEFT SIDE */
.experience-lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

.partner-area h4 {
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 25px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
}

.p-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid #eee; 
}

.p-logo img {
    width: 100%;
    max-height: 70px;
    object-fit: contain;
}

/* MAP RIGHT SIDE - RAW & CLEAN */
.map-img {
    width: 100%;
    height: auto;
    display: block;
    /* Removed box-shadow, border-radius, and filters */
    border: 1px solid #eee; /* Optional: just a very thin hairline border */
}

/* Responsive */
@media (max-width: 992px) {
    .experience-container {
        grid-template-columns: 1fr;
    }
}

/*=============================
   CALL TO ACTION
===========================================*/
.partner-cta {
    padding: 60px 0;
    background-color: var(--primary-variant); 
    color: #ffffff;
    margin-bottom: 0; /* Flush with footer */
}

.cta-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-content {
    flex: 1.5;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-actions {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* BUTTONS */
.btn-primary-gold {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 18px 30px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary-gold:hover {
    background-color: #e5a55d; /* Slightly lighter gold */
    transform: translateY(-3px);
}

.btn-outline-white {
    border: 1px solid rgba(255,255,255,0.4);
    color: #ffffff;
    padding: 18px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    
    /* Flex settings to align the new icon */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    
    transition: all 0.3s ease;
}

.btn-outline-white svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    /* Subtle push to the right for a 'directional' feel */
    transition: transform 0.3s ease;
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffffff;
}

.cta-actions svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-wrapper {
        flex-direction: column;
        text-align: center;
    }
}

/* CTA BUTTONS */
.about-cta { padding: 80px 0; background: var(--light-bg); text-align: center; }
.cta-group { display: flex; gap: 20px; justify-content: center; margin-top: 30px; }

.btn-gold { background: var(--secondary-color); color: white; padding: 15px 30px; text-decoration: none; font-weight: 700; }
.btn-outline { border: 2px solid var(--primary-color); color: var(--primary-color); padding: 15px 30px; text-decoration: none; font-weight: 700; }


/* RESPONSIVE */
@media (max-width: 768px) {
    .impact-layout { grid-template-columns: 1fr; }
    .partner-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-group { flex-direction: column; }
}

/*responsiveness for all text*/
@media (max-width: 768px) {
    /* Global Heading Scale - One place to rule them all */
    .hero-overlay h1  { 
        font-size: 1.5rem; 
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    h2:not(.logo h2) { 
        font-size: 1.2rem !important; 
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    h3, obj-text h3 { 
        font-size: 1rem !important; 
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }

    /* Paragraph Adjustment */
    p, .obj-item p, .partner-cta p, .experience-container p {
        font-size: 0.85rem;
        line-height: 1.5;
    }


}