/* Global Styles & Resets */
:root {
    --primary-color: #007bff; /* Blue - can be changed to your brand color */
    --secondary-color: #6c757d; /* Grey */
    --accent-color: #ffc107; /* Yellow/Orange accent - This will be your LIGHT hover color */
    --dark-text: #343a40;
    --light-text: #ffffff; /* white */
    --light-bg: #f8f9fa;
    --font-family: 'Open Sans', sans-serif; /* Modern sans-serif font */
    --container-width: 1200px; /* Your specified max-width for content */
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --cta-dark-bg: var(--primary-color); /* A dark blue-grey, or use var(--primary-color) for dark blue */
}

/* Import Google Font - Open Sans */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-text); /* White background */
}

/* Styles for body when mobile menu is open (applied via JS) */
body.no-scroll {
    overflow: hidden;
}

.container {
    width: 95%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
    margin-bottom: 20px;
}

h1, h2, h3 {
    line-height: 1.3;
    margin-bottom: 0.75em;
    font-weight: 700; /* Bolder headings */
}

h1 { font-size: 2.8rem; color: var(--primary-color); }
h2 { font-size: 2.2rem; color: var(--dark-text); }
h3 { font-size: 1.5rem; color: var(--primary-color);}
h4 { font-size: 1.4rem; color: var(--accent-color);}

p {
    margin-bottom: 1em;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color); /* Using accent color for hover */
}

ul {
    list-style: none;
    padding-left: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Navbar Base Styles (Adjusted for Light Background and New HTML) --- */
.main-header {
    background-color: var(--light-text); /* Changed: Use your light text variable for a white/light header */
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* Adjusted: Lighter shadow for a light header */
    position: sticky;
    top: 0;
    height: auto;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between; /* Pushes logo left, toggle/desktop group right */
    align-items: center;
    max-width: var(--container-width);
    width: 95%;
    margin: 0 auto;
    padding: 0.5rem 0.5rem;
    height: 50px;
    position: relative; /* CRITICAL: Needed for absolute positioning of the mobile menu */
}

/* Navbar Brand/Logo (Adjusted for Light Background) */
.navbar-brand {
    text-decoration: none;
    color: var(--primary-color); /* Changed: Use primary color for logo text to stand out on light bg */
    font-size: 1.8em;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-width: 200px;
    height: 50px;
    display: block;
}

/* Hamburger Menu Toggle Button (Hidden on Desktop) */
.menu-toggle {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    font-size: 1.8em;
    color: var(--dark-text); /* Changed: Use dark text for the hamburger icon on light header */
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002; /* Ensures it's above any other elements that might overlap */
    position: relative; /* Needed for z-index to work reliably relative to flex parent */
}

/* Desktop Navigation and CTA Group */
.nav-desktop-group {
    display: flex; /* Always flex for desktop */
    align-items: center;
    gap: 25px; /* Space between desktop nav links and desktop CTA */
}

/* Desktop Navigation Links */
.nav-links-desktop {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Arrange links horizontally */
    gap: 25px; /* Space between individual links */
    align-items: center; /* Vertically center links */
}

.nav-links-desktop .nav-link { /* Specificity for desktop links */
    text-decoration: none;
    color: var(--dark-text); /* Changed: Use dark text for links on light header */
    font-weight: 600;
    font-size: 1.05em;
    padding: 0.5rem 0;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-links-desktop .nav-link:hover,
.nav-links-desktop .nav-link.active-page {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Desktop-only CTA Button */
.nav-cta-desktop {
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    font-weight: 600;
}

.nav-cta-desktop:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    color: var(--dark-text); /* Ensure text is dark on hover */
}

/* Mobile Navigation Menu - Initially hidden on desktop */
.nav-links-mobile {
    display: none; /* Hidden by default on desktop */
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Hide mobile-only CTA on desktop */
.nav-cta-mobile {
    display: none;
}

/* --- Responsive / Mobile Navbar Styles (Final Version) --- */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 0.5rem 1rem;
    }

    .navbar-brand img {
        max-width: 200px;
    }

    /* Show the hamburger menu toggle button on mobile */
    .menu-toggle {
        display: block;
    }

    /* Hide the desktop navigation group on mobile */
    .nav-desktop-group {
        display: none;
    }

    /* --- FINAL ANIMATION CSS --- */
    /* By default, the menu is a flex container, but positioned above the screen */
    .nav-links-mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
        background-color: White;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem 0;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        z-index: 999;

        /* Animation Properties */
        opacity: 0; /* Start fully transparent */
        visibility: hidden; /* Start hidden and not interactive */
        transform: translateY(-10px); /* Start slightly moved up */
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0.3s;
    }

    /* When active, the menu becomes visible and moves into place */
    .nav-links-mobile.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    /* --- END OF FINAL CSS --- */

    .nav-links-mobile .nav-link {
        padding: 0.8rem 1.5rem;
        text-align: center;
        border-bottom: none;
        color: var(--dark-text);
		font-size: 20px;
		display: block;
    }

    .nav-links-mobile .nav-link:hover,
    .nav-links-mobile .nav-link.active-page {
        background-color: rgba(0, 123, 255, 0.05);
        color: var(--primary-color);
    }

    .nav-cta-mobile {
        display: block;
        margin-top: 1rem;
        padding: 0 1.5rem;
    }

    .nav-cta-mobile .cta-button {
        display: block;
        width: 100%;
        text-align: center;
    }

    /* Changes the hamburger to an 'X' when the menu is open */
    .menu-toggle.open .fa-bars:before {
        content: "\f00d";
    }

} /* End of @media (max-width: 768px) for Navbar */


