/* =================================
   Animation d'introduction
   ================================= */
.intro-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #5a6501 0%, #7a8c02 25%, #a1b603 50%, #b8cc33 75%, #c9d966 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeOut 0.3s ease-in-out 2s forwards;
}

.intro-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.3;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: float linear infinite;
}

.particle:nth-child(1) { width: 4px; height: 4px; left: 10%; animation-duration: 8s; animation-delay: 0s; }
.particle:nth-child(2) { width: 6px; height: 6px; left: 20%; animation-duration: 10s; animation-delay: 1s; }
.particle:nth-child(3) { width: 3px; height: 3px; left: 30%; animation-duration: 7s; animation-delay: 2s; }
.particle:nth-child(4) { width: 5px; height: 5px; left: 40%; animation-duration: 9s; animation-delay: 0.5s; }
.particle:nth-child(5) { width: 4px; height: 4px; left: 50%; animation-duration: 11s; animation-delay: 1.5s; }
.particle:nth-child(6) { width: 6px; height: 6px; left: 60%; animation-duration: 8s; animation-delay: 2.5s; }
.particle:nth-child(7) { width: 3px; height: 3px; left: 70%; animation-duration: 10s; animation-delay: 0.8s; }
.particle:nth-child(8) { width: 5px; height: 5px; left: 80%; animation-duration: 9s; animation-delay: 1.8s; }
.particle:nth-child(9) { width: 4px; height: 4px; left: 90%; animation-duration: 7s; animation-delay: 0.3s; }
.particle:nth-child(10) { width: 6px; height: 6px; left: 15%; animation-duration: 10s; animation-delay: 2.2s; }
.particle:nth-child(11) { width: 3px; height: 3px; left: 25%; animation-duration: 8s; animation-delay: 1.2s; }
.particle:nth-child(12) { width: 5px; height: 5px; left: 35%; animation-duration: 9s; animation-delay: 0.7s; }
.particle:nth-child(13) { width: 4px; height: 4px; left: 45%; animation-duration: 11s; animation-delay: 1.9s; }
.particle:nth-child(14) { width: 6px; height: 6px; left: 55%; animation-duration: 7s; animation-delay: 0.4s; }
.particle:nth-child(15) { width: 3px; height: 3px; left: 65%; animation-duration: 10s; animation-delay: 2.1s; }
.particle:nth-child(16) { width: 5px; height: 5px; left: 75%; animation-duration: 8s; animation-delay: 1.3s; }
.particle:nth-child(17) { width: 4px; height: 4px; left: 85%; animation-duration: 9s; animation-delay: 0.6s; }
.particle:nth-child(18) { width: 6px; height: 6px; left: 95%; animation-duration: 10s; animation-delay: 1.7s; }
.particle:nth-child(19) { width: 3px; height: 3px; left: 5%; animation-duration: 7s; animation-delay: 2.3s; }
.particle:nth-child(20) { width: 5px; height: 5px; left: 50%; animation-duration: 11s; animation-delay: 0.9s; }

.eco-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.eco-icons i {
    position: absolute;
    color: rgba(255, 255, 255, 0.4);
    font-size: 2rem;
    animation: floatEco linear infinite;
}

.eco-icons i:nth-child(1) { left: 5%; animation-duration: 15s; animation-delay: 0s; }
.eco-icons i:nth-child(2) { left: 25%; animation-duration: 18s; animation-delay: 3s; }
.eco-icons i:nth-child(3) { left: 85%; animation-duration: 16s; animation-delay: 5s; }
.eco-icons i:nth-child(4) { left: 15%; animation-duration: 20s; animation-delay: 2s; }
.eco-icons i:nth-child(5) { left: 75%; animation-duration: 17s; animation-delay: 6s; }
.eco-icons i:nth-child(6) { left: 45%; animation-duration: 19s; animation-delay: 1s; }
.eco-icons i:nth-child(7) { left: 65%; animation-duration: 21s; animation-delay: 4s; }
.eco-icons i:nth-child(8) { left: 35%; animation-duration: 16s; animation-delay: 7s; }

.intro-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 10;
}

.intro-logo {
    margin-bottom: 2rem;
    animation: scaleIn 0.4s ease-out;
}

.intro-logo img {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
    animation: pulse 1s infinite ease-in-out;
}

.intro-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    opacity: 0;
    transform: scale(0);
    animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s forwards;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
}

