﻿/* About Page Styles */
.about-hero {
    height: 50vh;
    background: linear-gradient(rgba(26, 42, 58, 0.7), rgba(26, 42, 58, 0.7)), url('/images/gallery3.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    padding: 15px 20px;
    border: 1px solid var(--light-color);
    border-radius: 10px;
    letter-spacing: 1px;
    font-family: "Courgette", cursive;
}

.about-intro {
    padding: 60px 0;
    background-color: var(--light-color);
}

.intro-image {
    position: relative;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/gallery3.jpg') no-repeat center center;
    background-size: cover;
    transition: all 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border: 2px solid rgba(193, 154, 107, 0.5);
    z-index: 2;
    transition: all 0.5s ease;
}

.intro-image:hover .image-main {
    transform: scale(1.05);
}

.intro-image:hover .image-overlay {
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
}

.intro-content {
    padding-left: 50px;
}

    .intro-content h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: #1a2a3a;
    }

.divider {
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 20px 0;
}

.intro-content p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.1rem;
}

.history-section {
    padding: 50px 0;
    background-color: var(--light-color);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

    .timeline::before {
        content: '';
        position: absolute;
        width: 3px;
        background-color: var(--secondary-color);
        top: 0;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

.timeline-item {
    padding: 20px 0;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

    .timeline-item:nth-child(odd) {
        padding-right: 50px;
        text-align: right;
        left: 0;
    }

    .timeline-item:nth-child(even) {
        padding-left: 50px;
        text-align: left;
        left: 50%;
    }

.timeline-year {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.timeline-content {
    background-color: #a6c2cb;
    padding: 30px;
    border-radius: 25% 15%;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2), -5px -5px 15px rgba(255, 255, 255, 0.5), inset 2px 2px 5px rgba(0, 0, 0, 0.1), inset -2px -2px 5px rgba(255, 255, 255, 0.7);
    position: relative;
}

    .timeline-content h3 {
        color: #1a2a3a;
        margin-bottom: 10px;
    }

    .timeline-content p {
        color: #555;
    }

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #a6c2cb;
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    top: 30px;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.social-links {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease;
}

    .social-links a {
        display: inline-block;
        width: 40px;
        height: 40px;
        background-color: rgba(193, 154, 107, 0.9);
        color: white;
        border-radius: 50%;
        line-height: 40px;
        margin: 0 5px;
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            background-color: #1a2a3a;
            transform: translateY(-5px);
        }

.team-info {
    padding: 25px;
    text-align: center;
    background-color: #a6c2cb;
}

    .team-info h3 {
        margin-bottom: 5px;
        color: #1a2a3a;
    }

    .team-info p {
        color: var(--secondary-color);
        font-weight: 500;
    }

.values-section {
    padding: 50px 0;
    background-color: var(--light-color);
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    margin-bottom: 30px;
    background-color: #a6c2cb;
    border-radius: 17%;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2), -5px -5px 15px rgba(255, 255, 255, 0.5), inset 2px 2px 5px rgba(0, 0, 0, 0.1), inset -2px -2px 5px rgba(255, 255, 255, 0.7);
}

    .value-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background-color: rgba(193, 154, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background-color: var(--primary-color);
    color: white;
}

.value-icon i {
    font-size: 30px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon i {
    color: white;
}

.value-card h3 {
    margin-bottom: 15px;
    color: #1a2a3a;
}

.value-card p {
    color: #555;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .intro-content {
        padding-left: 0;
        margin-top: 50px;
    }

    .timeline::before {
        left: 40px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 90px;
        padding-right: 0;
        text-align: left;
        left: 0 !important;
    }

        .timeline-item::after {
            left: 30px !important;
        }

        .timeline-item:nth-child(odd) {
            padding-right: 0;
        }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .about-intro, .history-section, .team-section, .values-section {
        padding: 70px 0;
    }

    .intro-image {
        height: 400px;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .team-image {
        height: 300px;
    }

    .value-card {
        padding: 30px 20px;
    }
}
