/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: url('../images/BCK.jpg'); /* Chemin relatif */
    background-size: cover; /* Ensures the image covers the entire background */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed; /* Keeps the background fixed while scrolling */
    transition: background-color 0.3s ease, color 0.3s ease;
}

    /* Dark Mode */
    body.dark-mode {
        background: linear-gradient(135deg, rgba(18, 18, 18, 0.9), rgba(30, 30, 30, 0.9)), url('images/BCK.JPG');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        color: #e0e0e0;
    }

/* Top Banner */
.top-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    background: #001F3F;
    color: white;
    padding: 10px 20px; /* Reduced padding for mobile */
    text-align: left;
    font-size: clamp(1.2rem, 4vw, 2.5rem); /* Responsive font size */
    font-weight: bold;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto; /* Allow height to adjust based on content */
    min-height: 100vh; /* Ensure it covers at least the viewport height */
    text-align: center;
    background: linear-gradient(to right, rgba(0, 31, 63, 0.8), rgba(0, 123, 255, 0.8)), url('images/BCK.jpg');
    background-size: cover;
    background-position: center;
    color: wheat;
    padding: 6rem 5% 2rem; /* Adjusted padding for mobile (top padding to avoid top banner overlap) */
    position: relative;
    flex-direction: column; /* Stack elements vertically on mobile */
}

.hero-content {
    max-width: 100%; /* Full width for mobile */
    text-align: center;
    margin-bottom: 2rem; /* Add space between content and product image */
}

    .hero-content h1 {
        font-size: clamp(2.5rem, 8vw, 5.5rem); /* Responsive font size */
        font-weight: bold;
        margin-bottom: 1.5rem; /* Reduced margin for mobile */
    }

.tagline {
    font-size: clamp(1rem, 4vw, 1.5rem); /* Responsive font size */
    opacity: 0.9;
    margin-bottom: 1rem; /* Reduced margin for mobile */
}

.btn-primary {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px; /* Adjusted padding for mobile */
    font-size: clamp(1rem, 4vw, 1.2rem); /* Responsive font size */
    font-weight: bold;
    color: white;
    background: #ffcc00;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

    .btn-primary:hover {
        background: #ffaa00;
        transform: scale(1.05);
    }

/* Product Display */
.product-display {
    position: relative; /* Change to relative for mobile */
    bottom: auto; /* Reset bottom position */
    right: auto; /* Reset right position */
    text-align: center;
    z-index: 10;
    max-width: 100%; /* Full width for mobile */
    margin-top: 2rem; /* Add space between content and product image */
    margin-bottom: 2rem; /* Add space between product image and stats container */
}

.product-image {
    width: auto; /* Allow the image to scale naturally */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Ensure it doesn't exceed its container */
    max-height: 50vh; /* Limit height to 50% of the viewport height */
    border-radius: 30px; /* Smaller border radius for mobile */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: contain;
}

/* Price Tag */
.price-tag {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: #ffcc00;
    padding: 8px 16px; /* Adjusted padding for mobile */
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 80px; /* Smaller width for mobile */
}

.price {
    font-size: clamp(0.9rem, 3vw, 1.5rem); /* Responsive font size */
    font-weight: bold;
    color: #001F3F;
    margin: 0;
}

.product-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

/* Stats Container */
.stats-container {
    position: relative; /* Change to relative for mobile */
    bottom: auto; /* Reset bottom position */
    left: auto; /* Reset left position */
    transform: none; /* Reset transform */
    text-align: center;
    padding: 1rem;
    background: rgba(0, 31, 63, 0.8);
    border-radius: 10px;
    max-width: 100%; /* Full width for mobile */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 5;
    width: fit-content;
    margin: 0 auto; /* Center the container */
}

.stats {
    display: flex;
    justify-content: center;
    gap: 1rem; /* Smaller gap for mobile */
    flex-wrap: wrap; /* Allow wrapping for mobile */
}

.stat-item {
    flex: 1 1 100px; /* Smaller flex basis for mobile */
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 100px; /* Smaller width for mobile */
}

    .stat-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

.stat-number {
    font-size: clamp(1.2rem, 4vw, 2rem); /* Responsive font size */
    font-weight: bold;
    color: #ffcc00;
}

.stat-label {
    font-size: clamp(0.8rem, 3vw, 1rem); /* Responsive font size */
    color: white;
    opacity: 0.9;
}

/* Media Queries for Larger Screens */
@media (min-width: 768px) {
    .hero {
        flex-direction: row; /* Side-by-side layout for larger screens */
        align-items: center;
        padding: 8rem 5% 2rem; /* Adjusted padding for larger screens */
    }

    .hero-content {
        max-width: 50%; /* Restore max-width for larger screens */
        margin-bottom: 0; /* Remove margin for larger screens */
    }

    .product-display {
        position: absolute; /* Restore absolute positioning for larger screens */
        bottom: 150px; /* Adjust position for larger screens */
        right: 20px; /* Adjust position for larger screens */
        margin-top: 0; /* Remove margin for larger screens */
        margin-bottom: 0; /* Remove margin for larger screens */
    }

    .product-image {
        max-height: 40vh; /* Adjust max-height for larger screens */
    }

    .stats-container {
        position: absolute; /* Restore absolute positioning for larger screens */
        bottom: 20px; /* Adjust position for larger screens */
        left: 50%; /* Center horizontally */
        transform: translateX(-50%); /* Center horizontally */
    }
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.custom-list {
    list-style: none;
    padding-left: 0;
}

    .custom-list li {
        position: relative;
        padding-left: 30px;
        margin-bottom: 15px;
        font-size: 1.1rem;
        line-height: 1.6;
    }

        .custom-list li::before {
            content: "➜";
            position: absolute;
            left: 0;
            color: #007BFF;
            font-size: 1.5rem;
            font-weight: bold;
            margin-right: 10px;
        }

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }
}

