/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #0A0F1B;
    color: #fff;
    padding-top: 80px; /* Space below fixed header */
}

.container {
    width: 85%;
    margin: 0 auto;
}

/* Header and Navigation */
header {
    background-color: #0A0F1B;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 5px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #2196F3;
}

nav a.cta {
    background-color: #FF5722;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('../images/WhatsApp\ Image\ 2024-10-11\ à\ 20.21.16_8ca4911d.jpg') no-repeat center center/cover;
    text-align: center;
    position: relative;
    padding-top: 80px; /* Extra space to compensate for the fixed header */
}

.hero h1 {
    font-size: 48px;
    font-weight: 600;
}

.hero p {
    margin-top: 20px;
    font-size: 18px;
}

.cta-buttons {
    margin-top: 30px;
}

.cta-buttons a.cta-button {
    background-color: #2196F3;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    margin: 0 10px;
    transition: background-color 0.3s;
}

.cta-buttons a.secondary {
    background-color: #FF5722;
}

.cta-buttons a:hover {
    background-color: #0056B3;
}

/* Sections */
.section {
    padding: 100px 0;
}

.about, .services, .challenges, .contact {
    text-align: center;
}

.about h2, .services h2, .challenges h2, .contact h2 {
    font-size: 36px;
    margin-bottom: 30px;
}
/* Challenges Card */
.challenges .challenge-card {
    flex: 1; /* Make each card take equal width */
    margin: 10px; /* Space between each card */
    min-width: 200px; /* Minimum width to avoid being too small */
    padding: 15px; /* Padding inside the card */
    border: 1px solid #ccc; /* Border for the card */
    border-radius: 8px; /* Rounded corners */
    background-color: #f9f9f9; /* Background color for the card */
    color: #0A0F1B; /* Text color */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Shadow for depth */
    position: relative; /* Ensure positioning context for the circle */
    overflow: hidden;

}


.circle {
    width: 50px; /* Width of the circle */
    height: 50px; /* Height of the circle */
    border-radius: 50%; /* Create a complete circle shape */
    position: absolute; /* Absolute positioning */
    top: -20px; /* Move it above the card */
    right: -20px; /* Move it to the right */
    background-color: #28a745; /* Color of the circle */
    z-index: 1; /* Ensure it appears above the card background */
    transform: rotate(135deg); /* Adjust rotation if necessary */
}
.easy { 
    background-color: #28a745;
}
.medium { 
    background-color: #ffc107;
}
.hard { 
    background-color: #ff5722;
}
.advanced { 
    background-color: #e3182c;
}

.challenges {
    display: flex; 
    flex-direction: column; 
    align-items: center;
}
.challenge-wrapper {
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    margin: 20px 0;
}
.challenges .toggle-button {
    background-color: #FF5722;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
    cursor: pointer; 
    margin-bottom: 10px;
    
}


.challenges .toggle-button:hover {
    background-color: #007583;
}

.challenges .challenge-details {
    margin-top: 10px;
    padding: 10px;
    border-top: 1px solid #ccc;
    display: none;
}

.position-card div{
    display: flex;
    justify-content: center;

}
/* Contact Form */
form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

form label {
    display: block;
    margin-bottom: 10px;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: none;
}

form button {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #0056B3;
}

/* Logo Styling */
nav .logo img {
    width: 300px;  /* Adjust this value based on the preferred size */
    height: auto;  /* Maintain aspect ratio */
}

/* Footer Styling */
footer {
    background-color: #111;
    padding: 20px;
    text-align: center;
    color: white;
    margin-top: 50px;
}






















