/* General styling */
body {
    font-family: "Open Sans", Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212; /* Dark background */
    color: #E0E0E0; /* Light grey text */
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    color: #fff;
}

/* Header styling */
header {
    background-color: #2e3842;
    color: white;
    padding: 20px 0;
    text-align: center;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header nav ul li {
    display: inline-block;
    margin: 0 15px;
}

header nav ul li a {
    font-size: 18px;
    color: white;
    padding: 8px 15px;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
}

header nav ul li a:hover {
    background-color: #007bff;
    color: white;
    border-radius: 5px;
}

/* Main Section Styling */
section:not(#accueil){
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background-color: #1E1E1E;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Home Section */
#accueil {
    
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    z-index:1;
    overflow:hidden; /*if you want to crop the image*/
}
#accueil:before{
    z-index:-1;
    position:absolute;
    left:0;
    top:0;
    content: "";
    background: url("../images/layout-sbc.png") no-repeat 0 0;
    background-size: 100%;
    opacity:0.4;
    width: 100%;
    height: 100%;
}
#accueil h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

#accueil p {
    font-size: 20px;
    margin-bottom: 40px;
}

#accueil a {
    background-color: #007bff;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

#accueil a:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* About Section */
#about {
    background-color: #333;
    border-radius: 8px;
    padding: 20px;
}

#about p {
    font-size: 18px;
    line-height: 1.8;
}

/* Services Section */
#services ul {
    list-style: none;
    padding: 0;
}

#services ul li {
    padding: 15px;
    background-color: #444;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 18px;
    display: inline-block;
    align-items: center;
    transition: background-color 0.3s ease;
    width: 30%;
    min-height: 200px;
    vertical-align: top;
    text-align: center;
}

#services ul li:hover {
    background-color: #007bff;
    transition: background-color 0.3s;
    transform: translateY(-5px);
}
#services ul li:hover i.ti {
    color: #444;
    transition: color 3s;
}

#services ul li h3 {
    margin-left: 10px;
    font-size: 20px;
}

#services a {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    display: block;
    margin-top: 20px;
    transition: background-color 0.3s;
}

#services a:hover {
    background-color: #0056b3;
}

/* Contact Section */
#mainIndex #contact, .hidden {
    display: none;
}
#contact form {
    flex-direction: column; 
}

#contact form input, #contact form textarea {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 16px;
    background-color: #333;
    color: #fff;
}

#contact form button {
    background-color: #007bff;
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s;
}

#contact form button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Footer Section */
footer {
    background-color: #1F1F1F;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    font-size: 14px;
}
/* https://tablericons.com/ */
.ti { color:#007bff; font-size: 2em;}
