/* About Page Specific Styles */

/* Page Header */
.page-header {
    background: var(--gradient);
    padding: 120px 0 80px;
    text-align: center;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    animation: float 20s infinite linear;
}

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

.header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.header-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Our Story Section */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2.8rem;
    }
    
    .header-content p {
        font-size: 1.1rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content .section-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Our Story Section */
.our-story {
    padding: 120px 0;
    background: var(--bg-light);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

.timeline-dot {
    position: absolute;
    left: -38px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-content h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.timeline-content p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Values Section */
.our-values {
    padding: 100px 0;
}

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

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--text-white);
}

.value-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Leadership Team */
.leadership-team {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.team-member {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 30px;
    opacity: 0;
    transform: translateY(30px);
}

.member-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-white);
    flex-shrink: 0;
}

.member-info h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.member-bio {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.expertise-tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(139, 0, 0, 0.2);
}

/* Technologies Section */
.technologies {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.tech-category {
    background: var(--primary-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(165, 0, 0, 0.3);
    opacity: 0;
    transform: translateX(50px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.tech-category h3 {
    font-size: 1.4rem;
    color: var(--text-white);
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 20px;
}

.tech-item {
    text-align: center;
    padding: 20px 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.tech-item i {
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 10px;
    display: block;
}

.tech-item span {
    font-size: 0.9rem;
    color: var(--text-white);
    font-weight: 500;
}

/* Company Stats */
.company-stats {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--text-white);
    position: relative;
}

.stats-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    opacity: 0;
    transform: translateY(30px);
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 10px;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 500;
    color: var(--text-white);
}

/* Why Choose Us */
.why-choose-us {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.reason-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.reason-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--primary-color);
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.reason-item h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin: 20px 0 15px;
}

.reason-item p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-white);
    padding: 100px 0;
    text-align: center;
}

.cta-content {
    opacity: 0;
    transform: translateY(30px);
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

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

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

.cta-button {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button.primary {
    background: white;
    color: var(--primary-color);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid white;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-button.primary:hover {
    background: var(--bg-light);
}

.cta-button.secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Animation Classes */
.animate-slide-up {
    animation: slideUp 1s ease-out forwards;
}

.animate-slide-left {
    animation: slideLeft 1s ease-out forwards;
}

.animate-slide-right {
    animation: slideRight 1s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-scale-up {
    animation: scaleUp 0.8s ease-out forwards;
}

.animate-count-up {
    animation: countUp 2s ease-out forwards;
}

/* Animation Delays */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* Keyframes */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes scaleUp {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes countUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .page-header h1 {
        font-size: 2.5rem;
    }

    .header-content p {
        font-size: 1.1rem;
    }

    .hero-visual {
        display: none;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .values-grid,
    .team-grid,
    .tech-categories,
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-member {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .stats-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-item {
        padding: 25px 15px;
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .cta-content h2 {
        font-size: 2.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Technology cards responsive styling */
    .tech-category {
        padding: 30px 20px;
    }

    .tech-icons {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
        gap: 15px;
    }

    .tech-item {
        padding: 15px 8px;
    }

    .tech-item i {
        font-size: 1.8rem;
    }

    .tech-item span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .header-content p {
        font-size: 1rem;
    }

    .story-text h2 {
        font-size: 2rem;
    }

    .stats-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Technology cards for small screens */
    .tech-category {
        padding: 25px 15px;
    }

    .tech-category h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .tech-icons {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        gap: 12px;
    }

    .tech-item {
        padding: 12px 6px;
    }

    .tech-item i {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .tech-item span {
        font-size: 0.75rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}
