:root {
    /* Primary color palette - based on your homepage */
    --primary: #3a6186;
    --primary-dark: #89253e;
    --secondary: #5f6368;
    --success: #28a745;
    --info: #4285f4;
    --warning: #fbbc05;
    --danger: #ea4335;
    --light: #f8f9fa;
    --dark: #202124;

    /* Modern gradients */
    --gradient-primary: linear-gradient(135deg, #3a6186 0%, #89253e 100%);
    --gradient-secondary: linear-gradient(90deg, #4e54c8, #8f94fb);

    /* Shadows */
    --box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    --card-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    --hover-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;

    /* Border radius */
    --border-radius: 12px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.navbar {
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    margin-right: 10px;
    color: var(--primary);
}

/* About header section */
.about-header {
    background: var(--gradient-primary);
    position: relative;
    padding: 90px 0;
    color: white;
    overflow: hidden;
}

.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.about-header .shape {
    position: absolute;
    z-index: 0;
}

.about-header .shape-1 {
    top: -50px;
    right: 10%;
    width: 300px;
    height: 300px;
    border-radius: 57% 43% 70% 30% / 30% 64% 36% 70%;
    background: rgba(255, 255, 255, 0.05);
}

.about-header .shape-2 {
    bottom: -50px;
    left: 10%;
    width: 200px;
    height: 200px;
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    background: rgba(255, 255, 255, 0.05);
}

.header-content {
    position: relative;
    z-index: 1;
}

/* About container */
.about-container {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    padding-bottom: 50px;
}

.about-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 40px;
    margin-bottom: 30px;
}

/* Typography */
.about-card h1 {
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary);
}

.about-card h2 {
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
}

.about-card h3 {
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.about-card p {
    margin-bottom: 15px;
}

.about-card ul,
.about-card ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.about-card li {
    margin-bottom: 10px;
}

.about-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--secondary);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
}

/* Counter section styles */
.counter-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    margin: 40px 0;
    border-radius: var(--border-radius);
}

.counter-box {
    text-align: center;
    padding: 20px;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.counter-text {
    color: var(--secondary);
    font-weight: 500;
}

/* Team section styles */
.team-section {
    padding: 40px 0;
}

.team-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.team-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-info {
    padding: 20px;
}

.team-name {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.team-position {
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 0.9rem;
}

.team-bio {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    color: var(--primary);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--primary);
    color: white;
}

/* Timeline section */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: var(--gradient-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-container.left {
    left: 0;
}

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

.timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background: var(--gradient-primary);
    border: 4px solid white;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-container.right::after {
    left: -13px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.timeline-year {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.timeline-title {
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-weight: 600;
}

/* Mission-Vision section */
.mission-vision-section {
    display: flex;
    gap: 30px;
    margin: 40px 0;
}

.mission-box,
.vision-box {
    flex: 1;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s;
}

.mission-box:hover,
.vision-box:hover {
    transform: translateY(-10px);
}

.mission-box {
    background: linear-gradient(135deg, rgba(58, 97, 134, 0.1) 0%, rgba(137, 37, 62, 0.05) 100%);
    border-left: 5px solid var(--primary);
}

.vision-box {
    background: linear-gradient(135deg, rgba(137, 37, 62, 0.05) 0%, rgba(58, 97, 134, 0.1) 100%);
    border-right: 5px solid var(--primary-dark);
}

.mission-title,
.vision-title {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.mission-title i,
.vision-title i {
    margin-right: 10px;
    font-size: 1.5rem;
}

/* Values section */
.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.value-item {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 3px solid var(--primary);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.value-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.value-title {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

/* CTA section */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    padding: 50px;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-btn {
    background-color: white;
    color: var(--primary);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: var(--light);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-header {
        padding: 60px 0;
    }

    .about-card {
        padding: 20px;
    }

    .about-container {
        margin-top: -30px;
    }

    .mission-vision-section {
        flex-direction: column;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-container.right {
        left: 0%;
    }

    .timeline-container.left::after,
    .timeline-container.right::after {
        left: 18px;
    }
}