body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #275f78;
    color: white;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px; /* Adjust padding for container in header */
}

.header-content .logo {
    display: flex;
    flex-direction: column; /* Display logo elements vertically on smaller screens */
    align-items: center; /* Center logo elements */
}

@media (min-width: 768px) {
    .header-content .logo {
        flex-direction: row;
        align-items: center;
    }
}

.header-content .logo img {
    max-height: 50px; /* Adjust logo height */
    margin-right: 10px;
}

.header-content .logo h1 {
    margin: 0;
    font-size: 1.5em;
}

.header-content .logo p {
    margin: 0;
    font-size: 0.9em;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

nav li a:hover {
    background-color: #555;
}

.hamburger-icon {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-icon .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: transform 0.3s ease-in-out;
}

main {
    padding: 20px 0;
}

.hero {
    background-color: #e0f7fa;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 30px;
}

.hero h2 {
    margin-bottom: 15px;
    color: #263238;
}

.hero p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #455a64;
}

.hero-buttons a {
    margin: 0 10px;
}

.button {
    display: inline-block;
    background-color: #00bcd4;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.button.small {
    padding: 8px 15px;
    font-size: 0.9em;
}

.button.large {
    padding: 12px 25px;
    font-size: 1.1em;
}

.button:hover {
    background-color: #26c6da;
}

.button.secondary {
    background-color: #0097a7;
}

.button.secondary:hover {
    background-color: #00838f;
}

.featured-categories {
    margin-bottom: 40px;
}

.featured-categories h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #263238;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.category-item {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.category-item img {
    max-width: 80%;
    height: auto;
    margin-bottom: 15px;
}

.category-item h3 {
    margin-bottom: 10px;
    color: #263238;
}

.category-item a {
    color: #00bcd4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-item a:hover {
    color: #26c6da;
}

.new-arrivals {
    margin-bottom: 40px;
}

.new-arrivals h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #263238;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.product-item {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.product-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.product-item h3 {
    font-size: 1em;
    margin-bottom: 5px;
    color: #263238;
}

.product-item .category {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 5px;
}

.product-item .price {
    color: #00bcd4;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-us {
    background-color: #f9f9f9;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #ddd;
}

.contact-us h2 {
    margin-bottom: 20px;
    color: #263238;
}

.contact-us p {
    line-height: 1.6;
    color: #455a64;
    margin-bottom: 10px;
}

footer {
    background-color: #275f78; /* Changed footer background color */
    color: #ddd;
    padding: 40px 0;
    font-size: 0.9em;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
}

.footer-info {
     text-align: center; /* Cette ligne centre le texte des éléments */
}

.footer-info a {
    color: #00bcd4;
    text-decoration: none;
    align-items: center;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-social a {
    display: inline-block;
    margin-left: 15px;
}

.footer-social img {
    max-width: 30px;
    height: auto;
    vertical-align: middle;
}

/* Style adjustments for the header with navigation */
@media (min-width: 768px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }
    .header-content .logo {
        align-items: center;
    }
    nav {
        display: block !important; /* Ensure nav is visible on desktop */
        width: auto;
        position: static;
        background-color: transparent;
    }
    nav ul {
        flex-direction: row;
        align-items: center;
    }
    .hamburger-icon {
        display: none;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }
    .header-content .logo {
        align-items: center;
        margin-bottom: 10px;
    }
    nav {
        width: 100%;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 10;
    }
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }
    nav ul li a {
        padding: 10px 20px;
        width: 100%;
        box-sizing: border-box;
    }
    .hamburger-icon {
        display: flex;
        position: absolute;
        top: 15px;
        right: 15px;
    }
    nav.open {
        display: block;
    }
    .hamburger-icon.open .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .hamburger-icon.open .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-icon.open .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    .hero {
        padding: 30px 0;
    }
    .hero h2 {
        font-size: 1.8em;
        margin-bottom: 10px;
    }
    .hero p {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons a {
        margin: 5px 0;
        width: 80%;
        text-align: center;
    }
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    .home-portfolio .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .filters {
        flex-direction: column;
        align-items: flex-start;
    }
    .search-box {
        width: 100%;
        margin-bottom: 10px;
    }
    .search-box input[type="text"] {
        width: calc(100% - 80px);
    }
    .pagination {
        font-size: 0.8em;
    }
    .cart-section li {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 10px;
    }
    .cart-section li form {
        margin-top: 5px;
    }
    #order-form {
        padding: 15px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo {
        margin-bottom: 20px;
    }
    .footer-info {
        text-align: center;
        margin-bottom: 20px;
    }
    .footer-social {
        margin-top: 15px;
    }
    .footer-social a {
        margin: 0 10px;
    }
}

