:root {
    --primary-color: #1a2b4a;      /* Dark blue from logo */
    --secondary-color: #f08913;    /* Orange accent from logo */
    --accent-color: #ff6b35;       /* Brighter orange for highlights */
    --text-color: #2d3748;         /* Dark gray for text */
    --light-bg: #f8fafc;           /* Light background */
    --gray-bg: #f1f5f9;            /* Light gray background */
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.og{
    background-color: rgb(66, 68, 70);
}
html{
    /* font-size: 100%; */
    scroll-behavior: smooth;
}

* {
    padding: 0;
    box-sizing: border-box;
}
.km{  align-items: center;}
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }
}

.hidden{
    opacity: 0;
    transition: all 1s;
    transform: translateX(-100%);
}
.show{
    opacity: 1;
    filter: blur(1);
    transform: translateX(0);
}
.sp{
    padding-top: 82px;
}
.spp{
    padding-top: 15px;
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.announcement-bar p {
    margin: 0;
    text-align: center;
}

.announcement-bar a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}
body{
    background-color: rgb(235, 239, 243) ;;
}

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    height: auto;
    padding: 0.3rem 0;
}

.site-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.site-header.scrolled .header-content {
    padding: 0.5rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    width: 280px;
    position: relative;
    animation: floatLogo 1.9s ease-in-out infinite;
    border-radius: 8px;
    padding: 5px 0;
    transition: all 0.2s ease;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.logo:hover {
    animation-play-state: paused;
    transform: translateY(-3px);
    
}

.company-logo {
    height: 140px;
    width: auto;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 4px;
    background-color: var(--white);
    padding: 12px;
    filter: contrast(1.1) saturate(1.1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform-origin: center center;
}

.company-logo:hover {
    transform: scale(1.15);
    cursor: pointer;
}

.trusted-trader-logo {
    max-height: 60px;
    width: auto;
}

.gas-safe-logo {
    height: 70px;
    width: auto;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.gas-safe-logo:hover {
    transform: scale(1.2);
}

@keyframes logoFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

/* Navigation styles */
.main-nav {
    display: flex;
    align-items: center;
    /* flex-direction: column; */
}

.main-nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 30px;
    align-items: center;
}


.nav-button , .navv-button{
    display: inline-block;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #333;
    position: relative;
    overflow: hidden;
}


.nav-button:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-button:hover:after {
    width: 80%;
}

.nav-button:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}
.navv-button:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}
.safe{
    display: none;
}
.nav-button.active{
    background-color: #f5f5f5;
}

.emergency-button {
    background-color: var(--secondary-color) !important;
    color: white !important;
}

.emergency-button:hover {
    background-color: #ff0000;
}

.quote-button {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.quote-button:hover {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-logo {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero {
    position: relative;
    color: var(--white);
    padding: 5rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c3e50 100%);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/1.webp') center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.hero-slider {
    height: 100%;
}

.slide {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;

}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature:nth-child(2){
    transition-delay: 200ms;
}
.feature:nth-child(3){
    transition-delay: 400ms;
}

/* Services Section */

/* Section Services */
.services-section {
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    background: #f8f9fa;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    transform: translateY(0);
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: #333;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.service-card ul li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
    font-size: 16px;
}

.service-card ul li:before {
    content: '✓';
    color: #00b67a;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.center{
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.pop-up {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) ;
    background: white;
    z-index: 1000;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 90%;
    width: 400px;
    opacity: 0;
    visibility: hidden;
    transition: all 0s ease-out;
}

.pop-up.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.pop-up-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.05s ease-out;
}

.pop-up-overlay.active {
    display: flex;
    opacity: 1;
}

.pop-up .icon{
    margin: 5px 0px;
    width: 50px;
    height: 50px;
    border: 2px solid #f08913;
    display: inline-block;
    border-radius: 60px;
}
.pop-up .icon i.fa{
    font-size: 30px;
    color: #f08913;
}
.pop-up .messagee{
    margin: 5px 0px;
    font-size: 30px;
    font-weight: 600;
}
.pop-up .description{
    padding: 5px;
    font-size: 16px;
    color: #222;
}
.pop-up .dismiss-btn{
    margin-top: 15px;
}
.pop-up .dismiss-btn button{
    padding: 10px 20px;
    background-color: #111;
    color: #f5f5f5;
    border: 2px solid #111;
    font-weight: 600;
    outline: none;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}
.pop-up .dismiss-btn button:hover{
    background-color: #f5f5f5;
    color: #111;
}
.pop-up > div{
    position: relative;
    top: 10px;
    opacity: 0;
}
.pop-up.active > div{
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}
.pop-up.active .icon{
   transition: all 300ms ease-in-out 250ms;
}
.pop-up.active .messagee{
    transition: all 300ms ease-in-out 350ms;
}
.pop-up.active .description{
    transition: all 300ms ease-in-out 400ms;
}
/* Responsive Design */
@media screen and (max-width: 768px) {
    .services-section {
        grid-template-columns: 1fr;
        padding: 40px 15px;
        gap: 20px;
    }

    .service-card {
        padding: 20px;
    }

    .service-card img {
        width: 100px;
        height: 100px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .service-card ul li {
        font-size: 15px;
    }
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    padding-right: 30px;
}

.about-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-color);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.about-feature {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-5px);
}

