/* CL24.nl Main Stylesheet */

/* Variables */
:root {
    --cl24-green: #7ab686;
    --cl24-dark-grey: #222222;
    --cl24-light-grey: #f5f5f5;
    --cl24-white: #ffffff;
    --cl24-black: #000000;
    
    --font-primary: 'Open Sans', Arial, sans-serif;
    --font-secondary: 'Montserrat', Helvetica, sans-serif;
    
    --transition-speed: 0.3s;
    --border-radius: 4px;
    --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--cl24-dark-grey);
    background-color: var(--cl24-white);
    padding-top: 80px;
    overflow-x: hidden; /* prevent horizontal scroll on small screens */
}

a {
    color: var(--cl24-green);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--cl24-dark-grey);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
    color: var(--cl24-dark-grey);
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.row > [class^="col-"],
.row > [class*=" col-"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    flex: 1 0 0%;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-md-6 { flex: 0 0 100%; max-width: 100%; }
.col-md-4 { flex: 0 0 100%; max-width: 100%; }
.col-md-3 { flex: 0 0 100%; max-width: 100%; }

@media (min-width: 768px) {
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
}

.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.d-flex { display: flex; }
.d-none { display: none !important; }

.g-4 { gap: 1.5rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--cl24-green);
    color: var(--cl24-white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-speed) ease;
}

.btn:hover {
    background-color: var(--cl24-dark-grey);
    color: var(--cl24-white);
}

.btn-secondary {
    background-color: var(--cl24-dark-grey);
    color: var(--cl24-white);
}

.btn-secondary:hover {
    background-color: var(--cl24-green);
}

.page-content .page-section {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.page-section.bg-white {
    background-color: var(--cl24-white);
}

.page-section.bg-light {
    background-color: var(--cl24-light-grey);
}

.page-section.bg-green {
    background-color: var(--cl24-green);
}

.page-section.bg-dark {
    background-color: var(--cl24-dark-grey);
}

.page-section.text-dark,
.page-section.text-black,
.page-section.text-grey,
.page-section.text-green {
    color: var(--cl24-dark-grey);
}

.page-section.text-black {
    color: var(--cl24-black);
}

.page-section.text-grey {
    color: #666666;
}

.page-section.text-white {
    color: var(--cl24-white);
}

.page-section.text-green {
    color: var(--cl24-green);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--cl24-green);
    color: var(--cl24-green);
}

.btn-outline:hover {
    background-color: var(--cl24-green);
    color: var(--cl24-white);
}

.btn-primary {
    background-color: var(--cl24-green);
    color: var(--cl24-white);
}

.btn-primary:hover {
    background-color: var(--cl24-dark-grey);
}

.btn-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--cl24-green);
    font-weight: 600;
}

/* Header */
.header {
    background-color: var(--cl24-white);
    box-shadow: var(--box-shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1200;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
}

/* Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--cl24-dark-grey);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
}

/* Normalize all nav lists: remove bullets and reset spacing */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Ensure no separator dots/pipes are rendered between items */
.nav-menu li+li::before,
nav ul li+li::before {
    content: none !important;
}

/* Dropdown lists should not show bullets either */
.dropdown-menu,
.dropdown-menu li {
    list-style: none;
}

.nav-item {
    margin-left: 1.5rem;
}

.nav-link {
    color: var(--cl24-dark-grey);
    font-weight: 600;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--cl24-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--cl24-green);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--cl24-white);
    box-shadow: var(--box-shadow);
    min-width: 200px;
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    display: none;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Also open dropdown when the parent has focus (keyboard navigation) */
.dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--cl24-dark-grey);
}

.dropdown-item:hover {
    background-color: var(--cl24-light-grey);
    color: var(--cl24-green);
}
/* Hero Section / Carousel */
.hero {
    position: relative;
    overflow: hidden;
}

.carousel {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-content {
    text-align: center;
    color: var(--cl24-white);
    padding: 2rem;
    max-width: 800px;
    background-color: rgba(34, 34, 34, 0.5);
    border-radius: var(--border-radius);
}

.carousel-content h1 {
    color: var(--cl24-white);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-prev,
.carousel-next {
    background-color: rgba(248, 240, 240, 0.862);
    color: var(--cl24-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease;
    font-size: 1.5rem;
}

.carousel-prev {
    margin-left: 1rem;
}

.carousel-next {
    margin-right: 1rem;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color var(--transition-speed) ease;
}

.carousel-indicator.active {
    background-color: var(--cl24-white);
}

/* Main Content */
main,
.main {
    padding: 3rem 0;
}

.section {
    margin-bottom: 3rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--cl24-green);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed) ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--cl24-green);
    margin-bottom: 1rem;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.affiliate-websites-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

@media (max-width: 1200px) {
    .affiliate-websites-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .affiliate-websites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .affiliate-websites-grid {
        grid-template-columns: 1fr;
    }
}

.affiliate-website-card {
    background-color: var(--cl24-white);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.affiliate-website-card .card-img {
    height: 160px;
}

.affiliate-website-noimg {
    background-color: var(--cl24-light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
}

.affiliate-website-name {
    font-weight: 700;
}

.affiliate-website-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.affiliate-website-description {
    margin: 0;
    opacity: 0.85;
}

.affiliate-website-link {
    margin-top: auto;
    font-weight: 700;
    font-size: 1.1rem;
}

.mission-card.border-primary {
    border-color: var(--primary);
}

.mission-card.border-accent {
    border-color: var(--accent);
}

.mission-card.border-secondary {
    border-color: var(--secondary);
}

.mission-card .icon-primary {
    color: var(--primary);
}

.mission-card .icon-accent {
    color: var(--accent);
}

.mission-card .icon-secondary {
    color: var(--secondary);
}

.card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed) ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    margin-bottom: 0.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: #1f2b21;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #dfe7e3;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    background-color: #fbfdfc;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--cl24-green);
    box-shadow: 0 0 0 2px rgba(122, 182, 134, 0.2);
}

.form-control.is-invalid {
    border-color: #d32f2f;
    box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.15);
}

