/* =============== VARIABLES =============== */
:root {
    --header-height: 110px;
    --navy-blue: #1a94c3;
    --red: #f69507;
    --light-blue: #4a5d78;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --transition: all 0.3s ease;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 5px;
}

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

main > *:not(.hero) {
    position: relative;
    z-index: 2; 
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    max-width: 100vw;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* =============== HEADER & NAVBAR =============== */
.header {
    position: absolute;
    top: 0; 
    width: 100%;
    height: var(--header-height);
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    z-index: 999; 
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

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

.logo {
    height: 90px;
    width: auto;
    margin: 10px 0;
}

/* =============== NAVIGATION ITEMS =============== */
.nav-list {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-item > a {
    padding: 0 1rem;
    color: var(--navy-blue);
    font-weight: 500;
    height: 100%;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.nav-item > a:hover {
    color: var(--red);
}


.dropdown-toggle::after {
    content: "";
    display: inline-block;
    margin-left: 5px;
    margin-top: 2px;
    width: 16px;
    height: 13px;
    background-image: url("../images/icones/chevron-en-bas.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: var(--transition);
}

.nav-item:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* =============== DROPDOWN MENU =============== */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 10px 0;
    z-index: 10;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: block;
    color: var(--navy-blue);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: var(--light-gray);
    color: var(--red);
}

/* =============== CONTACT & BURGER =============== */
.contact-burger {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-btn {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.contact-btn:hover {
    background-color: var(--red);
}

.burger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy-blue);
    cursor: pointer;
    padding: 10px;
    transition: var(--transition);
    z-index: 1001;
}

.burger:hover {
    color: var(--red);
}

.burger.fa-times {
    font-size: 1.8rem;
}

body.menu-open {
    overflow: hidden;
}

@media screen and (max-width: 1024px) {
    .burger {
        display: block;
    }
    
    .nav-list {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
    }
    
    .nav-list.show {
        animation: slideInFromRight 0.3s ease-out;
    }
    
    @keyframes slideInFromLeft {
        from {
            right: -100%;
        }
        to {
            right: 0;
        }
    }

    .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* =============== HERO =============== */
.hero {
    position: relative;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-height));
    max-height: 1000px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(42, 59, 85, 0.7) 0%,
        rgba(42, 59, 85, 0.4) 30%,
        rgba(42, 59, 85, 0.6) 70%,
        rgba(42, 59, 85, 0.8) 100%
    );
    z-index: 1;
}

.overlay-home-medium,
.overlay-home-small {
    position: absolute; 
}

.overlay-home-large {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 45%;
    background: linear-gradient(
        135deg,
        rgba(42, 59, 85, 0.9) 0%,
        rgba(42, 59, 85, 0.8) 50%,
        rgba(42, 59, 85, 0.7) 100%
    );
    transform-origin: top left;
    z-index: 2;
}

.overlay-home-medium {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 25%;
    width: 35%;
    background: linear-gradient(
        135deg,
        rgba(42, 59, 85, 0.6) 0%,
        rgba(42, 59, 85, 0.5) 50%,
        rgba(42, 59, 85, 0.4) 100%
    );
    transform-origin: top left;
    z-index: 3;
}

.overlay-home-small {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 45%;
    width: 25%;
    background: linear-gradient(
        135deg,
        rgba(42, 59, 85, 0.3) 0%,
        rgba(42, 59, 85, 0.2) 50%,
        rgba(42, 59, 85, 0.1) 100%
    );
    transform-origin: top left;
    z-index: 4;
}

.skew {
    transform: skewX(-15deg);
    transform-origin: top left;
}

.hero-content {
    position: relative;
    z-index: 5;
    height: 85%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero-title-img {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 75%;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.features-section {
    padding: 60px 0;
    background-color: #fff;
}

.features-section p {
    margin-bottom:20px !important ;
    line-height: 1.8;
    font-size: 1.1rem;
}

.auto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    padding-top: 50px;
    margin-top: 50px;
}

h2 {
    padding-bottom: 20px;
}


.row {
    display: flex;
    flex-wrap: wrap;
}

.sec-title {
    width: 100%;
    text-align: left;
}

.sec-title h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--navy-blue);
    font-family: Arial, sans-serif;
}

.sec-title .text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    max-width: 100%;
    margin: 0;
    text-align: justify;
    
}

