/*
   ABOUT PAGE STYLES (Specific Overrides)
*/

:root {
    /* Specific variables for About Page Shapes */
    --secondary-yellow: #7fb7fa; 
    --secondary-blue-light: #60a5fa;
    --secondary-orange: #0d46d7;
}

/* ABOUT HERO SECTION (Mockup 1:1) */
.about-hero {
    padding: 120px 0 60px; /* Reduced from 180px to 120px */
    background-color: var(--white);
    overflow: visible; /* Changed from hidden to allow shapes to overlap if needed */
    position: relative;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Adjusted ratio to give text more space, image less */
    gap: var(--spacing-xl);
    align-items: center;
}

/* Left Content */
.about-hero-text {
    padding-right: var(--spacing-lg);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: var(--spacing-md);
    background: transparent;
    padding: 0;
}

.breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
}

.breadcrumb-separator {
    font-size: 0.6rem;
    color: var(--gray-300);
}

.breadcrumb-current {
    color: var(--gray-500);
}

.hero-heading {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    font-family: var(--font-family);
}

.hero-subheading {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.highlight-text {
    color: var(--primary-blue);
    font-weight: 700;
}

.hero-description {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

/* Right Content (Collage) */
.about-hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-collage-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px; /* Reduced from 550px */
    aspect-ratio: auto; 
}

.main-hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    position: relative;
    z-index: 2;
    object-fit: contain;
    /* Removed box-shadow */
}

/* Abstract Shapes */
.shape-circle-blue {
    position: absolute;
    top: -40px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 20px solid var(--secondary-blue-light);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.8;
}

.shape-arch-yellow {
    position: absolute;
    bottom: -30px;
    right: -40px;
    width: 100px;
    height: 100px;
    border: 20px solid var(--secondary-yellow);
    border-radius: 50% 50% 0 0;
    border-bottom: 0;
    transform: rotate(90deg);
    z-index: 1;
}

/* MILESTONES SECTION */
.about-milestones {
    display: flex;
    gap: var(--spacing-xl);
    margin-top: 80px;
    align-items: stretch;
}

.milestone-header {
    flex: 0 0 200px;
}

.star-icon {
    font-size: 3rem;
    color: var(--secondary-orange);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.milestone-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
}

.milestone-cards {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.milestone-card {
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    min-height: 180px;
}

.card-blue {
    background-color: var(--gray-50); /* Light gray/whiteish like mockup */
}

.card-yellow {
    background-color: var(--secondary-yellow); /* Yellow like mockup */
}

/* Corner Shapes */
.card-corner-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    z-index: 0;
}

.shape-blue {
    background-color: var(--secondary-blue-light);
    border-radius: 0 0 0 100%; /* Top Right Corner curve */
    opacity: 0.2; /* Subtle overlap */
}

.shape-orange {
    background-color: #fb923c; /* Orange accent for yellow card */
    border-radius: 0 0 0 100%;
}

.milestone-year {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
    position: relative; z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.milestone-year-partner {
    font-size: 0.85rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    position: relative; z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-yellow .milestone-year {
    color: var(--gray-800);
    opacity: 0.8;
}

.milestone-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1;
    position: relative; z-index: 1;
}

.milestone-number-partner {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1;
    position: relative; z-index: 1;
}

.milestone-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.4;
    position: relative; z-index: 1;
}

.milestone-label-partner {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.4;
    position: relative; z-index: 1;
}


/* LOVABLE STYLE: WHO WE ARE */
.lovable-about-section {
    padding: 100px 0;
    background-color: var(--white);
    overflow: hidden;
    position: relative;
}

.lovable-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}


.lovable-text {
    max-width: 580px; /* Limit width for readability */
}

.lovable-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: rgba(37, 99, 235, 0.08); /* Tiny badge style */
    padding: 6px 12px;
    border-radius: 6px;
}

.lovable-heading {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--gray-900);
    margin-bottom: 2rem;
    font-family: var(--font-family);
    letter-spacing: -0.02em;
}

.lovable-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569; /* Slate 600 */
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}

.lovable-description p:last-child {
    margin-bottom: 0;
}

/* Composition Grid (The tricky part) */
.lovable-composition {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 20px;
    position: relative;
    padding: 20px;
}

.comp-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.comp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.comp-img.active {
    opacity: 1;
    z-index: 2;
}