.about-feature i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.about-feature h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.about-feature p {
    font-size: 0.9rem;
    margin: 0;
}

.about-values {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.about-values h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.about-values ul {
    list-style: none;
    padding: 0;
}

.about-values li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.about-values li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.about-image-container {
    position: relative;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* CTA Section */
.cta-section {
    background-color: rgb(7, 7, 58);;
    color: var(--white);
    padding: 60px 0;
    border-radius: 8px;
}


.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.cta-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cta-image:hover img {
    transform: scale(1.05);
}

.cta-content {
    text-align: left;
    padding: 20px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-items {
    display: grid;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-item i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

button[type="submit"].disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.reviews-section .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-summary {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.rating-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.rating-stars {
    margin-bottom: 15px;
}

.rating-stars i {
    color: #00b67a; /* Trustpilot green */
    font-size: 24px;
    margin: 0 2px;
}

.rating-text {
    color: var(--text-color);
}

.rating-text strong {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
}

.rating-text p {
    margin-bottom: 15px;
}

.trustpilot-logo {
    height: 25px;
    width: auto;
}

/* Trustpilot Widget Container */
.trustpilot-widget {
    margin: 30px 0;
    min-height: 140px;
}

/* Footer */
.site-footer {
    background-color: rgb(3, 3, 37);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .company-logo {
    max-height: 50px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    line-height: 2;
    position: relative;
    transition: color 0.3s ease;
}

.footer-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-links a:hover:after {
    width: 100%;
}

.footer-contact .phone {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 10px 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(240, 137, 19, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 137, 19, 0.4);
}

.btn:hover::before {
    opacity: 1;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(3, 1, 18, 0.2);
}
.rv{
  margin-top: 40px;
}

#sidebar-active{
    display: none;
}
/* Close button styles */
.open-sidebar-btn {
    display: none;
    transition: transform 0.3s ease;
}

.close-sidebar-btn {
    display: none; /* Hidden by default, shown in mobile media query */
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    transition: transform 0.3s ease;
    transform-origin: center center;
}

.close-sidebar-btn:hover {
    transform: rotate(90deg);
    background-color: transparent;
}

nav .fa-solid {
    fill: floralwhite;
}
.container-links{
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
    width: 100%;
}

@media screen and (max-width: 768px) {
    /* Header mobile */
    .site-header {
        height: auto;
        padding: 10px 0;
        position: relative;
    }
    
    .header-content {
        padding: 0 15px;
        margin: 0;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        width: auto;
        max-width: 180px;
        margin: 0 0 0 50px;
        padding: 0;
        order: 1;
        display: flex;
        align-items: center;
    }
    
    .company-logo {
        height: 105px;
        width: auto;
        padding: 9px;
    }
    
    .trusted-trader-logo,
    .gas-safe-logo {
        display: none !important;
    }
    
    #hidd {
        display: none;
    }
  /* .main-nav{
    position: fixed;
  } */

  .container-links {
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    padding: 80px 20px 20px;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    overflow-y: auto;
  }

      .main-nav ul {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .main-nav ul li {
        width: 100%;
    }
    
    .nav-button, .navv-button {
        display: block;
        width: 100%;
        text-align: left;
        padding: 12px 15px;
        border-radius: 6px;
        margin: 5px 0;
    }
    
    .emergency-button, .quote-button {
        text-align: center;
        margin: 10px 0;
    }

  .open-sidebar-btn {
    display: block;
    padding: 15px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
    margin: 0;
  }

  .close-sidebar-btn {
    display: block;
  }

#sidebar-active:checked ~ .container-links {
    right: 0;
}

#sidebar-active:checked ~ .header-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 5;
}
#sidebar-active:checked ~ #overlay{
   height: 100%;
   width: 100%;
   position: fixed;
   top: 0;
   left: 0;
   z-index: 5;
}
.safe{
   display:block;
}

.trusted-trader-logo,.company-logo{
    padding-right: 15px;
}
   

   

    /* Boutons spéciaux */
    .emergency-button {
        background: #e74c3c;
        color: white;
    }

    .emergency-button i {
        margin-right: 10px;
        font-size: 20px;
    }

    .quote-button {
        background: #00b67a;
        color: white;
    }

    /* Logo Gas Safe */
    .gas-safe-logo {
        width: auto;
        height: 70px !important;
        margin: 25px auto !important;
        display: block;
        transition: transform 0.3s;
    }

    /* Animation du menu hamburger */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

    /* Overlay sombre quand le menu est ouvert */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 999;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Ajustement des espacements */
    .nav-button + .nav-button {
        margin-top: 5px;
    }

    /* Sections responsives */
    .features-grid,
    .services-grid,
    .about-content,
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .cta-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
    }

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
    }

    .trusted-trader-logo {
        height: 45px;
    }

    .company-logo {
        height: 40px;
    }

    .gas-safe-logo {
        height: 60px !important;
        margin: 20px auto !important;
    }

    .nav-button {
        font-size: 16px;
        padding: 12px 15px;
    }
}

