/* Homepage Stylesheet */

/* Hero Section */
.hero {
    padding: 100px 0 120px 0;
    background: linear-gradient(135deg, rgba(238, 245, 241, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%),
        radial-gradient(circle at 10% 20%, rgba(13, 110, 70, 0.05) 0%, transparent 40%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 110, 70, 0.05) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    z-index: 1;
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(13, 110, 70, 0.1);
}

.hero-badge span {
    color: var(--secondary);
}

.hero-title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--secondary);
    background: linear-gradient(120deg, var(--secondary) 0%, #b88e1e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero Interactive Visuals */
.hero-visual {
    position: relative;
}

.hero-main-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    border: 1px solid rgba(13, 110, 70, 0.05);
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.hero-main-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: var(--primary);
}

.hero-visual-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--bg-mint);
    padding-bottom: 15px;
}

.hero-visual-badge {
    background-color: #25D366;
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-visual-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-dark);
}

.hero-visual-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.hero-product-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.hero-prod-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: var(--bg-mint);
    border-radius: var(--radius-sm);
}

.hero-prod-feature i {
    color: var(--primary);
    font-size: 20px;
}

.hero-prod-feature-text h4 {
    font-size: 14px;
    font-weight: 700;
}

.hero-prod-feature-text p {
    font-size: 11px;
    color: var(--text-muted);
}

.hero-visual-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-deco-box {
    position: absolute;
    background-color: var(--secondary);
    width: 120px;
    height: 120px;
    border-radius: var(--radius-md);
    opacity: 0.1;
    bottom: -30px;
    right: -20px;
    transform: rotate(45deg);
}

.hero-deco-circle {
    position: absolute;
    background-color: var(--primary);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.1;
    top: -20px;
    left: -20px;
}

/* Feature Section */
.features {
    padding: 60px 0;
    background-color: var(--white);
    position: relative;
    z-index: 20;
    margin-top: -40px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.02);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 30px 24px;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-mint);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.feature-desc {
    font-size: 14px;
    color: var(--text-muted);
}

/* Section Common Header */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-tag {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-muted);
}

/* Products Section */
.home-products {
    padding: 100px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(13, 110, 70, 0.04);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.product-img-wrapper {
    position: relative;
    background-color: var(--bg-light);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.product-placeholder-img {
    font-size: 72px;
    color: var(--primary);
    opacity: 0.6;
    transition: var(--transition);
}

.product-card:hover .product-placeholder-img {
    transform: scale(1.1);
    opacity: 0.85;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-details {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.product-cat {
    font-size: 12px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 12px;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--bg-light);
}

.product-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent);
}

.product-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.product-card:hover .product-btn {
    background-color: var(--primary);
    color: var(--white);
}

/* Training (Course) Section */
.home-training {
    padding: 100px 0;
    background-color: var(--bg-mint);
}

.training-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.training-content h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.training-desc {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.training-checklist {
    margin-bottom: 30px;
}

.training-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.training-check-item i {
    color: var(--primary);
}

.training-visual {
    position: relative;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    cursor: pointer;
}

.training-video-mock {
    height: 300px;
    background-color: var(--primary-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
}

.play-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.training-visual:hover .play-icon-wrapper {
    transform: scale(1.1);
    background-color: var(--white);
    color: var(--primary-dark);
}

.video-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

/* Home Gallery Previews */
.home-gallery {
    padding: 100px 0;
    background-color: var(--white);
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.gallery-preview-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow-sm);
}

.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5, 76, 46, 0.9) 0%, rgba(5, 76, 46, 0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0.9;
    transition: var(--transition);
}

.gallery-preview-item:hover img {
    transform: scale(1.08);
}

.gallery-preview-overlay h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.gallery-preview-overlay p {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 600;
}

/* Home Testimonials */
.home-testimonials {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(13, 110, 70, 0.02);
}

.testimonial-quote {
    font-size: 16px;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 60px;
    color: var(--primary-light);
    position: absolute;
    top: -30px;
    left: -15px;
    z-index: 1;
    font-family: serif;
}

.testimonial-quote p {
    position: relative;
    z-index: 2;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 18px;
}

.testimonial-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
}

.testimonial-info p {
    font-size: 12px;
    color: var(--secondary);
    font-weight: 600;
}

/* Call to Action Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #032b1a 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    border-top: 4px solid var(--secondary);
}

.cta-banner-content {
    max-width: 750px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Responsive Home CSS */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .training-split {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .gallery-preview-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 38px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner h2 {
        font-size: 30px;
    }

    .cta-btns {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .cta-btns .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Hero Dark Mode Styles */
.dark-mode .hero {
    background: linear-gradient(135deg, #07110c 0%, #040a07 100%),
        radial-gradient(circle at 10% 20%, rgba(13, 110, 70, 0.15) 0%, transparent 45%);
}

.dark-mode .hero::after {
    background: radial-gradient(circle, rgba(13, 110, 70, 0.08) 0%, transparent 70%);
}

.dark-mode .hero-badge {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .hero-title {
    color: var(--white);
}

.dark-mode .hero-main-card {
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .hero-visual-header {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .hero-prod-feature {
    background-color: var(--bg-mint);
}

.dark-mode .hero-visual-price {
    color: var(--primary-dark);
}

.dark-mode .hero-visual-title {
    color: var(--primary-dark);
}