:root {
    --orange: rgb(255, 167, 38);
    --white: #ffffff;
    --main-font: 'Russo One', sans-serif;
}

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

body {
    font-family: var(--main-font);
    font-style: italic;
}

/* Header Styles */
.header {
    background-image: url('header-background.png');
    background-size: cover;
    background-position: center;
    padding: 1rem 2rem;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 150px; /* Increased height to accommodate bigger logo */
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 35%;
    transition: height 0.3s ease;
}

.nav-menu {
    display: flex;
    gap: 4rem;
}

.nav-menu a {
    margin-top: 100px;
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.7rem;
    font-family: var(--main-font);
}

/* Hero Section Styles */
.hero {
    margin-top: -100px;
    height: calc(100vh - 50px);
    position: relative;
    background: linear-gradient(rgba(0, 0, 0,0.5), rgba(0, 0, 0,0.5)),
                url('hero-section-background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.hero h1 {
    font-family: var(--main-font);
    font-size: 4.5rem;
    font-style: italic;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero p {
    font-family: var(--main-font);
    font-size: 1.8rem;
    font-style: italic;
    text-transform: uppercase;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.cta-button {
    background: var(--orange);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.2rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    font-family: var(--main-font);
    letter-spacing: 1px;
}

/* Add these new styles */
.services-section {
    background-color: #215145;
    padding: 40px 20px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.service-card {
    background-color: rgba(181, 155, 125, 0.8);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.service-card img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1); /* Makes the icon white */
}

.service-card span {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    font-family: var(--main-font);
}

.services-banner {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 15px;
    background-color: rgba(181, 155, 125, 0.8);
    border-radius: 8px;
    text-align: center;
}

.services-banner p {
    color: white;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--main-font);
}

.solutions-section {
    padding: 60px 20px;
    margin: 0 auto;
    background: url('brick-texture.png'); /* Si vous voulez ajouter la texture de briques */
    background-size: contain;
    background-repeat: no-repeat;
}

.solutions-section-content{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.solutions-content {
    flex: 1;
}

.solutions-title {
    color: var(--orange);
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 30px;
    line-height: 1.2;
    font-family: var(--main-font);
}

.solutions-text {
    color: var(--orange);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-family: var(--main-font);
}

.solutions-button {
    background: var(--orange);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    font-weight: bold;
    font-family: var(--main-font);
}

.solutions-button::after {
    content: "›";
    margin-left: 10px;
    font-size: 1.5rem;
}

.solutions-image {
    flex: 1;
}

.solutions-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
}

@media (max-width: 768px) {
    .solutions-section {
        flex-direction: column;
        text-align: center;
    }

    .solutions-image {
        order: -1; /* Places image above text on mobile */
    }
}

.professional-services {
    background: url('1739531269870.jpg');
    background-repeat: no-repeat;
    background-position: center -100px;
    background-size: contain;
    padding: 60px 20px;
    background-color: #215145;
}

.services-header {
  max-width: 600px;
  margin-bottom: 100px;
  margin-left: 50%;
  color: white;
}

.services-header h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-family: var(--main-font);
}

.services-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    font-family: var(--main-font);
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.service-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1/0.8;
}

.service-item img {
    width: 100%;
    object-fit: cover;
}

.service-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: white;
    text-align: left;
}

.service-item h3 {
    color: var(--orange);
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: var(--main-font);
}

.service-item .btn-more {
    display: inline-flex;
    align-items: center;
    background: var(--orange);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-family: var(--main-font);
}

.btn-more::after {
    content: "›";
    margin-left: 8px;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Add these new styles */
.spacer {
    height: 50px;
}

.separator {
    height: 10px;
    background-color: var(--orange);
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Update products header styles */
.products-header {
    position: relative;
    margin: 0;
    padding: 0;
}

.products-title {
    background: white;
    padding: 20px;
    margin: 0;
}

.products-title h2 {
    color: var(--orange);
    font-size: 2.5rem;
    text-transform: uppercase;
    margin: 0;
    font-weight: bold;
    font-family: var(--main-font);
}

.products-banner {
    background-color: #808080; /* Grey background */
    height: 200px; /* Adjust height as needed */
    width: 100%;
}

.happiness-section {
    padding: 40px 0;
}

.happiness-header {
    text-align: left;
    padding: 0 20px;
    margin-bottom: 30px;
}

.happiness-header h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    color: #4A4A4A;
    line-height: 1.2;
    font-family: var(--main-font);
}

.offers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0; /* Remove gap between items */
}