/* Style pour la page "À propos" */
.apropos main {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #f9f9f9;
}

.apropos .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

.apropos h2 {
    color: #263238;
    margin-bottom: 30px;
    text-align: center;
}

.apropos h3 {
    color: #00bcd4;
    margin-top: 25px;
    margin-bottom: 15px;
}

.apropos .overview p,
.apropos .objectives-vision p,
.apropos .departments .department p,
.apropos .conclusion p,
.apropos .contact p {
    line-height: 1.7;
    color: #455a64;
    margin-bottom: 15px;
}

.apropos .objectives-vision ol {
    list-style-type: decimal;
    padding-left: 30px;
    margin-bottom: 20px;
}

.apropos .objectives-vision li {
    margin-bottom: 10px;
}

.apropos .departments .department {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.apropos .departments .department ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.apropos .departments .department li {
    margin-bottom: 5px;
}

.apropos .departments .department li a {
    color: #00bcd4;
    text-decoration: none;
}

.apropos .departments .department li a:hover {
    text-decoration: underline;
}

.apropos .rd ul {
    list-style-type: disc;
    padding-left: 30px;
    margin-top: 10px;
}

.apropos .contact ul {
    list-style: none;
    padding-left: 0;
}

.apropos .contact li {
    margin-bottom: 5px;
}

.apropos .contact li a {
    color: #00bcd4;
    text-decoration: none;
}

.apropos .contact li a:hover {
    text-decoration: underline;
}

/* Style pour la page de contact */
.contact-page {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.contact-page .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-info {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    color: #263238;
    margin-bottom: 20px;
    text-align: left;
}

.contact-info p {
    line-height: 1.6;
    color: #455a64;
    margin-bottom: 20px;
}

.contact-details h3 {
    color: #00bcd4;
    margin-bottom: 15px;
}

.contact-details ul {
    list-style: none;
    padding: 0;
}

.contact-details li {
    margin-bottom: 10px;
}

.contact-details li strong {
    font-weight: bold;
    color: #333;
    margin-right: 5px;
}

.contact-details li a {
    color: #00bcd4;
    text-decoration: none;
}

.contact-details li a:hover {
    text-decoration: underline;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: #00bcd4;
    margin-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .button {
    background-color: #00bcd4;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.contact-form .button:hover {
    background-color: #26c6da;
}

@media (max-width: 768px) {
    .contact-page .container {
        grid-template-columns: 1fr;
    }
}

/* Style pour le catalogue page */
.catalogue {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.catalogue h2 {
    color: #263238;
    margin-bottom: 20px;
    text-align: center;
}

.filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 0;
}

.search-box {
    display: flex;
}

.search-box input[type="text"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    width: 300px;
}

.search-box button {
    background-color: #00bcd4;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.category-filter label {
    margin-right: 10px;
}

.category-filter select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.product-item {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.product-item img {
    width: 200px; /* Set your desired uniform width */
    height: 200px; /* Set your desired uniform height */
    margin-bottom: 10px;
    object-fit: cover; /* Or contain, scale-down, etc. */
}

.product-item h3 {
    font-size: 1em;
    margin-bottom: 5px;
    color: #263238;
}

.product-item .category {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 5px;
}

.product-item .price {
    color: #00bcd4;
    font-weight: bold;
    margin-bottom: 10px;
}

.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.pagination a.active {
    background-color: #00bcd4;
    color: white;
    border-color: #00bcd4;
}

.pagination p {
    margin-bottom: 10px;
}

/* ... existing CSS ... */
.cart-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.cart-section h2 {
    color: #00bcd4;
    margin-bottom: 15px;
}

.cart-section ul {
    list-style-type: none;
    padding: 0;
}

.cart-section li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-section li:last-child {
    border-bottom: none;
}

#order-form {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
}

#order-form h2 {
    color: #00bcd4;
    margin-bottom: 15px;
    text-align: left;
}

#order-form .form-group {
    margin-bottom: 15px;
}

#order-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

#order-form input[type="text"],
#order-form input[type="tel"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}

.add-to-cart-notification {
    background-color: #e8f5e9;
    color: #388e3c;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    text-align: center;
}

.order-success-notification {
    background-color: #e1f5fe;
    color: #0277bd;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    text-align: center;
}

/* Style pour la page portfolio */
.portfolio-page {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.portfolio-page .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.portfolio-page h2 {
    color: #263238;
    margin-bottom: 30px;
    text-align: center;
}

.portfolio-intro {
    line-height: 1.6;
    color: #455a64;
    margin-bottom: 40px;
    text-align: center;
}

.portfolio-search {
    text-align: center;
    margin-bottom: 30px;
}

.portfolio-search input[type="text"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    width: 300px;
    box-sizing: border-box;
}

.portfolio-search button {
    background-color: #00bcd4;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.portfolio-search button:hover {
    background-color: #26c6da;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.portfolio-image {
    flex-shrink: 0;
    width: 100%;
    height: 200px; /* Adjust as needed */
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: #eee;
    border: 1px solid #ccc;
    box-sizing: border-box;
    object-fit: contain;
}

.portfolio-details {
    padding: 20px;
}

.portfolio-details h3 {
    color: #00bcd4;
    margin-bottom: 10px;
}

.portfolio-details p {
    line-height: 1.6;
    color: #455a64;
    margin-bottom: 15px;
}

.portfolio-details a {
    color: #00bcd4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.portfolio-details a:hover {
    color: #26c6da;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-item {
        flex-direction: column;
    }
    .portfolio-image {
        height: auto;
    }
}


.home-portfolio {
    padding: 40px 0;
    background-color: #fff;
    text-align: center;
}

.home-portfolio h2 {
    color: #263238;
    margin-bottom: 20px;
}

.home-portfolio .portfolio-intro {
    line-height: 1.6;
    color: #455a64;
    margin-bottom: 30px;
}

.home-portfolio .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.home-portfolio .portfolio-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
}

