/* Reset and General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header styling */
header {
    background: linear-gradient(135deg, #0e4730, #22be63);
    padding: 10px 20px;
}

header .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: #003004;
    color: #fff;
}

/* Country dropdown styling */
.header-left {
    display: flex;
    align-items: center;
}

.country-dropdown {
    position: relative;
}

.country-btn {
    background-color: #004223;
    color: #fff;
    padding: 8px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #444;
    box-shadow: 0px 8px 16px rgba(3, 156, 49, 0.322);
    padding: 10px;
    border-radius: 5px;
    z-index: 1;
}

.country-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #fff;
    padding: 5px;
    display: block;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #555;
}

/* Header Logo and Nav Styling */
.top-right-links {
    display: flex;
    gap: 15px; /* Adjusts the spacing between links */
    list-style: none;
}

.top-right-links li a {
    color: #fff;
    text-decoration: none;
}

.top-right-links li a:hover {
    text-decoration: underline;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center; /* Centers the entire navigation */
    gap: 20px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.logo img {
    height: 100px; /* Adjust logo size as needed */
    margin-right: auto
}

/* Main navbar styling */
.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    justify-content: center; /* Centers the links within the parent container */
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.nav-links li a:hover {
    text-decoration: underline;
}

.nav-links a:hover {
    color: #04b15a;
}

/* Hero Section */
.hero {
    background-image: url("Assets/email-background.jpg"); /* Update path if necessary */
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(20, 4, 4, 0.7);
}

.hero p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.cta-button {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    text-decoration: none;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    justify-content: center; /* Center horizontally */
    align-items: center;
}

.cta-button:hover {
    background-color: #45a049;
    transform: translateY(-3px); /* Slight lift on hover */
}
/* subscribe section */
.subscribe-form {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    max-width: 400px; /* Limit the width for centering */
    margin-left: auto;
    margin-right: auto;
}

.subscribe-form input[type="email"] {
    padding: 8px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 300px; /* Adjust this value to make the input field longer */
}
.subscribe-form .cta-button {
    background-color: #038b2c;
    color: #fff;
    padding: 8px 16px; /* Make button smaller */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.subscribe-form .cta-button:hover {
    background-color: #04b15a;
}
/* Section Styles */
.section {
    padding: 3rem 3rem;
    text-align: center;
    align-items: center;
}

.section h2 {
    margin-bottom: 1.5rem;
    color: #025020;
}

/* Cards */
/* Products Section Styling */
/* Paragraph Styling for the Product Section */
#products p {
    font-size: 1.1em; /* Slightly larger font size */
    color: #333; /* Dark text for better readability */
    margin-bottom: 20px; /* Space below the paragraph */
    line-height: 1.6; /* Improve line spacing for better readability */
    max-width: 800px; /* Set a maximum width for the paragraph */
    margin: 0 auto 30px; /* Center the paragraph and add spacing below */
    text-align: center; /* Center-align text */
}

/* Highlight Color */
#products p {
    color: #03742e; /* Use the green color you’re working with */
}

.section1 {
    padding: 50px 20px;
    text-align: center;
    background-color: #f7f9fb; /* Light background for contrast */
}

.section h2 {
    font-size: 2em;
    color: #035021; /* Match primary theme color */
    margin-bottom: 10px;
}

.section p {
    font-size: 1.1em;
    color: #555;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Product Cards Container */
.product-cards {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid layout */
    justify-items: center;
}

/* Individual Product Card */
.product-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    width: 100%;
    max-width: 280px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensures card takes up equal height */
    
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

/* Product Image */
.product-card img.product-img {
    width: 120px; /* Increase image width */
    height: 120px; /* Increase image height */
    display: block; /* Center the image */
    margin: 0 auto 15px; /* Center the image with some space below */
   
}

/* Product Card - h4 Styling */
.product-card h4 {
    font-size: 1em;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    font-weight: normal;
    text-align: center;
}

/* Optional Hover Effect */
.product-card h4:hover {
    color: #02943a;  /* Change to green on hover */
    cursor: pointer; /* Shows pointer cursor on hover */
}


.product-card .product-img {
transition: transform 0.3s ease, filter 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.1); /* Slight zoom effect */
    filter: brightness(1.2); /* Increase brightness on hover */
}

/* Product Title */
.product-card h3 {
    font-size: 1.25em;
    color: #333;
    margin-bottom: 10px;
}

/* Product Description */
.product-card p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1; /* Allows description area to grow and fill space */
}


/* Learn More Link */
.product-card .product-link {
    display: inline-block;
    padding: 10px 15px;
    background-color: #02943a;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.product-card .product-link {
    display: inline-block;
    padding: 10px 15px;
    background-color: #02943a;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Pushes the button to the bottom */
}
/* Find More Button Container */
.find-more-btn-container {
    text-align: center; /* Center the button */
    margin-top: 40px; /* Space above the button */
}