.services-section {
    background-color: #fff;
    padding-bottom: 80px;
}

.auto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.services-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--navy-blue); 
    font-family: Arial, sans-serif;
    text-align: left;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    border: 2px solid #2a3b55;
    border-radius: 4px;
    transition: all 0.3s ease;
    height: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

.service-card:hover {
    border: 2px solid var(--red);
}

.service-card:hover svg{
    color: var(--red);
}

.service-card:hover .service-text p {
    color: #333; 
}

.service-card:hover .service-section-title {
    color: var(--red);
}

.icon-box img {
    width: 60px;
    height: 60px;
    transition: filter 0.3s ease;
}

.service-text {
    text-align: center;
}

.service-text p {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin: 0;
    transition: color 0.3s ease;
}

.service-section-title {
    font-size: 20px;
    line-height: 1.5;
    color: var(--navy-blue);
    text-align: center;
    transition: color 0.3s ease;
}


/* =============== ZONES D'INTERVENTION =============== */
.zones-section {
    position: relative;
    padding: 0;
}

.zones-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px;
    overflow: hidden;
}

.zones-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(42, 59, 85, 0.5);
    z-index: 1;
}

.zones-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    color: var(--white);
}

.zones-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.zones-left {
    flex: 0 1 40%;
}

.zones-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--white);
    text-align: left;
}

.zones-cities-box {
    background: rgba(42, 59, 85, 0.7);
    padding: 30px;
    border-radius: 5px;
    flex: 0 1 50%;
    min-width: 320px;
}

.zones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.zones-list {
    list-style: none;
}

.zones-list li {
    font-size: 18px;
    display: flex;
    align-items: center;
    color: var(--white);
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
}

/* =============== RED SECTION =============== */
.services-highlight-section {
    background-color: var(--navy-blue); 
    padding: 50px 0;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.services-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-highlight-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
    gap:1rem;
}

.service-highlight-card .icon-box img {
    width: 60px;
    height: 60px;
}

.service-highlight-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
}

.service-highlight-text p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}


/* =============== SECTION RÉALISATIONS =============== */
.last-realisation {
    background-color: #fff;
    overflow: hidden;
    position: relative;
  }
  
  .wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  .last-realisation h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--navy-blue);
    text-align: left;
    padding-bottom: 40px;
  }
  
  .section-gallery {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 1) 20%,
      rgba(0, 0, 0, 1) 80%,
      rgba(0, 0, 0, 0)
    );
  }
  
  .swiper-wrapper {
    display: flex;
    height: 100%;
    position: relative;
  }
  
  @keyframes scrollLeft {
    to {
      left: -300px;
    }
  }
  
  .gallery2-item {
    flex: 0 0 300px; 
    width: 300px; 
    margin-right: 10px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: absolute;
    height: 300px;
    border: 2px solid var(--navy-blue);
    left: max(calc(310px * 8), 100%); 
    animation-name: scrollLeft;
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
  
  .gallery2-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .gallery2-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--navy-blue);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  
  .gallery2-text h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
  }
  
  .gallery2-text h3 a {
    color: #fff;
    text-decoration: none;
  }
  
  .gallery2-item:hover .gallery2-img {
    transform: scale(1.05);
  }
  
  .gallery2-item:hover .gallery2-text {
    transform: translateY(0);
  }
  
  .gallery2-item:nth-child(1) {
    animation-delay: calc(40s / 8 * (8 - 1) * -1);
  }
  
  .gallery2-item:nth-child(2) {
    animation-delay: calc(40s / 8 * (8 - 2) * -1);
  }
  
  .gallery2-item:nth-child(3) {
    animation-delay: calc(40s / 8 * (8 - 3) * -1);
  }
  
  .gallery2-item:nth-child(4) {
    animation-delay: calc(40s / 8 * (8 - 4) * -1);
  }
  
  .gallery2-item:nth-child(5) {
    animation-delay: calc(40s / 8 * (8 - 5) * -1);
  }
  
  .gallery2-item:nth-child(6) {
    animation-delay: calc(40s / 8 * (8 - 6) * -1);
  }
  
  .gallery2-item:nth-child(7) {
    animation-delay: calc(40s / 8 * (8 - 7) * -1);
  }
  
  .gallery2-item:nth-child(8) {
    animation-delay: calc(40s / 8 * (8 - 8) * -1);
  }