/* Specific Items */
.comp-img-1 { /* Top Left */
    grid-column: 1; 
    grid-row: 1;
}

.comp-stat-1 { /* Top Right */
    grid-column: 2;
    grid-row: 1;
    background-color: #f9fafb; /* Light Gray */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.comp-stat-2 { /* Bottom Left */
    grid-column: 1;
    grid-row: 2;
    background-color: #eff6ff; /* Very light blue */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.comp-img-2 { /* Bottom Right */
    grid-column: 2;
    grid-row: 2;
}

.comp-stat-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.comp-stat-desc {
    font-size: 0.95rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Decorative Circles */
.dec-circle {
    position: absolute;
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.dec-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
    border-color: #dbeafe;
}

.dec-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: -30px;
    background-color: #f0f9ff;
    border: none;
}


/* LOVABLE VISION & MISSION (Refined Layout) */
.lovable-vision-mission {
    padding: 60px 0 120px;
    background-color: #f9fafb;
    position: relative;
    overflow: hidden;
}

/* Vision Card */
.lovable-vision-card {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    border: 1px solid #dbeafe;
    border-radius: 24px;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
    margin-bottom: 100px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.1);
    text-align: center;
}

.vision-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    background: rgba(37, 99, 235, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
}

.vision-statement-text {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 2rem;
    font-family: var(--font-family);
    position: relative;
    z-index: 2;
}

.vision-extra-text {
    font-size: 1.25rem;
    color: #475569;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.vision-bg-circle {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border: 1px solid rgba(59, 130, 246, 0.05);
    border-radius: 50%;
    z-index: 1;
}

/* NEW: Mission Container (Left Image, Right List) */
.lovable-mission-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}


/* Mission Image (Left) */
.lovable-mission-image {
    position: relative;
    height: 600px; /* Fixed height container */
}

.mission-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.1);
    height: 100%; /* Fill container */
}

.mission-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mission List (Right) */
.lovable-mission-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Reduced gap */
    max-height: 600px; /* Match image height */
    overflow-y: auto; /* Scrollable content */
    padding-right: 10px; /* Space for scrollbar */
    padding-bottom: 5px;
}

/* Custom Scrollbar */
.lovable-mission-list::-webkit-scrollbar {
    width: 6px;
}
.lovable-mission-list::-webkit-scrollbar-track {
    background: transparent;
}
.lovable-mission-list::-webkit-scrollbar-thumb {
    background-color: #e2e8f0;
    border-radius: 20px;
}
.lovable-mission-list::-webkit-scrollbar-thumb:hover {
    background-color: #cbd5e1;
}

.mission-list-item {
    background: var(--white);
    padding: 24px; /* Reduced padding */
    border-radius: 16px; /* Reduced radius */
    border: 1px solid var(--gray-100);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0; /* Prevent shrinking */
}

.mission-list-item:hover {
    transform: translateX(5px); /* Subtle move */
    border-color: #bfdbfe;
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.1);
}

