/* About Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.about-hero {
    height: 100vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/Aabroo-Peace-Home.png') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 60, 114, 0.8);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 1000px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
     
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
     
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 1rem;
     
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    margin: 0 auto;
    border-radius: 2px;
}

/* What is Aabroo Section */
.what-is-aabroo {
    padding: 6rem 0;
    background: #f8f9fa;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.meaning-box {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.2);
}

.meaning-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
     
}

.meaning-box p {
    font-size: 1.2rem;
    line-height: 1.5;
}

.mission-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.mission-highlight {
    background: #fff;
    padding: 2rem;
    border-left: 5px solid #1e3c72;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mission-highlight h4 {
    color: #1e3c72;
    font-size: 1.3rem;
    margin-bottom: 1rem;
     
}

.content-image {
    text-align: center;
}

.main-image {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.05);
}

.image-caption {
    margin-top: 1rem;
    font-style: italic;
    color: #666;
}

/* Our Story Section */
.our-story {
    padding: 6rem 0;
    background: white;
}

.story-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #1e3c72, #2a5298);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 100px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 1rem;
    border-radius: 50px;
    text-align: center;
     
    font-size: 1.2rem;
    height: fit-content;
    position: relative;
    z-index: 2;
    margin: 0 2rem;
}

.timeline-content {
    flex: 1;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
}

.timeline-content h3 {
    color: #1e3c72;
    font-size: 1.5rem;
    margin-bottom: 1rem;
     
}

.timeline-content p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #555;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-size: 0.9rem;
}

.service-icon {
    font-size: 1.2rem;
}

/* Founder Section */
.founder-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.founder-image {
    text-align: center;
}

.founder-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 5px solid rgba(255,255,255,0.2);
}

.founder-initial {
    font-size: 4rem;
     
    color: #ffd700;
}
.founder-initial-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    overflow: hidden;

}
.founder-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #ffd700;
}

.founder-description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.founder-blessing {
    font-style: italic;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.founder-quote {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #ffd700;
}

.founder-quote blockquote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.founder-quote cite {
    font-size: 1rem;
    opacity: 0.8;
}

/* Impact Statistics */
.impact-stats {
    padding: 6rem 0;
    background: #f8f9fa;
}

.impact-stats .section-header p {
    font-size: 1.2rem;
    color: #666;
    margin-top: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.stat-card .stat-number {
    font-size: 3rem;
     
    color: #1e3c72;
    margin-bottom: 0.5rem;
    display: block;
    transition: all 0.3s ease;
    min-height: 1.2em; /* Prevent layout shift during animation */
}

.stat-card .stat-label {
    font-size: 1.2rem;
     
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-description {
    color: #666;
    font-size: 0.9rem;
}

/* Call to Action */
.about-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
     
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
     
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button.primary {
    background: #ffd700;
    color: #1e3c72;
}

.cta-button.primary:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: #1e3c72;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #ffd700;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    opacity: 0.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        margin: 0;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
    }
    
    .founder-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem; /* Reduce gap on mobile for better visibility */
    }
    
    .stat-card .stat-number {
        font-size: 2.5rem; /* Slightly smaller on mobile */
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-year {
        width: 50px;
        height: 50px;
        font-size: 0.9rem;
    }
}
