﻿@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');
:root {
    --color-primary: #13334a; 
    --color-secondary: #2d78ba;
    --color-accent: #1f598c; 
    --color-text-body: #13334a;
    --color-text-muted: #5c7080;
    --color-bg-light: #f8f9fa;
    --color-bg-white: #ffffff;
    --color-white: #ffffff;
    --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --shadow-card: 0 4px 10px rgba(0,0,0,0.08);
    --shadow-hover: 0 10px 25px rgba(19, 51, 74, 0.2);
    --transition-base: all 0.3s ease;
}


body {
    background: #f0f4f8;
    color: var(--color-text-body);
    font-family: var(--font-family-base);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary);
}

/*hero*/
.about-hero {
    background: linear-gradient(135deg, #0B2545 0%, #1c4b82 100%) !important;
    text-align: center;
    padding: 3.5rem 1.5rem 2.2rem;
    color: #ffffff;
}


    .about-hero i {
        color: #ffffff;
        margin-right: 0.5rem;
    }

    .about-hero p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1rem;
        line-height: 1.5;
    }

    .about-hero h1 {
        font-size: 2.5rem;
        font-weight: 700;
        color: white;
    }
    .about-hero h2 {
        font-size: 1.7rem;
        font-weight: 700;
        color: white;
    }

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

/*mission*/
.mission-vision-section {
    background: var(--color-bg-white);
}

    .mission-vision-section p {
        line-height: 1.7;
        font-size: 1rem;
    }

    .mission-vision-section img {
        border-radius: 1rem;
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

        .mission-vision-section img:hover {
            transform: scale(1.03);
            box-shadow: var(--shadow-hover);
        }

@media (max-width: 768px) {
    .mission-vision-section {
        text-align: center;
    }
}

/*timeline*/
.timeline-section {
    background: #f8fbff;
    
    position: relative;
    overflow: hidden;
}

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

    
    .timeline::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, var(--color-secondary), var(--color-accent));
    }

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1rem 2rem;
}

    .timeline-item.left {
        left: 0;
        text-align: right;
    }

    .timeline-item.right {
        left: 50%;
    }

.timeline-content {
    background: var(--color-bg-white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    position: relative;
}


.timeline-item .timeline-content::after {
    content: "";
    position: absolute;
    top: 20px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 3px solid var(--color-white);
    box-shadow: 0 0 0 3px rgba(31,89,140,0.3);
}

.timeline-item.left .timeline-content::after {
    right: -38px;
}

.timeline-item.right .timeline-content::after {
    left: -38px;
}


.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

@media (max-width: 768px) {
    .timeline::before {
        left: 8px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 2.5rem;
        padding-right: 0;
        text-align: left !important;
    }

        .timeline-item.right {
            left: 0;
        }

            
            .timeline-item.left .timeline-content::after,
            .timeline-item.right .timeline-content::after {
                left: -30px !important;
                right: auto;
            }
}

