/* About Page Styles */

/* Dot Flow Animation for About Hero */
.dot-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.dot-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    animation: dotFlow 15s linear infinite;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    animation: pulse 2s ease-in-out infinite alternate;
}

/* Individual dot sizes and positions */
.dot-1 {
    width: 8px;
    height: 8px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.dot-2 {
    width: 12px;
    height: 12px;
    top: 20%;
    left: 15%;
    animation-delay: -2s;
    animation-duration: 18s;
}

.dot-3 {
    width: 6px;
    height: 6px;
    top: 30%;
    left: 8%;
    animation-delay: -4s;
    animation-duration: 14s;
}

.dot-4 {
    width: 10px;
    height: 10px;
    top: 15%;
    left: 25%;
    animation-delay: -1s;
    animation-duration: 16s;
}

.dot-5 {
    width: 14px;
    height: 14px;
    top: 40%;
    left: 12%;
    animation-delay: -6s;
    animation-duration: 20s;
}

.dot-6 {
    width: 8px;
    height: 8px;
    top: 50%;
    left: 3%;
    animation-delay: -3s;
    animation-duration: 13s;
}

.dot-7 {
    width: 16px;
    height: 16px;
    top: 60%;
    left: 18%;
    animation-delay: -8s;
    animation-duration: 22s;
}

.dot-8 {
    width: 6px;
    height: 6px;
    top: 70%;
    left: 7%;
    animation-delay: -5s;
    animation-duration: 15s;
}

.dot-9 {
    width: 12px;
    height: 12px;
    top: 80%;
    left: 20%;
    animation-delay: -7s;
    animation-duration: 17s;
}

.dot-10 {
    width: 10px;
    height: 10px;
    top: 25%;
    left: 35%;
    animation-delay: -9s;
    animation-duration: 19s;
}

.dot-11 {
    width: 8px;
    height: 8px;
    top: 45%;
    left: 30%;
    animation-delay: -2.5s;
    animation-duration: 14s;
}

.dot-12 {
    width: 14px;
    height: 14px;
    top: 65%;
    left: 40%;
    animation-delay: -4.5s;
    animation-duration: 21s;
}

.dot-13 {
    width: 6px;
    height: 6px;
    top: 85%;
    left: 32%;
    animation-delay: -6.5s;
    animation-duration: 16s;
}

.dot-14 {
    width: 12px;
    height: 12px;
    top: 35%;
    left: 45%;
    animation-delay: -1.5s;
    animation-duration: 18s;
}

.dot-15 {
    width: 10px;
    height: 10px;
    top: 55%;
    left: 50%;
    animation-delay: -3.5s;
    animation-duration: 15s;
}

.dot-16 {
    width: 8px;
    height: 8px;
    top: 75%;
    left: 48%;
    animation-delay: -5.5s;
    animation-duration: 17s;
}

.dot-17 {
    width: 16px;
    height: 16px;
    top: 20%;
    left: 60%;
    animation-delay: -7.5s;
    animation-duration: 23s;
}

.dot-18 {
    width: 6px;
    height: 6px;
    top: 40%;
    left: 65%;
    animation-delay: -9.5s;
    animation-duration: 14s;
}

.dot-19 {
    width: 12px;
    height: 12px;
    top: 60%;
    left: 70%;
    animation-delay: -11s;
    animation-duration: 20s;
}

.dot-20 {
    width: 10px;
    height: 10px;
    top: 80%;
    left: 75%;
    animation-delay: -13s;
    animation-duration: 16s;
}

@keyframes dotFlow {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.4;
    }
}

/* Enhanced dot effects for different screen sizes */
@media (max-width: 768px) {
    .dot {
        animation-duration: 10s;
    }
    
    .dot-1, .dot-3, .dot-6, .dot-8, .dot-11, .dot-13, .dot-16, .dot-18 {
        width: 6px;
        height: 6px;
    }
    
    .dot-2, .dot-4, .dot-9, .dot-10, .dot-12, .dot-14, .dot-15, .dot-19, .dot-20 {
        width: 8px;
        height: 8px;
    }
    
    .dot-5, .dot-7, .dot-17 {
        width: 10px;
        height: 10px;
    }
}

.about-hero {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.pexels.com/photos/6567607/pexels-photo-6567607.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    position: relative;
}

.about-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.about-hero-text {
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-intro-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.about-intro-experience {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background-image: linear-gradient(to right, #3b82f6, #0d9488);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-intro-experience .years {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.about-intro-experience .text {
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.about-features {
    margin-top: 40px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    background-image: linear-gradient(to right, #3b82f6, #0d9488);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.about-feature-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.about-feature-text p {
    color: #666;
    margin: 0;
}

.vision-card, .mission-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

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

.vision-card-header, .mission-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.vision-icon, .mission-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.vision-icon {
    background-image: linear-gradient(to right, #3b82f6, #0d9488);
    color: white;
}

.mission-icon {
    background-image: linear-gradient(to right, #0d9488, #3b82f6);
    color: white;
}

.vision-card-header h3, .mission-card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.vision-card-body p, .mission-card-body p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.value-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 70px;
    height: 70px;
    background-image: linear-gradient(to right, #3b82f6, #0d9488);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

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

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

.team-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

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

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background-image: linear-gradient(to right, #3b82f6, #0d9488);
    display: flex;
    justify-content: center;
    padding: 15px 0;
    transition: bottom 0.3s;
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    color: white;
    margin: 0 10px;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.team-social a:hover {
    transform: scale(1.2);
}

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

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

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

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-image: linear-gradient(to bottom, #3b82f6, #0d9488);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 20px;
    height: 20px;
    background-image: linear-gradient(to right, #3b82f6, #0d9488);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

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

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

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

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background-image: linear-gradient(to right, #3b82f6, #0d9488);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    margin: 0;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #f0f0f0;
    font-size: 3rem;
    line-height: 1;
}

.testimonial-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

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

.cta-section {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.pexels.com/photos/994523/pexels-photo-994523.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    color: white;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

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

.btn-outline-primary {
    color: white;
    border-color: white;
}

.btn-outline-primary:hover {
    background-color: white;
    color: #3b82f6;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .about-hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .about-intro-experience {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 20px;
        display: inline-block;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        left: 60px !important;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}