/* Newsletter Page Styles */

/* Hero Section */
.newsletter-hero {
    color: white;
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    margin-top: 80px;
    background-size: cover;
    background-position: center;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.newsletter-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.newsletter-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Newsletter Signup Section */
.newsletter-signup {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.newsletter-form-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.newsletter-benefits {
    flex: 1;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.newsletter-benefits h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.newsletter-benefits ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.newsletter-benefits li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.newsletter-benefits li i {
    color: #E2706D;
    margin-right: 10px;
    font-size: 1.2rem;
}

.newsletter-sample {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 2rem;
}

.newsletter-sample h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.newsletter-sample p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.newsletter-form {
    flex: 1;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.newsletter-form h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #E2706D;
    outline: none;
    box-shadow: 0 0 0 2px rgba(226, 112, 109, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #666;
}

.newsletter-submit-btn {
    background-color: #E2706D;
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter-submit-btn:hover {
    background-color: #d45a57;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(226, 112, 109, 0.3);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 30px;
}

.success-message i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1.5rem;
}

.success-message h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.success-message p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .newsletter-form-container {
        flex-direction: column;
    }
    
    .newsletter-benefits,
    .newsletter-form {
        width: 100%;
    }
    
    .newsletter-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .newsletter-hero {
        padding: 80px 0 60px;
    }
    
    .newsletter-hero h1 {
        font-size: 2rem;
    }
    
    .newsletter-hero p {
        font-size: 1rem;
    }
    
    .newsletter-signup {
        padding: 50px 0;
    }
    
    .newsletter-benefits,
    .newsletter-form {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .newsletter-hero h1 {
        font-size: 1.8rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 10px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #E2706D;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #d45a57;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