/* =============== Footer Styles =============== */
.footer {
    background-color: #273352;
    color: white;
    padding: 40px 0 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-sections {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
    padding: 0 15px;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 700;
    color: white;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 15px;
}

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

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--red);
}

.logo-footer {
    display: block;
    margin-bottom: 20px;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    width: fit-content;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    font-size: 15px;
}

.contact-info a {
    color: white;
    text-decoration: none;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.contact-info a i {
    margin-right: 10px;
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.copyright {
    font-size: 14px;
    margin-bottom: 10px;
}

.copyright a {
    color: white;
    text-decoration: none;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    font-size: 14px;
}

.footer-links a:hover, 
.copyright a:hover {
    text-decoration: underline;
}

/*=============== CTC ===============*/
.main-ctc {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: -192px;
    top: 12rem;
    z-index: 100;
    gap: 8px;
}

.main-ctc .ctc-container {
    display: flex;
    flex-direction: row;
    transition: all 0.5s ease-in-out;
    background-color: transparent;
    border-top-left-radius: 4rem;
    border-bottom-left-radius: 4rem;
    text-decoration: none;
    color: black;
}

.main-ctc .ctc-container .ctc-btn {
    width: 48px;
    height: 48px;
    display: flex;
    background-color: var(--red);
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: var(--black);
    border-radius: 10px;
    transition: all 0.5s ease-in-out;
}

.main-ctc .ctc-container .ctc-btn .ctc-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: all 0.5s ease-in-out;
}

.main-ctc .ctc-container .ctc-info-container {
    width: 192px;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-ctc .ctc-container:hover {
    transition: all 0.5s ease-in-out;
    background-color: #ffffff;
    transform: translateX(-192px);
    box-shadow: 0px 0px 15px -3px rgba(0, 0, 0, 0.25);
}

.main-ctc .ctc-container:hover .ctc-btn {
    transform: rotate(360deg);
    border-radius: 20%;
    transition: all 0.5s ease-in-out;
}

.reverse {
    flex-direction: row-reverse;

}

.block-reverse {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
}

.align-left {
    text-align: left !important;
}

.align-right {
    text-align: right !important;
}

/* ============ Contact Button ============ */
.contact-2 {
    margin-top: 40px;
}
.contact-btn-2 {
    display: flex;
    justify-content: center;
    background-color: var(--red);
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 50px 15px 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transform: skew(-20deg);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 0 auto;
    width: fit-content;
}

.contact-btn-2 span {
    transform: skew(20deg);
    display: block;
}

.contact-btn-2:hover {
    background-color: var(--red);
    transform: skew(-20deg) translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 66, 66, 0.3);
}

.mobile-phone-icon {
    display: none;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.mobile-phone-icon img {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.mobile-phone-icon:hover img {
    opacity: 0.7;
    transform: scale(1.1);
}

.contact-burger {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-item-contact {
    display: none;
    width: 100%;
    height: auto;
    margin: 0 !important; 
    padding: 0 !important; 
}

.nav-item-contact > a {
    width: 100%; 
    color: #D3212F !important;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.nav-item-contact > a:hover {
    color: #0056b3 !important;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 4px;
}

/* ============== IMAGE TEXT SECTION RIGHT ============== */
.image-text-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.image-text-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-content-left {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.text-content-left {
    flex: 1; 
    order: 1; 
}

.image-content-left {
    flex: 1;
    max-width: 500px;
    order: 2; 
}

.image-content-left img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section-title-left {
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
    width: 100%;
    text-align: left;
    line-height: 1.1;
}

.img-content-left {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.text-content-left p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.bottom-content {
    max-width: 100%;
}

.bottom-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    margin-top: 0;
}
/* =============== Blue Section =============== */
.blue-text-section {
    padding: 4rem 0;
    background: var(--navy-blue); 
    color: white;
}

.blue-text-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blue-text-container h2 {
    font-size: 2.5rem;
    color: white;
    font-weight: bold;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.blue-text-container p {
    font-size: 1.1rem;
    color: white;
    line-height: 1.8;
    text-align: justify;
    margin: 0;
}

/* =============== LISTE AVEC FLÈCHES =============== */
.arrow-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}


.arrow-list p {
    margin-bottom: 10px;
}

.arrow-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
}

.arrow-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    color: #FFFFFF;
    font-size: 1.3rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .blue-text-container {
        padding: 0 1rem;
    }
    
    .blue-text-container h2 {
        font-size: 2rem;
    }
    
    .arrow-list li,
    .arrow-list-styled li {
        font-size: 1rem;
    }
}

/* =============== Image Section Right =============== */

.image-text-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.image-text-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-content-right {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.image-content-right {
    flex: 1;
    max-width: 500px;
}

.image-content-right img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.text-content-right {
    flex: 1;
}

.section-title-right {
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
    width: 100%;
    text-align: left;
    line-height: 1.1;
}

.img-content-right {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.text-content-right p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.bottom-content {
    max-width: 100%;
}

.bottom-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    margin-top: 0;
}

/* =============== REALISATIONS AND SERVICES =============== */
.services-types-section {
    padding: 40px 0;
}
.auto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-types-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.services-types-title h2 {
    font-size: 2.2rem;
    color: var(--navy-blue);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.services-types-title h2::before,
.services-types-title h2::after {
    content: '';
    position: absolute;
    top: 40%;
    width: 80px;
    height: 2px;
    background-color: var(--navy-blue);
}

.services-types-title h2::before {
    left: -100px;
}

.services-types-title h2::after {
    right: -100px;
}

.services-grid-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.card-content {
    position: relative;
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    min-height: 250px;
    margin-bottom: 20px;
}

.card-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.card-content img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}
.overlay-photo {
    background: rgba(42, 59, 85, 0.6);
    position: absolute;
    inset: 0; 
    transition: opacity 0.4s ease;
}

.card-content:hover img {
    transition: 300ms ease-out;
}

.card-content:hover .overlay-photo {
    opacity: 0;
}

.service-label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--red);
    color: white;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(246, 149, 7, 0.3);
    z-index: 10;
    transition: all 0.4s ease;
}

.card-content:hover .service-label {
    background-color: #FFFFFF;
    color: var(--red);
    border: 2px solid var(--red);
    font-weight: 700;
}

/* =============== CTA =============== */
.cta-section {
    text-align: center;
    position: relative;
    width: 100%;
  }
  
  .cta-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 100px 20px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
  }
  
  .cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8));
    z-index: 1;
  }
  
  .cta-container > * {
    position: relative;
    z-index: 2;
  }
  
  .cta-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .cta-button {
    display: inline-block;
    background-color: var(--red);
    color: white;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.4);
  }
  
  .cta-button:hover {
    background-color: var(--navy-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 57, 43, 0.6);
  }

  /* =============== MENTION LEGALE =============== */
  main > *:not(.hero-2) {
    position: relative;
    z-index: 2;
}

