:root {
    --light-blue: #e6f7ff;
    --primary-blue: #1890ff;
    --dark-blue: #0050b3;
    --accent-blue: #69c0ff;
    --text-dark: #262626;
    --text-light: #595959;
    --white: #ffffff;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    padding-top: 76px; /* Account for fixed navbar */
}

/* Navbar Styles */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-blue) !important;
    font-size: 1.5rem;
}

.navbar-brand i {
    font-size: 1.8rem;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

.nav-link.active {
    color: var(--primary-blue) !important;
}

.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary-blue);
}

/* Header Section */
.about-header {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--accent-blue) 100%);
    padding: 4rem 0;
    margin-top: -76px;
    padding-top: 10rem;
}

.about-header h1 {
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-header .lead {
    color: var(--dark-blue);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.header-image {
    position: relative;
    padding: 20px;
}

.header-image img {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.header-stats {
    position: absolute;
    bottom: -20px;
    left: 20px;
    right: 20px;
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Section Titles */
.section-title {
    color: var(--dark-blue);
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 15px;
    font-size: 2.2rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

.section-title.text-center:after {
    left: 50%;
    transform: translateX(-50%);
}

/* About Section */
.about-section {
    padding: 4rem 0;
}

.about-text {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-image img {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.story-image img:hover {
    transform: scale(1.02);
}

/* Mission & Vision Cards */
.mission-vision-section {
    padding: 2rem 0;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(24, 144, 255, 0.15);
}

.mission-card {
    border-top-color: var(--primary-blue);
}

.vision-card {
    border-top-color: var(--accent-blue);
}

.card-body {
    padding: 2.5rem;
}

.icon-container {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--accent-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-container i {
    font-size: 2rem;
    color: var(--dark-blue);
}

.card-title {
    color: var(--dark-blue);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.card-text {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Values Section */
.values-section {
    padding: 4rem 0;
    background-color: #f8fbff;
    border-radius: 15px;
}

.value-item {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(24, 144, 255, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--accent-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 2.5rem;
    color: var(--dark-blue);
}

.value-item h4 {
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 4rem 0;
}

.team-member {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(24, 144, 255, 0.1);
}

.member-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--accent-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.initials {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.team-member h4 {
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.position {
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.bio {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Timeline Section */
.timeline-section {
    padding: 4rem 0;
    background-color: #f8fbff;
    border-radius: 15px;
}

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

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--accent-blue);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 3rem;
}

.timeline-year {
    position: absolute;
    right: -25px;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-year {
    right: auto;
    left: -25px;
}

.timeline-content {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--accent-blue);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 4px solid var(--accent-blue);
}

.timeline-content h5 {
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(105, 192, 255, 0.8) 100%);
    border-radius: 15px;
    margin-top: 2rem;
}

.cta-content h2 {
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-text {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    padding: 0.75rem 2.5rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-lg {
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
}

/* Footer */
.about-footer {
    background-color: var(--dark-blue);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-blue);
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-top: 4px;
    color: var(--accent-blue);
    min-width: 20px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

.designer {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .timeline:before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-left: 70px;
    }

    .timeline-year {
        left: 5px;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-year {
        left: 5px;
    }
}

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

    .about-header .lead {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .header-stats {
        position: relative;
        bottom: 0;
        left: 0;
        right: 0;
        margin-top: 2rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    body {
        padding-top: 66px;
    }

    .about-header {
        padding-top: 8rem;
    }
}

@media (max-width: 576px) {
    .header-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline:before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-year {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        left: 0;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }
}