/* Animation du menu hamburger */
.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Fin du fichier */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 1, 15, 0.1);
    transition: transform 0.3s ease;
}



.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
        flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.review-stars {
    color: #ffd700;
    font-size: 1.2rem;
}

.review-text {
    color: #666;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-date {
    color: #999;
    font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .review-card {
        padding: 1.5rem;
    }
}

.trustpilot-section {
    background-color: #f8f8f8;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.trustpilot-wrapper {
        text-align: center;
    }

.trustpilot-wrapper h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.rating-summary {
    margin-top: 15px;
}

.rating-score {
    font-size: 28px;
    font-weight: bold;
    color: #00b67a;
    margin-right: 10px;
}

.rating-text {
    color: #666;
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    .trustpilot-section {
        padding: 20px 0;
    }
    
    .trustpilot-wrapper h3 {
        font-size: 20px;
    }
    
    .rating-score {
        font-size: 24px;
    }
}

.rating-section {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(30,41,59,.07);
    padding: 32px 0;
    margin: 32px auto 24px;
    max-width: 440px;
}
.rating-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.rating-wrapper h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
    letter-spacing: .01em;
}
.rating-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 180px;
}
.stars {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 0;
    letter-spacing: 1px;
}
.rating-summary {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 5px;
}
.rating-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.01em;
    margin-bottom: 0;
}
.rating-text {
    color: #ae7c41;
    font-size: .97rem;
    font-weight: 500;
    margin-left: 2px;
    opacity: .85;
    letter-spacing:.01em;
}
@media (max-width: 600px) {
  .rating-section {
    padding: 20px 0;
  }
  .rating-score {
    font-size: .95rem;
  }
  .stars {
    font-size: 1.1rem;
  }
}

.social-section {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-section h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    color: #fff;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #00b67a;
}

.social-link i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover i {
    background: rgba(255, 255, 255, 0.2);
}

.certifications {
    padding: 40px 0;
    text-align: center;
    background: rgb(235, 239, 243) ;
}
.mimo{ font-family: Verdana, Geneva, Tahoma, sans-serif;}
.certifications h3 {
    margin-bottom: 30px;
    font-size: 24px;
    color: #333;
}

.certification-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.certification-item { 
    height: 200px;
    width: 200px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-5px);
}

.cert-logo {
    max-height: 135px;
    width: auto;
    margin-bottom: 15px;
}

