/* About Us Page Specific Styles */

/* Dropdown Menu Styles - Added to match index.html styling */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    cursor: pointer;
}

.dropdown-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #2c3e50;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background-color: rgba(75, 172, 36, 0.1);
    color: #4BAC24;
    border-left-color: #4BAC24;
}

.dropdown-menu a::after {
    display: none;
}

/* Ensure dropdown toggle gets underline effect */
.dropdown-toggle::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #4BAC24;
    transition: width 0.3s ease;
}

.dropdown-toggle:hover {
    color: #4BAC24;
}

.dropdown-toggle:hover::after {
    width: 100%;
}

.dropdown-toggle.active {
    color: #4BAC24;
    font-weight: 600;
}

.dropdown-toggle.active::after {
    width: 100%;
}

/* Mobile dropdown styles for about page */
@media (max-width: 768px) {
    .dropdown {
        width: 80%;
        text-align: center;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(75, 172, 36, 0.1);
        backdrop-filter: none;
        border-radius: 5px;
        margin: 1rem 0;
        padding: 0;
        min-width: auto;
        width: 100%;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transform: none;
        transition: all 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        opacity: 1;
        max-height: 200px;
        padding: 0.5rem 0;
    }
    
    .dropdown-menu a {
        padding: 1rem 2rem;
        font-size: 1.2rem;
        border-left: none;
        text-align: center;
    }
    
    .dropdown-menu a:hover {
        background-color: rgba(75, 172, 36, 0.2);
    }
}

/* About Hero Section */
.about-hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('../images/hero-image.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 120px;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero .hero-content {
    max-width: 800px;
    padding: 2rem;
}

.about-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-style: italic;
}

.about-hero .hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Our Story Section */
.our-story {
    padding: 3rem 0;
    background: #f8f9fa;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-family: 'Times New Roman', serif;
    line-height: 1.2;
}

.story-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.story-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.story-image img:hover {
    transform: translateY(-5px);
}

/* Mission & Values Section */
.mission-values {
    padding: 3rem 0;
    background: white;
}

.mission-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.mission-card {
    text-align: center;
    padding: 2.5rem;
    background: #cef7be;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #4BAC24;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4BAC24, #7bdf53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.mission-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
}

.mission-card p {
    color: #666;
    line-height: 1.6;
}

/* Our Approach Section */
.our-approach {
    padding: 3rem 0;
    background: #f8f9fa;
}

.approach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.approach-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-family: 'Times New Roman', serif;
}

.approach-features {
    display: grid;
    gap: 2rem;
}

.feature-item {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #4BAC24;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-item h4 {
    color: #4BAC24;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

.approach-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    height: 700px;
}

/* Statistics Section */
.statistics {
    padding: 3rem 0;
    background: linear-gradient(135deg, #2c3e50, #4BAC24);
    color: white;
    text-align: center;
}

.statistics .section-title {
    color: white;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #7bdf53;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Team Leadership Section */
.team-leadership {
    padding: 3rem 0;
    background: white;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.leader-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #cef7be;
    border-radius: 15px;
    transition: transform 0.3s ease;
    align-items: center;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.leader-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #4BAC24;
}

.leader-info h3 {
    color: #2c3e50;
    /* margin-bottom: 0.5rem; */
    font-size: 1.3rem;
}

.leader-title {
    color: #4BAC24;
    font-weight: 600;
    margin-bottom: 1rem;
}

.leader-bio {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 3rem 0;
    background: #f8f9fa;
}

.choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.choose-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-family: 'Times New Roman', serif;
}

.reasons-list {
    display: grid;
    gap: 2rem;
}

.reason-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.reason-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4BAC24, #7bdf53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.reason-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.reason-content p {
    color: #666;
    line-height: 1.6;
}

.choose-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2c3e50, #4BAC24);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', serif;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: #2c3e50;
}

/* Social Media Icons */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #4BAC24;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .about-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .about-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .story-content,
    .approach-content,
    .choose-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .leader-card {
        flex-direction: column;
        text-align: center;
    }
    
    .reason-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .story-text h2,
    .approach-text h2,
    .choose-text h2,
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .mission-card,
    .feature-item,
    .stat-card,
    .leader-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        height: 50vh;
        margin-top: 100px;
    }
    
    .about-hero .hero-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .our-story,
    .mission-values,
    .our-approach,
    .statistics,
    .team-leadership,
    .why-choose-us,
    .cta-section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Accessibility Improvements */
.social-links a:focus,
.btn-primary:focus,
.btn-secondary:focus {
    outline: 2px solid #4BAC24;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cta-section {
        display: none;
    }
    
    .about-hero {
        height: auto;
        background: none;
        color: #000;
        margin-top: 0;
    }
    
    .statistics {
        background: none;
        color: #000;
    }
    
    .stat-card {
        background: #f0f0f0;
        border: 1px solid #ccc;
    }
}