/* ===============================================================
   ABOUT.CSS - About page specific styles
   Load only on about.php
================================================================ */

/* ========== ABOUT HERO ========== */
.about-hero {
    background: linear-gradient(135deg, rgba(0, 31, 84, 0.92), rgba(0, 51, 153, 0.88)),
                url('https://images.unsplash.com/photo-1600880292089-90a7e086ee0c?w=1600&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(37, 211, 102, 0.1) 0%, transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.about-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease forwards;
}

.about-hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-hero-content p {
    font-size: 18px;
    opacity: 0.95;
    line-height: 1.7;
}

/* ========== COMPANY OVERVIEW ========== */
.company-overview {
    padding: 80px 0;
    background: var(--primary-blue);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-content p {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.8;
    color: white;
}

.overview-stats-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.mini-stat {
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.mini-stat:hover {
    background: var(--white);
    border-color: var(--accent-green);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.mini-stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
    transition: var(--transition-fast);
}

.mini-stat:hover .mini-stat-number {
    color: var(--accent-green);
    transform: scale(1.1);
}

.mini-stat-label {
    font-size: 13px;
    color: #666;
}

.overview-image-wrapper {
    position: relative;
}

.overview-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
    position: relative;
    transition: all 0.4s ease;
}

.overview-image:hover {
    transform: scale(1.02) rotate(-1deg);
}

.overview-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.overview-image:hover img {
    transform: scale(1.1);
}

.image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--accent-green);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    animation: pulse 2s infinite;
}

.image-badge i {
    font-size: 20px;
}

/* ========== MISSION VISION ========== */
.mission-vision {
    background: var(--primary-blue);
    padding: 80px 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mv-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green));
    transform: scaleX(0);
    transition: all 0.4s ease;
}

.mv-card:hover::before {
    transform: scaleX(1);
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.mv-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.mv-icon-wrapper i {
    font-size: 32px;
    color: var(--primary-blue);
    transition: all 0.4s ease;
}

.mv-card:hover .mv-icon-wrapper {
    background: var(--accent-green);
    transform: rotate(360deg) scale(1.1);
}

.mv-card:hover .mv-icon-wrapper i {
    color: var(--white);
}

.mv-card h3 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.mv-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.mv-points {
    list-style: none;
}

.mv-points li {
    padding-left: 30px;
    margin-bottom: 12px;
    position: relative;
    font-size: 14px;
    color: #666;
    transition: var(--transition-fast);
}

.mv-points li:hover {
    color: var(--text-color);
    transform: translateX(5px);
}

.mv-points li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-green);
    transition: var(--transition-fast);
}

.mv-points li:hover::before {
    transform: scale(1.2);
}

/* ========== JOURNEY TIMELINE ========== */
.journey-timeline {
    padding: 80px 0;
    background: var(--primary-blue);
}

.timeline {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-blue), var(--accent-green));
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    text-align: right;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--primary-blue);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: all 0.4s ease;
}

.timeline-item:hover .timeline-marker {
    background: white;
    border-color: var(--accent-green);
    transform: translateX(-50%) scale(1.5);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
}

.timeline-item::before {
    content: attr(data-year);
    position: absolute;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    background: var(--accent-green);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    z-index: 3;
    transition: var(--transition-fast);
}

.timeline-item:hover::before {
    background: var(--accent-green);
}

.timeline-content {
    width: 45%;
    background: var(--light-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
}

.timeline-item:hover .timeline-content {
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: scale(1.05);
}

.timeline-content h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 18px;
}

.timeline-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ========== USP SECTION ========== */
.usp-section {
    padding: 80px 0;
    background: var(--primary-blue);
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.usp-card {
    background: var(--light-bg);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
}

.usp-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.usp-card:hover {
    background: var(--white);
    border-color: var(--accent-green);
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.usp-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.5s ease;
}

.usp-icon i {
    font-size: 36px;
    color: var(--primary-blue);
    transition: all 0.4s ease;
}

.usp-card:hover .usp-icon {
    background: var(--accent-green);
    transform: rotate(360deg) scale(1.1);
}

.usp-card:hover .usp-icon i {
    color: var(--white);
}

.usp-card h3 {
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.usp-card:hover h3 {
    color: var(--accent-green);
}

.usp-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ========== CORE VALUES ========== */
.core-values {
    background: var(--primary-blue);
    padding: 80px 0;
}

.values-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.values-list {
    margin-top: 30px;
}

.value-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-light);
}

.value-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.value-icon {
    width: 50px;
    height: 50px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.value-icon i {
    font-size: 24px;
    color: var(--primary-blue);
    transition: all 0.4s ease;
}

.value-item:hover .value-icon {
    background: var(--accent-green);
    transform: rotate(360deg);
}

.value-item:hover .value-icon i {
    color: var(--white);
}

.value-content h4 {
    color: var(--primary-blue);
    font-size: 17px;
    margin-bottom: 5px;
}

.value-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.values-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
}

.values-image:hover {
    transform: scale(1.02) rotate(1deg);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.values-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.values-image:hover img {
    transform: scale(1.1);
}

/* ========== CERTIFICATIONS ========== */
.certifications {
    padding: 80px 0;
    background: var(--primary-blue);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.cert-card {
    text-align: center;
    padding: 35px 25px;
    background: var(--light-bg);
    border-radius: 12px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.cert-card:hover {
    background: var(--white);
    border-color: var(--accent-green);
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.cert-card i {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    transition: all 0.5s ease;
}

.cert-card:hover i {
    color: var(--accent-green);
    transform: scale(1.2) rotate(360deg);
}

.cert-card h4 {
    font-size: 16px;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.cert-card p {
    font-size: 13px;
    color: #666;
}

/* ========== ABOUT CTA ========== */
.about-cta {
    background: linear-gradient(135deg, rgba(0, 31, 84, 0.95), rgba(0, 51, 153, 0.92)),
                url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1600&q=80') center/cover;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.about-cta h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.about-cta p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .overview-grid,
    .mv-grid,
    .values-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        text-align: left !important;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .timeline-item::before {
        left: 20px;
    }
    
    .about-hero-content h1 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 80px 0 60px;
    }
    
    .about-hero-content h1 {
        font-size: 32px;
    }
    
    .about-hero-content p {
        font-size: 16px;
    }
    
    .overview-stats-mini {
        grid-template-columns: 1fr;
    }
    
    .usp-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .about-cta h2 {
        font-size: 32px;
    }
    
    .about-cta p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .about-hero-content h1 {
        font-size: 28px;
    }
    
    .mv-card,
    .usp-card {
        padding: 25px;
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px !important;
        padding: 20px;
    }
}