.home-portfolio .portfolio-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 15px;
}

.home-portfolio .portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: #eee;
    border: 1px solid #ccc;
    box-sizing: border-box;
    object-fit: contain;
}

.home-portfolio .portfolio-details h3 {
    color: #00bcd4;
    margin-bottom: 10px;
}

.home-portfolio .portfolio-details p {
    font-size: 0.95em;
    color: #455a64;
    line-height: 1.5;
}

.home-portfolio .portfolio-details a {
    color: #00bcd4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.home-portfolio .portfolio-details a:hover {
    text-decoration: underline;
    color: #26c6da;
}

.home-portfolio .portfolio-cta a {
    display: inline-block;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .home-portfolio .portfolio-grid {
        grid-template-columns: 1fr;
    }
}


   /* Styles pour la page à propos (ajouts et modifications) */
    .apropos .intro {
        font-size: 1.1em;
        line-height: 1.7;
        color: #455a64;
        text-align: center;
        margin-bottom: 30px;
    }

    .products-services {
        padding: 40px 0;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        margin-bottom: 40px;
        padding: 30px;
    }

    .products-services h2 {
        color: #263238;
        margin-bottom: 20px;
        text-align: center;
    }

    .products-services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

    .service-item {
        padding: 20px;
        border: 1px solid #eee;
        border-radius: 4px;
        text-align: center;
    }

    .service-item h3 {
        color: #00bcd4;
        margin-bottom: 10px;
    }

    .service-item p {
        line-height: 1.6;
        color: #455a64;
        margin-bottom: 15px;
    }

    .service-item ul {
        list-style: none;
        padding-left: 0;
        margin-bottom: 15px;
    }

    .service-item ul li {
        margin-bottom: 5px;
        color: #455a64;
    }

    .team {
        padding: 40px 0;
        text-align: center;
    }

    .team h2 {
        color: #263238;
        margin-bottom: 20px;
    }

    .team-intro {
        line-height: 1.6;
        color: #455a64;
        margin-bottom: 30px;
    }
.team-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the team members horizontally */
    margin-bottom: 40px;
    padding: 30px 20px;
    max-width: 960px;
    width: 90%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.team-member {
    display: flex;
    flex-direction: column; /* Stack image and content vertically */
    align-items: center; /* Center items horizontally within the card */
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    max-width: 300px; /* Adjust max-width for a centered column layout */
    width: 100%;
    text-align: center; /* Fallback to center text if needed */
}

.team-member img {
    width: 120px; /* Adjust image size */
    height: 120px; /* Adjust image size */
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px; /* Add space between image and text */
    margin-right: 0; /* Remove right margin as it's no longer needed */
    flex-shrink: 0;
}

.team-member-info {
    width: 100%; /* Ensure text info takes full width */
}

.team-member h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.1em;
    font-weight: bold;
}

.team-member .role {
    color: #7f8c8d;
    font-size: 0.95em;
    margin-bottom: 10px;
}
    .contact {
        padding-top: 40px;
        text-align: center;
    }

    .contact h2 {
        color: #263238;
        margin-bottom: 20px;
    }

    .contact ul {
        list-style: none;
        padding-left: 0;
    }

    .contact li {
        margin-bottom: 5px;
    }

    .contact li a {
        color: #00bcd4;
        text-decoration: none;
    }

    .contact li a:hover {
        text-decoration: underline;
    }

    /* Responsive layout for team grid */
    @media (max-width: 600px) {
        .team-grid {
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        }
    }
