* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #000;
    --secondary-black: #333;
    --light-grey: #f5f5f5;
    --medium-grey: #888;
    --dark-grey: #444;
    --white: #fff;
    --border-color: #e0e0e0;
    --placeholder-color: #b0b0b0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--secondary-black);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.btn {
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-black);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-black);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-black);
    border: 1px solid var(--primary-black);
}

.btn-secondary:hover {
    background-color: var(--light-grey);
}

/* Header */
.main-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e9e9e9;
    position: fixed;
    top: 0;
    z-index: 1000;
    background-color: var(--white);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.logo {
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-black);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary-black);
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--medium-grey);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Language Switcher */
.language-switcher {
    position: relative;
    display: inline-block;
}

.language-btn {
    padding: 8px 12px;
    background-color: transparent;
    border: 1px solid var(--primary-black);
    color: var(--primary-black);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.2s, color 0.2s;
}

.language-btn:hover {
    background-color: var(--primary-black);
    color: var(--white);
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    min-width: 120px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 10px;
    padding: 5px 0;
    z-index: 1;
}

.language-dropdown.show {
    display: block;
}

.language-dropdown a {
    color: var(--primary-black);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.language-dropdown a:hover {
    background-color: var(--light-grey);
}

.language-dropdown a.active {
    font-weight: bold;
    background-color: var(--light-grey);
}

/* Hero Section */
.hero-section {
    padding-top: 150px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-logo-img {
    width: 200px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 40px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--dark-grey);
    margin-bottom: 30px;
    max-width: 500px;
}
.hero-section h1 {
    white-space: nowrap;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: var(--secondary-black);
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--medium-grey);
}

/* Features Section */
.features-section {
    width: 100%;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--medium-grey);
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background-color: var(--light-grey);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.feature-icon {
    width: 100px;
    height: 90px;
    font-size: 24px;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 5px;
}

.feature-description {
    font-size: 13px;
    color: var(--medium-grey);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    width: 100%;
}

/* Form section */
.form-section {
    padding-bottom: 80px;
    width: 100%;
}

.form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 480px;
    border: 1px solid #f0f0f0;
    margin: 0 auto;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-black);
}

.form-subtitle {
    font-size: 13px;
    color: var(--medium-grey);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: var(--secondary-black);
    font-weight: 500;
}

.input-row {
    display: flex;
    gap: 10px;
}

.input-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    color: var(--secondary-black);
    background-color: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--placeholder-color);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary-black);
    box-shadow: 0 0 0 1px var(--primary-black);
    outline: none;
}

.form-select option {
    color: var(--secondary-black);
    background-color: var(--white);
}

.form-select:invalid {
    color: var(--placeholder-color);
}

.form-select:focus:invalid {
    color: var(--secondary-black);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--medium-grey);
    pointer-events: none;
    font-size: 12px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.date-input-wrapper {
    position: relative;
}

.date-input-wrapper .form-input {
    padding-right: 40px;
}

.date-input-wrapper::after {
    content: '\f073';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--medium-grey);
    pointer-events: none;
    font-size: 14px;
}

.terms-container {
    display: flex;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 25px;
}

.terms-container input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
}

.terms-container label {
    font-size: 13px;
    color: var(--secondary-black);
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    background-color: var(--primary-black);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.submit-btn:hover {
    background-color: var(--secondary-black);
}

.message {
    text-align: center;
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    display: none;
}

.message.show {
    display: block;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.main-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-black);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    min-width: 150px;
    align-items: center;
}

.footer-logo {
    font-weight: 700;
    font-size: 24px;
    color: var(--white);
}

.footer-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.footer-link,
.footer-contact-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-link:hover,
.footer-contact-link:hover {
    color: var(--white);
}

.footer-contact-link i {
    margin-right: 10px;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.footer-social-icon {
    color: var(--white);
    font-size: 18px;
    transition: color 0.2s;
}

.footer-social-icon:hover {
    color: var(--light-grey);
}

.footer-bottom {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}
.rules-section {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 100px;
}

.rules-section h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
}

.rule-block {
    margin-bottom: 25px;
}

.rule-block h3 {
    font-size: 1.5rem;
    color: #007bff;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.rule-block ul {
    list-style: none;
    padding-left: 0;
}

.rule-block li {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}
.back-btn {
    display: none; 
    font-size: 24px;
    color: #333; 
    margin-right: 15px;
    text-decoration: none;
}
@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .btn-menu {
        display: none;
    }

    .burger-menu {
        display: block;
        font-size: 24px;
        color: var(--primary-black);
        cursor: pointer;
    }
    .hero-section{
        padding-bottom: 50px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 10px;
    }

    .btn {
        width: 80%;
        text-align: center;
    }

    .social-icons {
        margin-top: 15px;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        margin-bottom: 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-social-icons {
        justify-content: center;
    }
    .hero-section h1 {
        white-space: pre-wrap;
    }

    .hero-section h1 {
        font-size: 2.2rem; 
    }

    .mobile-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 10px 0;
        z-index: 1000;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: var(--medium-grey);
        font-size: 12px;
        transition: color 0.3s ease;
    }

    .mobile-nav-item i {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .mobile-nav-item.active {
        color: var(--primary-black);
    }
}