/* ===================================
   HERO SECTION STYLES - GREEN THEME
   With integrated form
   =================================== */
.hero-section {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: white;
    padding: 50px 0 60px;
    margin: -1.5rem -12px 2rem -12px;
    border-radius: 0 0 30px 30px;
}

.hero-content {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 50px;
}

.hero-text {
    flex: 1;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-highlight {
    color: #a5d6a7;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 25px;
}

.hero-stats {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #a5d6a7;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.9;
}

.hero-cta .btn-primary {
    background: white;
    color: #2e7d32;
    border: none;
    font-weight: 600;
}

.hero-cta .btn-primary:hover {
    background: #f5f5f5;
    color: #1b5e20;
}

.hero-cta .btn-outline-primary {
    color: white;
    border-color: rgba(255,255,255,0.6);
}

.hero-cta .btn-outline-primary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* ===================================
   HERO FORM CONTAINER
   =================================== */
.hero-form {
    flex: 1;
    max-width: 480px;
    min-width: 380px;
}

.hero-form-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: #333;
}

.hero-form-title {
    color: #2e7d32;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.hero-form-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: center;
}

/* Override form styles inside hero */
.hero-form-container .form-label {
    color: #333;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.hero-form-container .form-control,
.hero-form-container .form-select {
    border: 2px solid #e8f5e9;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #fafafa;
}

.hero-form-container .form-control:focus,
.hero-form-container .form-select:focus {
    border-color: #4caf50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
    background-color: #fff;
}

.hero-form-container .form-control::placeholder {
    color: #aaa;
    font-size: 0.9rem;
}

.hero-form-container .form-check {
    padding-left: 1.8rem;
}

.hero-form-container .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.15rem;
    border: 2px solid #c8e6c9;
}

.hero-form-container .form-check-input:checked {
    background-color: #4caf50;
    border-color: #4caf50;
}

.hero-form-container .form-check-label {
    color: #555;
    line-height: 1.4;
}

.hero-form-container .form-check-label a {
    color: #2e7d32;
    font-weight: 500;
}

.hero-form-container .alert-info {
    background-color: #e8f5e9;
    border-color: #c8e6c9;
    color: #1b5e20;
    border-radius: 10px;
    padding: 12px 15px;
}

.hero-form-container .btn-primary {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    border: none;
    border-radius: 12px;
    padding: 14px 25px;
    font-weight: 600;
    font-size: 1.1rem;
    width: 100%;
    color: white;
    transition: all 0.3s ease;
}

.hero-form-container .btn-primary:hover {
    background: linear-gradient(135deg, #43a047 0%, #1b5e20 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(46, 125, 50, 0.3);
    color: white;
}

.hero-form-container .btn-primary:disabled {
    background: #ccc;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

/* ===================================
   HERO WELCOME BOX (for logged-in users)
   =================================== */
.hero-welcome-box {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: #333;
    text-align: center;
}

.hero-welcome-box .welcome-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.hero-welcome-box h2 {
    color: #2e7d32;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-welcome-box p {
    color: #666;
    margin-bottom: 25px;
}

.hero-welcome-box .btn-primary {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    border: none;
    border-radius: 10px;
    padding: 14px 30px;
    font-weight: 600;
    color: white;
}

.hero-welcome-box .btn-primary:hover {
    background: linear-gradient(135deg, #43a047 0%, #1b5e20 100%);
}

/* ===================================
   HERO RESPONSIVE
   =================================== */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        max-width: 100%;
    }
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero-form {
        max-width: 100%;
        min-width: auto;
        width: 100%;
    }
    .hero-cta {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-stats {
        gap: 15px;
    }
    .stat-number {
        font-size: 1.4rem;
    }
    .hero-form-container,
    .hero-welcome-box {
        padding: 25px 20px;
    }
    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }
    .hero-cta .btn {
        margin: 0 !important;
    }
}

/* ===================================
   SECTION STYLES - GREEN THEME
   =================================== */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
}

.features-section {
    padding: 40px 0;
}

/* ===================================
   FEATURE CARDS - GREEN THEME
   =================================== */
.feature-card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(46, 125, 50, 0.2) !important;
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 20px;
}

.card-img-wrapper img {
    max-height: 180px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #2e7d32;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-badge-soon {
    background: #ff9800;
}

.feature-icon {
    font-size: 1.3rem;
    margin-right: 8px;
}

.feature-card .card-title {
    color: #2e7d32;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.feature-card .btn-primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.feature-card:hover .btn-arrow {
    transform: translateX(5px);
}

/* ===================================
   TESTIMONIALS SECTION - GREEN THEME
   =================================== */
.testimonials-section {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    margin: 40px -12px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 20px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(46, 125, 50, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid #c8e6c9;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.15);
}

.testimonial-stars {
    margin-bottom: 15px;
}

.star {
    font-size: 1.3rem;
    color: #ddd;
}

.star.filled {
    color: #ffc107;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    min-height: 100px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #333;
}

.author-role {
    font-size: 0.85rem;
    color: #888;
}

/* ===================================
   TRUST INDICATORS - GREEN THEME
   =================================== */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.trust-icon {
    width: 24px;
    height: 24px;
    background: #43a047;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.trust-text {
    font-size: 0.95rem;
}

/* ===================================
   CTA SECTION - GREEN THEME
   =================================== */
.cta-section {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: white;
    padding: 60px 30px;
    border-radius: 20px;
    margin: 40px 0;
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-text {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 30px;
}

.cta-buttons .btn-light {
    background: white;
    color: #2e7d32;
    font-weight: 600;
}

.cta-buttons .btn-light:hover {
    background: #f5f5f5;
    color: #1b5e20;
}

.cta-buttons .btn-outline-light:hover {
    background: white;
    color: #2e7d32;
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 1.5rem;
    }
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .cta-buttons .btn {
        margin: 0 !important;
    }
    .trust-indicators {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}
