/* ===================================
   ABOUT US PAGE - STYLES
   =================================== */

/* ===================================
   ABOUT HERO SECTION
   =================================== */

.about-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    /* margin-top: 70px; */
}

.about-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
    z-index: 1;
}

/* ===================================
   OUR STORY SECTION
   =================================== */

.our-story {
    background: var(--off-white);
    padding: 100px 0;
    text-align: center;
}

.story-content {
    max-width: 1000px;
    margin: 40px auto;
}

.story-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
    font-weight: 400;
}

.our-story .btn {
    margin-top: 20px;
}

/* ===================================
   MISSION & VISION SECTION
   =================================== */

.mission-vision {
    position: relative;
    padding: 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
}

.mv-card {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--off-white);
}

.burgundy-bg {
    background: var(--burgundy);
}

.mv-card .accent-line {
    width: 60px;
    height: 4px;
    background: var(--yellow);
    margin-bottom: 30px;
}

.mv-card h2 {
    font-size: 48px;
    font-weight: 600;
    color: var(--yellow);
    margin-bottom: 30px;
    line-height: 1.2;
}

.mv-card p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--off-white);
}

.mv-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}

.mv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mv-image:hover img {
    transform: scale(1.05);
}

/* Central Badge */
.central-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    z-index: 10;
    animation: rotate 20s linear infinite;
}

.central-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

/* ===================================
   OUR VALUES SECTION
   =================================== */

.our-values {
    background: var(--off-white);
    padding: 100px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.value-card {
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 300px;
    transition: var(--transition);
}

.yellow-card {
    background: var(--yellow);
    background-image: url('assets/texture-background.png');
    background-size: cover;
    background-position: center;
}

.value-inner-white {
    background: white;
    padding: 50px 30px;
    width: 100%;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.green-card {
    background: var(--green);
    color: var(--off-white);
}

.value-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1.3;
    margin: 0;
}

.value-inner-white h3 {
    margin: 0;
}

.green-card h3 {
    color: var(--yellow);
    margin-bottom: 25px;
}

.value-card p {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px;
    color: var(--off-white);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.value-card:hover .value-inner-white {
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.value-card.featured {
    position: relative;
}

/* ===================================
   RESPONSIVE DESIGN - ABOUT PAGE
   =================================== */

@media (max-width: 1200px) {
    .mv-card {
        padding: 60px 40px;
    }
    
    .mv-card h2 {
        font-size: 38px;
    }
    
    .central-badge {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 968px) {
    .about-hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .mv-image {
        min-height: 400px;
    }
    
    .central-badge {
        top: auto;
        bottom: -60px;
        left: 50%;
        transform: translateX(-50%);
        width: 120px;
        height: 120px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mv-card {
        padding: 50px 30px;
    }
    
    .mv-card h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .our-story {
        padding: 60px 0;
    }
    
    .story-content p {
        font-size: 16px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .value-card {
        padding: 50px 30px;
        min-height: 250px;
    }
    
    .value-card h3 {
        font-size: 20px;
    }
    
    .mv-card h2 {
        font-size: 28px;
    }
    
    .mv-card {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .about-hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .story-content p {
        font-size: 15px;
    }
    
    .mv-card h2 {
        font-size: 24px;
    }
    
    .mv-card p {
        font-size: 14px;
    }
    
    .central-badge {
        width: 100px;
        height: 100px;
        bottom: -50px;
    }
}

/* ===================================
   ANIMATIONS FOR ABOUT PAGE
   =================================== */

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Fade in animations */
.our-story,
.mission-vision,
.our-values {
    /* Removed initial opacity 0 - sections now visible by default */
    animation: fadeInUp 0.8s ease forwards;
}

.our-story {
    animation-delay: 0.2s;
}

.mission-vision {
    animation-delay: 0s;
}

.our-values {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
    }
    to {
        transform: translateY(0);
    }
}

/* Value cards stagger animation */
.value-card:nth-child(1) {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.1s;
}

.value-card:nth-child(2) {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.value-card:nth-child(3) {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.3s;
}

.value-card:nth-child(4) {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.4s;
}

/* Mission/Vision cards animation on scroll */
.mv-card,
.mv-image {
    /* Removed initial opacity 0 - cards now visible by default */
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.mv-card.visible,
.mv-image.visible {
    opacity: 1;
    transform: translateY(0);
}