/* --- Other Sections (Re-ordered and Cleaned) --- */

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 50, 100, 0.6)), url('img/Hero-Banner.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 600px;
    color: var(--light-text);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero .container {
    max-width: var(--container-width);
    width: 100%;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem; /* Consistent unit */
    margin-bottom: 0.5em; /* Adjusted margin */
    line-height: 1.2;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    color: var(--light-text); /* Ensure heading is light */
}

.hero p {
    font-size: 1.3rem; /* Consistent unit */
    margin-bottom: 1.5em;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-small { /* For About and Contact pages */
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 3em 0;
    text-align: center;
}
.hero-small h1 {
    color: var(--light-text);
    font-size: 2.5rem;
}
.hero-small p {
    font-size: 1.1rem;
}

/* Responsive Adjustments for Hero Section */
@media (max-width: 768px) {
    .hero {
        min-height: 450px;
    }
    .hero h1 {
        font-size: 2.5em;
    }
    .hero p {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 350px;
        padding: 15px;
    }
    .hero h1 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1em;
    }
}

/* Services Section */
.services-section {
    padding: 4em 1em;
    text-align: center;
}
.services-section h2 {
    font-size: 2.8em;
    margin-bottom: 1.5em;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
}
.service-card {
    background-color: var(--light-bg);
    padding: 2em;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5em;
}
.service-card h3 {
    margin-bottom: 0.5em;
    font-size: 1.3rem;
}

/* CTA Banner Section */
.cta-banner {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 3em 0;
    text-align: center;
}
.cta-banner.final-cta {
    background-color: var(--dark-text); /* Different background for final CTA */
}
.cta-banner h2 {
    font-size: 2rem;
    margin-bottom: 0.5em;
    color: var(--light-text);
}
.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 1.5em;
}
.cta-banner .offer-terms {
    font-size: 0.9rem;
    margin-top: 1em;
    opacity: 0.8;
}
.cta-banner .cta-button i {
    margin-left: 8px;
}

/* General CTA Button (Used for desktop CTA, product cards, etc.) */
.cta-button {
    background-color: var(--cta-dark-bg);
    color: var(--light-text);
    padding: 0.8em 1.8em;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    border: 1px solid transparent; /* Changed to transparent to prevent jump */
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--dark-text);
    transform: translateY(-5px);
    border: 1px solid var(--accent-color); /* Added explicit border on hover */
}


/* Content Section (for About Page) */
.content-section {
    padding: 1em 1em;
}
.content-section h2 {
    margin-bottom: 1em;
}
.content-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 01.5em;
}
.content-section ul li {
    margin-bottom: 0.5em;
    padding-left: 1.5em;
    position: relative;
}
.content-section ul li i {
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 5px;
}

/* Contact Page Styles */
.contact-details-section {
    padding: 4rem 0rem;
    background-color: white;
    color: var(--dark-text);
    
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    max-width: var(--container-width); /* Corrected syntax */
    margin: auto;
    
}

.contact-info-column,
.map-column {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow); /* Corrected from #box-shadow */
    height: 475px;
}

.contact-info-column h2,
.map-column h2 {
    font-size: 2em;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: left;
}

.contact-info-column p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-size: 1.3em;
}

.contact-info-column p strong {
    color: var(--secondary-color);
    font-size: 1.2em;
}

