/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
    display: flex;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
header {
    background-color: #2c3e50;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #3498db;
    animation: colorChange 3s infinite alternate;
}

@keyframes colorChange {
    0% {
        color: #3498db;
    }

    100% {
        color: #9b59b6;
    }
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    white-space: nowrap;
}

nav ul li a:hover {
    background-color: #3498db;
    color: #fff;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #2c3e50;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: #3498db;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #3498db;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3498db, #8e44ad);
    color: white;
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid #c0392b;
}

.cta-button:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.introduction {
    padding: 4rem 0;
    background-color: #fff;
}

.introduction h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.introduction p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.level-card {
    background: linear-gradient(to bottom right, #ecf0f1, #bdc3c7);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-left: 5px solid #3498db;
}

.level-card:hover {
    transform: translateY(-10px);
}

.level-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: #ecf0f1;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 5px solid #3498db;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: #3498db;
    margin: 0 1rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.introduction>div>* {
    animation: fadeIn 0.8s ease-out forwards;
}

.introduction>div>*:nth-child(1) {
    animation-delay: 0.1s;
}

.introduction>div>*:nth-child(2) {
    animation-delay: 0.2s;
}

.introduction>div>*:nth-child(3) {
    animation-delay: 0.3s;
}

.introduction>div>*:nth-child(4) {
    animation-delay: 0.4s;
}

.introduction>div>*:nth-child(5) {
    animation-delay: 0.5s;
}

/* Legal Pages Styles */
.legal-section {
    background-color: #fff;
    padding: 3rem 0;
    min-height: calc(100vh - 220px);
}

.legal-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-section h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 3px solid #3498db;
    padding-bottom: 1rem;
}

.legal-section h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    padding-top: 1rem;
}

.legal-section h3 {
    color: #34495e;
    font-size: 1.4rem;
    margin: 1.5rem 0 0.8rem;
}

.legal-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    text-align: justify;
}

.legal-section ul,
.legal-section ol {
    margin: 1rem 0 1.5rem 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.legal-section li {
    margin-bottom: 0.8rem;
}

.legal-section strong {
    color: #2c3e50;
}

.contact-info {
    margin: 2rem 0;
}

.contact-method {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.contact-method h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.submit-btn {
    background-color: #3498db;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #2980b9;
}

.additional-info {
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav {
        width: 100%;
        overflow-x: auto;
    }

    nav ul {
        margin-top: 1rem;
        justify-content: center;
    }

    nav ul li {
        margin: 0.5rem;
    }

    /* Hide Legal dropdown on mobile */
    nav ul li.dropdown {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .levels,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem 0;
        justify-content: center;
    }

    .legal-section h1 {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.2rem;
    }

    .legal-section .container {
        padding: 0 15px;
    }

    .contact-method {
        padding: 1rem;
    }
}