/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(180deg, #00bff0, #0080b0); /* Gradient background */
    min-height: 100vh; /* Ensures it covers the full height of the viewport */
    display: flex;
    flex-direction: column;
    color: #333;
}

/* Header */
.header .titre{
    display: block;
    align-items: center;
    text-align: center;
    margin-top: -20px;
    
}
.header .titre h3{
    margin-top: -20px;
    font-style: italic;
    font-size: 14px;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #00bff0;
    padding: 10px 20px;
    color: white;
}

.header .logo {
    display: flex;
    align-items: center;
}

.header .logo img {
    height: 80px; /* Adjusted size for the logo */
    margin-right: 10px;
}

.header .logo h1 {
    font-size: 24px;
    margin: 0;
    font-weight: bold;
}

.header .contact {
    text-align: right;
}

.header .contact a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

/* Navbar */
.navbar {
    background-color: #333;
    display: flex;
    justify-content: center;
    position: relative; /* Create stacking context for navbar */
    z-index: 10; /* Ensure navbar is above other elements */
}

/* Navbar Menu */
.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Flex display for desktop */
}

.navbar li {
    margin: 0 15px;
    position: relative;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
}

.navbar a:hover {
    background-color: white;
    color: #00bff0;
    border-radius: 5px;
}

/* Dropdown Menu */
.navbar .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #555;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    z-index: 1000;
}

.navbar li:hover .dropdown {
    display: block;
}

.navbar .dropdown a {
    color: white;
    padding: 10px 15px;
    display: block;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.navbar .dropdown a:hover {
    background-color: #666;
}

/* Hamburger Menu */
.hamburger {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    background-color: white;
    height: 3px;
    width: 25px;
    margin: 4px 0;
    transition: transform 0.3s ease;
}

/* Mobile View */
@media (max-width: 768px) {
    /* Hide navbar menu by default */
    .navbar ul {
        display: none; /* Hidden by default */
        flex-direction: column; /* Stack items vertically */
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #333;
        padding: 10px 0;
    }

    /* Show navbar menu when 'show' class is added */
    .navbar ul.show {
        display: flex;
    }

    .navbar li {
        margin: 10px 0;
        text-align: center;
    }

    /* Display hamburger menu */
    .hamburger {
        display: flex;
    }
}


/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 300px; /* Adjust height as needed */
    background-image: url('bgg.jpg'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px; /* Add padding for better spacing on smaller screens */
    box-sizing: border-box; /* Include padding in width calculations */
}

.hero div {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    padding: 20px 30px; /* Adjust padding for better proportions */
    border-radius: 10px;
    max-width: 80%; /* Limit the width of the text container */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add a subtle shadow for depth */
}

.hero ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero p {
    font-size: 24px; /* Text size */
    line-height: 1.6; /* Line spacing */
    margin: 10px 0; /* Spacing between paragraphs */
    font-weight: bold; /* Bold text */
    text-transform: uppercase; /* Uppercase text */
    letter-spacing: 1px; /* Letter spacing */
    opacity: 0; /* Hidden initially */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transitions */
}

.hero p.active {
    opacity: 1; /* Show active text */
    transform: translateY(0); /* Reset position */
}

.hero p.inactive {
    opacity: 0; /* Hide inactive text */
    transform: translateY(20px); /* Slide down for inactive text */
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: auto; /* Allow the height to adjust based on content */
        padding: 20px 10px; /* Reduce padding for smaller screens */
    }

    .hero div {
        max-width: 95%; /* Expand the text container width on smaller screens */
        padding: 15px 20px; /* Adjust padding for smaller screens */
    }

    .hero p {
        font-size: 18px; /* Reduce font size for better readability */
    }
}

/* Info Sections */
.info-sections {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 30px 10px;
    gap: 20px;
    flex-wrap: wrap;
    background: linear-gradient(180deg, #00bff0, #0080b0);
}

.info-card {
    background-color: #111;
    width: 25%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.info-card img {
    width: 100%;
    height: auto;
    border-bottom: 5px solid #3ae8ee;
}

.info-card h2 {
    font-size: 18px;
    margin: 20px 0 10px 0;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card p {
    padding: 15px;
    font-size: 14px;
    color: white;
    line-height: 1.6;
}

/* Footer Section */
.footer-section {
    background-color: #111;
    color: white;
    padding: 50px 20px;
    padding-bottom:20px;
    padding-top: 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h2 {
    font-size: 20px;
    color: #ffd700;
    margin-bottom: 15px;
}

.footer-column p,
.footer-column a {
    font-size: 14px;
    color: #ccc;
    text-decoration: none;
    line-height: 1.6;
}

.footer-column a:hover {
    color: #ffd700;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    font-size: 20px;
    color: #ccc;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #ffd700;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .info-sections {
        flex-direction: column;
        gap: 20px;
    }

    .info-card {
        width: 90%;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}
