/* General Styles */
/* body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}


.header {
    background: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

.header h1 {
    margin: 0;
}


nav {
    background: #444;
    padding: 10px;
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
}

nav a:hover {
    text-decoration: underline;
}


section {
    padding: 20px;
    margin: 20px;
}

section h2 {
    color: #333;
    border-bottom: 2px solid #444;
    padding-bottom: 10px;
}

.product {
    border: 1px solid #ddd;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
}

.product h3 {
    margin: 0;
    color: #444;
}


footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
} 


.product {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: #444;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.product-slide {
    display: none;
    animation: fade 0.5s ease-in-out;
}

.product-slide.active {
    display: block;
}

@keyframes fade {
    from { opacity: 0.1; }
    to { opacity: 1; }
}

.product h2 {
    font-size: 3rem;
    margin: 0;
}

.product p {
    font-size: 1.5rem;
    margin: 10px 0;
}

.product button {
    background: #333;
    color: green;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
}

.product button:hover {
    background: #555;
}


.product {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


.product button {
    background: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.product button:hover {
    background: #555;
}


section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
} */

/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background: #f4f4f9;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header h1 {
    margin: 0;
    font-size: 2.5rem;
    animation: fadeIn 1s ease-in-out;
}

.header p {
    font-size: 1.2rem;
    margin-top: 10px;
    animation: fadeIn 1.5s ease-in-out;
}

/* Navigation Styles */
nav {
    background: #444;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #6a11cb;
    text-decoration: underline;
}

/* Section Styles */
section {
    padding: 40px 20px;
    margin: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    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 {
    color: #2575fc;
    border-bottom: 2px solid #6a11cb;
    padding-bottom: 10px;
    font-size: 2rem;
}

/* Product Styles */
.product {
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.product h3 {
    margin: 0;
    color: #2575fc;
    font-size: 1.5rem;
}

.product p {
    color: #555;
    font-size: 1rem;
}

.product img {
    border-radius: 10px;
    margin-top: 10px;
}

/* About Us Section */
#about {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
}

#about h2 {
    color: white;
    border-bottom: 2px solid white;
}

#about button {
    background: white;
    color: #2575fc;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}

#about button:hover {
    background: #2575fc;
    color: white;
}

/* Contact Section */
#contact {
    background: #f4f4f9;
}

#contact h2 {
    color: #2575fc;
}

#contact p {
    color: #555;
}

#contact a img {
    margin-top: 10px;
    transition: transform 0.3s ease;
}

#contact a img:hover {
    transform: scale(1.1);
}

/* Footer Styles */
footer {
    background: #444;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Slide Animation */
.product-slide {
    display: none;
    animation: fade 0.5s ease-in-out;
}

.product-slide.active {
    display: block;
}

@keyframes fade {
    from {
        opacity: 0.1;
    }
    to {
        opacity: 1;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin: 0;
    animation: fadeIn 1s ease-in-out;
}

.hero p {
    font-size: 1.2rem;
    margin: 20px 0;
    animation: fadeIn 1.5s ease-in-out;
}

.cta-button {
    background: white;
    color: #2575fc;
    padding: 10px 20px;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background: #2575fc;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Product Card Enhancements */
.product {
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.product img {
    border-radius: 10px;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.product:hover img {
    transform: scale(1.05);
}

.product h3 {
    margin: 0;
    color: #2575fc;
    font-size: 1.5rem;
}

.product p {
    color: #555;
    font-size: 1rem;
}

/* Testimonials Section */
/* #testimonials {
    background: #f4f4f9;
    padding: 40px 20px;
}

.testimonial {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial p {
    font-style: italic;
    color: #555;
}

.testimonial strong {
    color: #2575fc;
} */

/* Loading Spinner */
.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #2575fc;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    padding: 10px;
    border-radius: 10%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.product-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card img {
    max-width: 100%;
    border-radius: 10px;
}

.product-card h3 {
    margin: 10px 0;
    color: #2575fc;
}

.product-card p {
    color: #555;
}

.product-card button {
    background: #2575fc;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.product-card button:hover {
    background: #6a11cb;
}

/* Filter Buttons */
.filter-buttons {
    text-align: center;
    margin-bottom: 20px;
}

.filter-button {
    background: #f4f4f9;
    color: #333;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.filter-button.active {
    background: #2575fc;
    color: white;
}

.filter-button:hover {
    background: #6a11cb;
    color: white;
}

/* Modal Popup */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.close-modal:hover {
    color: #2575fc;
}

#modal-image {
    max-width: 100%;
    border-radius: 10px;
}

#modal-title {
    margin: 10px 0;
    color: #2575fc;
}

#modal-price {
    color: #555;
    font-size: 1.2rem;
}

#modal-description {
    color: #333;
    font-size: 1rem;
}

/* Google Form Styling */
iframe {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

/* General Styles for Mobile */
@media (max-width: 768px) {
    /* Adjust header for mobile */
    .header h1 {
        font-size: 2rem;
    }

    .header p {
        font-size: 1rem;
    }

    /* Adjust navigation for mobile */
    nav a {
        display: block;
        margin: 10px 0;
    }

    /* Adjust product grid for mobile */
    .product-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
    }

    /* Adjust hero section for mobile */
    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Adjust modal for mobile */
    .modal-content {
        width: 90%;
        padding: 10px;
    }

    /* Adjust contact section for mobile */
    iframe {
        height: 600px; /* Adjust height for smaller screens */
    }
}

/* Product Card Styles */
.product-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 450px; /* Fixed height for all cards */
    min-height: 450px; /* Ensure minimum height */
    overflow: hidden; /* Hide overflow content */
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Image Container */
.product-card img {
    width: 100%; /* Full width of the card */
    height: 200px; /* Fixed height for all images */
    object-fit: cover; /* Prevent distortion */
    border-radius: 10px;
    margin-bottom: 15px;
}

/* View Details Button */
.product-card button {
    background: #2575fc;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: auto; /* Push button to the bottom */
}

.product-card button:hover {
    background: #6a11cb;
}

@media (max-width: 768px) {
    .product-card {
        height: 400px; /* Slightly smaller height for mobile */
        min-height: 400px;
    }

    .product-card img {
        height: 150px; /* Smaller image height for mobile */
    }
}

/* Testimonials Section with Background Image */
.testimonials-bg {
    background-image: url('images/battery3.jpg'); /* Path to your background image */
    background-size: cover; /* Ensure the image covers the entire section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    position: relative; /* Required for overlay */
    padding: 60px 20px; /* Add padding for spacing */
    color: white; /* Text color */
    text-align: center; /* Center-align text */
}

/* Overlay to improve text readability */
.testimonials-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Dark overlay with 50% opacity */
    z-index: 1; /* Ensure overlay is above the background image */
}

