.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header {
    height: 60vh;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.9), rgba(210, 105, 30, 0.7)), url('../images/about-hero.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    margin-top: 120px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.page-header-content {
    z-index: 2;
    max-width: 800px;
}

.page-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.page-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.our-story {
    padding: 120px 0;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    position: relative;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.story-content {
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #8B4513, #D2691E);
    border-radius: 2px;
}

.section-descr {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.story-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.story-highlight {
    background: linear-gradient(45deg, #8B4513, #D2691E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.story-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
}

.story-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.story-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.story-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.story-image:first-child {
    transform: rotate(-3deg);
    margin-top: 30px;
}

.story-image:last-child {
    transform: rotate(2deg);
    margin-bottom: 30px;
}

.philosophy-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    color: white;
    position: relative;
    overflow: hidden;
}

.philosophy-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0.05;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.philosophy-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.philosophy-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: all 0.8s ease;
    transform: rotate(45deg);
}

.philosophy-card:hover::before {
    top: -50%;
    left: -50%;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.philosophy-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #FFD700;
}

.philosophy-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-section {
    padding: 120px 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.team-member {
    text-align: center;
    position: relative;
}

.member-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 30px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.member-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(139, 69, 19, 0.8), rgba(210, 105, 30, 0.8));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.member-image:hover::before {
    opacity: 1;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.member-image:hover img {
    transform: scale(1.1);
}

.member-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 10px;
}

.member-role {
    font-size: 1.1rem;
    color: #D2691E;
    margin-bottom: 15px;
    font-weight: 500;
}

.member-bio {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.member-certifications {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.certification-badge {
    background: linear-gradient(45deg, #8B4513, #D2691E);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.values-section {
    padding: 120px 0;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    position: relative;
}

.values-container {
    position: relative;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: center;
}

.values-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    transform: rotate(-5deg);
    transition: all 0.3s ease;
}

.values-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.values-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.values-content {
    position: relative;
}

.values-list {
    list-style: none;
    margin-top: 40px;
}

.values-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.values-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.values-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #8B4513, #D2691E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.values-text h4 {
    font-size: 1.3rem;
    color: #8B4513;
    margin-bottom: 8px;
}

.values-text p {
    color: #555;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .story-grid,
    .values-grid,
    .philosophy-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .values-item {
        flex-direction: column;
    }

    .story-images {
        grid-template-columns: 1fr;
    }

    .story-image:first-child,
    .story-image:last-child {
        transform: none;
        margin: 0;
    }
}