/* Global Styles */
    body {
        font-family: 'Montserrat', sans-serif;
        margin: 0;
        padding: 0;
        background-color: #f4f4f4;
        color: #162D3C;
        line-height: 1.6;
        scroll-behavior: smooth;
    }

    ::selection {
        background-color: #162D3C;
        color: white;
    }

    .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
    }

    h1, h2, h3, p {
        margin: 0 0 20px;
        line-height: 1.4;
    }

    a {
        text-decoration: none;
        color: white;
    }

    a:hover {
        opacity: 0.8;
    }

/* Header Section */
    .header-section {
        background-color: rgba(22, 45, 60, 0.85);
        padding: 15px 0;
        display: flex;
        align-items: center;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        transition: background-color 0.3s ease, padding 0.3s ease;
    }

    .header-section.scrolled {
        padding: 5px 0;
    }

    .header-section .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .logo {
        width: 100px; /* Set logo size to 100px */
        padding-left: 20px; /* Ensure consistent padding on all screen sizes */
        transition: width 0.3s ease;
    }

    .header-section.scrolled .logo {
        width: 80px; /* Shrink logo on scroll */
    }

    .nav-section {
        display: flex;
        align-items: center;
    }

    .nav-list {
        list-style-type: none;
        margin: 0;
        padding: 0;
        display: flex;
        gap: 25px; /* Set gap between links */
    }

    .nav-list li {
        display: inline-block;
    }

    .nav-list a {
        color: white;
        font-size: 18px;
        text-transform: uppercase;
        position: relative;
        transition: color 0.3s ease;
    }

    .nav-list a:hover {
        color: #028090;
    }

    .nav-section a::before {
        content: '';
        position: absolute;
        width: 0%;
        height: 3px;
        bottom: -5px;
        left: 0;
        background-color: #02a6b5;
        transition: width 0.3s ease-in-out;
    }

    .nav-section a:hover::before {
        width: 100%;
    }

/* Hamburger Menu for Mobile */
    .hamburger {
        display: none;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        margin-right: 20px; /* Add space between the hamburger and the right edge */
    }

    .hamburger span {
        width: 30px;
        height: 3px;
        background-color: white;
        transition: background-color 0.3s;
    }

    .hamburger.active span {
        background-color: #02a6b5;
    }

/* Sidebar Overlay (for mobile) */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1400;
        display: none;
        transition: opacity 0.3s ease;
    }

    /* Sidebar for Mobile */
        .sidebar {
            position: fixed;
            right: -300px;
            top: 0;
            width: 300px;
            height: 100%;
            background-color: #162D3C;
            z-index: 1500;
            padding: 40px;
            transition: right 0.4s ease;
            display: none;
        }

        .overlay.active,
        .sidebar.active {
            display: block;
            right: 0;
        }

        /* Close Button inside Sidebar */
            .close-btn {
                font-size: 28px;
                color: white;
                position: absolute;
                top: 15px;
                right: 15px;
                cursor: pointer;
                transition: color 0.3s ease;
            }

            .close-btn:hover {
                color: #02a6b5;
            }

            .sidebar-list {
                list-style-type: none;
                padding: 0;
                display: flex;
                flex-direction: column;
                gap: 20px;
                margin-top: 30px;
            }

            .sidebar-list li {
                text-align: left;
            }

            .sidebar-list a {
                color: white;
                font-size: 22px;
                text-transform: uppercase;
                transition: color 0.3s ease;
            }

            .sidebar-list a:hover {
                color: #02a6b5;
            }