.mission-item-icon {
    flex-shrink: 0;
    width: 48px; /* Smaller icon box */
    height: 48px;
    background-color: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.mission-item-icon svg {
    width: 24px;
    height: 24px;
}

.mission-list-item:hover .mission-item-icon {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: rotate(10deg);
}

.mission-item-content h3 {
    font-size: 1.15rem; /* Smaller heading */
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.mission-item-content p {
    font-size: 0.9rem; /* Smaller text */
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .lovable-grid,
    .lovable-mission-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .mission-img-wrapper {
        height: 400px;
    }

    .lovable-heading {
        font-size: 2.25rem;
    }

    .lovable-composition {
        max-width: 500px;
        margin: 0 auto;
        grid-template-rows: 200px 200px;
    }
    
    .vision-statement-text {
        font-size: 2.25rem;
    }
    
    .lovable-vision-card {
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    .lovable-about-section {
        padding: 60px 0;
    }

    .lovable-heading {
        font-size: 1.85rem;
    }

    .lovable-composition {
        grid-template-rows: 180px 180px;
        gap: 15px;
    }

    .comp-stat-num {
        font-size: 2.5rem;
    }

    .vision-statement-text {
        font-size: 1.85rem;
    }

    .vision-extra-text {
        font-size: 1.05rem;
    }

    .lovable-vision-mission {
        padding: 40px 0 80px;
    }

    .lovable-vision-card {
        margin-bottom: 50px;
    }
    
    .mission-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}


/* SADA PROGRAMS SECTION */
.sada-programs-section {
    padding: 80px 0 120px;
    background-color: var(--white);
    position: relative;
    margin-top: 0;
    z-index: 1;
}

/* The Blue Background Block (Floating Container Style) */
.sada-programs-section::before {
    content: '';
    position: absolute;
    top: 40px; 
    left: 50%;
    transform: translateX(-50%);
    width: 75%; /* Align edges with center of first and last card (in 4-col grid) */
    max-width: 1200px;
    height: 480px; /* Height to cover text and half of cards */
    background: linear-gradient(135deg, var(--primary-blue) 0%, #172554 100%);
    border-radius: 40px; /* Rounded corners like mockup */
    z-index: -1;
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.2);
}

.programs-header {
    position: relative;
    z-index: 2;
    margin: 0 auto 60px; /* Center the box and keep bottom margin */
    color: var(--white);
    padding-top: 40px;
    text-align: center;
    max-width: 800px; /* Constrain width for better readability */
}

.programs-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2; /* Tighter line height for multi-line title */
}

.programs-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400; /* Lighter weight */
    line-height: 1.6;
    max-width: 600px; /* Even narrower for subtitle to look nice */
    margin: 0 auto; /* Center the subtitle if it wraps */
}

/* Grid */
.sada-program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* Card */
.sada-program-card {
    background: var(--white);
    border-radius: 24px;
    padding: 30px 24px; /* Reduced vertical and side padding for better text flow */
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sada-program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Image Box */
.program-img-box {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.program-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 4px solid var(--white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.program-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 1;
}

.shape-yellow { 
    background-color: #fcd34d; 
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%); 
    transform: rotate(-45deg) scale(1.2); 
    top: -10px; 
    left: -10px; 
}
.shape-blue { 
    background-color: #60a5fa; 
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%); 
    transform: rotate(135deg) scale(1.2); 
    bottom: -10px; 
    right: -10px; 
}
.shape-orange { 
    background-color: #fb923c; 
    transform: scale(1.1) translate(10px, -5px);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}
.shape-purple { 
    background-color: #a78bfa; 
    transform: scale(1.2) translate(-5px, 10px);
    clip-path: circle(50% at 50% 50%);
}


/* Content */
.program-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.program-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.program-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
    overflow: visible;
    display: block;
    text-align: center; /* Balanced and gap-free */
}

.program-btn {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    color: var(--gray-700);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto; /* Push button to bottom */
}

.sada-program-card:hover .program-btn {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
    .sada-programs-section {
        padding: 60px 0 100px;
    }
    
    .sada-programs-section::before {
        height: 600px; 
        border-radius: 0 0 20px 20px;
    }

    .programs-title {
        font-size: 1.8rem;
    }
}

/* LOCATION & CONTACT SECTION */
.lovable-location-section {
    padding: 100px 0;
    background-color: #f8fafc;
}

.lovable-location-section .text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    text-align: center;
}

.lovable-location-section .lovable-heading {
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 0;
    text-align: center;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Map takes more space */
    gap: 40px;
    align-items: stretch;
}

/* Contact List (Left) */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: var(--white);
    padding: 20px 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 80px;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(37, 99, 235, 0.12);
    border-color: #bfdbfe;
}

.contact-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    color: white;
}

.icon-wa {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.icon-ig {
    background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCAF45 100%);
}

.icon-phone {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
}

.contact-info {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.contact-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.2rem;
    line-height: 1.4;
}

.contact-info p {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.contact-btn {
    flex-shrink: 0;
    padding: 9px 18px;
    background-color: #eff6ff;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.82rem;
    border-radius: 50px;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    border: 1.5px solid #bfdbfe;
}

.contact-card:hover .contact-btn {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* Map Wrapper (Right) */
.map-wrapper {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 6px solid var(--white);
    min-height: 360px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.map-open-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #dbeafe;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.map-open-link:hover {
    background: #dbeafe;
    color: #1d4ed8;
}

.map-wrapper iframe {
    width: 100%;
    flex: 1;
    min-height: 320px;
    border: 0;
    display: block;
}

/* Responsive */
@media (max-width: 991px) {
    .location-grid {
        grid-template-columns: 1fr; /* Stack vertically */
    }

    .map-wrapper {
        min-height: 350px;
    }
}
