/*
 * Yewodze Enterprise - Enhanced About Page Styles
 * Theme: Green, Yellow, and White
 */

/* About Header */
.about-header {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.95) 0%, rgba(46, 139, 87, 0.85) 100%), url('../images/soap-pattern-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}

.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation: float 15s infinite alternate;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -100px;
    animation: float 12s infinite alternate-reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: 30%;
    animation: float 10s infinite alternate;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 20%;
    animation: float 8s infinite alternate-reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(30px, 30px) rotate(15deg);
    }
}

.about-header .page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    animation: fadeInDown 1s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    color: #fff;
    z-index: 1;
}

.about-header .page-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #ffd700, rgba(255, 215, 0, 0.5));
    border-radius: 2px;
}

.about-header .lead {
    font-size: 1.35rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
    animation: fadeInUp 1.2s ease-out;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    color: #fff;
    position: relative;
    z-index: 1;
}

/* Company Overview */
.company-overview {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.company-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInLeft 1.2s ease-out;
}

.company-image {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.company-image-container:hover .company-image {
    transform: scale(1.05);
}

.company-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(46, 139, 87, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.company-image-container:hover .company-image-overlay {
    opacity: 1;
}

.company-content {
    animation: fadeInRight 1.2s ease-out;
}

.company-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2e8b57;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.company-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #2e8b57, #ffd700);
    border-radius: 2px;
}

.company-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 1.5rem;
}

/* Our Mission */
.our-mission {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.05) 0%, rgba(255, 215, 0, 0.05) 100%);
    position: relative;
}

.mission-container {
    background-color: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    animation: fadeIn 1.2s ease-out;
}

.mission-container::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 12rem;
    color: rgba(46, 139, 87, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
}

.mission-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2e8b57;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.mission-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #2e8b57, #ffd700);
    border-radius: 2px;
}

.mission-container .lead {
    font-size: 1.35rem;
    line-height: 1.8;
    color: #495057;
    position: relative;
    z-index: 1;
}

/* Our Values */
.our-values {
    padding: 5rem 0;
    position: relative;
}

.our-values h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2e8b57;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    text-align: center;
}

.our-values h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #2e8b57, #ffd700);
    border-radius: 2px;
}

.value-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1.2s ease-out;
}

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

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #2e8b57, #ffd700);
}

.value-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(46, 139, 87, 0.1);
    border-radius: 50%;
    color: #2e8b57;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background-color: #2e8b57;
    color: #fff;
    transform: rotateY(180deg);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2e8b57;
    margin-bottom: 1rem;
}

.value-card p {
    color: #6c757d;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Manufacturing Process */
.manufacturing-process {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.05) 0%, rgba(255, 215, 0, 0.05) 100%);
    position: relative;
}

.manufacturing-process h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2e8b57;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    text-align: center;
}

.manufacturing-process h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #2e8b57, #ffd700);
    border-radius: 2px;
}

.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #2e8b57, #ffd700);
    border-radius: 2px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
    animation: fadeInUp 1.2s ease-out;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step:nth-child(odd) {
    flex-direction: row-reverse;
}

.process-number {
    width: 60px;
    height: 60px;
    background-color: #2e8b57;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 2rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);
    transition: all 0.3s ease;
}

.process-step:hover .process-number {
    background-color: #ffd700;
    color: #343a40;
    transform: scale(1.1);
}

.process-content {
    background-color: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: calc(50% - 4rem);
    position: relative;
    transition: all 0.3s ease;
}

.process-step:hover .process-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.process-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    transform: rotate(45deg);
}

.process-step:nth-child(odd) .process-content::before {
    left: -10px;
}

.process-step:nth-child(even) .process-content::before {
    right: -10px;
}

.process-content h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #2e8b57;
    margin-bottom: 1rem;
}

.process-content p {
    color: #6c757d;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Contact CTA */
.contact-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2e8b57 0%, #1a5632 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.contact-cta h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-cta p {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1.2s ease-out;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.contact-cta .btn {
    animation: fadeInUp 1.4s ease-out;
}

.contact-btn {
    background-color: #ffd700;
    color: #343a40;
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-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: all 0.6s ease;
    z-index: -1;
}

.contact-btn:hover {
    background-color: #fff;
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    color: #2e8b57;
}

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

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .process-content {
        width: calc(50% - 3rem);
    }
}

@media (max-width: 992px) {
    .about-header {
        padding: 5rem 0;
    }
    
    .about-header .page-title {
        font-size: 2.75rem;
    }
    
    .company-content h2, 
    .mission-container h2,
    .our-values h2,
    .manufacturing-process h2 {
        font-size: 2.25rem;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .process-step,
    .process-step:nth-child(odd) {
        flex-direction: row;
    }
    
    .process-number {
        margin: 0 1rem 0 0;
    }
    
    .process-content {
        width: calc(100% - 80px);
    }
    
    .process-step:nth-child(odd) .process-content::before,
    .process-step:nth-child(even) .process-content::before {
        left: -10px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .about-header .page-title {
        font-size: 2.25rem;
    }
    
    .about-header .lead {
        font-size: 1.15rem;
    }
    
    .company-content h2, 
    .mission-container h2,
    .our-values h2,
    .manufacturing-process h2,
    .contact-cta h2 {
        font-size: 2rem;
    }
    
    .mission-container {
        padding: 2rem;
    }
    
    .mission-container .lead {
        font-size: 1.15rem;
    }
    
    .contact-cta p {
        font-size: 1.15rem;
    }
    
    .contact-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}
