:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    background-color: var(--primary);
}

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

.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header .lead {
    color: white !important;
}

.about-hero {
    padding: 100px 0;
    background: white;
    color: #2c3e50;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.about-hero .container {
    position: relative;
    z-index: 1;
}

@keyframes scaleIn {
    to {
        transform: scaleX(1);
    }
}

.about-hero .lead {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #2d3748;
    max-width: 100%;
    margin: 1.8rem 0 2.2rem;
    font-weight: 400;
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s ease-out 0.5s forwards;
    letter-spacing: 0.2px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.about-hero .lead::before {
    content: '“';
    font-size: 4rem;
    line-height: 1;
    color: #e2e8f0;
    position: absolute;
    left: -15px;
    top: -15px;
    font-family: Georgia, serif;
    z-index: -1;
}

.hero-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin: 2.5rem 0;
    max-width: 100%;
    padding: 1.5rem;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.hero-content p {
    margin-bottom: 1.2rem;
}

.hero-content p:last-child {
    margin-bottom: 0;
}


.about-hero .btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #0dd9fd 100%);
    border: none;
    padding: 0.85rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9 0%, #0ab9e6 100%);
    color: white;
}

.about-hero .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.about-hero .btn-primary:hover::before {
    left: 100%;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

.about-hero .btn-primary:active {
    animation: pulse 1s ease-out;
}

.about-hero img {
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-hero img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.section-title {
    position: relative;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 3rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    display: block;
    padding-bottom: 1rem;
    max-width: 800px;
    margin-left: 0;
    margin-right: 0;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: #1f2937;
    opacity: 0.5;
    transform-origin: left;
    animation: scaleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

.lead {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #495057;
    font-weight: 400;
}

.hero-content {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-hero {
    background: linear-gradient(90deg, #3498db, #0dd9fd);
    color: white;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    background: linear-gradient(90deg, #0dd9fd, #3498db);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.4);
    color: white;
}

.hero-image {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(13, 217, 253, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.hero-image:hover::before {
    opacity: 1;
}

.hero-image:hover {
    transform: scale(1.05) translateY(-10px) rotate(2deg);
    box-shadow: 0 30px 60px rgba(52, 152, 219, 0.2);
}

/* Enhanced Animation classes for About Hero */
.about-hero .fade-in {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.about-hero .fade-in:nth-child(1) { transition-delay: 0.2s; }
.about-hero .fade-in:nth-child(2) { transition-delay: 0.4s; }

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    33% {
        transform: translateY(-20px);
    }
    66% {
        transform: translateY(-10px);
    }
}

/* Glow animation */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 20px 40px rgba(52, 152, 219, 0.1);
    }
    50% {
        box-shadow: 0 25px 50px rgba(52, 152, 219, 0.15);
    }
}

.about-glow {
    animation: glow 4s ease-in-out infinite;
}

/* Text animation */
@keyframes textSlide {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.text-animate {
    animation: textSlide 1s ease-out;
}


/* Mission & Vision Section */
.mission-card,
.vision-card,
.values-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    background: white;
    overflow: hidden;
}

.mission-card:hover,
.vision-card:hover,
.values-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.mission-icon,
.vision-icon,
.values-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.1);
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon,
.vision-card:hover .vision-icon,
.values-card:hover .values-icon {
    background: var(--secondary);
    color: white;
}

.mission-card:hover .mission-icon i,
.vision-card:hover .vision-icon i,
.values-card:hover .values-icon i {
    color: white !important;
}

.mission-card .card-title,
.vision-card .card-title,
.values-card .card-title {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.mission-card .card-title::after,
.vision-card .card-title::after,
.values-card .card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.mission-card .card-text,
.vision-card .card-text,
.values-card .card-text {
    color: #666;
    line-height: 1.8;
}

/* Animation for fade-in effect */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

/* Add delay for each card */
.fade-in:nth-child(1) { animation-delay: 0.2s; }
.fade-in:nth-child(2) { animation-delay: 0.4s; }
.fade-in:nth-child(3) { animation-delay: 0.6s; }

/* Mission & Vision Cards */
.hover-lift {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border-radius: 0.5rem;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05) !important;
}

.icon-stack {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(52, 152, 219, 0.1);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover .icon-stack {
    background-color: var(--primary);
}

.card:hover .icon-stack i {
    color: #fff !important;
}

.card-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

.card:hover .card-title::after {
    width: 60px;
    background: var(--secondary);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .card {
        margin-bottom: 1.5rem;
    }
}

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

.mission-card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    background: white;
}

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

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

/* Enhanced Mission & Vision Section */
.mission-vision-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.mission-vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSg1MiwgMTUyLDIxOSwwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.3;
    pointer-events: none;
}

.value-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.value-item:hover::before {
    left: 100%;
}

.value-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(52, 152, 219, 0.15);
}

.value-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--secondary), #0dd9fd);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 25px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

.value-item:hover .value-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #0dd9fd, var(--secondary));
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.4);
}

.value-item h4 {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.value-item:hover h4 {
    color: var(--secondary);
    transform: translateY(-5px);
}

.value-item p {
    color: #6c757d;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.value-item:hover p {
    color: #495057;
    transform: translateY(2px);
}

/* Enhanced Timeline Section */
.timeline-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSg1MiwgMTUyLDIxOSwwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.3;
    pointer-events: none;
}

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