/* Navigation Bar */
.navbar {
    background-color: rgba(51, 51, 51, 0.9); /* Semi-transparent background */
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center; /* Center the menu */
    align-items: center;
    width: 100%; /* Ensure it spans the full width */
}

    .navbar ul {
        list-style: none;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 0;
    }

        .navbar ul li {
            margin: 0 1rem;
        }

            .navbar ul li a {
                color: #fff;
                text-decoration: none;
                font-size: 1.1rem;
                position: relative;
                white-space: nowrap; /* Prevent text from breaking into multiple lines */
            }

                .navbar ul li a::after {
                    content: '';
                    position: absolute;
                    bottom: -5px;
                    left: 0;
                    width: 0;
                    height: 2px;
                    background: #007BFF;
                    transition: width 0.3s ease;
                }

                .navbar ul li a:hover::after {
                    width: 100%;
                }

/* Hamburger Menu Icon (Hidden by Default) */
.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

    .navbar-toggle .bar {
        width: 25px;
        height: 3px;
        background-color: #fff;
        margin: 4px 0;
        transition: 0.4s;
    }

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    /* Show Hamburger Menu */
    .navbar-toggle {
        display: flex;
    }

    /* Hide Regular Menu by Default */
    .navbar-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgba(51, 51, 51, 0.9);
        position: absolute; /* Position over content */
        top: 60px; /* Adjust based on navbar height */
        left: 0;
        padding: 0.5rem; /* Reduced padding for compactness */
        transition: all 0.3s ease; /* Smooth transition */
    }

        /* Show Menu When Active */
        .navbar-menu.active {
            display: flex;
        }

    /* Stack Menu Items Vertically */
    .navbar ul {
        flex-direction: column;
    }

        .navbar ul li {
            margin: 0.5rem 0; /* Reduced margin for compactness */
            text-align: center;
        }

            .navbar ul li a {
                font-size: 1rem; /* Smaller font size for mobile */
            }
}

/* Sections */
.section {
    padding: 4rem 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

    .section.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .section h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .section p {
        font-size: 1.2rem;
        max-width: 800px;
        margin: 0 auto 2rem;
    }

/* VisionPro Section */
.visionpro-section {
    background: linear-gradient(to right, rgba(0, 31, 63, 0.8), rgba(0, 123, 255, 0.8)); /* Add your background image here */
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.visionpro-content {
    max-width: 800px;
    margin: 0 auto 2rem;
}

    .visionpro-content h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .visionpro-content p {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        line-height: 1.6;
    }

    .visionpro-content .btn-primary {
        margin-top: 1rem;
        background-color: #ffcc00;
        color: #001F3F;
        padding: 10px 20px;
        border-radius: 50px;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

        .visionpro-content .btn-primary:hover {
            background-color: #ffaa00;
        }

.visionpro-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    flex: 1 1 200px;
    max-width: 250px;
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white; /* Ensure text is white */
}

    .feature-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .feature-item h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        color: black; /* Ensure heading text is white */
    }

    .feature-item p {
        font-size: 1rem;
        opacity: 0.9;
        color: black; /* Ensure paragraph text is white */
    }

/* Sexy Glassmorphism Boxes */
.sexy-box {
    background: linear-gradient(to right, rgba(0, 31, 63, 0.8), rgba(0, 123, 255, 0.8));
    padding: 4rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 800px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    color: white; /* Texte en blanc */
}

    .sexy-box:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    }

