/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1C1C1E;
    background-color: #FAFBFD;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #003366;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.menu-checkbox {
    display: none;
}

.menu-toggle-label {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle-label span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #FF6F61;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('./img/4ap86.jpg') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin: 0 auto;
        top: -4px;
    position: relative;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary {
    background-color: #FF6F61;
    color: white;
}

.btn-primary:hover {
    background-color: #e55a4e;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #FF6F61;
    border: 2px solid #FF6F61;
}

.btn-secondary:hover {
    background-color: #FF6F61;
    color: white;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #003366;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.card h3 {
    color: #003366;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.advantage-item h3 {
    color: #FF6F61;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 1rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-checkbox {
    display: none;
}

.faq-question {
    display: block;
    padding: 1.5rem;
    background: #EBF5FB;
    cursor: pointer;
    font-weight: bold;
    color: #003366;
    border: none;
    width: 100%;
    text-align: left;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background: #D6EAF8;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-checkbox:checked + .faq-question + .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

.step-number {
    background: #FF6F61;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #003366;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #EBF5FB;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF6F61;
}

.form-group select option {
    background: white;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: #FF6F61;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-details {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-details h3 {
    color: #003366;
    margin-bottom: 1rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: #666;
}

.map-container {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 0.5rem;
}

/* Footer */
footer {
    background-color: #003366;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #FF6F61;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #FF6F61;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: none;
    max-width: 500px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-buttons .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.thanks-pages {
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: auto;
}
/* Thanks Page */
.thanks-section {
    margin: 3rem auto;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
}

/* Policy Pages Styles */
.policy-page {
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #EBF5FB 0%, #FDFEFE 100%);
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
}

.policy-header h1 {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 1rem;
    font-weight: bold;
    position: relative;
}

.policy-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FF6F61, #003366);
    border-radius: 2px;
}

.policy-header .subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.policy-content {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.policy-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #003366, #FF6F61, #003366);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.policy-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #FAFBFD 0%, #FDFEFE 100%);
    border-radius: 1rem;
    border-left: 5px solid #FF6F61;
    transition: all 0.3s ease;
    position: relative;
}

.policy-section:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left-color: #003366;
}

.policy-section h2 {
    color: #003366;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.policy-section h2::before {
    content: '📋';
    font-size: 1.4rem;
    background: linear-gradient(135deg, #FF6F61, #003366);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policy-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.policy-section ul {
    margin-left: 2rem;
    color: #555;
}

.policy-section li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
    position: relative;
    padding-left: 1.5rem;
}

.policy-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #FF6F61;
    font-weight: bold;
    font-size: 1.1rem;
}

.policy-contact {
    background: linear-gradient(135deg, #003366 0%, #FF6F61 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    text-align: center;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.policy-contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(180deg); }
}

.policy-contact h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.policy-contact p {
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
    opacity: 0.95;
}

.policy-actions {
    text-align: center;
    margin-top: 3rem;
}

.policy-actions .btn {
    background: linear-gradient(135deg, #FF6F61 0%, #003366 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.policy-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.policy-actions .btn:hover::before {
    left: 100%;
}

.policy-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: #FF6F61;
}

/* Special icons for different policy types */
.privacy-page .policy-section h2::before {
    content: '🔒';
}

.cookies-page .policy-section h2::before {
    content: '🍪';
}

.terms-page .policy-section h2::before {
    content: '⚖️';
}

.disclaimer-page .policy-section h2::before {
    content: '⚠️';
}

/* Responsive Design for Policy Pages */
@media (max-width: 768px) {
    .policy-header h1 {
        font-size: 2rem;
    }
    
    .policy-content {
        padding: 2rem 1.5rem;
        margin: 0 10px;
    }
    
    .policy-section {
        padding: 1.5rem;
    }
    
    .policy-section h2 {
        font-size: 1.4rem;
    }
    
    .policy-section:hover {
        transform: none;
    }
    
    .policy-contact {
        padding: 2rem 1.5rem;
    }
    
    .policy-contact h3 {
        font-size: 1.5rem;
    }
}

.thanks-section h1 {
    color: #003366;
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.thanks-section p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle-label {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #003366;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .menu-checkbox:checked ~ nav {
        max-height: 100vh;
        height: 100vh;
    }

    nav ul {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    nav a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #555;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .thanks-section {
        height: auto;
        margin: 1rem;
    }

    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .card,
    .advantage-item,
    .step-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Body overflow control for mobile menu */
body:has(#menu-toggle:checked) {
    overflow: hidden;
}