.hero-2 {
    position: relative;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: calc(50vh - var(--header-height));
    max-height: 1000px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 1;
}

.hero-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--navy-blue);
    z-index: 1;
}

.hero-content-2 {
    position: relative;
    z-index: 5;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero-title {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 75%;
    animation: fadeInUp 1s ease-out;
    text-align: center;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 190px 0 0;
}

.legal-page {
    max-width: 100px;
    margin: 60px auto;
    padding: 0 20px;
    color: #333;
    font-size: 15px;
    line-height: 1.8;
}

.legal-card {
    background-color: transparent;
    border: 2px solid #2a3b55;
    border-radius: 12px;
    padding: 30px;
    margin: 0 0px 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.legal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 0 2px 2px 0;
}

.legal-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.legal-card h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--navy-blue);
    font-weight: 600;
    padding-left: 15px;
}

.legal-card p {
    margin: 0;
    text-align: justify;
    padding-left: 15px;
    color: #555;
    line-height: 1.7;
}

.legal-card a {
    color: inherit; 
    text-decoration: none; 
    font-weight: inherit; 
    font-size: inherit; 
}

.legal-card a:hover {
    color: var(--navy-blue); 
    text-decoration: underline; 
    transition: color 0.2s ease;
}

.legal-card a:focus {
    outline: 2px solid var(--navy-blue);
    outline-offset: 2px;
    border-radius: 2px;
}

/* =============== CONTACT PAGE =============== */

main > *:not(.hero-contact) {
    position: relative;
    z-index: 2;
}

.hero-contact {
    position: relative;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: calc(70vh - var(--header-height)); 
    min-height: 400px; 
    max-height: 1200px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 1;
}

.hero-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--navy-blue);
    z-index: 1;
}