body.dark-mode .sexy-box {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e0e0e0;
}

/* Solution Grid – Modern & Flexible */
.solution-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.solution-item {
    flex: 1 1 300px;
    max-width: 400px;
    background: linear-gradient(to right, rgba(0, 31, 63, 0.8), rgba(0, 123, 255, 0.8));
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .solution-item:hover {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    }

    .solution-item img {
        width: 100%;
        height: auto;
        border-radius: 15px;
        margin-top: 1rem;
        transition: transform 0.3s ease;
    }

    .solution-item:hover img {
        transform: scale(1.08);
    }

/* Media Queries pour l'adaptabilité */
@media (max-width: 1200px) {
    .solution-item {
        flex: 1 1 calc(50% - 4rem); /* 2 éléments par ligne pour les écrans moyens */
        max-width: calc(50% - 4rem);
    }
}

@media (max-width: 768px) {
    .solution-item {
        flex: 1 1 calc(100% - 4rem); /* 1 élément par ligne pour les petits écrans */
        max-width: calc(100% - 4rem);
    }
}

/* Dark Mode Compatibility */
body.dark-mode .solution-item {
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e0e0e0;
}

/* Smooth Transitions */
* {
    transition: all 0.3s ease-in-out;
}

/* Feature Grid */
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.feature-item {
    flex: 1 1 300px;
    max-width: 300px;
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .feature-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    }

    .feature-item img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        margin-top: 1rem;
    }

/* Contact Form */
form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

    form label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: bold;
    }

    form input, form textarea {
        width: 100%;
        padding: 0.75rem;
        margin-bottom: 1rem;
        border: 1px solid #ccc;
        border-radius: 5px;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

        form input:focus, form textarea:focus {
            border-color: #007BFF;
            box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
        }

    form button {
        display: block;
        width: 100%;
        padding: 0.75rem;
        background-color: #007BFF;
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

/* Footer */
footer {
    background-color: rgba(51, 51, 51, 0.9); /* Semi-transparent background */
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

    footer.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007BFF;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional Footer Section */
.additional-footer {
    background-color: #001F3F;
    color: white;
    padding: 2rem;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1 1 300px;
    margin: 1rem;
}

    .footer-section h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .footer-section p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

.social-links {
    list-style: none;
    padding: 0;
}

    .social-links li {
        margin: 0.5rem 0;
    }

    .social-links a {
        color: white;
        text-decoration: none;
        font-size: 1rem;
    }

        .social-links a:hover {
            text-decoration: underline;
        }

/* Footer */
footer {
    background-color: rgba(51, 51, 51, 0.9); /* Semi-transparent background */
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    opacity: 1;
    transform: translateY(0);
    position: relative;
    bottom: 0;
    width: 100%;
}

    footer p {
        margin: 0.5rem 0;
        color: #fff; /* Ensure text is white */
    }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Video Section Styling */
#video-section {
    padding: 4rem 2rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: white; /* Change to your desired color */
    font-size: 2rem; /* Optional: Adjust font size */
    font-weight: bold; /* Optional: Make text bold */
}

    #video-section iframe {
        width: 100%;
        max-width: 800px;
        height: 450px;
        border: none;
        border-radius: 50px;
        box-shadow: #e0e0e0;
    }

/* Main container with a sleek, modern look */
.solutions-container {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: fit-content;
    max-width: 400px;
    padding: 25px;
    background: linear-gradient(to right, rgba(20, 30, 48, 0.9), rgba(36, 59, 85, 0.9)); /* Dark gradient */
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
}

/* Title with a glowing effect */
.solutions-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: white;
    margin-top: 0;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.4); /* Glow effect */
}

/* Solution items with a hover effect */
.solution-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

    .solution-item:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.15);
    }

/* Icons with a glowing border */
.solution-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3); /* Glow effect */
}

/* Text styling */
.solution-text {
    flex: 1;
    color: white;
}

    .solution-text h3 {
        font-size: clamp(1.1rem, 3vw, 1.4rem);
        margin: 0;
        color: #ffffff;
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.5); /* Subtle glow */
    }

    .solution-text p {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        opacity: 0.9;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.8);
    }

/* Responsive adjustments */
@media (max-width: 1200px) {
    .solutions-container {
        max-width: 350px;
    }

    .solution-icon {
        width: 45px;
        height: 45px;
    }

    .solutions-title {
        font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    }

    .solution-text h3 {
        font-size: clamp(1rem, 2.8vw, 1.3rem);
    }

    .solution-text p {
        font-size: clamp(0.8rem, 2.3vw, 0.95rem);
    }
}

