/* About Hero Section */
.about-hero {
    height: 70vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient);
    color: white;
    overflow: hidden;
    padding-top: 80px;
}

.about-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}


.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-hero h1 span {
    color: var(--secondary);
}

.about-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Floating Shapes Animation */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation: float 15s infinite ease-in-out;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    animation: float 12s infinite ease-in-out reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 10%;
    animation: float 10s infinite ease-in-out 2s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 15%;
    animation: float 8s infinite ease-in-out 1s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, 10px) rotate(5deg);
    }
    50% {
        transform: translate(-10px, 5px) rotate(-5deg);
    }
    75% {
        transform: translate(5px, -10px) rotate(3deg);
    }
}

/* Our Story Section */
.our-story {
    background-color: white;
    padding: 100px 0;
}

.story-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.story-timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--gradient);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 10px;
}

.timeline-item {
    padding: 20px 0;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(50px);
}

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

.timeline-item.left {
    left: 0;
    text-align: right;
    padding-right: 50px;
}

.timeline-item.right {
    left: 50%;
    padding-left: 50px;
}

.timeline-content {
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.timeline-item.left .timeline-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    top: 50%;
    margin-top: -10px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px white, 0 0 0 6px var(--primary);
}

.timeline-item.right .timeline-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: -10px;
    top: 50%;
    margin-top: -10px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px white, 0 0 0 6px var(--primary);
}

.timeline-year {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--gradient);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(164, 150, 0, 0.3);
}

.timeline-item.left .timeline-year {
    right: -150px;
    top: 50%;
    margin-top: -50px;
}

.timeline-item.right .timeline-year {
    left: -150px;
    top: 50%;
    margin-top: -50px;
}

.timeline-content h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.timeline-content p {
    line-height: 1.6;
    color: #666;
}

/* Mission Vision Section */
.mission-vision {
    background-color: #f9f9f9;
    padding: 100px 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.mv-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
}

.mv-item.animate__animated {
    opacity: 1;
    transform: translateY(0);
}

.mv-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

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

.mv-item h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.mv-item p {
    line-height: 1.8;
    color: #666;
}

.mv-item.values ul {
    list-style: none;
    text-align: left;
}

.mv-item.values li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.mv-item.values i {
    color: var(--secondary);
    margin-right: 10px;
}

/* Team Section */
.team-section {
    background-color: white;
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
}

.team-member.animate__animated {
    opacity: 1;
    transform: translateY(0);
}

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

.member-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.social-links {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
    background: rgba(26, 26, 46, 0.8);
    transition: bottom 0.3s ease;
}

.team-member:hover .social-links {
    bottom: 0;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--dark);
}

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

.member-info h3 {
    margin-bottom: 5px;
    color: var(--dark);
}

.member-info p {
    color: #666;
    font-size: 0.9rem;
}

.team-cta {
    text-align: center;
    margin-top: 50px;
}

.team-cta p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #666;
}

/* Clients Section */
.clients-section {
    background-color: #f9f9f9;
    padding: 100px 0;
}

.clients-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}

.client-logo {
    flex: 0 0 calc(20% - 40px);
    max-width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* About CTA Section */
.about-cta {
    background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    position: relative;
    padding: 100px 0;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.8);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.about-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .timeline-item.left, 
    .timeline-item.right {
        width: 100%;
        padding: 20px 0;
        text-align: left;
    }
    
    .timeline-item.left {
        padding-right: 0;
        padding-left: 50px;
    }
    
    .timeline-item.right {
        left: 0;
        padding-left: 50px;
    }
    
    .timeline-item.left .timeline-year,
    .timeline-item.right .timeline-year {
        left: 0;
        right: auto;
        top: 0;
        margin-top: 0;
        width: 80px;
        height: 80px;
        font-size: 1.2rem;
    }
    
    .timeline-item.left .timeline-content::after,
    .timeline-item.right .timeline-content::after {
        left: 20px;
        right: auto;
    }
    
    .story-timeline::before {
        left: 20px;
    }
    
    .client-logo {
        flex: 0 0 calc(25% - 30px);
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero p {
        font-size: 1rem;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .client-logo {
        flex: 0 0 calc(33.333% - 30px);
    }
}

@media (max-width: 576px) {
    .about-hero {
        height: 80vh;
        min-height: 500px;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .client-logo {
        flex: 0 0 calc(50% - 20px);
    }
    
    .about-cta h2 {
        font-size: 2rem;
    }
    
    .about-cta p {
        font-size: 1rem;
    }
}