/* About Us Page Styles */
:root {
    /* Primary Colors */
    --primary: #5D8736;
    --primary-light: #809D3C;
    --primary-dark: #4A6C2C;
    
    /* Neutral Colors */
    --neutral-100: #ffffff;
    --neutral-200: #f8f9fa;
    --neutral-300: #e9ecef;
    --neutral-400: #555555;
    --neutral-500: #111111;
    
    /* Font Family */
    --font-primary: 'Playfair Display', serif;
    
    --primary-color: var(--primary-dark);
    --secondary-color: var(--primary);
    --accent-color: var(--primary-light);
    --light-color: var(--neutral-200);
    --dark-color: var(--neutral-500);
    --text-color: var(--neutral-400);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Playfair Display', serif;
}

.about-container {
    overflow-x: hidden;
}

/* NEW Hero Section - Split Design */
.about-hero {
    position: relative;
    min-height: 90vh;
    background-color: var(--primary-dark);
    color: var(--neutral-100);
    padding: 0;
    overflow: hidden;
}

.hero-content-wrapper {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.hero-text-col {
    padding: 3rem 2rem;
}

.hero-text {
    max-width: 500px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    animation: slideInLeft 1.2s ease-out;
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: slideInLeft 1.2s ease-out 0.3s;
}

.hero-image-col {
    position: relative;
}

.hero-image {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 0 100px;
    box-shadow: -10px 10px 30px rgba(0,0,0,0.3);
    transform: translateX(30px);
    animation: slideInRight 1.2s ease-out;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
}

.hero-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
}

.scroll-down-btn {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    background: var(--primary-light);
    color: white;
    font-size: 20px;
    margin-top: 20px;
    animation: bounce 2s infinite;
    transition: var(--transition);
}

.scroll-down-btn:hover {
    background: var(--neutral-100);
    color: var(--primary);
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(30px);
        opacity: 1;
    }
}

/* NEW Story Section - Timeline Design */
.about-story {
    padding: 100px 0;
    background-color: var(--neutral-200);
    position: relative;
}

.about-story h2 {
    color: var(--primary-dark);
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    font-weight: 700;
}

.about-story h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

.timeline {
    position: relative;
    padding: 30px 0;
}

.timeline:before {
    content: '';
    position: absolute;
    height: 100%;
    width: 3px;
    background: var(--primary);
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    opacity: 0.3;
}

.timeline-item {
    margin-bottom: 80px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content {
    padding: 30px;
    background: var(--neutral-100);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.timeline-content .year {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary);
    color: var(--neutral-100);
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.timeline-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.timeline-image {
    height: 100%;
    min-height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.timeline-image:hover img {
    transform: scale(1.05);
}

/* NEW Mission & Values Section - Card Grid */
.mission-section {
    padding: 100px 0;
    background-color: var(--neutral-100);
    position: relative;
}

.mission-section h2 {
    color: var(--primary-dark);
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    font-weight: 700;
}

.mission-section h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
    color: var(--text-color);
}

.value-cards {
    margin-top: 50px;
}

.value-card {
    background-color: var(--neutral-200);
    border-radius: 10px;
    padding: 40px 25px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    transform: translateY(30px);
    opacity: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.value-card.animated {
    transform: translateY(0);
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background-color: var(--neutral-100);
}

.value-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--neutral-100);
    font-size: 30px;
    margin: 0 auto 25px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.value-icon:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    top: -10px;
    left: -10px;
}

.value-card:hover .value-icon {
    transform: rotateY(180deg);
    background-color: var(--primary);
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.value-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

/* NEW Team Section - Profile Design */
.team-section {
    padding: 100px 0;
    background-color: var(--primary-dark);
    color: var(--neutral-100);
    position: relative;
}

.team-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../image/pattern.png');
    opacity: 0.05;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    font-weight: 700;
}

.team-section h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--neutral-100);
}

.certifications {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.certifications.animated {
    transform: translateY(0);
    opacity: 1;
}

.certifications h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.certification-badge {
    text-align: center;
    padding: 15px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.certification-badge:hover {
    transform: translateY(-5px);
}

.badge-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 24px;
    transition: var(--transition);
}

.certification-badge:hover .badge-icon {
    background-color: var(--primary-light);
    color: var(--neutral-100);
    transform: scale(1.1);
}

.certification-badge span {
    display: block;
    font-size: 0.95rem;
}

/* NEW CTA Section - Two Column Design */
.cta-section {
    padding: 100px 0;
    background: url('../image/cta-bg.jpg') center center;
    background-size: cover;
    position: relative;
    color: var(--neutral-100);
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(9,93,64,0.95), rgba(7,69,48,0.85));
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-content {
    padding-right: 30px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-features {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.feature {
    width: 50%;
    padding: 10px 0;
    font-size: 1.1rem;
}

.feature i {
    color: #fff;
    margin-right: 10px;
}

.btn-primary {
    background-color: var(--neutral-100);
    color: var(--primary-dark) !important;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid var(--neutral-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--neutral-100) !important;
    border-color: var(--neutral-100);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.cta-image {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Enhanced CTA Features */
.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.feature {
    padding: 10px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature i {
    color: var(--neutral-100);
    font-size: 16px;
}

/* Additional Animation Classes */
.pulse {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Smooth transitions for facility items */
.facility-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.facility-item.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Location benefits section styles */
.location-benefits {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--neutral-100);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.location-benefits:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../image/pattern.png');
    opacity: 0.1;
    z-index: 1;
}

.location-benefits .container {
    position: relative;
    z-index: 2;
}

.location-benefits h2 {
    color: var(--neutral-100);
    text-align: center;
    margin-bottom: 50px;
}

.location-benefits h2:after {
    background-color: var(--neutral-100);
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-bottom: 30px;
    transition: var(--transition);
}

.benefit-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--neutral-100);
    color: var(--primary-dark);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-item h4 {
    color: var(--neutral-100);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.benefit-item p {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

/* Enhanced hover effects */
.value-card {
    position: relative;
    overflow: hidden;
}

.value-card: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;
    z-index: 1;
}

.value-card:hover:before {
    left: 100%;
}

.value-card > * {
    position: relative;
    z-index: 2;
}

/* Improved contact items */
@media (min-width: 768px) {
    .contact-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
    
    .contact-item i {
        margin-bottom: 0;
        margin-right: 10px;
    }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .about-hero {
        min-height: auto;
    }
    
    .hero-content-wrapper {
        padding: 60px 0;
    }

    .hero-text-col {
        text-align: center;
        margin-bottom: 40px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-image {
        transform: translateX(0);
        border-radius: 10px;
        max-height: 400px;
    }
    
    .cta-content {
        text-align: center;
        padding-right: 0;
        margin-bottom: 40px;
    }    .cta-features {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .about-hero, .about-story, .mission-section, .cta-section {
        padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.2rem;
    }
    
    .scroll-down-btn {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
    }
    
    .timeline:before {
        left: 20px;
    }
      .timeline-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }
      .value-card, .timeline-content {
        margin-bottom: 20px;
    }

    .about-story h2, .mission-section h2, .cta-section h2 {
        font-size: 2rem;
    }

    .cta-features {
        gap: 10px;
    }

    .feature {
        font-size: 0.9rem;
    }
}

/* Additional animation classes for new elements */
@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
