/* request-summary.css */
:root {
    --primary-green: #03240bff;
    --secondary-green: #1a4d2e;
    --light-green: #e6f0ea;
    --white: #ffffff;
    --text-dark: #212529;
    --text-muted: #5c6b73;
}

.main-content {
    margin: 3rem 0;
}

.hero-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--light-green);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cube-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin-right: 2rem;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate4 7s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.cube-face {
    position: absolute;
    width: 160px;
    height: 160px;
    background-color: var(--primary-green);
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.cube-face.front  { transform: translateZ(80px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(80px); }
.cube-face.right  { transform: rotateY(90deg) translateZ(80px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(80px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(80px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(80px); }

@keyframes rotate4 {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(-360deg) rotateY(-360deg); }
}

.text-container h1,
.newsletter-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.text-container p,
.newsletter-header p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0;
}

.request-form,
.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.newsletter-section {
    max-width: 500px;
    margin: 0 auto;
    padding: 3rem 0;
}

.newsletter-header {
    margin-bottom: 2rem;
}

.newsletter-logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid var(--primary-green);
    border-radius: 6px;
    resize: vertical;
}

.form-control:focus {
    border-color: var(--secondary-green);
    box-shadow: 0 0 0 0.2rem rgba(3, 36, 11, 0.2);
    outline: none;
}

.form-actions {
    display: flex;
    justify-content: center;
}

.btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-green);
    border: none;
    color: var(--white);
    width: 100%;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--secondary-green);
}

.alert {
    position: relative;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.alert-success {
    background-color: var(--light-green);
    color: var(--text-dark);
    border: 1px solid var(--primary-green);
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-text {
    margin: 0;
}

.alert-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.alert-close:hover {
    color: var(--secondary-green);
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .cube-container {
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .text-container h1,
    .newsletter-header h2 {
        font-size: 2rem;
    }

    .text-container p,
    .newsletter-header p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .request-form,
    .newsletter-form {
        padding: 1rem;
    }

    .newsletter-section {
        padding: 1.5rem;
    }

    .form-control {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}