/* Reset and base styles */
:root {
    --primary-color: #1a482a;
    --primary-dark: #153a23;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Header and Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #27ae60;
}

.burger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 72, 42, 0.8), rgba(44, 62, 80, 0.8));
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
    opacity: 0.7;
}

.hero-background-item {
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.hero-background-item:hover {
    transform: scale(1.05);
    z-index: 2;
}

.hero-background-item:nth-child(1) {
    background-image: url('/public/images/realisations/anais-m-cloture-1.jpg');
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.hero-background-item:nth-child(2) {
    background-image: url('/public/images/realisations/terrasse-sur-plot-1.jpg');
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.hero-background-item:nth-child(3) {
    background-image: url('/public/images/realisations/cloture-1.png');
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.hero-background-item:nth-child(4) {
    background-image: url('/public/images/realisations/terrasse-sur-plot-2.jpg');
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

.hero-background-item:nth-child(5) {
    background-image: url('/public/images/realisations/cloture-2.png');
    grid-column: 2 / 4;
    grid-row: 3 / 4;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #1a482a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #153a23;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services {
    padding: 5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: #1a482a;
    margin-bottom: 1rem;
}

/* Realisations Section */
.realisations {
    padding: 5rem 1rem;
    background-color: #f5f5f5;
}

.realisations h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.hidden {
    display: none;
}

.gallery-item.hidden.show {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

.gallery-cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding: 1rem 0;
}

.gallery-cta .see-more-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    color: #1a482a;
    border: 2px solid #1a482a;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-cta .see-more-button:hover {
    background-color: #1a482a;
    color: white;
}

.gallery-cta .see-more-button i {
    transition: transform 0.3s ease;
}

.gallery-cta .see-more-button.expanded i {
    transform: rotate(180deg);
}

/* Contact Section */
.contact {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f8f9fa;
}

.contact h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-header {
    margin-bottom: 1.5rem;
}

.form-header h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #666;
    font-size: 0.9rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    background-color: #f8fafc;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-footer {
    margin-top: 1.5rem;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: #1a482a;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    justify-content: center;
}

.submit-button:hover {
    background-color: #153a23;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 72, 42, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button i {
    font-size: 1.2rem;
}

.info-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.info-card h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card h3 i {
    color: var(--primary-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

.info-item .label {
    display: block;
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.info-item .value {
    display: block;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.info-item a.value {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a.value:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .contact h2 {
        font-size: 1.8rem;
    }
    
    .info-card {
        order: -1;
    }
}

/* Footer */
footer {
    background-color: #1a482a;
    color: white;
    padding: 4rem 1rem 1.5rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1a482a, #2c3e50, #1a482a);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-section a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-section a:hover::before {
    opacity: 1;
    left: -15px;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 1rem 1rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero-background {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    .hero-background-item:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    .hero-background-item:nth-child(2) {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .hero-background-item:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    .hero-background-item:nth-child(4) {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
    }

    .hero-background-item:nth-child(5) {
        grid-column: 2 / 3;
        grid-row: 4 / 5;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        transition: var(--transition);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .burger {
        display: block;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 5px;
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    cursor: pointer;
    transition: var(--transition);
}

.close-lightbox:hover {
    color: var(--primary-color);
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 10px;
    font-size: 1.2rem;
}

/* Form Group Styles */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

/* Loading State */
.submit-button.loading {
    pointer-events: none;
    opacity: 0.8;
}

/* Animation Classes */
.animate {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Burger Menu Animation */
.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px;
    transition: var(--transition);
}

.burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.toggle .line2 {
    opacity: 0;
}

.burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Nav Link Animation */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print Styles */
@media print {
    .back-to-top,
    .burger,
    .social-links {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
    }
    
    .hero {
        background: none !important;
        color: black !important;
        height: auto !important;
    }
    
    .contact-form {
        display: none;
    }
} 

/* Section Témoignages */
.testimonials {
    padding: 3rem 1rem;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-size: 2rem;
}

.testimonials-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.testimonials-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-card {
    background: white;
    padding: 1.25rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.client-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.client-info h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin: 0;
}

.rating {
    display: flex;
    gap: 0.25rem;
}

.rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

.review-source {
    background: rgba(66, 133, 244, 0.1);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 4px;
    flex-shrink: 0;
}

.review-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4a5568;
    margin-bottom: 1rem;
}

.visit-date {
    font-size: 0.85rem;
    color: #718096;
    text-align: right;
    font-style: italic;
}

.testimonial-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin: 1rem 0;
}

.testimonial-image {
    width: 100%;
    max-height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-button {
    display: none;
}

.testimonial-card.hidden {
    display: none;
}

.testimonial-card.hidden.show {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonials-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.see-more-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    color: #1a482a;
    border: 2px solid #1a482a;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.see-more-button:hover {
    background-color: #1a482a;
    color: white;
}

.see-more-button i {
    transition: transform 0.3s ease;
}

.see-more-button.expanded i {
    transform: rotate(180deg);
}

.google-review-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: #1a482a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .testimonials {
        padding: 4rem 2rem;
    }

    .testimonials-carousel {
        padding: 0 3rem;
    }

    .testimonials-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .testimonial-card {
        flex: 0 0 calc(33.333% - 1.33rem);
        padding: 2rem;
    }

    .testimonial-header {
        margin-bottom: 1.5rem;
    }

    .client-info h3 {
        font-size: 1.2rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-images {
        gap: 1rem;
        margin: 1.5rem 0;
    }

    .testimonial-image {
        max-height: none;
    }

    .carousel-button {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: white;
        border: none;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 10;
        opacity: 0.9;
    }

    .carousel-button.prev {
        left: 0;
    }

    .carousel-button.next {
        right: 0;
    }

    .carousel-button:hover {
        background: #1a482a;
        color: white;
        transform: translateY(-50%) scale(1.1);
        opacity: 1;
    }
}

/* Notifications */
.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    animation: slideIn 0.3s ease forwards;
}

.notification.success {
    background-color: #1a482a;
    color: white;
}

.notification.error {
    background-color: #f44336;
    color: white;
}

.notification i {
    font-size: 1.5rem;
}

.notification p {
    margin: 0;
    font-size: 1rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification.hide {
    animation: slideOut 0.3s ease forwards;
}

@media (max-width: 768px) {
    .notification {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
}