/* ==========================================================================
   About Us Page Styles - GTF Website
   ========================================================================== */

/* Ensure page is visible */
.about-page {
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0 !important;
    margin: 0 !important;
}

.content-section {
    padding: 0 !important;
    margin: 0 !important;
}

main {
    padding-top: 0;
}

/* Hero Section */
.about-hero {
    background: linear-gradient(rgba(13, 92, 147, 0.4), rgba(13, 92, 147, 0.4)), url('../images/about-hero.jpeg');
    background-size: cover;
    background-position: center;
    padding: 200px 0 150px;
    color: #fff;
    text-align: left;
    margin-top: 0;
    margin-bottom: 0;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.about-hero .container {
    width: 100%;
    max-width: 1200px;
    margin: 0;
    padding: 0 60px;
    position: absolute;
    top: 55%;
    left: 0;
    transform: translateY(-50%);
}

.about-hero h1 {
    font-size: 96px;
    font-weight: 900;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-family: 'Arial Black', 'Arial', sans-serif;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.about-hero p {
    font-size: 32px;
    max-width: 900px;
    margin: 0;
    line-height: 1.6;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

/* Fade in animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.fade-in-up.delay-1 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll animations for sections */
.about-section {
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    padding: 80px 0;
    margin: 0;
}

.about-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: 'Arial', sans-serif;
}

.scroll-indicator svg {
    display: block;
    margin: 0 auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.page-id-about header {
    background: transparent !important;
    box-shadow: none !important;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.page-id-about header.scrolled {
    background: #0d5c93 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

/* About Sections */

.about-section:nth-child(even) {
    background-color: #f5f5f5;
}

.section-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
    color: #0B0B09;
    border-top: 4px solid #0d5c93;
    border-bottom: 4px solid #0d5c93;
    padding: 20px 0;
    display: inline-block;
    width: 100%;
    font-family: 'HelveticaNeueLTStd-BdCn', sans-serif;
}

.about-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    font-family: 'HelveticaNeueLTStd-Roman', sans-serif;
}

.about-content p {
    margin-bottom: 20px;
}

/* Stats Section */
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 60px;
}

.stat-box {
    text-align: center;
    flex: 1;
    min-width: 200px;
    opacity: 1;
    transform: translateY(0);
}

.stat-box:not(.stat-main) {
    margin-top: 60px;
}

.stat-number {
    font-size: 72px;
    font-weight: bold;
    color: #0d5c93;
    display: inline-block;
    margin-bottom: 10px;
    font-family: 'HelveticaNeueLTStd-BdCn', sans-serif;
}

.stat-suffix {
    font-size: 72px;
    font-weight: bold;
    color: #0d5c93;
    display: inline-block;
    font-family: 'HelveticaNeueLTStd-BdCn', sans-serif;
}

.stat-main .stat-number {
    font-size: 96px;
}

.stat-label {
    font-size: 20px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'HelveticaNeueLTStd-MdCn', sans-serif;
    display: block;
}

/* Mission & Vision */
.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 80px;
    margin-top: 60px;
    position: relative;
}

.mission-vision::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 80%;
    background: linear-gradient(180deg, transparent 0%, #0d5c93 20%, #0d5c93 80%, transparent 100%);
    opacity: 0.3;
}

.mv-card {
    background: transparent;
    padding: 60px 50px;
    border-radius: 0;
    color: #333;
    opacity: 1;
    transform: translateY(0);
    position: relative;
    border-left: none;
}

.mv-card h3 {
    font-size: 48px;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'HelveticaNeueLTStd-BdCn', sans-serif;
    color: #0d5c93;
    position: relative;
    letter-spacing: 2px;
}

.mv-card h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0d5c93 0%, #157CBE 100%);
    margin-top: 20px;
}

.mv-card p {
    font-size: 18px;
    line-height: 2;
    font-family: 'HelveticaNeueLTStd-Roman', sans-serif;
    color: #555;
    position: relative;
}