@media (max-width: 768px) {
    .solutions-container {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 90%;
        max-width: 100%;
        margin: 20px auto;
    }

    .solution-item {
        padding: 12px;
    }

    .solution-icon {
        width: 40px;
        height: 40px;
    }

    .solutions-title {
        font-size: clamp(1.2rem, 3vw, 1.6rem);
    }

    .solution-text h3 {
        font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    }

    .solution-text p {
        font-size: clamp(0.7rem, 2vw, 0.9rem);
    }
}

@media (max-width: 480px) {
    .solutions-container {
        width: 95%;
        padding: 20px;
    }

    .solution-item {
        padding: 10px;
    }

    .solution-icon {
        width: 35px;
        height: 35px;
    }

    .solutions-title {
        font-size: clamp(1rem, 2.8vw, 1.4rem);
    }

    .solution-text h3 {
        font-size: clamp(0.8rem, 2.2vw, 1.1rem);
    }

    .solution-text p {
        font-size: clamp(0.6rem, 1.8vw, 0.8rem);
    }
}

/* Default layout for larger screens */
.solutions-container {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: fit-content;
    max-width: 400px;
    padding: 25px;
    background: linear-gradient(to right, rgba(20, 30, 48, 0.9), rgba(36, 59, 85, 0.9));
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Adjust layout for smaller screens */
@media (max-width: 768px) {
    .solutions-container {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin-top: 2rem; /* Add space between the image and this container */
        margin-bottom: 2rem; /* Add space below the container */
        padding: 20px;
        order: 3; /* Ensure it appears after the product display */
    }

    .hero {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center-align items */
    }

    .product-display {
        position: relative; /* Reset positioning */
        bottom: auto;
        right: auto;
        margin-top: 2rem; /* Add space above the image */
        order: 1; /* Ensure it appears first */
    }

    .price-tag {
        position: relative; /* Reset positioning */
        bottom: auto;
        right: auto;
        margin-top: 1rem; /* Add space above the price tag */
        order: 2; /* Ensure it appears after the image */
    }

    .hero-content {
        order: 4; /* Ensure it appears after the Additional Activity section */
    }

    .stats-container {
        position: relative; /* Reset positioning */
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 2rem; /* Add space above the stats container */
        order: 5; /* Ensure it appears last */
    }
}

/* Default layout for larger screens */
.hero-content {
    max-width: 50%; /* Adjust as needed */
    text-align: left; /* Align text to the left */
    margin-right: 2rem; /* Add space between hero content and product display */
}

/* Adjust layout for smaller screens */
@media (max-width: 768px) {
    .hero-content {
        max-width: 100%; /* Full width for smaller screens */
        text-align: center; /* Center-align text */
        margin-right: 0; /* Remove margin */
        order: 1; /* Ensure it appears first */
    }

    .product-display {
        order: 2; /* Ensure it appears after the hero content */
    }

    .price-tag {
        order: 3; /* Ensure it appears after the product display */
    }

    .solutions-container {
        order: 4; /* Ensure it appears after the price tag */
    }

    .stats-container {
        order: 5; /* Ensure it appears last */
    }
}

/* Adjust layout for smaller screens */
@media (max-width: 768px) {
    .solutions-container {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin-top: 2rem; /* Add space between the image and this container */
        margin-bottom: 2rem; /* Add space below the container */
        padding: 20px;
        order: 3; /* Ensure it appears after the product display */
        box-sizing: border-box; /* Ensure padding is included in width */
    }

    .solution-item {
        flex-direction: column; /* Stack icon and text vertically */
        align-items: center; /* Center-align items */
        text-align: center; /* Center-align text */
        padding: 15px; /* Add padding to prevent text cutoff */
        margin-bottom: 1rem; /* Add space between items */
    }

    .solution-icon {
        width: 60px; /* Slightly larger icon for better visibility */
        height: 60px;
        margin-right: 0; /* Remove margin for stacked layout */
        margin-bottom: 10px; /* Add space below the icon */
    }

    .solution-text {
        flex: 1;
        width: 100%; /* Ensure text takes full width */
    }

    .solution-text h3 {
        font-size: clamp(1rem, 4vw, 1.4rem); /* Responsive font size */
        margin: 0.5rem 0; /* Add space around the heading */
    }

    .solution-text p {
        font-size: clamp(0.9rem, 3.5vw, 1rem); /* Responsive font size */
        opacity: 0.9;
        line-height: 1.5;
        margin: 0; /* Remove default margin */
    }
}