/* about.css */

.about-main {
    flex-grow: 1;
    background-color: #1a1a2e; /* Match body background from style.css */
    padding-bottom: 50px; /* Space before footer */
}

/* Hero Section Specific to About Page */
.hero-about {
    padding: 100px 0;
    text-align: center;
    background-image: url('https://via.placeholder.com/1500x800/1e1e1e/8a2be2?text=Abstract+Tech+Pattern'); /* Use a relevant background */
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(26, 26, 46, 0.8) 0%, rgba(44, 0, 77, 0.8) 100%);
    z-index: 1;
}

.hero-about .container {
    position: relative;
    z-index: 2;
}

.hero-about .hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(to right, #ffffff, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-about .tagline {
    font-size: 1.4rem;
    color: #c0c0c0;
    max-width: 800px;
    margin: 0 auto 30px;
}

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

.our-story .story-grid {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.our-story .story-text {
    flex: 2;
    min-width: 300px;
    text-align: left;
}

.our-story .story-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #f0f0f0, #a052ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.our-story .story-text p {
    font-size: 1.05rem;
    color: #c0c0c0;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.our-story .story-image {
    flex: 1;
    min-width: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.our-story .story-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 50px rgba(138, 43, 226, 0.3);
    border: 2px solid #8a2be2;
}

/* Our Values Section */
.our-values {
    padding: 80px 0;
    text-align: center;
    background-color: #1a1a2e;
}

.our-values h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    background: linear-gradient(to right, #f0f0f0, #a052ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.value-item {
    background-color: #20203a;
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 30px rgba(138, 43, 226, 0.4);
}

.value-item .icon {
    font-size: 3.5rem;
    color: #8a2be2;
    margin-bottom: 1.5rem;
}

.value-item h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #f0f0f0;
}

.value-item p {
    font-size: 0.95rem;
    color: #c0c0c0;
    line-height: 1.6;
}

/* Meet the Team Section */
.meet-the-team {
    padding: 80px 0;
    text-align: center;
    background-color: #1e1e3b;
}

.meet-the-team h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #f0f0f0, #a052ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.meet-the-team .section-description {
    font-size: 1.1rem;
    color: #c0c0c0;
    margin-bottom: 40px;
}

.team-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.team-member {
    background-color: #20203a;
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 12px;
    padding: 30px;
    max-width: 280px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(138, 43, 226, 0.3);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #8a2be2;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #f0f0f0;
}

.team-member p {
    font-size: 0.95rem;
    color: #b0b0b0;
    margin-bottom: 1rem;
}

.team-member .bio {
    font-size: 0.85rem;
    color: #c0c0c0;
    line-height: 1.5;
}

/* Bottom Call to Action */
.call-to-action-bottom {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(to right, #4c00a0, #8a2be2);
    color: #fff;
    box-shadow: inset 0 5px 20px rgba(0, 0, 0, 0.4);
}

.call-to-action-bottom h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.call-to-action-bottom p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.call-to-action-bottom .btn.large {
    padding: 18px 35px;
    font-size: 1.2rem;
    border-radius: 50px;
    background: #fff;
    color: #8a2be2;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.call-to-action-bottom .btn.large:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    color: #4c00a0;
}

/* Active link in navbar for current page */
.nav-links ul li a.active-link {
    color: #8a2be2;
}

.nav-links ul li a.active-link::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-about .hero-content h1 {
        font-size: 3rem;
    }
    .hero-about .tagline {
        font-size: 1.2rem;
    }
    .our-story .story-grid {
        flex-direction: column;
    }
    .our-story .story-image {
        order: -1; /* Place image above text on small screens */
    }
    .our-story .story-text, .our-story .story-image {
        min-width: unset;
        width: 100%;
    }
    .our-story .story-text h2, .our-values h2, .meet-the-team h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-about {
        padding: 80px 0;
    }
    .hero-about .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-about .tagline {
        font-size: 1.1rem;
    }
    .our-story, .our-values, .meet-the-team, .call-to-action-bottom {
        padding: 60px 0;
    }
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .team-grid {
        gap: 30px;
    }
    .call-to-action-bottom h2 {
        font-size: 2rem;
    }
    .call-to-action-bottom p {
        font-size: 1rem;
    }
    .call-to-action-bottom .btn.large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-about .hero-content h1 {
        font-size: 2rem;
    }
    .hero-about .tagline {
        font-size: 0.95rem;
    }
    .our-story .story-text h2, .our-values h2, .meet-the-team h2 {
        font-size: 1.8rem;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .team-member {
        max-width: 100%;
    }
}
