﻿/* Hero Section */
.about-hero {
    position: relative;
    background: url('/Content/Images/Product1.jpg') center/cover no-repeat fixed;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.about-hero-content {
    position: relative;
    z-index: 1;
}

    .about-hero-content h1 {
        font-size: 4rem;
        font-weight: 800;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
        animation: fadeInDown 1.2s ease-out;
    }

    .about-hero-content p {
        font-size: 1.5rem;
        margin-top: 10px;
        animation: fadeInUp 1.2s ease-out;
    }

/* About Section */
.about-section {
    background: linear-gradient(135deg, #ffffff, #f4f9f4);
    padding: 60px 20px;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

    .about-text h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: #2c7a2c;
    }

    .about-text p {
        font-size: 1.2rem;
        margin-bottom: 15px;
        line-height: 1.6;
    }

.about-image {
    flex: 1;
    min-width: 300px;
}

    .about-image img {
        width: 100%;
        border-radius: 15px;
        box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
        transition: transform 0.4s ease;
    }

        .about-image img:hover {
            transform: scale(1.05);
        }

/* Animations */
.animate-fadein {
    animation: fadeIn 1.2s ease forwards;
}

.animate-slidein {
    animation: slideInRight 1.2s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-hero-content h1 {
        font-size: 2.5rem;
    }
}
.specialization-section {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255,255,255,0.9)), url('/images/greenhouse-bg.jpg') no-repeat center center/cover;
    padding: 80px 0;
    animation: fadeInUp 1.2s ease;
}

.specialization-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.specialization-text {
    flex: 1;
    max-width: 600px;
}

    .specialization-text h2 {
        font-size: 36px;
        color: var(--primary-color);
        margin-bottom: 20px;
        font-weight: 700;
    }

    .specialization-text p {
        font-size: 18px;
        color: var(--text-color);
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .specialization-text .btn {
        font-size: 16px;
        padding: 12px 25px;
        border-radius: 6px;
        background: var(--primary-color);
        color: var(--white);
        transition: transform 0.3s ease, background 0.3s ease;
    }

        .specialization-text .btn:hover {
            background: var(--secondary-color);
            transform: translateY(-3px);
        }

.specialization-image {
    flex: 1;
    text-align: center;
}

    .specialization-image img {
        max-width: 100%;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        transition: transform 0.4s ease;
    }

        .specialization-image img:hover {
            transform: scale(1.05);
        }

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .specialization-content {
        flex-direction: column;
        text-align: center;
    }

    .specialization-image {
        margin-top: 20px;
    }
}
