/* ==========================================
   ABOUT US PAGE STYLES
   ========================================== */

/* About Hero Section */
.about-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0A1E3D 0%, #1A3A5C 30%, #2D4A6B 60%, #1A3A5C 100%);
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(10, 116, 218, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(157, 78, 221, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(0, 191, 165, 0.1) 0%, transparent 50%);
    z-index: 1;
    animation: pulse 8s ease-in-out infinite;
}

.tech-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-image: url('../images/indexbg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#techCanvas {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.about-hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 3rem 2rem;
    max-width: 1000px;
}

.main-tagline {
    font-size: 4.5rem;
    font-weight: var(--font-weight-black);
    margin-bottom: 2rem;
    line-height: 1.1;
    color: var(--white);
    text-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(10, 116, 218, 0.4),
        0 0 60px rgba(157, 78, 221, 0.3),
        0 0 90px rgba(0, 191, 165, 0.2);
    position: relative;
}

.main-tagline::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.hero-description {
    font-size: 1.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 900px;
    margin: 0 auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Our Story Section */
.our-story {
    padding: 6rem 0;
    background: var(--white);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 3rem auto 0;
    align-items: center;
    max-width: 1400px;
}

.story-text {
    display: flex;
    flex-direction: column;
}

.story-paragraph {
    margin-bottom: 2.5rem;
}

.story-paragraph:last-child {
    margin-bottom: 0;
}

.story-paragraph p {
    font-size: 1.25rem;
    line-height: 2;
    color: var(--text-gray);
    text-align: left;
}

/* Story Carousel */
.story-carousel {
    position: relative;
    width: 100%;
    height: 500px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 50px;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 1rem;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.dot.active {
    background: var(--white);
    width: 14px;
    height: 14px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Our Values Section */
.our-values {
    padding: 6rem 0;
    background: var(--light-gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    text-align: center;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.value-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.value-icon i {
    font-size: 3rem;
    color: var(--white);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

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

.values-commitment {
    margin-top: 4rem;
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.commitment-text {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-tagline {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1.25rem;
    }
}

@media (max-width: 1024px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-carousel {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 60vh;
    }
    
    .main-tagline {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .story-carousel {
        height: 350px;
    }
    
    .story-paragraph p {
        font-size: 1.125rem;
        text-align: left;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-controls {
        padding: 0.75rem 1rem;
        gap: 1rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .value-icon {
        width: 80px;
        height: 80px;
    }
    
    .value-icon i {
        font-size: 2.5rem;
    }
    
    .commitment-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .main-tagline {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}