.form-text {
    font-size: 0.9rem;
    color: #6c757d;
}

.alert {
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.alert-danger {
    background-color: #ffe5e7;
    color: #9e1c2a;
}

.alert-warning {
    background-color: #fff4de;
    color: #8f5d00;
}

.login-card {
    max-width: 420px;
    margin: 0 auto;
    background-color: var(--cl24-white);
    border-radius: 18px;
    box-shadow: 0 25px 45px rgba(14, 44, 31, 0.12);
    padding: 2.25rem;
}

.login-card h1 {
    font-size: 2rem;
    text-align: center;
}

.login-card .intro-text {
    text-align: center;
    color: #6c7c6e;
    margin-bottom: 1.5rem;
}

.login-card input[type="text"],
.login-card input[type="email"],
.login-card input[type="password"],
.login-card input[type="tel"],
.login-card input[type="number"] {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid #dfe7e3;
    background-color: #fbfdfc;
}

.login-card button[type="submit"] {
    width: 100%;
}

.helper-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.security-note {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: #5b655e;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.auth-info-card {
    background: linear-gradient(135deg, #0f3924, #1b5a3a);
    color: var(--cl24-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 35px 60px rgba(5, 32, 20, 0.4);
    position: relative;
    overflow: hidden;
}

.auth-info-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.25), transparent 45%);
    pointer-events: none;
}

.auth-info-card h1 {
    color: var(--cl24-white);
    font-size: 2.2rem;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.18);
    color: #fdfdfd;
    margin-bottom: 1rem;
}

.auth-checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-checklist li {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-weight: 600;
}

.auth-checklist i {
    color: #9bffc6;
}

.auth-meta {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
}

.auth-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

@media (max-width: 768px) {
    .auth-info-card {
        padding: 2rem;
    }

    .login-card {
        padding: 1.75rem;
    }
}

/* Page Banner */
.page-banner {
    min-height: 200px;
    background-size: cover;
    background-position: center;
    padding: 3rem 0;
    display: flex;
    align-items: center;
}

.page-banner .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--cl24-dark-grey);
    margin-bottom: 1rem;
    position: relative; /* enable underline accent positioning */
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--cl24-dark-grey);
}

/* Add the same short green underline used by section titles to page titles */
.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--cl24-green);
}