/* Ensure content is above the overlay */
.testimonials-bg h2,
.testimonials-bg .testimonial {
    position: relative;
    z-index: 2; /* Place content above the overlay */
    color: aliceblue;
}

/* Testimonial Styling */
.testimonial {
    background: rgba(183, 173, 212, 0.1); /* Semi-transparent background for testimonials */
    padding: 20px;
    margin: 20px auto; /* Center testimonials */
    border-radius: 10px;
    max-width: 600px; /* Limit width for better readability */
    backdrop-filter: blur(5px); /* Add a blur effect to the background */
}

.testimonial p {
    font-style: italic;
    color: white; /* Ensure text is white */
    margin: 0;
}

.testimonial strong {
    color: #2575fc; /* Highlight client names */
}

@media (max-width: 768px) {
    .testimonials-bg {
        padding: 40px 10px; /* Reduce padding for smaller screens */
    }

    .testimonial {
        padding: 15px;
        margin: 15px auto;
    }

    .testimonials-bg h2 {
        font-size: 1.8rem; /* Smaller heading for mobile */
    }
}

.testimonial {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px); /* Lift testimonial on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Add shadow on hover */
}

/* Hero Section with Background Image */
.hero-bg {
    background-image: url('images/battery2.jpg'); /* Path to your background image */
    background-size: cover; /* Ensure the image covers the entire section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    position: relative; /* Required for overlay */
    padding: 100px 20px; /* Add padding for spacing */
    color: white; /* Text color */
    text-align: center; /* Center-align text */
}

/* Overlay to improve text readability */
.hero-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Dark overlay with 50% opacity */
    z-index: 1; /* Ensure overlay is above the background image */
}

/* Ensure content is above the overlay */
.hero-content {
    position: relative;
    z-index: 2; /* Place content above the overlay */
}

/* Hero Content Styling */
.hero-content h2 {
    font-size: 2.5rem;
    margin: 0;
    animation: fadeIn 1s ease-in-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin: 20px 0;
    animation: fadeIn 1.5s ease-in-out;
}

.cta-button {
    background: white;
    color: #2575fc;
    padding: 10px 20px;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background: #2575fc;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Apply Background Image to the Whole Page */
body {
    background-image: url('images/star.jpg'); /* Path to your background image */
    background-size: cover; /* Ensure the image covers the entire page */
    background-position: center; /* Center the image */
    background-attachment: fixed; /* Creates parallax effect */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    margin: 0; /* Remove default margin */
    font-family: Arial, sans-serif; /* Set a default font */
    color: white; /* Default text color */
    line-height: 1.6;
}

/* Overlay to improve text readability */
body::before {
    content: "";
    position: fixed; /* Fixed overlay for parallax effect */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* Dark overlay with 50% opacity */
    z-index: -1; /* Place overlay behind content */
}

/* Ensure content is above the overlay */
header, section, footer {
    position: relative;
    z-index: 1; /* Place content above the overlay */
}

/* Section Styling */
section {
    padding: 60px 20px;
    margin: 20px;
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
    border-radius: 10px;
    backdrop-filter: blur(5px); /* Add a blur effect */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

section h2 {
    color: #2575fc;
    border-bottom: 2px solid #6a11cb;
    padding-bottom: 10px;
    font-size: 2rem;
}

section p {
    color: white;
    font-size: 1.1rem;
}

/* Header Styling */
.header {
    padding: 100px 20px;
    text-align: center;
}

.header h1 {
    font-size: 2.5rem;
    margin: 0;
    animation: fadeIn 1s ease-in-out;
}

.header p {
    font-size: 1.2rem;
    margin-top: 10px;
    animation: fadeIn 1.5s ease-in-out;
}

/* Fade-in animation for text */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    section {
        padding: 40px 10px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .header p {
        font-size: 1rem;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    padding: 10px;
    border-radius: 50%; /* Make it circular */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    z-index: 1000; /* Ensure it stays on top */
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); /* Add a stronger shadow */
}

