/* ===========================
   About Us Page Styles
   =========================== */

:root {
    --primary-color: #0aa026;
    --secondary-color: #00d1b2;
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #888888;
    --bg-dark: #0a192f;
    --bg-light: #0f1f35;
    --border-color: #1a2f4a;
    --card-bg: #111d2d;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.4);
}

body.light {
    --text-light: #1a1a1a;
    --text-dark: #ffffff;
    --text-muted: #666666;
    --bg-dark: #f5f7fa;
    --bg-light: #ffffff;
    --border-color: #d0d0d0;
    --card-bg: #ffffff;
}

/* ===========================
   Hero Section
   =========================== */

.about-hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, rgba(10, 160, 38, 0.05) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(10, 160, 38, 0.1);
    filter: blur(100px);
    z-index: 0;
}

.about-hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-cta .btn {
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-cta .btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.hero-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(10, 160, 38, 0.3);
}

.hero-cta .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.hero-cta .btn-outline:hover {
    background: white;
    color: var(--bg-light);
    transform: translateY(-3px);
}

/* Hero Image Section */
.hero-image {
    position: relative;
    height: 400px;
    margin-top: 40px;
}

.floating-card {
    position: absolute;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(10, 160, 38, 0.2);
}

.card-1 {
    width: 280px;
    top: 20px;
    left: 0;
    animation: float 3s ease-in-out infinite;
}

.card-2 {
    width: 280px;
    top: 150px;
    right: 0;
    animation: float 4s ease-in-out infinite reverse;
}

.card-3 {
    width: 280px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: float 3.5s ease-in-out infinite;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 700;
    margin: 0;
}

.card-value {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 5px 0 0 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ===========================
   Stats Section
   =========================== */

.about-stats {
    background: var(--bg-light);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.stat-card:hover {
    background: var(--card-bg);
    transform: translateY(-5px);
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 8px;
}

/* ===========================
   Section Headers
   =========================== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===========================
   Mission & Vision Section
   =========================== */

.about-mission {
    background: var(--bg-light);
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.mission-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 40px;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mission-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.mission-card.mission {
    border-left: 5px solid var(--primary-color);
}

.mission-card.vision {
    border-left: 5px solid var(--secondary-color);
}

.mission-card .card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.mission-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

.mission-card p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-list li {
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.mission-list i {
    color: var(--primary-color);
    font-weight: 700;
}

/* ===========================
   Why Choose Us Section
   =========================== */

.about-why {
    background: var(--bg-dark);
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.why-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.why-card:hover {
    transform: translateY(-10px);
    background: rgba(10, 160, 38, 0.1);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--primary-color);
}

.why-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.why-card:hover .why-icon {
    transform: scale(1.2) rotate(-10deg);
}

.why-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

.why-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* ===========================
   Values Section
   =========================== */

.about-values {
    background: var(--bg-light);
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.value-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-dark);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-color);
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: -20px;
    line-height: 1;
}

.value-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.value-item p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* ===========================
   Timeline Section
   =========================== */

.about-timeline {
    background: var(--bg-dark);
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    top: 0;
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 40px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 40px;
    text-align: right;
}

.timeline-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    top: 0;
    z-index: 2;
    white-space: nowrap;
}

.timeline-content {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.timeline-content:hover {
    background: rgba(10, 160, 38, 0.15);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* ===========================
   Team Section
   =========================== */

.about-team {
    background: var(--bg-light);
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.team-card {
    background: var(--bg-dark);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.image-placeholder {
    font-size: 5rem;
    color: white;
    opacity: 0.8;
}

.team-info {
    padding: 30px;
}

.team-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 15px !important;
}

.team-bio {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    gap: 15px;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(10, 160, 38, 0.1);
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 1px solid var(--border-color);
}

.team-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* ===========================
   CTA Section
   =========================== */

.about-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(100px);
}

.about-cta::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(100px);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 35px;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: white;
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 80px;
        margin-right: 0;
        padding-right: 30px;
        text-align: left;
    }

    .timeline-date {
        left: 20px;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .mission-card,
    .why-card {
        padding: 25px;
    }

    .values-grid {
        gap: 25px;
    }

    .team-card {
        text-align: center;
    }

    .team-social {
        justify-content: center;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 70px;
        padding: 20px 20px 20px 30px;
    }

    .stat-card {
        padding: 30px 15px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .mission-card,
    .why-card {
        padding: 20px;
    }

    .why-card h4 {
        font-size: 1.1rem;
    }

    .value-item {
        padding: 20px;
    }

    .team-card {
        margin-bottom: 20px;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 0.95rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .timeline {
        padding: 0;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 55px;
        padding: 15px 15px 15px 20px;
    }

    .timeline-date {
        font-size: 0.85rem;
        padding: 5px 12px;
        left: 15px;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }
}