.offer-item {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offer-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-content {
    position: absolute;
    top: 0;
    width: 30%;
    height: 100%;
    background: rgba(51, 51, 51, 0.9);
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Alternate content positioning */
.offer-item:nth-child(odd) .offer-content {
    right: 245px;
}

.offer-item:nth-child(even) .offer-content {
    left: 300px;
}

.offer-content h3 {
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    font-family: var(--main-font);
}

.offer-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--orange);
}

.offer-content p {
    font-size: 1rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    line-height: 1.4;
    font-family: var(--main-font);
}

.offer-button {
    display: inline-flex;
    align-items: center;
    background: var(--orange);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background 0.3s ease;
    font-family: var(--main-font);
}

.offer-button::after {
    content: "›";
    margin-left: 10px;
    font-size: 1.2rem;
}

.offer-button:hover {
    background: #ff9100;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .offer-item {
        height: 300px; /* Slightly shorter on mobile */
    }
    
    .offer-item .offer-content {
        width: 100%;
        left: 0 !important;
        right: 0 !important;
    }

    .offer-content h3 {
        font-size: 1.5rem;
    }
}

/* Update Service Features Styles */
.service-features {
    padding: 60px 20px;
    background: linear-gradient(rgba(119, 71, 0,0.8), rgba(119, 71, 0,0.8)), url('background-service.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.service-features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

.service-content {
    width: 60%;
}

.service-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-family: var(--main-font);
}

.service-subtitle {
    font-size: 1.1rem;
    margin-bottom: 50px;
    opacity: 0.9;
    text-transform: uppercase;
    font-family: var(--main-font);
}

.services-page .service-item {
    height: 250px; /* Smaller height only for services page */
}

.services-page .service-item-content {
    padding: 15px;
}

.services-page .service-item-content h3 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.services-page .btn-more {
    padding: 5px 15px;
    font-size: 0.75rem;
}

.services-page .btn-more::after {
    margin-left: 5px;
    font-size: 1rem;
}

.services-page .services-row {
    gap: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.service-image {
    width: 40%;
    position: relative;
    display: flex;
    align-items: center;
}

.service-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    width: 120px;
    height: 120px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.feature-icon img {
    width: 50px;
    height: 50px;
}

.feature-icon::after {
    content: '✓';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-weight: bold;
}

.feature-content {
    max-width: 300px;
}

.feature-content h3 {
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: var(--main-font);
}

.feature-content p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.4;
    font-family: var(--main-font);
}

@media (max-width: 992px) {
    .service-features-container {
        flex-direction: column;
    }

    .service-content {
        width: 100%;
    }

    .service-image {
        width: 100%;
        margin-top: 40px;
    }

    .service-image img {
        height: 400px;
    }
}

/* Partners Section */
.partners {
    padding: 40px 20px;
    background: white;
}

.partners-title {
    text-transform: uppercase;
    color: #4A4A4A;
    margin-bottom: 30px;
    font-size: 1.5rem;
    text-align: left;
}

.expertises-partners-title {
    text-transform: uppercase;
    color: #4A4A4A;
    margin-bottom: 30px;
    font-size: 2.5rem;
    text-align: center;
}

.partners-carousel {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-logo {
    max-width: 150px;
    height: 100px;
    object-fit: contain;
}

/* Footer Styles */
.footer {
    background: linear-gradient(rgba(119, 71, 0, 0.8), rgba(119, 71, 0, 0.8)),
                url('footer-background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 40px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo img {
    width: 300px;
    height: auto;
}

.footer-section h4 {
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
    font-family: var(--main-font);
}

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

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: var(--orange)!important;
    width: 40px;
    height: 40px;
    border-radius: 20%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background: #ff9100;
}

.social-links i {
    font-size: 20px;
}

.footer-bottom {
    text-align: right;
    padding: 20px;
    background: var(--orange);
    color: white;
}

/* Add italic style where needed */
.hero h1,
.hero p,
.service-subtitle {
    font-style: italic;
    transform: skew(-5deg); /* Adds a slight slant for that dynamic look */
}

/* Add these new styles */
.double-separator {
    display: flex;
    flex-direction: column;
    height: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.double-separator .orange {
    height: 10px;
    background-color: var(--orange);
}

.double-separator .brown {
    height: 10px;
    background-color: #8B4513; /* Brown color */
}

/* General responsive styles */
@media (max-width: 768px) {
    /* Typography adjustments */
    .service-title, 
    .solutions-title,
    .products-title h2 {
        font-size: 2rem;
    }

    .service-subtitle,
    .solutions-text {
        font-size: 1rem;
    }

    /* Hero section */
    .hero h1 {
        font-size: 2.5rem;
    }

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

    /* Services section */
    .services-container {
        flex-direction: column;
        padding: 20px;
    }

    .service-card {
        width: 100%;
        margin-bottom: 20px;
    }

    /* Solutions section */
    .solutions-section {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }

    .solutions-image {
        order: -1;
        margin-bottom: 30px;
    }

    /* Service features */
    .service-features-container {
        flex-direction: column;
        padding: 20px;
    }

    .service-content {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-item {
        margin-bottom: 30px;
    }

    .service-image {
        width: 100%;
        margin-top: 30px;
    }

    /* Offers grid */
    .offer-item {
        height: auto;
        min-height: 300px;
    }

    .offer-content {
        position: relative;
        width: 100%;
        left: 0 !important;
        right: 0 !important;
        background: rgba(51, 51, 51, 0.95);
    }

    .offer-content h3 {
        font-size: 1.5rem;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }

    .footer-logo {
        text-align: center;
    }

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-info {
        text-align: center;
        margin-top: 20px;
    }
}

/* Smaller devices */
@media (max-width: 480px) {
    /* Further typography reduction */
    .hero h1 {
        font-size: 2rem;
    }

    .service-title, 
    .solutions-title,
    .products-title h2 {
        font-size: 1.75rem;
    }

    /* Adjustments for very small screens */
    .feature-icon {
        width: 100px;
        height: 100px;
    }

    .feature-icon img {
        width: 40px;
        height: 40px;
    }

    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-links a {
        width: 35px;
        height: 35px;
    }
}

/* Navigation menu responsive */
@media (max-width: 992px) {
    header .social-links{
        display: none;
    }
    .header{
        background-position: left center;
    }
    .services-header{
      margin-left: 0;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 50px 20px;
        transition: 0.3s;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1001;
        background: none;
        border: none;
        color: white;
        font-size: 30px;
        cursor: pointer;
        width: 40px;
        height: 40px;
        padding: 0;
        background-color: var(--orange);
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu a {
        margin: 10px 0;
        font-size: 1.2rem;
    }

    .logo img {
        width: 50%;
    }
    .solutions-section-content{
        flex-direction: column-reverse;
    }
    .offer-item img{
        display: none;
    }
}


@media(max-width: 500px){
    .header{
        background-position: center;
    }
    .logo img{
        margin-top:-70px;
    }
}
@media (min-width: 1024px){
    .menu-toggle{
        display: none;
    }
    header .social-links{
        position: absolute;
        right: 20px;
        top: 0px;
    }
}

.experience-badge {
    background: #FDB813;
    color: white;
    padding: 30px 40px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 30px;
    text-transform: uppercase;
    line-height: 1.2;
}

.experience-badge .years {
    font-size: 4rem; /* Twice the size */
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.experience-badge .text {
    font-size: 2rem;
    font-weight: bold;
}

@media (max-width: 992px) {
    .experience-badge .years {
        font-size: 3rem;
    }
    
    .experience-badge .text {
        font-size: 1.5rem;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.whatsapp-float i {
    margin-top: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.modal-content {
    background: var(--orange);
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    cursor: pointer;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid white;
    border-radius: 10px;
    background: transparent;
    color: white;
    font-family: var(--main-font);
}

.form-group input::placeholder {
    color: white;
    opacity: 0.8;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-transform: uppercase;
}

.submit-btn {
    background: white;
    color: var(--orange);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    text-transform: uppercase;
    font-family: var(--main-font);
    font-weight: bold;
}

@media (max-width: 768px) {
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}
a{
    text-decoration: none!important;
}
footer a{
    color: #fff!important;
}