.contact-info-column a {
    color: var(--dark-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-column a:hover {
    color: var(--primary-color);
}

.contact-info-column .icon-spacing {
    margin-right: 10px;
    color: var(--primary-color);
}

.contact-info-column .social-connect-header { /*Connect With Us:*/
    font-size: 1.4em;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.social-links-contact {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.social-links-contact a { /* Social Icons */
    font-size: 1.8em;
    color: var(--primary-color);
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-links-contact a:hover {
    color: var(--dark-text);
    transform: translateY(-3px);
}

.map-responsive {
    overflow: hidden;
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-address {
    font-size: 1em;
    color: var(--dark-text);
    text-align: left;
    margin-top: 0;
}

/* Responsive Adjustments for Contact Section */
@media (max-width: 768px) {
    .contact-grid {
        display: flex;
        flex-direction: column;
        align-items: flex-start;   /* Align child blocks to left */
        justify-content: flex-start;
        text-align: left;
        gap: 20px;
    }

    .contact-info-column,
    .map-column {
        width: 100%;
        text-align: left !important;
        align-items: flex-start;
    }

    .contact-info-column h2,
    .map-column h2,
    .contact-info-column p,
    .map-address {
        text-align: left !important;
    }

    .social-links-contact {
        justify-content: flex-start !important;
    }
}




/* Form Styles */
.form-group {
    margin-bottom: 1.5em;
}
.form-group label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 600;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.8em;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
}
.form-group textarea {
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0,123,255,.25);
}


/* --- Footer Styles --- */
.main-footer {
    background-color: #000;
    color: rgba(255,255,255,0.8);
    padding: 2rem 1rem;
    font-family: var(--font-family); /* Use global font variable */
}

.footer-content-wrapper {
    max-width: var(--container-width); /* Use global container width variable */
    margin: auto;
}

.footer-columns-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin: 1rem 0;
    padding-right: 3rem;
    text-align: left;
}

.footer-heading {
    color: #007bff;
    font-size: 1.5em;
    margin-bottom: 1rem;
}

.about-us-column .footer-logo img {
    max-width: 200px;
    height: 50px;
    margin-top: 0.5rem;
}

.about-us-column .footer-text {
    font-size: 0.95em;
    line-height: 1.6;
}

.footer-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 0.5rem;
    font-size: 0.95em;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #007bff;
}

.icon-spacing {
    margin-right: 8px;
}

.contact-icon-color-email { color: #007bff; }
.contact-icon-color-phone { color: #28a745; }
.contact-icon-color-location { color: #dc3545; }

.footer-separator {
    border: none;
    border-top: 1px solid #333;
    margin: 2rem 0 1rem;
}

.footer-bottom-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright p,
.footer-powered-by p {
    margin: 0;
    font-size: 0.9em;
    color: #bbb;
}

.footer-copyright {
    flex: 1;
    min-width: 250px;
    margin: 0.5rem 0;
    text-align: left;
}

.footer-powered-by {
    flex: 1;
    min-width: 250px;
    margin: 0.5rem 0;
    text-align: right;
}

.footer-social-icons {
    flex: 1;
    min-width: 200px;
    margin: 0.5rem 0;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-social-icons a {
    color: #fff;
    font-size: 1.4em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-icons a:hover {
    color: #007bff;
    transform: translateY(-3px);
}

/* Responsive Footer Adjustments */
@media (max-width: 768px) {
    
    .logo-img {
        max-width: 150px;
        margin-left: auto;
        margin-right: auto;
        display: block;
        text-align: center;
    }
    .footer-columns-top {
        flex-direction: column;
        align-items: center; /* Center columns when stacked */
    }
    
    .footer-column {
        text-align: center;
        padding-right: 0; /* Remove right padding when stacked */
    }
    .footer-bottom-row {
        flex-direction: column;
        text-align: center;
    }
    .footer-copyright,
    .footer-powered-by {
        text-align: center;
        margin-bottom: 1em; /* Add space between stacked items */
    }
    .footer-powered-by { margin-bottom: 0; }
    .footer-social-icons {
        margin-top: 1em;
    }
}


/* --- Other Sections (Continued) --- */

/* Basic Styling for the Testimonials Section */
#testimonials-section {
    padding: 80px 20px;
    background-color: #f8f8f8;
    font-family: var(--font-family); /* Use site's main font */
    text-align: center;
}

#testimonials-section h2 {
    font-size: 2.8em;
    margin-bottom: 50px;
    color: #333;
}

.section-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.testimonial-cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 35px;
    width: 350px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.testimonial-thumbnail {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 25px;
    border: 5px solid #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.2);
}

.testimonial-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-size: 1.6em;
    color: #222;
    margin-bottom: 8px;
    font-weight: 600;
}

.testimonial-designation {
    font-size: 1.05em;
    color: #666;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-text {
    font-size: 1.15em;
    color: #444;
    line-height: 1.7;
}

/* Responsive Adjustments for Testimonials */
@media (max-width: 768px) {
    #testimonials-section {
        padding: 60px 15px;
    }
    #testimonials-section h2 {
        font-size: 2.2em;
        margin-bottom: 40px;
    }
    .testimonial-cards-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    .testimonial-card {
        width: 100%;
        padding: 30px;
    }
}

@media (max-width: 450px) {
    .testimonial-thumbnail {
        width: 90px;
        height: 90px;
    }
    .testimonial-name {
        font-size: 1.4em;
    }
    .testimonial-text {
        font-size: 1em;
    }
}

/* Styling for the FAQ Section */
#faq-section {
    padding: 80px 20px;
    background-color: #f0f4f8;
    font-family: var(--font-family);
    text-align: center;
}

#faq-section h2 {
    font-size: 2.8em;
    margin-bottom: 50px;
    color: #2c3e50;
}