/* Core Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.value-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    opacity: 1;
    transform: translateY(0);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #0d5c93;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #fff;
}

.value-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #0d5c93;
    font-family: 'HelveticaNeueLTStd-BdCn', sans-serif;
}

.value-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    font-family: 'HelveticaNeueLTStd-Roman', sans-serif;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #d3d3d3;
}

.timeline-progress {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #0d5c93 0%, #157CBE 100%);
    transition: height 0.3s ease-out;
    box-shadow: 0 0 10px rgba(13, 92, 147, 0.5);
    z-index: 1;
    top: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 45%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
    text-align: right;
    padding-right: 50px;
}

.timeline-item:nth-child(even) {
    margin-left: 55%;
    text-align: left;
    padding-left: 50px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    background: #d3d3d3;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #d3d3d3;
    transition: all 0.4s ease;
    z-index: 2;
}

.timeline-item.active::before {
    background: #0d5c93;
    box-shadow: 0 0 0 4px #0d5c93, 0 0 20px rgba(13, 92, 147, 0.4);
    transform: scale(1.2);
}

.timeline-item:nth-child(odd)::before {
    right: -10px;
}

.timeline-item:nth-child(even)::before {
    left: -10px;
}

.timeline-year {
    font-size: 32px;
    font-weight: bold;
    color: #999;
    margin-bottom: 10px;
    font-family: 'HelveticaNeueLTStd-BdCn', sans-serif;
    transition: color 0.3s ease;
}

.timeline-item.active .timeline-year {
    color: #0d5c93;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.timeline-item.active::before {
    animation: pulse 2s ease-in-out infinite;
}

.timeline-content {
    font-size: 16px;
    line-height: 1.6;
    color: #999;
    font-family: 'HelveticaNeueLTStd-Roman', sans-serif;
    transition: color 0.3s ease;
}

.timeline-item.active .timeline-content {
    color: #666;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0d5c93 0%, #157CBE 100%);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 48px;
    margin-bottom: 30px;
    font-family: 'HelveticaNeueLTStd-BdCn', sans-serif;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'HelveticaNeueLTStd-Roman', sans-serif;
}

.cta-button {
    display: inline-block;
    background-color: #cc0e0e !important;
    color: #fff !important;
    padding: 18px 60px !important;
    font-size: 18px !important;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 8px rgba(204, 14, 14, 0.2) !important;
    border: 1px solid #cc0e0e !important;
    font-family: 'HelveticaNeueLTStd-BdCn', sans-serif;
}

.cta-button:hover,
.cta-button:focus,
.cta-button:active {
    background-color: #8a0909 !important;
    border-color: #8a0909 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(138, 9, 9, 0.3) !important;
    color: #fff !important;
    text-decoration: none !important;
    outline: none !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-hero {
        padding: 80px 20px 60px;
    }

    .about-hero h1 {
        font-size: 48px;
    }

    .about-hero p {
        font-size: 20px;
    }

    .section-title {
        font-size: 36px;
    }

    .stat-number {
        font-size: 56px;
    }

    .mission-vision {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-vision::before {
        display: none;
    }

    .mv-card {
        padding: 40px 30px;
    }

    .mv-card h3 {
        font-size: 40px;
    }

    .timeline::before,
    .timeline-progress {
        left: 20px;
        transform: none;
    }

    .timeline-item {
        width: 100% !important;
        margin-left: 0 !important;
        text-align: left !important;
        padding-left: 60px !important;
        padding-right: 0 !important;
    }

    .timeline-item::before {
        left: 10px !important;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 36px;
    }

    .about-hero p {
        font-size: 18px;
    }

    .about-section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 28px;
        padding: 15px 0;
    }

    .about-content {
        font-size: 16px;
    }

    .stat-number {
        font-size: 48px;
    }

    .stat-label {
        font-size: 16px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .value-card {
        padding: 30px 20px;
    }

    .mv-card {
        padding: 30px 20px;
    }

    .mv-card h3 {
        font-size: 32px;
    }

    .mv-card p {
        font-size: 16px;
    }

    .timeline-year {
        font-size: 28px;
    }

    .timeline-content {
        font-size: 15px;
    }

    .cta-section {
        padding: 60px 20px;
    }

    .cta-section h2 {
        font-size: 32px;
    }

    .cta-section p {
        font-size: 18px;
    }

    .cta-button {
        padding: 15px 40px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .about-hero p {
        font-size: 16px;
    }

    .stats-container {
        gap: 30px;
    }

    .stat-box {
        min-width: 150px;
    }

    .stat-number {
        font-size: 42px;
    }

    .stat-label {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .mission-vision {
        gap: 30px;
    }

    .mv-card h3 {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .mv-card h3 {
        font-size: 24px;
    }

    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .value-title {
        font-size: 20px;
    }

    .cta-section h2 {
        font-size: 28px;
    }
}