body {
    margin: 0;
    padding: 0;
    background-image: url('assets/potockiegobg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
}

.container {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 3rem;
    text-align: center;
    max-width: 80%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 2rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1F3F8A;
    margin-bottom: 0;
    line-height: 1.2;
}

p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #8BB527;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 2em;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #6d8e12;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 2.5rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

.modal-content h2 {
    color: #1F3F8A;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

#subscribeForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#subscribeForm input[type="email"] {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
    font-size: 0.85rem;
    color: #555;
}

.rodo-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#rodoLabel {
    display: block;
    background-color: rgba(0, 0, 0, 0.03);
    padding: 0.5rem;
    border-radius: 4px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

#rodoLabel.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.toggle-link {
    align-self: flex-end;
    color: #1F3F8A;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.toggle-link:hover {
    text-decoration: underline;
}

.checkbox-container input {
    margin-top: 0.5rem;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #f8f9fa;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-weight: 600;
    color: #1F3F8A;
}

.captcha-container input {
    width: 80px;
    padding: 0.5rem !important;
    text-align: center;
}

#formMessage {
    margin-top: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}

#formMessage.success {
    color: #28a745;
}

#formMessage.error {
    color: #dc3545;
}