.timeline::after {
    content: '';
    position: absolute;
    width: 8px;
    background: linear-gradient(180deg, var(--secondary), #0dd9fd);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -4px;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--secondary), #0dd9fd);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.4);
    transition: all 0.3s ease;
}

.timeline-item:hover::after {
    transform: scale(1.2);
    box-shadow: 0 0 30px rgba(52, 152, 219, 0.6);
}

.timeline-item:nth-child(odd)::after {
    right: -15px;
}

.timeline-item:nth-child(even)::after {
    left: -15px;
}

.timeline-content {
    padding: 30px 35px;
    background: white;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateY(0);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 1;
    border-radius: 15px;
}

.timeline-content:hover::before {
    left: 100%;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(52, 152, 219, 0.15);
}

.year-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), #0dd9fd);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.timeline-content:hover .year-badge {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.timeline-content h4 {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-content:hover h4 {
    color: var(--secondary);
    transform: translateY(-3px);
}

.timeline-content p {
    color: #6c757d;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-content:hover p {
    color: #495057;
    transform: translateY(2px);
}

/* Enhanced Team Section */
.team-section {
    padding: 80px 0;
    background: #f9fafb;
    position: relative;
    overflow: hidden;
}

.team-section .row {
    margin: 0 -10px;
}

.team-section [class*='col-'] {
    padding: 10px;
}

.team-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.03) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.team-section .container {
    position: relative;
    z-index: 1;
}

.team-card {
    border: none;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    position: relative;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    margin: 10px;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.team-card:hover::before {
    left: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-card img {
    height: 300px;
    object-fit: cover;
    object-position: center top;
    width: 100%;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    border-bottom: 1px solid #f0f0f0;
}

.team-card:hover img {
    transform: scale(1.03);
    filter: brightness(1.02);
}

.team-card .card-body {
    padding: 24px 20px;
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.team-card .card-title {
    color: #1a1a1a;
    font-weight: 600;
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    line-height: 1.3;
}

.team-card:hover .card-title {
    color: var(--secondary);
    transform: translateY(-3px);
}

.team-card .text-primary {
    color: #2c5282 !important;
    font-weight: 500;
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    padding-bottom: 4px;
}

.team-card .text-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #4299e1, #63b3ed);
    transition: all 0.4s ease;
    opacity: 0.8;
}

.team-card:hover .text-primary {
    color: #2b6cb0 !important;
    transform: translateY(-1px);
}

.team-card:hover .text-primary::after {
    width: 100%;
    background: linear-gradient(90deg, #2b6cb0, #4299e1);
}

.team-card .card-text {
    color: #4a5568;
    line-height: 1.5;
    margin: 12px 0 16px 0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex-grow: 1;
}

.team-card:hover .card-text {
    color: #495057;
    transform: translateY(2px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--secondary), #0dd9fd);
    border-radius: 50%;
    color: white;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.social-links a:hover {
    background: linear-gradient(135deg, #0dd9fd, var(--secondary));
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
    color: white;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.stat-item {
    padding: 30px 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Enhanced Animation classes for all sections */
.mission-vision-section .fade-in,
.team-section .fade-in,
.timeline-section .fade-in,
.values-section .fade-in {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.mission-vision-section .fade-in.visible,
.team-section .fade-in.visible,
.timeline-section .fade-in.visible,
.values-section .fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered animation delays */
.mission-vision-section .fade-in:nth-child(1) { transition-delay: 0.1s; }
.mission-vision-section .fade-in:nth-child(2) { transition-delay: 0.2s; }
.mission-vision-section .fade-in:nth-child(3) { transition-delay: 0.3s; }

.team-section .fade-in:nth-child(1) { transition-delay: 0.1s; }
.team-section .fade-in:nth-child(2) { transition-delay: 0.2s; }
.team-section .fade-in:nth-child(3) { transition-delay: 0.3s; }
.team-section .fade-in:nth-child(4) { transition-delay: 0.4s; }

.timeline-section .fade-in:nth-child(1) { transition-delay: 0.1s; }
.timeline-section .fade-in:nth-child(2) { transition-delay: 0.2s; }
.timeline-section .fade-in:nth-child(3) { transition-delay: 0.3s; }
.timeline-section .fade-in:nth-child(4) { transition-delay: 0.4s; }

.values-section .fade-in:nth-child(1) { transition-delay: 0.1s; }
.values-section .fade-in:nth-child(2) { transition-delay: 0.2s; }
.values-section .fade-in:nth-child(3) { transition-delay: 0.3s; }

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    33% {
        transform: translateY(-20px);
    }
    66% {
        transform: translateY(-10px);
    }
}

/* Glow animation */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(52, 152, 219, 0.08);
    }
    50% {
        box-shadow: 0 15px 40px rgba(52, 152, 219, 0.12);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.glow-effect {
    animation: glow 4s ease-in-out infinite;
}

.btn-primary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Timeline */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

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

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 18px;
    }

    .timeline-item:nth-child(odd)::after {
        right: auto;
    }
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 70px 0 20px;
}