.intro-slogan {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInUp 0.4s ease-out 0.4s forwards;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.intro-loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    margin: 2rem auto 0;
    opacity: 0;
    animation: fadeIn 0.3s ease-out 0.6s forwards, spin 0.6s linear 0.6s infinite;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.8));
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes popIn {
    0% {
        transform: scale(0) rotate(-10deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
    70% {
        transform: scale(0.9) rotate(-2deg);
    }
    85% {
        transform: scale(1.05) rotate(1deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

@keyframes floatEco {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* =================================
   Variables et Reset
   ================================= */
:root {
    --primary-green: #a1b603;
    --light-green: #b8cc33;
    --dark-green: #7a8c02;
    --accent-green: #c9d966;
    --light-accent: #d4e380;
    --darker-green: #5a6501;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark: #212529;
    --shadow: rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background: #ffffff;
    position: relative;
}

/* Drapeaux suisses en fond - uniquement sur la première page */
.swiss-flags-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.flag-bg {
    position: absolute;
    opacity: 1;
    filter: drop-shadow(0 4px 12px rgba(255, 0, 0, 0.4));
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

.flag-bg-4 {
    width: 80px;
    height: auto;
    bottom: calc(10% - 1cm);
    left: 8%;
}

.flag-bg-5 {
    width: 85px;
    height: auto;
    bottom: calc(12% - 1cm);
    right: 8%;
}

.intro-animation {
    z-index: 99999 !important;
}

header {
    position: fixed;
    z-index: 1000;
}

section,
footer {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
}

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

/* =================================
   Navigation
   ================================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-green);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    transition: 0.3s;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.dropdown-menu li a:hover {
    background: var(--light-green);
    color: white;
    border-left-color: var(--darker-green);
    padding-left: 2rem;
}

/* =================================
   Hero & Carousel
   ================================= */
.hero {
    margin-top: 70px;
    position: relative;
}

.carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
}

.carousel-caption h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s;
}

.carousel-caption p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s 0.3s both;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(45, 107, 69, 0.8);
    color: white;
    border: none;
    padding: 1rem 1.2rem;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-control:hover {
    background: var(--light-green);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicators span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.3s;
}

.carousel-indicators span.active {
    background: var(--accent-green);
    width: 30px;
    border-radius: 6px;
}

/* =================================
   Section Headers
   ================================= */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-green), var(--accent-green));
    margin: 0 auto;
}

/* =================================
   À propos Section
   ================================= */
.about {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.95);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-text {
    font-size: 1.1rem;
}

.about-text .lead {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--dark);
    line-height: 1.8;
}

.about-text strong {
    color: var(--primary-green);
    font-weight: bold;
}

.client-types {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-left: 4px solid var(--primary-green);
    border-radius: 5px;
    font-size: 1.2rem;
    color: var(--dark);
}

.client-types i {
    color: var(--primary-green);
    margin-right: 0.5rem;
}

.values {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.values h3 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
    text-align: center;
}

.value-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card:nth-child(1) {
    background: linear-gradient(135deg, #b8cc33, #a1b603);
    color: white;
}

.value-card:nth-child(2) {
    background: linear-gradient(135deg, #c9d966, #b8cc33);
    color: white;
}

.value-card:nth-child(3) {
    background: linear-gradient(135deg, #a1b603, #7a8c02);
    color: white;
}

.value-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* =================================
   Services Section
   ================================= */
.services {
    padding: 5rem 0;
    background: rgba(249, 249, 249, 0.95);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border-top: 4px solid var(--primary-green);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px var(--shadow);
}

.service-arrow {
    color: var(--primary-green);
    font-weight: 600;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-arrow i {
    transition: transform 0.3s;
}

.service-card:hover .service-arrow i {
    transform: translateX(5px);
}

.service-card.emergency {
    background: linear-gradient(135deg, #7a8c02, #a1b603);
    color: white;
    border-top: 4px solid #5a6501;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #a1b603, #b8cc33);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(161, 182, 3, 0.3);
}

.service-card.emergency .service-icon {
    background: white;
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-card.emergency .service-icon i {
    color: var(--accent-green);
}

.service-card h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.service-card.emergency h3 {
    color: white;
}

.service-card p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.emergency-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-green);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.emergency-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.emergency-btn i {
    margin-right: 0.5rem;
    animation: ring 1s infinite;
}

/* =================================
   Contact Section
   ================================= */
.contact {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.95);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.info-item:hover {
    transform: translateX(10px);
}

.info-item i {
    font-size: 2rem;
    color: var(--accent-green);
    min-width: 40px;
}

.info-item h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--gray);
}

.emergency-text {
    color: var(--accent-green);
    font-weight: bold;
    margin-top: 0.5rem;
}

.contact-form {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #a1b603, #b8cc33);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(161, 182, 3, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(161, 182, 3, 0.4);
}

/* =================================
   Footer
   ================================= */
footer {
    background: linear-gradient(135deg, rgba(122, 140, 2, 0.98), rgba(161, 182, 3, 0.98));
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--light-accent);
}

.footer-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.footer-section h3 {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

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

.footer-section ul li a:hover {
    color: var(--light-accent);
    padding-left: 5px;
}

.footer-section ul li i {
    color: var(--accent-green);
    margin-right: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =================================
   Service Pages
   ================================= */
.service-hero {
    background: linear-gradient(135deg, #7a8c02, #a1b603, #b8cc33);
    padding: 8rem 0 5rem;
    margin-top: 70px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23ffffff"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

.service-hero-content {
    position: relative;
    z-index: 1;
}

.service-hero-content i {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.service-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.service-hero p {
    font-size: 1.5rem;
    opacity: 0.95;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.emergency-hero {
    background: linear-gradient(135deg, #5a6501, #7a8c02, #a1b603);
}

.hero-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 1.2rem 3rem;
    background: white;
    color: var(--primary-green);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.hero-btn i {
    margin-right: 0.5rem;
    animation: ring 1s infinite;
}

.service-details {
    padding: 5rem 0;
    background: #f9f9f9;
}

.service-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.service-main h2 {
    color: var(--primary-green);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.service-main h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.service-main .lead {
    font-size: 1.2rem;
    color: var(--dark-green);
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-main p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    color: var(--primary-green);
    font-size: 1.5rem;
    min-width: 30px;
}

.feature-item h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    color: var(--primary-green);
}

.feature-item p {
    font-size: 0.95rem;
    margin: 0;
    color: var(--gray);
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-list li i {
    color: var(--primary-green);
    font-size: 1.2rem;
    min-width: 25px;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.benefit-item h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.benefit-item p {
    margin: 0;
    font-size: 0.95rem;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step-item {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    box-shadow: 0 5px 15px rgba(161, 182, 3, 0.3);
}

.step-content h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.step-content p {
    margin: 0;
    font-size: 0.95rem;
}

.emergency-callout {
    background: linear-gradient(135deg, #7a8c02, #a1b603);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem 0;
    display: flex;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.emergency-callout i {
    font-size: 4rem;
    opacity: 0.9;
}

.emergency-callout h3 {
    margin: 0 0 0.5rem 0;
    color: white;
}

.emergency-callout p {
    margin-bottom: 1rem;
    color: white;
    opacity: 0.95;
}

.btn-emergency-large {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-green);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.btn-emergency-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.sidebar-card p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.sidebar-note {
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
}

.btn-primary {
    display: block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(161, 182, 3, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(161, 182, 3, 0.4);
}

.btn-emergency {
    display: block;
    padding: 1rem 2rem;
    background: var(--primary-green);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.btn-emergency:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.sidebar-links {
    list-style: none;
    padding: 0;
}

.sidebar-links li {
    margin-bottom: 0.8rem;
}

.sidebar-links li a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--dark);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.sidebar-links li a:hover {
    background: var(--light-gray);
    color: var(--primary-green);
    padding-left: 1rem;
}

.sidebar-links li a i {
    color: var(--primary-green);
}

.sidebar-benefits {
    list-style: none;
    padding: 0;
}

.sidebar-benefits li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.sidebar-benefits li i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.emergency-card {
    background: linear-gradient(135deg, #7a8c02, #a1b603);
    color: white;
    text-align: center;
}

.emergency-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.emergency-card h3 {
    color: white;
}

.emergency-card p {
    color: white;
    opacity: 0.95;
}

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

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

/* =================================
   Responsive Design
   ================================= */
@media (max-width: 768px) {
    .intro-title {
        font-size: 2.5rem;
    }
    
    .intro-slogan {
        font-size: 1.1rem;
    }
    
    .intro-logo img {
        max-width: 300px;
    }
    
    .logo-img {
        height: 40px;
        max-width: 150px;
    }
    

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
    }

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

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

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f9f9f9;
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-menu li a {
        padding: 0.8rem 2rem;
    }

    .dropdown-menu li a:hover {
        padding-left: 2.5rem;
    }

    .dropdown-toggle {
        justify-content: center;
    }

    .dropdown-toggle::after {
        display: none;
    }

    .carousel {
        height: 400px;
    }

    .carousel-caption h2 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1.1rem;
    }

    .carousel-control {
        padding: 0.7rem 0.9rem;
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-text .lead {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .service-hero {
        padding: 6rem 0 4rem;
    }

    .service-hero h1 {
        font-size: 2.5rem;
    }

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

    .service-hero-content i {
        font-size: 3.5rem;
    }

    .service-content {
        grid-template-columns: 1fr;
    }

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

    .emergency-callout {
        flex-direction: column;
        text-align: center;
    }

    .emergency-callout i {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .intro-title {
        font-size: 2rem;
    }
    
    .intro-slogan {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .intro-logo img {
        max-width: 250px;
    }
    
    .logo-img {
        height: 35px;
        max-width: 120px;
    }

    .carousel {
        height: 300px;
    }

    .carousel-caption h2 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }
}


