@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #0F344E;
    --secondary-blue: #0F344E;
    --eco-green: #2e7d32;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.bg-primary {
    background-color: var(--primary-blue) !important;
}

.text-primary {
    color: var(--primary-blue) !important;
}

.lg-backdrop {
    z-index: 8888;
}

.lg-outer {
    z-index: 8889;
}


/* Navbar */
.navbar {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    /* slight shadow for sticky header contrast */
    padding: 8px 0;
    /* reduced padding */
    background-color: #F7F7F7 !important;
    /* ensure solid background */
    z-index: 1050;
    /* ensure it stays above body content */
}

.navbar-brand img {
    max-height: 100px;
    /* smaller logo */
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-blue) !important;
}

.navbar-toggler {
    border: none;
    outline: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 40, 162, 0.3);
}

.btn-success {
    background-color: var(--eco-green);
    border-color: var(--eco-green);
}

.btn-success:hover,
.btn-success:focus {
    background-color: #235e26;
    border-color: #235e26;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

/* Hero Sections */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    /* darker background for legibility */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    /* add shadow to body text */
}

.hero-title {
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    /* thicker shadow for title */
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    margin: 5px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Minimal Hero */
.hero-minimal {
    background-color: var(--secondary-blue);
    color: white;
    padding: 60px 0;
    text-align: center;
}

/* Stats Bar */
.stats-bar {
    background-color: var(--primary-blue);
    color: white;
    padding: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 15px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Cards */
.service-card,
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-blue);
    margin-bottom: 20px;
}

/* Process Steps */
.process-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(40, 40, 162, 0.3);
}

/* Gallery */
.gallery-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    display: block;
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-container:hover .gallery-img {
    transform: scale(1.05);
}

.badge-avant,
.badge-apres {
    position: absolute;
    top: 15px;
    padding: 6px 15px;
    border-radius: 30px;
    font-weight: bold;
    color: white;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    font-size: 0.9rem;
}

.badge-avant {
    left: 15px;
    background-color: #dc3545;
}

.badge-apres {
    right: 15px;
    background-color: var(--eco-green);
}

/* Testimonials */
.stars {
    color: #ffc107;
    margin-bottom: 15px;
}

/* Accordion FAQ */
.accordion-item {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
}

.accordion-button {
    font-weight: 600;
    padding: 20px;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: var(--primary-blue);
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #f8f9fa;
    padding: 60px 0 20px;
}

.site-footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.footer-links li::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--eco-green);
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: #4caf50;
    /* Brighter eco-green for contrast on dark background */
    width: 30px;
    font-size: 1.2rem;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
}

.site-footer .text-muted {
    color: #adb5bd !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: 80px 0;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }

    .stat-item {
        margin-bottom: 20px;
    }

    .gallery-img {
        height: 250px;
    }
}