/* Footer */
.footer {
    background-color: var(--cl24-dark-grey);
    color: var(--cl24-white);
    padding: 3rem 0 1rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-title {
    color: var(--cl24-white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 0.5rem;
}

.footer-link a {
    color: #ccc;
}

.footer-link a:hover {
    color: var(--cl24-green);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--cl24-white);
    transition: background-color var(--transition-speed) ease;
}

.social-icon:hover {
    background-color: var(--cl24-green);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mr-2 { margin-right: 0.5rem; }

/* Responsive Styles */
@media (max-width: 992px) {
    .carousel {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--cl24-white);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: left var(--transition-speed) ease;
        overflow-y: auto;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        padding-left: 1rem;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    main {
        padding-top: 90px;
    }
    
    .page-banner {
        margin-top: 80px;
        padding-top: 90px;
        padding-bottom: 40px;
    }
    
    .page-banner .container {
        text-align: center;
        align-items: center;
        padding: 0 1.5rem;
    }
    
    .policy-container {
        padding: 0 1rem;
    }
    
    .policy-section {
        margin-bottom: 1.75rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-logo img {
        margin: 0 auto 1rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 1.9rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .carousel {
        min-height: 200px;
    }
    
    .carousel-content {
        padding: 0.5rem;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 30px;
        height: 30px;
    }
}

/* Begunstigden Registratie Formulier Styles */
.layout {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    align-items: stretch;
    margin-top: 24px;
    min-height: 500px;
    border-radius: 24px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 24px rgba(122,182,134,0.10), 0 1.5px 6px rgba(0,0,0,0.04);
}

.image-panel {
    flex: 1 1 50%;
    background: #f5f7f6;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.image-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.form-panel {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    background: #fff;
}

.form-container {
    width: 100%;
    padding: 40px 32px;
}

@media (max-width: 900px) {
    .layout {
        flex-direction: column;
        min-height: unset;
    }
    .image-panel {
        min-height: 200px;
    }
}

.form-container h2 {
    color: #333;
    text-align: center;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #dbeee2;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 1rem;
    background: #f8fbf9;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="date"]:focus,
.form-group textarea:focus {
    border-color: #7ab686;
    box-shadow: 0 0 0 2px #e2f3ea;
    outline: none;
}

.form-group input[type="checkbox"] {
    margin-right: 10px;
    accent-color: #7ab686;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.form-group .error {
    color: #d32f2f;
    font-size: 14px;
    margin-top: 5px;
}

#form-message .success {
    color: #388e3c;
    font-size: 16px;
    margin-top: 10px;
    padding: 10px;
    background-color: #e8f5e8;
    border-radius: 4px;
}

#form-message .error {
    color: #d32f2f;
    font-size: 14px;
    margin-top: 10px;
    padding: 10px;
    background-color: #ffebee;
    border-radius: 4px;
}

.celebration {
    animation: celebration-pop 0.6s ease-in-out;
}

.confetti-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1200;
}

.confetti-piece {
    position: absolute;
    width: 12px;
    height: 18px;
    opacity: 0;
    border-radius: 3px;
    animation: confetti-fall 2.4s ease-out forwards;
}

@keyframes celebration-pop {
    0% { transform: scale(0.9); opacity: 0; }
    50% { transform: scale(1.03); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes confetti-fall {
    0% { transform: translate3d(0, -100vh, 0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translate3d(0, 110vh, 0) rotate(720deg); opacity: 0; }
}

.form-container button {
    background-color: #7ab686;
    color: white;
    padding: 16px 0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    width: 100%;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(122,182,134,0.10);
    transition: background 0.2s, box-shadow 0.2s;
}

.form-container button:hover {
    background-color: #5e9e6e;
    box-shadow: 0 4px 16px rgba(122,182,134,0.18);
}

.form-container button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.required {
    color: #d32f2f;
}

.hidden {
    display: none;
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 420px;
    width: calc(100% - 32px);
    background: rgba(33, 33, 33, 0.95);
    color: #fafafa;
    padding: 20px 24px;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    z-index: 1000;
}

.cookie-banner p {
    margin: 0 0 16px 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-banner a {
    color: #9ad3a0;
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-banner__button {
    background-color: #7ab686;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.cookie-banner__button:hover {
    background-color: #5e9e6e;
}

.cookie-banner__button--secondary {
    background-color: transparent;
    color: #fafafa;
    border: 1px solid rgba(250, 250, 250, 0.6);
}

.cookie-banner__button--secondary:hover {
    background-color: rgba(250, 250, 250, 0.15);
}

@media (max-width: 600px) {
    .cookie-banner {
        bottom: 16px;
        padding: 18px;
    }
    .cookie-banner__actions {
        justify-content: center;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1100;
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    max-width: 1200px;
    width: 90%;
    margin: 100px auto 40px auto;
    background-color: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #eee;
    background-color: #f8fbf9;
}

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s;
}

.modal-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

.modal-body {
    padding: 0;
}

/* Modal Layout Adjustments */
.modal .layout {
    margin: 0;
    min-height: auto;
    border-radius: 0;
    box-shadow: none;
}

.modal .image-panel {
    min-height: 400px;
}

.modal .form-container {
    padding: 32px;
}

@media (max-width: 900px) {
    .modal-container {
        width: 95%;
        margin: 80px auto 20px auto;
        max-height: calc(100vh - 100px);
    }
    
    .modal-header {
        padding: 20px 24px;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .modal .form-container {
        padding: 24px;
    }
    
    .modal .image-panel {
        min-height: 200px;
    }
}

@media (max-width: 600px) {
    .modal-container {
        width: 100%;
        margin: 70px 0 0 0;
        max-height: calc(100vh - 70px);
        border-radius: 24px 24px 0 0;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal .form-container {
        padding: 20px;
    }
}

/* CTA Section Styles */
.cta-section {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background-color: #7ab686;
    color: white;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(122,182,134,0.10), 0 1.5px 6px rgba(0,0,0,0.04);
}

.cta-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.cta-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-section .btn {
    background-color: white;
    color: #7ab686;
    padding: 16px 32px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(122,182,134,0.10);
}

.cta-section .btn:hover {
    background-color: #f5f7f6;
    color: #5e9e6e;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(122,182,134,0.18);
}

@media (max-width: 600px) {
    .cta-section {
        margin: 2rem 0;
        padding: 1.5rem;
    }
    
    .cta-section h3 {
        font-size: 1.25rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .cta-section .btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
}