.certification-item h4 {
    font-size: 18px;
    color: #555;
    margin-top: 10px;
}

@media screen and (max-width: 768px) {
    .certification-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .certification-item {
        height: 230px;
        width: auto;
        padding: 0%;
        margin: 0%;
    }
    
    .cert-logo {
        max-height: 60px;
    }
}

/* Style du menu mobile professionnel */
@media screen and (max-width: 768px) {
    /* Menu container */
    .mobile-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        padding: 10px 0;
    }

    /* Grille du menu */
    .mobile-nav-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
        padding: 0 10px;
    }

    /* Style des éléments du menu */
    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        padding: 8px 4px;
        color: #333;
        transition: 0.3s;
    }

    /* Icônes du menu */
    .mobile-nav-item i {
        font-size: 24px;
        margin-bottom: 5px;
        color: #00b67a;
    }

    /* Texte sous les icônes */
    .mobile-nav-item span {
        font-size: 12px;
        text-align: center;
        font-weight: 500;
    }

    /* État actif */
    .mobile-nav-item.active {
        color: #00b67a;
    }

    /* Animation au clic */
    .mobile-nav-item:active {
        transform: scale(0.95);
    }

    /* Ajustement du contenu principal */
    main {
        padding-bottom: 80px;
    }
}

/* Style du bouton Retour en haut */
.go-to-top {
    position: fixed;
    bottom: 80px; /* Position au-dessus du menu mobile */
    right: 20px;
    width: 45px;
    height: 45px;
    background: #00b67a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 999;
    cursor: pointer;
}

.go-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.go-to-top:hover {
    background: #009c68;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.go-to-top i {
    font-size: 20px;
}

/* Adaptation mobile */
@media screen and (max-width: 768px) {
    .go-to-top {
        width: 40px;
        height: 40px;
        bottom: 90px;
        right: 15px;
    }
}

/* Menu Mobile Professionnel */
@media screen and (max-width: 768px) {
    /* Bouton hamburger */
    .hamburger-menu {
        position: fixed;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background: #fff;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        padding: 8px;
        cursor: pointer;
    }

    .hamburger-menu span {
        display: block;
        width: 100%;
        height: 3px;
        background: #00b67a;
        border-radius: 3px;
        transition: 0.4s;
    }

    /* Animation du hamburger */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Menu mobile */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        z-index: 999;
        transition: 0.4s ease;
        padding-top: 80px;
    }

    .mobile-menu.active {
        left: 0;
    }

    /* Logo Gas Safe dans le menu mobile */
    .mobile-gas-safe {
        width: auto;
        height: 50px;
        margin: 20px auto;
        display: block;
    }

    /* Liste des liens du menu */
    .mobile-menu-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu-links li {
        border-bottom: 1px solid #eee;
    }

    .mobile-menu-links a {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        color: #333;
        text-decoration: none;
        font-size: 18px;
        transition: 0.3s;
    }

    .mobile-menu-links a i {
        margin-right: 15px;
        color: #00b67a;
        width: 20px;
        text-align: center;
    }

    .mobile-menu-links a:hover {
        background: #f8f9fa;
        color: #00b67a;
    }

    /* Overlay sombre */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 998;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Bouton Go to Top */
    .go-to-top {
        position: fixed;
        bottom: 30px;
        right: 20px;
        width: 45px;
        height: 45px;
        background: #00b67a;
        color: white;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: none;
        justify-content: center;
        align-items: center;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        z-index: 997;
    }

    .go-to-top.visible {
        display: flex;
    }

    .go-to-top i {
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {
    .company-logo {
        height: 140px !important;
        width: auto;
        max-width: 100%;
        padding: 12px !important;
    }
    .rating-section {
        padding: 10px 0 !important;
        margin: 14px auto 8px !important;
        max-width: 97vw !important;
        border-radius: .7rem !important;
    }
    .rating-wrapper h3 {
        font-size: 1.01rem !important;
    }
    .stars {
        font-size: 1.13rem !important;
    }
    .rating-score {
        font-size: .9rem !important;
    }
    .rating-text {
        font-size: .78rem !important;
    }
    .rating-display {
        min-width: 0;
        gap: 3px;
    }
    .rating-summary {
        gap: 4px;
        margin-top: 1px;
    }
}