.hero-content-contact {
    position: relative;
    z-index: 5;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 15px;
}

.hero-title-contact {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
    text-align: center;
}

/* =============== REALISATION =============== */

.property-section {
    max-width: 1200px;
    margin: 200px auto 80px auto;
    padding: 0 20px;
}

.property-card-top {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 100px;
    margin-top: 100px;
}

.property-card-top .property-image {
    width: 50%;
    padding-right: 40px;
}

.property-card-top .property-content {
    width: 50%;
    padding-left: 40px;
    padding-top: 20px;
    text-align: right; 
}

.property-card-bottom {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
}

.property-card-bottom .property-image {
    width: 50%;
    padding-left: 40px;
}

.property-card-bottom .property-content {
    width: 50%;
    padding-right: 40px;
    padding-top: 20px;
    text-align: left;
}

.property-image img {
    width: 100%;
    height: auto;
    display: block;
}

.property-content h2 {
    font-size: 28px;
    font-weight: bold;
    color: var(--navy-blue);
    margin-bottom: 20px;
    margin-top: -18px;
    position: relative;
    padding-top: 20px;
    text-align: left; 
}

.property-content h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 540px;
    height: 4px;
    background-color: var(--navy-blue);
}

.property-content p {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 40px;
    text-align: justify;
}

