:root {
--main-color: #1aa9a9;
--background-color: #0f2027;
--text-color: #fff;
}

.logo {
    width: 500px; 
    max-width: 100%;
    height: auto;
    animation: pulse 3s infinite alternate;
    border-radius: 10px;
}

.slogan {
margin-top: 5px;
font-size: 1.1em;
font-weight: 400;
color: var(--main-color);
text-shadow: 0 0 5px var(--main-color), 0 0 10px rgba(26,169,169,0.6);
min-height: 1.5em;
}

.title, .message, .sub-message, .form-title, .thank-you-message {
color: var(--main-color);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(-45deg, #0f2027, #203a43, #2c5364, #00bcd4);
    background-size: 400% 400%;
    animation: gradientBG 12s ease infinite;
    color: var(--text-color);
    
    display: flex; 
    justify-content: center; 
    align-items: flex-start;
    min-height: 100vh; 
    text-align: center;
    padding-top: 50px; 
    padding-bottom: 50px; 
    
    scrollbar-color: var(--main-color) var(--background-color); 
    scrollbar-width: thin; 
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

html::-webkit-scrollbar {
    width: 12px; 
}

html::-webkit-scrollbar-track {
    background: var(--background-color); 
}

html::-webkit-scrollbar-thumb {
    background-color: var(--main-color); 
    border-radius: 6px; 
    border: 3px solid var(--background-color); 
}

.table-wrapper {
    overflow-x: auto; 
    width: 100%; 
    padding: 0;
    margin: 0;
}

.container {
    padding: 30px;
    max-width: 950px; 
    width: 90%;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo-box {
    margin-bottom: 10px; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.9; }
    100% { transform: scale(1.05); opacity: 1; }
}

.title {
    font-size: 2.5em;
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 15px;
    text-shadow: 0 0 5px var(--main-color), 0 0 10px var(--main-color), 0 0 20px var(--main-color);
}

.message {
    font-size: 1.2em;
    font-weight: 300;
    margin-bottom: 30px;
    color: var(--main-color);
}

.sub-message {
    font-size: 1em;
    margin-top: 20px;
    color: var(--main-color);
}

.loader {
    height: 4px;
    background-color: #ccc;
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
    width: 80%;
}

.loader-bar {
    height: 100%;
    width: 30%;
    background-color: var(--main-color);
    border-radius: 2px;
    animation: loading-bar 2.5s infinite ease-in-out;
}

@keyframes loading-bar {
    0% { transform: translateX(-100%); width: 10%; }
    50% { transform: translateX(100%); width: 80%; }
    100% { transform: translateX(100%); width: 10%; }
}

.contact-form {
    margin: 40px auto 0 auto; 
    max-width: 500px; 
    width: 100%; 
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.form-title {
    font-size: 1.5em;
    color: var(--main-color);
    margin-bottom: 15px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1em;
    outline: none;
    resize: none;
    color: #000; 
}

.contact-form textarea {
    min-height: 100px;
}

.contact-form button {
    background: var(--main-color);
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px var(--main-color);
}

.thank-you-message {
    color: var(--main-color);
    font-size: 1.1em;
    font-weight: 500;
    margin-top: 15px;
    text-align: center;
}

.error-message {
    display: none;
    color: #ff5555;
    background: rgba(255, 85, 85, 0.1);
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 500;
}

.cards-title {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--main-color);
    margin-top: 40px;
    margin-bottom: 25px;
    text-shadow: 0 0 5px var(--main-color);
}

.carousel-wrapper {
    position: relative; 
    display: flex;
    align-items: center; 
    margin-bottom: 40px;
    width: 100%;
    padding: 0 0px; 
    box-sizing: border-box; 
}

.nav-button {
    background: rgba(26, 169, 169, 0.7);
    border: none;
    color: white;
    font-size: 1.5em;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease, transform 0.2s ease;
    position: absolute; 
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    width: 45px; 
    height: 45px; 
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.nav-button:hover {
    background: var(--main-color);
    transform: translateY(-50%) scale(1.1); 
}

.nav-button.left {
    left: 0; 
}

.nav-button.right {
    right: 0; 
}

.cards-container {
    display: flex;
    overflow-x: auto; 
    scroll-behavior: smooth; 
    gap: 20px; 
    padding: 10px 0; 
    flex-wrap: nowrap; 
    width: 100%; 
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

.cards-container::-webkit-scrollbar {
    display: none;
}

.card {
    flex-shrink: 0; 
    width: 300px; 
    height: 300px; 
    background-color: transparent;
    perspective: 1000px; 
    cursor: pointer;
    box-shadow: none; 
    border-radius: 15px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s; 
    transform-style: preserve-3d; 
    border-radius: inherit;
}

.card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px; 
    border-radius: inherit;
    box-sizing: border-box; 
}

.card-front {
    background: var(--main-color); 
    color: var(--text-color);
    box-shadow: none;
}

.card-front h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.card-front p {
    font-size: 0.9em;
    font-weight: 300;
    opacity: 0.8;
}

.card-back {
    background: rgba(26, 169, 169, 0.9);
    color: var(--text-color);
    transform: rotateY(180deg); 
    box-shadow: none;
}

.card-back p {
    font-size: 1em;
    line-height: 1.4;
}

.card-back .flip-info {
    margin-top: 15px;
    font-size: 0.8em;
    opacity: 0.7;
}

@media (max-width: 950px) {
    .nav-button.left {
        left: 5px; 
    }
    .nav-button.right {
        right: 5px; 
    }
}

@media (max-width: 550px) { 
    .nav-button {
        display: none;
    }
    .carousel-wrapper {
        padding: 0; 
    }
    .card {
        width: 90vw;
        height: 90vw;
        max-width: 300px;
        max-height: 300px;
    }

    .contact-form {
        max-width: 90%; 
    }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0; 
    background: var(--background-color); 
    color: var(--text-color);
    padding: 15px 30px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top: 3px solid var(--main-color);
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9em;
    text-align: left;
}

.cookie-banner a {
    color: var(--main-color);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-button {
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
    font-size: 0.9em;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.cookie-button.accept {
    background: var(--main-color);
    color: #fff;
}

.cookie-button.accept:hover {
    background: #148080; 
    transform: scale(1.05);
}

.cookie-button.reject {
    background: #333;
    color: var(--text-color);
    border: 1px solid #555;
}

.cookie-button.reject:hover {
    background: #444;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column; 
        text-align: center;
        padding: 20px; 
        gap: 15px; 
    }
    
    .cookie-banner p {
        text-align: center;
        width: 100%;
        line-height: 1.4;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: space-around; 
        gap: 15px; 
        max-width: 350px; 
        margin-top: 5px;
        margin: 5px auto 0 auto; 
    }
    
    .cookie-button {
        flex-grow: 1; 
    }
}