/* Hero Section */
    .hero-container {
        position: relative;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        overflow: hidden;
        padding-top: 80px; /* Adjust this value to match your navbar height */
    }

    /* Hero Overlay */
        .hero-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(22, 45, 60, 0.6); /* Semi-transparent overlay */
            z-index: 1;
        }

        .hero-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
        }

        .hero-text {
            color: white;
            z-index: 2; /* Ensures text is above the overlay */
            text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
            animation: fadeInUp 1.5s ease-in-out;
            padding: 0 20px; /* Adds some padding on smaller screens */
        }

        .hero-text h1 {
            font-size: 64px;
            margin-bottom: 20px;
            text-transform: uppercase;
            font-weight: 700;
        }

        .hero-text p {
            font-size: 24px;
            margin-bottom: 30px;
        }

        .cta-button {
            display: inline-block;
            background-color: #028090;
            color: white;
            padding: 15px 30px;
            border-radius: 30px;
            font-size: 18px;
            margin-top: 20px;
            z-index: 2;
            transition: transform 0.3s, background-color 0.3s;
        }

        .cta-button:hover {
            background-color: #02a6b5;
            transform: scale(1.1);
        }

            /* Fade-in Animation */
                @keyframes fadeInUp {
                    0% {
                        opacity: 0;
                        transform: translateY(50px);
                    }
                    100% {
                        opacity: 1;
                        transform: translateY(0);
                    }
                }

                /* Responsive Design for Hero Section */
                    @media (max-width: 768px) {
                        .hero-text h1 {
                            font-size: 36px; /* Scales down the main heading */
                            margin-top: 30px;
                            margin-bottom: 15px;
                            line-height: 1.2; /* Adjust this value to reduce space between lines */
                            font-weight: 1000;
                        }

                        .hero-text p {
                            font-size: 18px; /* Scales down the subtext */
                            margin-bottom: 10px;
                        }

                        .cta-button {
                            padding: 10px 20px; /* Reduces padding for mobile */
                            font-size: 16px; /* Adjusts button text size */
                        }

                        .hero-container {
                            height: 80vh; /* Adjusts the height for smaller screens */
                        }
                    }

                    @media (max-width: 480px) {
                        .hero-text h1 {
                            font-size: 28px; /* Further scales down for very small screens */
                        }

                        .hero-text p {
                            font-size: 16px;
                        }

                        .cta-button {
                            padding: 8px 16px;
                            font-size: 14px;
                        }
                    }