/* Find More Button */
.find-more-btn {
    padding: 15px 30px;
    background-color: #003f17; /* Green color */
    color: white;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Button Hover Effect */
.find-more-btn:hover {
    background-color: #003f17; /* Darker green on hover */
    transform: translateY(-3px); /* Slight lift effect */
}

/* Button Focus State */
.find-more-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px #003f17; /* Green focus ring */
}

/* Offer Cards Container */
.offer-cards {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-items: center;
}

/* Individual Offer Card */
.section2 {
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(135deg, #0f7a63, #22be63);
}
.offer-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    width: 100%;
    max-width: 320px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    position: relative;
    }
    .offer-card:hover {
        transform: translateY(-5px);
        box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
    }

/* Offer Title */
.offer-card h3 {
    font-size: 1.4em;
    color: #222;
    margin-bottom: 12px;
    text-align: center;
}
/* Solutions Section Styling */
.solutions-section {
    background: linear-gradient(135deg, #0f7a63, #22be63); /* Gradient background for a dynamic feel */
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px; /* Rounded corners for a soft look */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
    margin: 40px 0;
}

.solutions-title {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase; /* Adds a stylish touch */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4); /* Adds a subtle text shadow */
}

.solutions-description {
    font-size: 1.2em;
    color: #f7f7f7;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    text-align: center;
    padding: 0 20px;
    font-style: italic; /* Adds emphasis */
}

.solutions-section:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* Darker shadow on hover for effect */
    transform: translateY(-5px); /* Slight lift effect on hover */
    transition: all 0.3s ease; /* Smooth transition effect */
}

/* Offer Description */
.offer-card p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    text-align: center;
}
.cta-button {
    display: block;
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #049c62;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    text-align: center;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}
.cta-button:hover {
    background-color: #005bb5;
    text-align: center;
}
/* Stats Cards Container */
.stat-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Individual Stat Card */
.stat-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.stat-card.visible {
    opacity: 1;
    transform: scale(1);
}
.stat-card .icon {
    font-size: 2em;
    color: #02943a;
    margin-bottom: 10px;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.15);
}

/* Stat Number */
.stat-card h3 {
    font-size: 2em;
    color: #02943a;
    margin: 0;
    font-weight: bold;
}
/* Stat Description */
.stat-card p {
    color: #666;
    margin: 5px 0 0;
}

/* General Section Styling */
.register-section, .login-section {
    background: linear-gradient(135deg, #e6f7e3, #d1edc0);
    padding: 2.5rem;
    border-radius: 10px;
    width: 320px;
    display: inline-block;
    text-align: top;
    margin: 1rem 1% 2rem;
    vertical-align: top ;
    width: 47%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg, #e6f7e3, #d1edc0);
}

.register-section:hover, .login-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
    .register-section, .login-section {
        width: 90%; /* Take up full width on smaller screens */
        margin: 1rem auto; /* Center the sections */
    }
}
.container {
    display: flex;
    justify-content: center; /* Centers the sections horizontally */
    align-items: flex-start; /* Aligns them to the top */
    gap: 2%; /* Adds some space between the two sections */
    width: 100%; /* Make sure it takes up the full width */
    margin-top: 50px; /* Optional: to add some space from the top */
}


/* Form Styling */
form input, form button {
    width: 100%;
    padding: 0.85rem;
    margin-bottom: 1rem;
    border: 1px solid #cddc39;
    border-radius: 5px;
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input:focus {
    border-color: #81c784;
    box-shadow: 0 0 5px rgba(129, 199, 132, 0.5);
}

form button {
    background: #038b2c;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background 0.3s ease;
}

form button:hover {
    background: #026f23;
}


/* Responsive Design */
@media (max-width: 500px) {
    .register-section, .login-section {
        width: 90%;
        padding: 2rem;
    }

    h2 {
        font-size: 1.5em;
    }
}
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
    overflow: auto; /* Enable scroll if needed */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    z-index: 1000;
}
.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 80%; /* You can adjust this width */
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}
.center-button-container {
    display: flex;
    justify-content: center;  /* Horizontally center the button */
    align-items: center;      /* Vertically center the button */
              /* Make the container take the full height of the viewport */
}

/* Footer */
/* General styles for the footer */
.footer {
    background-color: #06330e;
    color: white;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-section {
    width: 30%;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.5;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #01c91b;
}

/* Subscribe section */
.subscribe form {
    display: flex;
    flex-direction: column;
}

.subscribe input {
    padding: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    width: 100%;
    border: none;
    border-radius: 5px;
}

.subscribe button {
    padding: 10px;
    background-color: #06971a;
    border: none;
    color: white;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
}

.subscribe button:hover {
    background-color: #14a739;
}

/* Footer links and social media */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-right: 20px;
}

.footer-links a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #12530d;
}

.social-media {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: white;
    font-size: 36px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #ff6f61;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        width: 100%;
        margin-bottom: 20px;
        align-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }
    
}

