/* ===========================
   Email Section Styling
=========================== */

.email-section {
    display: none;
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    border-radius: 16px;
    padding: 4rem 1.5rem;
    box-shadow: 0 6px 22px rgba(151, 113, 67, 0.2);
    border: 2px solid #977143;
    position: relative;
    overflow: hidden;
    margin: 3rem 0;
}

/* Glow effect on hover (similar to features) */
.email-box {
    background: linear-gradient(145deg, #ffffff, #fafafa);
    border: 2px solid #977143;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 6px 20px rgba(151, 113, 67, 0.2);
}

.email-box::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.email-box:hover::before {
    opacity: 1;
}

.email-box:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(151, 113, 67, 0.4);
    border-color: #b8854d;
}

/* Input styling */
.email-box input.form-control {
    background: transparent;
    border: none;
    color: #333333;
    font-size: 1rem;
    padding: 1rem;
    flex: 1;
}

.email-box input::placeholder {
    color: rgba(85, 85, 85, 0.7);
    opacity: 0.8;
}

/* Button styling */
.email-box .btn-subscribe {
    background: #977143;
    color: #ffffff;
    font-weight: 700;
    padding: 0 2rem;
    border: none;
    transition: all 0.3s ease;
}

.email-box .btn-subscribe:hover {
    background: #b8854d;
    color: #ffffff;
}

/* Headings & text */
.email-section h2 {
    color: #977143;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.email-section p.lead {
    color: #555555;
    opacity: 0.9;
}

/* Fade-up animation like features */
.email-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.2s;
}

/* ===========================
   Features Section
=========================== */
.feature-box {
    background: linear-gradient(145deg, #ffffff, #ffffff);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 6px 22px rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
}

/* Glow effect on hover */
.feature-box::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Headline */
.feature-box h5 {
    color: #977143;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Subtitle */
.feature-box p {
    color: #f1f1f1;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Animation fade-up */
.feature-box {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

.feature-box:nth-child(1) {
    animation-delay: 0.2s;
}

.feature-box:nth-child(2) {
    animation-delay: 0.4s;
}

.feature-box:nth-child(3) {
    animation-delay: 0.6s;
}

.feature-box:nth-child(4) {
    animation-delay: 0.8s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}