/* Products Section Styling */
    .products-section {
        padding: 50px 20px;
        background-color: #f4f4f4;
        text-align: center;
    }

    .products-section h2 {
        font-size: 32px;
        margin-bottom: 10px;
        color: #162D3C;
    }

    .products-description {
        max-width: 600px;
        margin: 0 auto 40px;
        color: #27353d;
        font-size: 16px;
        line-height: 1.5;
    }

    /* Product Grid */
        .product-grid {
            display: flex;
            justify-content: space-between; /* Space between cards */
            flex-wrap: wrap; /* Allows wrapping for mobile */
        }

    /* Product Card */
        .product-card {
            position: relative;
            height: 400px; /* Fixed height for cards */
            width: 100%; /* Full width on desktop */
            max-width: 370px; /* Limit max width of cards */
            background-size: cover;
            background-position: center;
            border-radius: 10px;
            overflow: hidden;
            margin: 0 10px; /* Margin for spacing between cards */
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .product-card:hover {
            transform: scale(1.05); /* Slightly scale on hover */
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
        }

        .product-info {
            position: absolute;
            bottom: 20px;
            left: 20px;
            background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
            padding: 15px;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .product-info h3 {
            font-size: 20px;
            color: #162D3C;
            margin-bottom: 10px;
        }

        .product-info p {
            font-size: 14px;
            color: #555;
        }

    /* Quote Section */
        .quote-section {
            margin-top: 40px;
            text-align: center;
        }

        .quote-section h3 {
            font-size: 24px;
            color: #162D3C;
            margin-bottom: 10px;
        }

        .quote-section p {
            font-size: 16px;
            color: #555;
            margin-bottom: 0px;
        }

    /* Call to Action Button */
        .cta-button {
            display: inline-block;
            background-color: #028090;
            color: white;
            border: none;
            border-radius: 5px;
            padding: 12px 25px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s, transform 0.3s;
        }

        .cta-button:hover {
            background-color: #02a6b5;
            transform: scale(1.05);
        }

        /* Responsive Design */
            @media (max-width: 768px) {
                .product-grid {
                    flex-direction: column; /* Stack cards vertically on mobile */
                    align-items: center; /* Center cards */
                }

                .product-card {
                    width: 100%; /* Full width on mobile */
                    margin: 10px 0; /* Space between stacked cards */
                }

                .products-section h2 {
                    font-size: 28px;
                }

                .product-info h3 {
                    font-size: 18px;
                }

                .product-info p {
                    font-size: 14px;
                }

                .quote-section h3 {
                    font-size: 20px;
                }

                .quote-section p {
                    font-size: 14px;
                }

                .cta-button {
                    padding: 10px 20px;
                    font-size: 14px;
                }
            }

/* Resellers Section */
    .resellers-section {
        padding: 100px 20px;
        background-color: #e0fbfc; /* Overall background for the section */
        text-align: center;
    }

    .resellers-section h2 {
        font-size: 32px;
        margin-bottom: 20px;
        color: #162D3C;
    }

    .resellers-subheading {
        max-width: 700px;
        margin: 0 auto 40px;
        color: #555;
        font-size: 16px;
        line-height: 1.6;
    }

    /* Resellers Features */
        .resellers-features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            text-align: left;
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.5s ease-in-out;
        }

        .resellers-features.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Base Styles for Reseller Feature */
            .reseller-feature {
                border-radius: 10px;
                padding: 20px;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
                display: flex;
                align-items: center;
                gap: 20px;
                transition: transform 0.3s, box-shadow 0.3s ease;
            }

            .reseller-feature:hover {
                transform: translateY(-10px);
                box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
            }

        /* Odd Features - White Background, Dark Text */
            .reseller-feature:nth-child(odd) {
                background-color: white;
                color: #162D3C;
            }

            .reseller-feature:nth-child(odd) i {
                color: #028090;
            }

            .reseller-feature:nth-child(odd) h3 {
                color: #162D3C;
            }

            .reseller-feature:nth-child(odd) p {
                color: #555;
            }

        /* Even Features - Dark Background, Light Text */
            .reseller-feature:nth-child(even) {
                background-color: #395e77;
                color: white;
            }

            .reseller-feature:nth-child(even) i {
                color: white;
            }

            .reseller-feature:nth-child(even) h3 {
                color: white;
            }

            .reseller-feature:nth-child(even) p {
                color: #b0c4c8;
            }

        /* Icon Styling */
            .reseller-feature i {
                font-size: 40px;
            }

        /* Text inside each Feature */
            .reseller-text h3 {
                font-size: 20px;
                margin-bottom: 5px;
            }

            .reseller-text p {
                font-size: 14px;
                line-height: 1.5;
            }

    /* Counters */
        .reseller-counters {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-top: 50px;
        }

        .counter-item {
            text-align: center;
            font-size: 24px;
        }

        .counter {
            font-size: 40px;
            font-weight: bold;
            color: #028090;
        }

        .counter-item p {
            font-size: 16px;
            color: #555;
        }

    /* Call to Action Button */
        .cta-button {
            display: inline-block;
            background-color: #028090;
            color: white;
            padding: 15px 30px;
            border-radius: 30px;
            font-size: 18px;
            margin-top: 40px;
            transition: transform 0.3s, background-color 0.3s;
        }

        .cta-button:hover {
            background-color: #02a6b5;
            transform: scale(1.05);
        }

        /* Responsive Design for Reseller Section */
            @media (max-width: 768px) {
                .resellers-section h2 {
                    font-size: 28px;
                }

                .cta-button {
                    padding: 12px 24px;
                    font-size: 16px;
                }

                .reseller-counters {
                    flex-direction: column;
                    gap: 20px;
                }

                .reseller-feature {
                    flex-direction: column;
                    text-align: center;
                }
            }


/* Footer Styles */
    .footer-section {
        background-color: #162D3C;
        color: white;
        padding: 40px 20px;
        text-align: center;
    }

    .footer-section ::selection {
        background-color: #fff; /* Background color for selected text */
        color: #162d3c; /* Text color for selected text */
    }

    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        gap: 15px;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "contact newsletter"
            "social policies"
            "credit credit";
    }

    .footer-contact {
        grid-area: contact;
        font-size: 14px;
    }

    .footer-newsletter {
        grid-area: newsletter;
        font-size: 14px;
    }

    .footer-social {
        grid-area: social;
        font-size: 14px;
    }

    .footer-policies {
        grid-area: policies;
        font-size: 14px;
        text-align: center;
    }

    .footer-credit {
        grid-area: credit;
        font-size: 12px;
        color: #b0c4c8;
    }

   /* Contact Info Styling */
        .footer-contact h3 {
            font-size: 18px;
            margin-bottom: 8px;
        }

        .footer-contact p {
            margin: 5px 0;
            text-align: left;
        }

        .footer-contact a {
            color: #b0c4c8; /* Different color for contact info */
            text-decoration: none;
            font-weight: bold;
            transition: color 0.3s, text-decoration 0.3s;
        }

        .footer-contact a:hover {
            color: #02a6b5; /* Hover color */
            text-decoration: underline;
        }

        #contact-address {
            display: inline-block;
            max-width: 30ch; /* Limits to approximately 30 characters per line */
            word-wrap: break-word; /* Allows the line to break if necessary */
            white-space: normal; /* Ensures text wraps */
        }

    /* Newsletter Section Styling */
        .footer-newsletter h3 {
            font-size: 18px;
            margin-bottom: 8px;
        }

        .footer-newsletter p {
            margin-bottom: 15px;
            font-size: 14px;
            color: #b0c4c8;

        }

        #newsletter-form {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        #newsletter-email {
            font-family: 'Montserrat', sans-serif;
            padding: 10px;
            font-size: 14px;
            border: none;
            border-radius: 5px 0 0 5px;
            width: 70%; /* Make the input field longer */
            max-width: 300px; /* Optional: maximum width limit */
            margin-right: 5px; /* Adds a gap between the input and button */
        }

        #newsletter-form button {
            font-family: 'Montserrat', sans-serif;
            padding: 10px 20px;
            font-size: 14px;
            border: none;
            background-color: #028090;
            color: white;
            border-radius: 0 5px 5px 0;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        #newsletter-form button:hover {
            background-color: #02a6b5;
        }

    /* Social Media Links */
        .footer-social {
            display: flex;
            justify-content: center;
            gap: 10px;
            font-size: 25px;
            margin: 10px 0;
        }

        .footer-social a {
            color: #028090;
            transition: color 0.3s;
        }

        .footer-social a:hover {
            color: #d2e4e6;
        }

    /* Policies and Credit Styling */
        .footer-policies {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-top: 10px;
        }

        .footer-policies a {
            color: #028090;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s;
        }

        .footer-policies a:hover {
            color: #9cd1d6;
        }

        .footer-credit {
            grid-column: span 2;
            font-size: 12px;
            color: #b0c4c8;
            margin-top: 5px;
            text-align: center;
        }
        
        .footer-credit .copyright {
            font-size: 14px; /* Larger font size for copyright */
            margin-bottom: 15px; /* Space below the copyright */
            color: #c0dde0; /* White color for better visibility */
        }
        
        .footer-credit .credit {
            font-size: 12px; /* Smaller font size for credit */
            color: #b0c4c8; /* Lighter color for distinction */
        }
        
        .footer-credit a {
            color: #48a4b1; /* Color for the link */
            text-decoration: none; /* Remove underline */
        }
        
        .footer-credit a:hover {
            color: #ffcc00;
        }

        /* Responsive Design for Footer */
            @media (max-width: 768px) {
                .footer-container {
                    grid-template-columns: 1fr;
                    grid-template-areas:
                        "contact"
                        "newsletter"
                        "social"
                        "policies"
                        "credit";
                    gap: 10px;
                    margin-bottom: -10px;
                }

                .footer-contact, .footer-newsletter, .footer-social, .footer-policies, .footer-credit {
                    margin-bottom: 5px;
                }
            }

        /* Responsive Styles */
            @media (max-width: 768px) {
                .nav-list {
                    display: none; /* Hide navigation links in a row */
                }

                .hamburger {
                    display: flex; /* Show hamburger icon on mobile */
                }

                .sidebar,
                .overlay {
                    display: none; /* Hide sidebar and overlay until activated */
                }

                .sidebar.active,
                .overlay.active {
                    display: block; /* Show sidebar and overlay when active on mobile */
                }

                .product-grid {
                    flex-direction: column;
                    gap: 40px;
                }

                .hero-text h1 {
                    font-size: 48px;
                }

                .hero-text p {
                    font-size: 20px;
                }
            }


            