/* about.css - Enhanced About Us Page Styles */

/* Floating Flags Animation */
.floating-flags {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.flag-item {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: floatFlag 20s linear infinite;
}

.flag-item:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.flag-item:nth-child(2) {
    top: 30%;
    right: 10%;
    animation-delay: -5s;
    font-size: 2.5rem;
}

.flag-item:nth-child(3) {
    top: 60%;
    left: 15%;
    animation-delay: -10s;
    font-size: 3rem;
}

.flag-item:nth-child(4) {
    top: 40%;
    right: 20%;
    animation-delay: -15s;
}

.flag-item:nth-child(5) {
    top: 80%;
    right: 5%;
    animation-delay: -7s;
    font-size: 2.2rem;
}

@keyframes floatFlag {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        opacity: 0.2;
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 0.1;
    }
    75% {
        opacity: 0.05;
    }
    100% {
        transform: translateY(0) rotate(360deg);
        opacity: 0.1;
    }
}

/* About Header Enhancement */
.about-header {
    text-align: center;
    background: linear-gradient(135deg, #1a472a 0%, #0d2818 100%);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 200px;
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 2;
}

.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 0.8s forwards;
    margin: 0 10px;
}

.title-word:nth-child(1) { animation-delay: 0.2s; color: #fff; }
.title-word:nth-child(2) { animation-delay: 0.5s; color: var(--primary-color); }
.title-word:nth-child(3) { animation-delay: 0.8s; color: #fff; }

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-header .section-subtitle {
    max-width: 700px;
    margin: 30px auto;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.header-cta {
    margin-top: 50px;
}

.scroll-down {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 15px 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-down:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

.header-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.tatreez-pattern {
    position: absolute;
    width: 300px;
    height: 300px;
    right: -100px;
    top: -100px;
    background: linear-gradient(45deg, transparent 60%, rgba(0, 100, 0, 0.1) 60%, rgba(0, 100, 0, 0.1) 80%, transparent 80%),
                linear-gradient(-45deg, transparent 60%, rgba(0, 100, 0, 0.1) 60%, rgba(0, 100, 0, 0.1) 80%, transparent 80%);
    background-size: 20px 20px;
    transform: rotate(45deg);
}

.olive-branch {
    position: absolute;
    width: 400px;
    height: 200px;
    left: -200px;
    bottom: -50px;
    background: 
        radial-gradient(circle at 30px 30px, rgba(0, 100, 0, 0.2) 5px, transparent 6px),
        radial-gradient(circle at 90px 80px, rgba(0, 100, 0, 0.2) 5px, transparent 6px),
        radial-gradient(circle at 150px 40px, rgba(0, 100, 0, 0.2) 5px, transparent 6px);
    background-size: 200px 200px;
    transform: rotate(-15deg);
}

/* Heritage Banner */
.heritage-banner {
    background: linear-gradient(90deg, var(--primary-color), #155d27);
    padding: 15px 0;
    position: relative;
    overflow: hidden;
}

.heritage-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

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

.heritage-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.heritage-text i {
    font-size: 1.3rem;
}

/* Story Section Enhancement */
.story-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-image {
    position: relative;
}

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

.image-main {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0d2818, #1a472a, #2e8b57);
    position: relative;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-text {
    text-align: center;
    color: white;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.overlay-text h3 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.image-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    z-index: -1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0.3;
}

.circle-1 {
    width: 100px;
    height: 100px;
    top: -40px;
    left: -40px;
    animation: pulse 4s infinite;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: -60px;
    right: -60px;
    animation: pulse 4s infinite reverse;
}

.circle-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    right: -30px;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.story-text .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(26, 71, 42, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.tag-icon {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.story-text h2 {
    margin-bottom: 25px;
    font-size: 2.5rem;
    line-height: 1.3;
}

.story-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.heritage-features {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border-radius: 10px;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-3px);
    background: var(--bg-tertiary);
}

.feature i {
    color: var(--primary-color);
}

/* Values Section Enhancement */
.values-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

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

.value-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.value-icon {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.icon-wrapper {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.value-card:hover .icon-wrapper {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.icon-pattern {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: 1;
}

.tatreez-1 { background-image: radial-gradient(circle, currentColor 1px, transparent 1px); }
.tatreez-2 { background-image: linear-gradient(45deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%); }
.tatreez-3 { background-image: linear-gradient(90deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%); }
.tatreez-4 { background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, currentColor 10px, currentColor 11px); }

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

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.value-badge {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(26, 71, 42, 0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Patterns Section */
.patterns-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.patterns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pattern-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    cursor: pointer;
}

.pattern-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pattern-visual {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.pattern-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.pattern-card:hover .pattern-visual::after {
    background: rgba(26, 71, 42, 0.2);
}

.olive-pattern {
    background: 
        radial-gradient(circle at 30% 30%, #4a7c59 10px, transparent 11px),
        radial-gradient(circle at 70% 70%, #4a7c59 10px, transparent 11px),
        linear-gradient(45deg, transparent 48%, #4a7c59 48%, #4a7c59 52%, transparent 52%);
    background-size: 100px 100px;
}

.cypress-pattern {
    background: 
        linear-gradient(90deg, transparent 48%, #4a7c59 48%, #4a7c59 52%, transparent 52%),
        linear-gradient(45deg, transparent 48%, #4a7c59 48%, #4a7c59 52%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, #4a7c59 48%, #4a7c59 52%, transparent 52%);
    background-size: 80px 80px;
}

.water-pattern {
    background: 
        linear-gradient(45deg, transparent 30%, rgba(74, 124, 89, 0.3) 30%, rgba(74, 124, 89, 0.3) 70%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(74, 124, 89, 0.3) 30%, rgba(74, 124, 89, 0.3) 70%, transparent 70%);
    background-size: 60px 60px;
}

.star-pattern {
    background: 
        repeating-conic-gradient(from 0deg, #4a7c59 0deg 22.5deg, transparent 22.5deg 45deg);
}

.pattern-info {
    padding: 25px;
}

.pattern-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--text-dark);
}

.pattern-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Team Section Enhancement */
.team-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

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

.team-member {
    background-color: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.team-member:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.member-image {
    height: 320px;
    position: relative;
    overflow: hidden;
}

.image-frame {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.member-photo {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    position: relative;
}

.member-photo::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: var(--bg-tertiary);
    border-radius: 10px;
}

.photo-1::before { content: '👵'; font-size: 80px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; }
.photo-2::before { content: '👩'; font-size: 80px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; }
.photo-3::before { content: '👨'; font-size: 80px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; }
.photo-4::before { content: '👩'; font-size: 80px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; }

.member-flag {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    animation: waveFlag 3s infinite;
}

@keyframes waveFlag {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

.member-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(26, 71, 42, 0.05) 20px, rgba(26, 71, 42, 0.05) 40px);
    z-index: 1;
}

.member-info {
    padding: 30px;
    text-align: center;
}

.member-info h3 {
    margin-bottom: 5px;
    font-size: 1.4rem;
    color: var(--text-dark);
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    font-size: 1rem;
}

.member-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-btn:hover::before {
    left: 100%;
}

.social-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Stats Section Enhancement */
.stats-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), #155d27);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to right, #ffffff, #e0ffe0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Timeline Section */
.timeline-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 45%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 60px;
}

.timeline-item:nth-child(even) {
    left: 55%;
    padding-left: 60px;
}

.timeline-item::before {
    content: attr(data-year);
    position: absolute;
    top: 0;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
}

.timeline-item:nth-child(odd)::before {
    right: -40px;
}

.timeline-item:nth-child(even)::before {
    left: -40px;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-content {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--card-bg);
    transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -10px;
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section Enhancement */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-color));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(26, 71, 42, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(26, 71, 42, 0.1) 0%, transparent 50%);
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    background: var(--card-bg);
    padding: 60px;
    border-radius: 30px;
    box-shadow: var(--shadow-xl);
}

.cta-text h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-text p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-dark);
}

.cta-features i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    border-radius: inherit;
    z-index: -1;
    animation: glow 2s linear infinite;
    background-size: 400%;
}

@keyframes glow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .story-content {
        gap: 50px;
    }
    
    .image-container {
        height: 450px;
    }
}

@media (max-width: 992px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .image-container {
        height: 400px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding: 0 0 0 80px !important;
    }
    
    .timeline-item::before {
        left: 0 !important;
        right: auto !important;
    }
    
    .timeline-content::after {
        left: -10px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .about-header {
        padding: 120px 0 80px;
    }
    
    .about-header .section-title {
        font-size: 2.5rem;
    }
    
    .story-section,
    .values-section,
    .team-section,
    .stats-section,
    .timeline-section,
    .cta-section {
        padding: 80px 0;
    }
    
    .story-text h2 {
        font-size: 2rem;
    }
    
    .image-container {
        height: 350px;
    }
    
    .cta-content {
        padding: 40px 20px;
    }
    
    .cta-text h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .values-grid,
    .patterns-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .heritage-features {
        flex-direction: column;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .title-word {
        display: block;
        margin: 10px 0;
    }
}