/* About Us Page Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ensure header logo is visible on about us page */
.header-logo-placeholder {
    position: relative;
    z-index: 1000;
}

.header-logo-placeholder img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1001;
}

/* Ensure footer logo is visible on about us page */
.footer-logo {
    position: relative;
    z-index: 1000;
}

.footer-logo img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1001;
}

/* Hero Section */
.about-hero {
    background: url('../img/tractor-5453609_1280.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.about-hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(23, 100, 59, 0.8);
    padding: 40px 30px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.about-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.about-hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.about-hero-image {
    display: none;
}

.about-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Wood Cutting Process Section */
.wood-cutting-section {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    z-index: 100;
}

.cutting-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 101;
}

.cutting-text h2 {
    font-size: 2.5rem;
    color: #17643b;
    margin-bottom: 30px;
    font-weight: 900;
}

.cutting-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.cutting-sizes {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.cutting-sizes li {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.cutting-sizes li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #17643b;
    font-weight: bold;
    font-size: 1.2rem;
}

.cutting-image {
    position: relative;
    z-index: 9999 !important;
    background: rgba(255, 0, 0, 0.3); /* Debug: red background */
    min-height: 400px;
    border: 3px solidgreen; /* Debug: green border */
}

.cutting-image img {
    width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    position: relative !important;
    z-index: 10000 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    border: 3px solid green; /* Debug: green border */
}

/* Company Story Section */
.company-story {
    padding: 100px 0;
    background: #f8f9fa;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    color: #17643b;
    margin-bottom: 30px;
    font-weight: 900;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background: white;
}

.values-section h2 {
    text-align: center;
    font-size: 2.8rem;
    color: #17643b;
    margin-bottom: 60px;
    font-weight: 900;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #17643b, #219150);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-card h3 {
    font-size: 1.5rem;
    color: #17643b;
    margin-bottom: 15px;
    font-weight: 700;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.process-section h2 {
    text-align: center;
    font-size: 2.8rem;
    color: #17643b;
    margin-bottom: 60px;
    font-weight: 900;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    bottom: -50px;
    width: 2px;
    background: linear-gradient(to bottom, #17643b, #219150);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #17643b, #219150);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin-right: 30px;
    flex-shrink: 0;
}

.step-content {
    border: none; /* Remove any borders or lines */
}

.step-content h3 {
    font-size: 1.4rem;
    color: #17643b;
    margin-bottom: 15px;
    font-weight: 700;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: white;
}

.team-section h2 {
    text-align: center;
    font-size: 2.8rem;
    color: #17643b;
    margin-bottom: 60px;
    font-weight: 900;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-member {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #17643b;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.4rem;
    color: #17643b;
    margin-bottom: 10px;
    font-weight: 700;
}

.member-role {
    color: #219150;
    font-weight: 600;
    margin-bottom: 15px;
}

.member-desc {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design for About Us */
@media (max-width: 1024px) {
    .about-hero-content {
        max-width: 700px;
        padding: 35px 25px;
    }
    
    .about-hero h1 {
        font-size: 3.5rem;
    }
    
    .about-hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 80px 20px;
        min-height: 70vh;
    }
    
    .about-hero-content {
        max-width: 90%;
        padding: 30px 20px;
        margin: 0 auto;
    }
    
    .about-hero h1 {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }
    
    .about-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cutting-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .cutting-text h2 {
        font-size: 2rem;
    }
    
    .cutting-image img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 60px 15px;
        min-height: 60vh;
    }
    
    .about-hero-content {
        max-width: 95%;
        padding: 25px 15px;
        border-radius: 10px;
    }
    
    .about-hero h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .about-hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .story-text h2,
    .values-section h2,
    .process-section h2 {
        font-size: 2rem;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 20px;
    }

    .wood-cutting-section {
        padding: 60px 0;
    }
    
    .cutting-text h2 {
        font-size: 1.8rem;
    }
    
    .cutting-text p {
        font-size: 1rem;
    }
    
    .cutting-sizes li {
        font-size: 1rem;
    }
}

/* Remove green lines for phone-sized screens */
@media (max-width: 600px) {
    .process-section .process-step:not(:last-child)::after {
        background: none; /* Remove the green lines */
    }
}
