/* ABOUT PAGE STYLES */
:root {
    --default-font: "Roboto", system-ui, sans-serif;
    --heading-font: "Poppins", sans-serif;
    --nav-font: "Raleway", sans-serif;
    --background-color: #ffffff;
    --default-color: #444444;
    --heading-color: #2c4964;
    --accent-color: #1977cc;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
    --nav-color: #2c4964;
    --nav-hover-color: #1977cc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
    scroll-behavior: smooth;
}

a {
    color: var(--accent-color);
    text-decoration: none !important;
    transition: 0.3s;
}

a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/* ---- HEADER ---- */
.header {
    background-color: var(--background-color);
    z-index: 997;
    transition: all 0.5s;
    top: 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.header .topbar {
    background-color: var(--accent-color);
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.header .topbar .contact-info span,
.header .topbar .contact-info a {
    color: var(--contrast-color);
    padding-left: 5px;
}

.header .topbar .social-links a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 20px;
    font-size: 15px;
    transition: 0.3s;
}

.header .topbar .social-links a:hover {
    color: #fff;
}

.header .branding {
    min-height: 60px;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.header .logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
}

.header .logo span {
    color: var(--accent-color);
}

nav.navmenu ul {
    list-style: none;
    display: flex;
    gap: 5px;
    margin: 0;
    padding: 0;
}

nav.navmenu ul li a {
    color: var(--nav-color);
    font-family: var(--nav-font);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 4px;
    transition: 0.3s;
    display: block;
}

nav.navmenu ul li a:hover,
nav.navmenu ul li a.active {
    color: var(--nav-hover-color);
    background: color-mix(in srgb, var(--accent-color), transparent 93%);
}

/* ---- PAGE TITLE ---- */
.page-title {
    background: linear-gradient(145deg, #ffffff 0%, #e8f4fd 50%, #cce4f7 100%);
    padding: 60px 0 50px;
    border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.page-title h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-title .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.page-title .breadcrumb-item a {
    color: var(--accent-color);
}

.page-title .breadcrumb-item.active {
    color: var(--default-color);
}

.page-title .breadcrumb-item+.breadcrumb-item::before {
    color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/* ---- SECTIONS ---- */
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    overflow: hidden;
}

.light-background {
    background-color: #f1f7fc;
}

.section-title {
    text-align: center;
    padding-bottom: 60px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

.section-title h2::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 1px;
    background: color-mix(in srgb, var(--default-color), transparent 60%);
    left: 0;
    right: 0;
    bottom: 1px;
    margin: auto;
}

.section-title h2::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.section-title p {
    margin-bottom: 0;
}

/* ---- ABOUT INTRO ---- */
.about-intro {
    padding: 70px 0;
}

.about-intro .lead-text {
    font-size: 18px;
    line-height: 1.9;
    color: var(--default-color);
    margin-bottom: 25px;
}

.about-intro .highlight-box {
    background: linear-gradient(135deg, var(--accent-color) 0%, #1255a0 100%);
    color: #fff;
    border-radius: 12px;
    padding: 35px;
    height: 100%;
}

.about-intro .highlight-box h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
}

.about-intro .highlight-box p {
    font-size: 15px;
    opacity: 0.92;
    line-height: 1.8;
}

.about-intro .highlight-box .stat-row {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.about-intro .highlight-box .stat-item {
    text-align: center;
    flex: 1;
}

.about-intro .highlight-box .stat-item .num {
    font-size: 36px;
    font-weight: 700;
    font-family: var(--heading-font);
    display: block;
}

.about-intro .highlight-box .stat-item .lbl {
    font-size: 12px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- MISSION VALUES ---- */
.mission-card {
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
    border-radius: 10px;
    padding: 35px 30px;
    height: 100%;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    border-radius: 10px 0 0 10px;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(25, 119, 204, 0.15);
}

.mission-card .icon-wrap {
    width: 60px;
    height: 60px;
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.mission-card .icon-wrap i {
    font-size: 26px;
    color: var(--accent-color);
}

.mission-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.mission-card p {
    font-size: 14px;
    line-height: 1.8;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin: 0;
}

/* ---- HISTORY TIMELINE ---- */
.timeline {
    position: relative;
    padding: 10px 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: color-mix(in srgb, var(--accent-color), transparent 70%);
    top: 0;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 40px);
}

.timeline-item::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: var(--accent-color);
    border: 3px solid #fff;
    border-radius: 50%;
    top: 20px;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.timeline-content {
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
    border-radius: 8px;
    padding: 25px;
    max-width: 380px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
}

.timeline-content .year {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-family: var(--heading-font);
}

.timeline-content h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    margin: 0;
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 60px;
        padding-right: 0;
    }

    .timeline-item::after {
        left: 20px;
    }

    .timeline-content {
        max-width: 100%;
    }
}

/* ---- TEAM ---- */
.team-card {
    background: var(--surface-color);
    border-radius: 10px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
    padding: 35px 30px;
    height: 100%;
    transition: 0.4s;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(25, 119, 204, 0.15);
}

.team-card .avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #1255a0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.team-card .avatar span {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    font-family: var(--heading-font);
}

.team-card h4 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-card .role {
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 500;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
}

.team-card p {
    font-size: 14px;
    line-height: 1.75;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.team-card .social-links {
    margin-top: 15px;
    display: flex;
    gap: 8px;
}

.team-card .social-links a {
    width: 34px;
    height: 34px;
    background: color-mix(in srgb, var(--default-color), transparent 93%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    font-size: 15px;
    transition: 0.3s;
}

.team-card .social-links a:hover {
    background: var(--accent-color);
    color: #fff;
}

/* ---- WHY US ---- */
.why-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    border-radius: 10px;
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
    margin-bottom: 20px;
    transition: 0.3s;
}

.why-item:hover {
    box-shadow: 0 8px 30px rgba(25, 119, 204, 0.12);
}

.why-item .icon {
    font-size: 36px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.why-item h5 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
}

.why-item p {
    font-size: 14px;
    margin: 0;
    line-height: 1.7;
    color: color-mix(in srgb, var(--default-color), transparent 25%);
}

/* ---- CTA ---- */
.cta-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, #1255a0 100%);
    padding: 70px 0;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    font-size: 34px;
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    margin-bottom: 30px;
}

.cta-section .btn-cta {
    background: #fff;
    color: var(--accent-color);
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--heading-font);
    font-size: 15px;
    transition: 0.3s;
    display: inline-block;
}

.cta-section .btn-cta:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}



/* scroll top */
.scroll-top {
    position: fixed;
    right: 15px;
    bottom: 15px;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    z-index: 9999;
}


.scrolled .header {
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.scrolled .header .topbar {
    height: 0;
    visibility: hidden;
    overflow: hidden;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: #fff;
}