/* --- About Page Specific Styles --- */

/* --- Story Section --- */
.story-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.story-container {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.story-text .section-header {
    text-align: right;
    margin-bottom: 2rem;
}

.story-text .section-header .section-title {
    font-size: 2.8rem;
}

.story-text p {
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.story-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-visual img {
    max-width: 80%;
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
    animation: float 6s ease-in-out infinite;
}

/* Keyframe for floating animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}


/* --- Values Section --- */
.values-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: radial-gradient(circle 200px at var(--x) var(--y),
            var(--spotlight-color),
            transparent 80%);
    opacity: 0;
    transition: opacity 0.4s ease-out;
    z-index: 1;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.value-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.value-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- Team Section --- */
.team-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.team-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--gradient-end);
}

.team-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.team-description {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 2;
}

/* --- Why Us Section --- */
.why-us-section {
    padding: 100px 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.why-us-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.why-us-icon {
    font-size: 2rem;
    color: var(--primary-color);
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.why-us-item:hover .why-us-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.why-us-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.why-us-text p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    opacity: 0.9;
    font-size: 1.1rem;
}

.cta-button {
    font-size: 1.1rem;
    padding: 15px 35px;
    background-color: #fff;
    color: var(--primary-color);
}

.cta-button:hover {
    background-color: var(--bg-hover);
    color: var(--primary-dark);
}

.cta-button i {
    margin-right: 10px;
}


/* --- Responsive for About Page --- */
@media (max-width: 992px) {
    .story-container {
        grid-template-columns: 1fr;
    }

    .story-text .section-header {
        text-align: center;
    }

    .story-visual {
        order: -1;
        /* Move image to top */
        margin-bottom: 40px;
    }

    .story-visual img {
        max-width: 250px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .story-section {
        padding: 60px 6px;
    }

    .values-section,
    .team-section,
    .why-us-section,
    .cta-section {
        padding: 80px 6px;
    }

    .story-container {
        gap: 0;
    }

    .story-text p {
        text-align: justify;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {

    .story-text .section-header .section-title,
    .cta-section h2 {
        font-size: 2.2rem;
    }

    .why-us-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}