/* About Us Page Styles */

/* About Header Section */
.about-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 80px 0 60px;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('https://images.unsplash.com/photo-1514483127413-f72f273478c3?w=1200&auto=format&fit=crop&q=80') center/cover no-repeat;
    opacity: 0.04;
    z-index: 0;
}

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

.about-header h1 {
    color: var(--dark-blue, #0d3b66);
    font-weight: 800;
    margin-bottom: 25px;
    font-size: 2.75rem;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.about-header h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color, #0d6efd);
    margin: 15px auto 0;
    border-radius: 2px;
}

.about-header .lead {
    color: #495057;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    line-height: 1.7;
}

/* Our Story Section */
.our-story-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.about-image-container img {
    transition: transform 0.8s ease;
}

.about-image-container:hover img {
    transform: scale(1.03);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(13, 110, 253, 0.9);
    color: white;
    padding: 15px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.experience-badge .text {
    font-size: 0.8rem;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--primary-color, #0d6efd);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    color: #333;
    font-weight: 700;
    font-size: 2.4rem;
    margin-bottom: 20px;
    position: relative;
}

.section-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 800px;
}

.signature-block {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.signature-img {
    max-width: 120px;
    margin-right: 20px;
}

.signature-info h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.signature-info p {
    color: #666;
    margin: 0;
}

/* Vision & Mission Section */
.vision-mission-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.vision-card, .mission-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 5px solid transparent;
}

/* Vision & Mission Section (continued) */
.vision-card {
    border-top-color: #0d6efd;
}

.mission-card {
    border-top-color: #198754;
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-5px);
}

.vision-icon, .mission-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    color: var(--primary-color, #0d6efd);
}

.mission-icon {
    color: var(--success-color, #198754);
}

.vision-card h3, .mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.vision-card p, .mission-card p {
    color: #666;
    line-height: 1.7;
}

/* Our Values Section */
.values-section {
    padding: 80px 0;
    background-color: #fff;
}

.value-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px 25px;
    height: 100%;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.value-card:hover {
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-bottom-color: var(--primary-color, #0d6efd);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color, #0d6efd);
    height: 60px;
    width: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.team-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.team-img-container {
    position: relative;
    overflow: hidden;
}

.team-img-container img {
    width: 100%;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-container img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13, 110, 253, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.team-card:hover .team-social {
    opacity: 1;
}

.team-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color, #0d6efd);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background-color: var(--dark-blue, #0d3b66);
    color: white;
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.team-info p {
    color: #666;
    margin: 0;
}

/* Achievements Section */
.achievements-section {
    padding: 80px 0;
    background-color: #fff;
}

.achievement-card {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    height: 100%;
    transition: all 0.3s ease;
}

.achievement-card:hover {
    background-color: var(--primary-color, #0d6efd);
    color: white;
}

.achievement-icon {
    font-size: 2.5rem;
    color: var(--primary-color, #0d6efd);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.achievement-card:hover .achievement-icon {
    color: white;
}

.achievement-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.achievement-card p {
    font-size: 1rem;
    color: #666;
    transition: all 0.3s ease;
}

.achievement-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Timeline Section */
.timeline-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color, #0d6efd);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color, #0d6efd);
    z-index: 1;
}

.timeline-content {
    width: 45%;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color, #0d6efd);
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Call to Action Section */
.cta-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%231E90FF' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.6;
    z-index: 0;
}

.cta-content {
    background-color: rgb(255, 255, 255, 0.85);
    padding: 50px !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.cta-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.cta-content h2 {
    color: #333;
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.cta-content .lead {
    color: #555;
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    gap: 15px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

.cta-buttons .btn-primary {
    background-color: #1E90FF;
    color: white;
    border: none;
    box-shadow: 0 4px 8px rgba(30, 144, 255, 0.2);
}

.cta-buttons .btn-outline-light {
    border: 2px solid #1E90FF;
    color: #1E90FF;
    background-color: transparent;
}

/* Improved hover effects */
.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.cta-buttons .btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.cta-buttons .btn-primary:hover {
    background-color: #0080FF;
}

.cta-buttons .btn-outline-light:hover {
    border: 2px solid #1E90FF;
    background-color: #1E90FF;
    color: white;
    box-shadow: 0 4px 8px rgba(30, 144, 255, 0.2);
}

/* Add subtle ripple effect */
.cta-buttons .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.6s ease-out, height 0.6s ease-out, opacity 0.6s ease-out;
}

.cta-buttons .btn:active::after {
    width: 300px;
    height: 300px;
    opacity: 1;
    transition: width 0.6s ease-out, height 0.6s ease-out, opacity 0s;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .section-title {
        font-size: 2rem;
    }
    
    .about-header h1 {
        font-size: 2.2rem;
    }
    
    .experience-badge {
        width: 100px;
        height: 100px;
    }
    
    .experience-badge .years {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
    
    .about-header {
        padding: 60px 0 40px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .our-story-section {
        padding: 60px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 575px) {
    .about-header h1 {
        font-size: 1.8rem;
    }
    
    .about-header .lead {
        font-size: 1rem;
    }
    
    .experience-badge {
        width: 80px;
        height: 80px;
    }
    
    .experience-badge .years {
        font-size: 1.5rem;
    }
    
    .experience-badge .text {
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .signature-img {
        max-width: 100px;
    }
}