#faq-section .section-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item[open] {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: #34495e;
    cursor: pointer;
    background-color: #fdfdfd;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-question:hover {
    background-color: #f5f5f5;
    color: #007bff;
}

.faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    color: #007bff;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    content: '−';
    transform: rotate(0deg);
}

.faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 20px;
}

.faq-item[open] .faq-answer {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Adjustments for FAQ */
@media (max-width: 768px) {
    #faq-section {
        padding: 60px 15px;
    }
    #faq-section h2 {
        font-size: 2.2em;
        margin-bottom: 40px;
    }
    .faq-question {
        font-size: 1.05em;
        padding: 18px 20px;
    }
    .faq-answer {
        padding: 0 20px 18px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .faq-answer {
        padding: 0 15px 15px;
    }
}

/* Styling for the Products Section */
#products-section {
    padding: 80px 10px;
    background-color: #ffffff;
    font-family: var(--font-family);
    text-align: center;
}

#products-section h2 {
    font-size: 2.8em;
    margin-bottom: 50px;
    color: #2c3e50;
}

#products-section .section-content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5px;
}

.product-cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    width: 280px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;

    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.8s ease forwards;

    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

@keyframes fadeInSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:nth-child(1) { animation-delay: 0s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.2s; }
.product-card:nth-child(4) { animation-delay: 0.3s; }

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.1);
}

.product-title {
    font-size: 1.4em;
    color: #34495e;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-description {
    font-size: 0.95em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.product-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.product-button:hover {
    background-color: white;
    transform: translateY(-2px);
    color: var(--dark-text);
    border: 1px solid var(--primary-color); /* Corrected border color on hover */
}


/* Responsive Adjustments for Products */
@media (max-width: 992px) {
    .product-card {
        width: 45%;
    }
}

@media (max-width: 768px) {
    #products-section {
        padding: 60px 15px;
    }
    #products-section h2 {
        font-size: 2.2em;
        margin-bottom: 40px;
    }
    .product-card {
        width: 90%;
        padding: 20px;
    }
    .product-image-wrapper {
        height: 150px;
    }
    .product-title {
        font-size: 1.3em;
    }
    .product-description {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .product-card {
        width: 95%;
    }
}

/* Gradient Utility Classes (from your original file, placed at end) */
.my-gradient-to-bottom {
    background-image: linear-gradient(to bottom, #007bff, #8a2be2 ); /* The actual image */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
}
.my-gradient-to-left {
    background-image: linear-gradient(45deg, #ff0000, #ffff00);
    min-height: 300px;
    color: #333;
    text-align: center;
}
.my-gradient-to-left-img {
    background-image: linear-gradient(
        to right,
        var(--primary-color),
        var(--secondary-color),
        var(--accent-color)
    );
    min-height: 350px;
    color: var(--dark-text);
    text-align: center;
}

/* Scroll to Top Button Styling */
#scrollToTopBtn {
    /* Hidden by default, will be shown by JavaScript */
    display: flex; /* Use flex to easily center the icon */
    opacity: 0; /* Start completely transparent for fade-in effect */
    pointer-events: none; /* Prevents clicks when invisible */

    position: fixed; /* Keep it fixed on the screen */
    bottom: 30px; /* Distance from the bottom of the viewport */
    right: 30px; /* Distance from the right of the viewport */
    z-index: 1000; /* Ensures it stays on top of other content */

    background-color: var(--primary-color); /* Use your primary brand color for the background */
    color: var(--light-text); /* Use your light text color for the icon */
    border: none;
    border-radius: 20%; /* Makes the button perfectly round */
    width: 50px; /* Width of the button */
    height: 50px; /* Height of the button (make equal to width for circle) */
    font-size: 1.5em; /* Size of the Font Awesome icon */
    text-decoration: none; /* Remove underline from anchor tag */
    cursor: pointer; /* Change cursor to pointer on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */

    /* Center the icon within the button */
    align-items: center;
    justify-content: center;

    /* Smooth transitions for appearance and hover effects */
    transition: opacity 0.3s ease, background-color 0.3s ease, transform 0.2s ease;
}

/* Class added by JavaScript to make the button visible */
#scrollToTopBtn.show {
    opacity: 1; /* Fade in */
    pointer-events: auto; /* Allow clicks when visible */
}

/* Hover effects */
#scrollToTopBtn:hover {
    background-color: var(--accent-color); /* Change background on hover */
    transform: translateY(-3px); /* Subtle lift effect */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    #scrollToTopBtn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3em;
    }
}