.btn-left, .btn-right {
    background-color: var(--red);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 14px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-left:hover, .btn-right:hover {
    background-color: var(--navy-blue);
}

@keyframes appear {
    from{
        opacity:0;
        scale:0.5;
    }
    to{
        opacity:1;
        scale:1;
    }
}

.property-image{
    animation: appear linear;
    animation-timeline: view();
    animation-range : entry 0% cover 40%;
}

.property-image.bordered{
    animation: appear linear;
    animation-timeline: view();
    animation-range : entry 0% cover 40%;
}

.property-content{
    animation: appear linear;
    animation-timeline: view();
    animation-range : entry 0% cover 40%;
}

/* =============== RESPONSIVE =============== */
@media screen and (max-width: 1024px) {

    main > section:first-of-type {
        margin-top: 0;
    }
    .nav-list {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: calc(100dvh - var(--header-height));
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding-left: 1rem;
        padding-right: 1rem;
        transition: var(--transition);
        overflow-y: auto;
        box-shadow: var(--box-shadow);
        z-index: 999;
    }

    .nav-list.show {
        right: 0;
    }

    .nav-item {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .nav-item > a {
        width: 100%;
        padding: 10px 0;
        justify-content: space-between;
    }

    .dropdown-menu {
        position: initial;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background-color: transparent;
    }
    .dropdown-menu a {
    padding: 8px 20px;
    }

    .dropdown-menu.show {
        display: block;
    }

    .burger {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--navy-blue);
        cursor: pointer;
        display: fixed;
        padding: 10px;
    }
    
    .overlay-home-large {
        width: 60%;
    }

    .overlay-home-medium {
        left: 35%;
        width: 40%;
    }

    .overlay-home-small {
        left: 55%;
        width: 30%;
    }

    .overlay-home-large,
    .overlay-home-medium,
    .overlay-home-small {
        position: absolute;
    }

    .hero-title-img {
        max-width: 80%;
        font-size: 30px;
    }
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .main-ctc {
        display: none;
    }
    .space-option {
        margin-top: 20px;
    }

    .contact-btn {
        display: none;
    }

    .mobile-phone-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .contact-burger {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    .nav-item-contact {
        display: block;
        margin: 0;
    }

    .image-text-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 50px;
    }

    .text-content-left p {
        font-size: 12px;
        line-height: 1.7;
        text-align: justify;
    }
    .text-content-right p {
        font-size: 12px;
        line-height: 1.7;
        text-align: justify;
    }
    .bottom-content p {
        font-size: 12px;
        line-height: 1.7;
        text-align: justify;
        margin-top: 0;
    }

}

@media screen and (max-width: 768px) {
    .header {
        position: fixed !important;
        top: 0;
        z-index: 1000;
        background-color: var(--white);
    }
    body {
        padding-top: var(--header-height);
    }
    .navbar {
        padding: 0 1rem;
    }

    main {
        position: relative;
        z-index: 1;
    }

    .logo {
        height: 50px;
    }

    .contact-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .skew {
        transform: skewX(-10deg);
    }

    .overlay-home-large {
        width: 70%;
    }

    .overlay-home-medium {
        left: 40%;
        width: 45%;
    }

    .overlay-home-small {
        left: 60%;
        width: 35%;
    }

    .hero-title-img {
        max-width: 100%;
        padding-right: 0;
    }

    .hero {
        position: relative !important;
        top: 0 !important;
        height: 60vh;
        margin-top: 0;
    }

    main > *:not(.hero) {
        position: relative;
        z-index: 2;
        background-color: #fff;
    }

    .features-section {
        padding: 40px 0;
    }
    
    .sec-title h2 {
        font-size: 30px;
        line-height: 1.0;
    }
    
    .sec-title .text {
        font-size: 14px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-title {
        font-size: 32px;
        line-height: 1.0;
    }
    .zones-flex {
        flex-direction: column;
        align-items: stretch;
    }
    
    .zones-title {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .zones-cities-box {
        width: 100%;
    }
    
    .zones-content {
        padding: 50px 15px;
    }

    .services-highlight-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-highlight-card {
        padding: 15px;
    }

    .service-highlight-title {
        font-size: 20px;
    }
    
    .service-highlight-text p {
        font-size: 14px;
    }

    .gallery2-item {
        flex: 0 0 250px;
        height: 300px;
    }
    
    .last-realisation h2 {
        font-size: 32px;
        line-height: 1.0;
    }
    

    .footer-sections {
        flex-direction: column;
    }
    
    .footer-section {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 15px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
    .footer {
        position: relative;
        z-index: 3;
        margin-top: 0;
    }
    .logo-footer img {
        max-width: 80px;
        height: auto;
    }
    .space-option {
        margin-top: 20px;
    }

    .main-ctc {
        display: none !important;
    }

    .nav-list {
        z-index: 999;
    }

    .features-section {
        position: relative;
        z-index: 2;
        background-color: #fff;
    }
    
    .services-section {
        position: relative;
        z-index: 2;
        background-color: #fff;
    }
    
    .zones-section {
        position: relative;
        z-index: 2;
    }
    
    .services-highlight-section {
        padding: 40px 0;
        position: relative;
        z-index: 2;
        background-color: var(--navy-blue) !important;
    }
    
    .last-realisation {
        position: relative;
        z-index: 2;
        background-color: #fff;
    }

    .mobile-phone-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .contact-burger {
        gap: 0.5rem;
    }

    .image-text-section {
        padding: 40px 0;
    }
    
    .top-content-left,
    .top-content-right {
        flex-direction: column;
        gap: 0;
    }

    .text-content-left,
    .text-content-right {
        padding: 0;
        order: 1;
        display: flex;
        flex-direction: column;
    }
    
    .text-content-left h2,
    .text-content-right h2 {
        order: 1;
        margin-bottom: 20px;
    }
    
    .text-content-left p:first-of-type,
    .text-content-right p:first-of-type {
        order: 2;
        margin-bottom: 30px;
    }
    
    .image-content-left,
    .image-content-right {
        order: 3;
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .text-content-left p:last-of-type,
    .text-content-right p:last-of-type {
        order: 4;
        margin-top: 0;
    }

    .bottom-content {
        order: 4;
        margin-top: 0;
    }
    
    .text-content-left h2,
    .text-content-right h2 {
        font-size: 2rem;
    }
    
    .text-content-left p,
    .text-content-right p {
        font-size: 1rem;
        text-align: left;
    }

    .blue-text-section {
        padding: 2.5rem 0 !important;
        background: var(--navy-blue) !important;
        color: white !important;
        display: block !important;
        visibility: visible !important;
        position: relative !important;
        z-index: 2 !important;
        width: 100% !important;
        overflow: visible !important;
    }
      
    .blue-text-container {
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 1rem !important;
        display: block !important;
        visibility: visible !important;
    }
      
    .blue-text-container h2 {
        font-size: 1.8rem !important;
        color: white !important;
        font-weight: bold !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.2 !important;
        display: block !important;
        visibility: visible !important;
    }
      
    .blue-text-container p {
        font-size: 1rem !important;
        color: white !important;
        line-height: 1.6 !important;
        text-align: left !important;
        margin: 0 !important;
        display: block !important;
        visibility: visible !important;
    }

    .services-grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .services-types-title h2 {
        font-size: 1.8rem;
    }
    
    .services-types-title h2::before,
    .services-types-title h2::after {
        width: 60px;
    }
    
    .services-types-title h2::before {
        left: -80px;
    }
    
    .services-types-title h2::after {
        right: -80px;
    }

    .cta-container {
        padding: 80px 20px;
        background-attachment: scroll;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 15px 35px;
        font-size: 1.1rem;
    }

    .hero-2 {
        top: 0;
        height: 60vh;
        max-height: 400px;
    }
    
    .hero-content-2 {
        height: 100%;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
        max-width: 90%;
    }
    
    .container {
        padding: 90px 15px 60px;
    }
    
    .legal-card {
        margin: 0 10px 30px;
        padding: 25px 20px;
    }
    
    .legal-card h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .legal-card p {
        font-size: 15px;
    }

    .hero-contact {
        top: 0;
        height: 60vh;
        max-height: 400px;
    }
    
    .hero-content-contact {
        height: 100%;
        padding: 0 20px;
    }
    
    .hero-title-contact {
        font-size: clamp(2rem, 5vw, 2.5rem);
        max-width: 90%;
    }

    .property-section {
        padding: 20px;
        margin: 60px auto 40px auto;
    }
    
    /* Structure identique pour toutes les cartes : toujours image puis contenu */
    .property-card-top,
    .property-card-bottom {
        flex-direction: column;
        margin-bottom: 80px;
    }
    
    /* Toutes les images : 100% largeur avec espacement en bas */
    .property-card-top .property-image,
    .property-card-bottom .property-image {
        width: 100%;
        padding: 0;
        margin-bottom: 25px;
    }
    
    /* Tout le contenu : 100% largeur, aligné à gauche */
    .property-card-top .property-content,
    .property-card-bottom .property-content {
        width: 100%;
        padding: 0;
        text-align: left !important;
        margin-top: 0;
    }
    
    /* Ajustements typographiques */
    .property-content h2 {
        font-size: 22px;
        text-align: left !important;
        margin-top: 0;
        margin-bottom: 15px;
    }
    
    .property-content h2::before {
        width: 80px;
    }
    
    .property-content p {
        font-size: 13px;
        margin-bottom: 25px;
        text-align: left !important;
        line-height: 1.6;
    }
    
    .btn-left, .btn-right {
        padding: 8px 20px;
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .navbar {
        padding: 0 10px !important;
    }
    .burger {
        font-size: 1.2rem;
        padding: 5px;
    }

    .nav-list.show {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
    }
    .hero {
        position: fixed;
        height: calc(100vh - var(--header-height));
    }

    .skew {
        transform: skewX(-5deg);
    }

    .overlay-home-large {
        width: 80%;
    }

    .overlay-home-medium {
        left: 50%;
        width: 50%;
    }

    .overlay-home-small {
        left: 70%;
        width: 40%;
    }
    .hero {
        height: 50vh !important;
        position: relative !important;
        top: 0 !important;
    }
    .hero-title-img {
        font-size: 24px !important;
        max-width: 95% !important;
        padding: 0 10px;
        line-height: 1.1;
    }
    .logo {
        height: 60px !important;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    .sec-title h2 {
        line-height: 1.0; 
    }
    
    .services-title {
        line-height: 1.0; 
    }
    .zones-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .zones-list li {
        font-size: 16px;
    }
    .gallery2-item {
        flex: 0 0 200px;
        height: 250px;
    }
    .last-realisation h2 {
        font-size: 28px;
        line-height: 1.0; 
    }
    .last-realisation h2 {
        font-size: 28px;
    }
    .main-ctc {
        display: none;
    }
    .space-option {
        margin-top: 20px;
    }

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

    .services-highlight-section {
        padding: 30px 0;
        position: relative;
        z-index: 2;
        background-color: #D3212F !important;
        display: block !important;
        visibility: visible !important;
    }

    .services-highlight-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-highlight-card {
        padding: 20px 10px;
        margin-bottom: 10px;
    }

    .service-highlight-card .icon-box img {
        width: 50px;
        height: 50px;
    }

    .service-highlight-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .service-highlight-text p {
        font-size: 16px;
        line-height: 1.0;
    }

    .mobile-phone-icon img {
        width: 22px;
        height: 22px;
    }
    
    .mobile-phone-icon {
        margin-right: 8px;
    }
    .nav-item-contact > a {
        padding: 0.8rem 0;
        font-size: 1rem;
    }

    .new-image-text-container {
        padding: 0 15px;
    }

    .text-content h2 {
        font-size: 1.8rem;
    }

    .services-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-text-container,
    .blue-text-container,
    .auto-container {
        padding: 0 15px;
    }
    
    .image-text-section {
        padding: 30px 0;
    }

    .top-content-left,
    .top-content-right {
        display: flex;
        flex-direction: column;
    }
    
    .text-content-left,
    .text-content-right {
        display: flex;
        flex-direction: column;
        order: 1;
    }
    
    .text-content-left h2,
    .text-content-right h2 {
        order: 1;
        margin-bottom: 20px;
    }
    
    .text-content-left p:first-of-type,
    .text-content-right p:first-of-type {
        order: 2;
        margin-bottom: 30px;
    }
    
    .image-content-left,
    .image-content-right {
        order: 2;
        margin-bottom: 30px;
    }
    
    .bottom-content {
        order: 3;
        margin-top: 0;
    }

    .bottom-content p {
        font-size: 16px;
    }

    .text-content-left h2,
    .text-content-right h2 {
        font-size: 1.8rem;
    }
    
    .blue-text-section {
        padding: 2rem 0 ;
        background: #203B64 ;
        color: white ;
        display: block ;
        visibility: visible ;
        position: relative ;
        z-index: 2 ;
        width: 100% ;
        min-height: auto ;
        overflow: visible ;
    }
      
    .blue-text-container {
        max-width: 100% ;
        margin: 0 auto ;
        padding: 0 0.5rem ;
        display: block;
        visibility: visible;
    }
      
    .blue-text-container h2 {
        font-size: 1.5rem;
        color: white ;
        font-weight: bold ;
        margin-bottom: 1rem ;
        line-height: 1.2 ;
        display: block ;
        visibility: visible ;
        text-align: center;
    }
      
    .blue-text-container p {
        font-size: 0.95rem ;
        color: white;
        line-height: 1.6 ;
        text-align: left ;
        margin: 0 ;
        display: block ;
        visibility: visible ;
    }

    .services-types-section {
        padding: 30px 0;
    }
    
    .services-types-title {
        margin-bottom: 40px;
    }
    
    .services-types-title h2 {
        font-size: 1.6rem;
    }
    
    .services-types-title h2::before,
    .services-types-title h2::after {
        display: none;
    }
    
    .services-grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 400px;
        margin: 0 auto 40px;
    }
    
    .card-content {
        min-height: 200px;
    }
    
    .card-content img {
        height: 200px;
    }
    
    .service-label {
        font-size: 0.8rem;
        padding: 10px 16px;
        bottom: -15px;
    }

    .cta-container {
        padding: 60px 15px;
    }
    
    .cta-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .cta-button {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .hero-2 {
        top: 0;
        height: 50vh;
        max-height: 300px;
    }
    
    .hero-content-2 {
        height: 100%;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        max-width: 95%;
        line-height: 1.1;
    }
    
    .container {
        padding: 80px 10px 50px;
    }
    
    .legal-card {
        margin: 0 5px 25px;
        padding: 20px 15px;
        border-radius: 8px;
    }
    
    .legal-card h2 {
        font-size: 18px;
        margin-bottom: 12px;
        padding-left: 10px;
    }
    
    .legal-card p {
        font-size: 14px;
        line-height: 1.6;
        padding-left: 10px;
    }

    .hero-contact {
        top: 0;
        height: 50vh;
        max-height: 300px;
    }
    
    .hero-content-contact {
        height: 100%;
        padding: 0 15px;
    }
    
    .hero-title-contact {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        max-width: 95%;
        line-height: 1.1;
    }

    .property-section {
        padding: 15px;
        margin: 40px auto 30px auto;
    }
    
    .property-card-top,
    .property-card-bottom {
        margin-bottom: 60px;
    }
    
    .property-card-top .property-image,
    .property-card-bottom .property-image {
        margin-bottom: 20px;
    }
    
    .property-content h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .property-content h2::before {
        width: 60px;
        height: 3px;
    }
    
    .property-content p {
        font-size: 12px;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .btn-left, .btn-right {
        padding: 8px 18px;
        font-size: 12px;
        border-radius: 12px;
    }
}


