/* Base Styles */
:root {
    --primary-color: #6B46C1; /* Main color - Purple */
    --secondary-color: #9F7AEA; /* Lighter Purple for accents */
    --background-color: #1A202C; /* Dark background */
    --text-color: #E5E7EB; /* Light text */
    --link-hover-color: #D6BCFA; /* Light purple hover effect */
    --footer-background-color: #2D3748; /* Darker footer background */
    --footer-text-color: #CBD5E0; /* Light footer text */
    --navbar-background-color: #2B3A46; /* Dark navbar background */
    --navbar-link-color: #E5E7EB; /* Light navbar links */
    --navbar-link-hover-color: #B794F4; /* Light purple hover effect */
    --button-hover-background: #9F7AEA; /* Hover effect for buttons */
}

/* Global Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover-color);
}



/* Navbar - Mobile Styles */
#menu-toggle {
    color: var(--text-color);
}

#mobile-menu a {
    padding: 10px;
    color: var(--text-color);
}

#mobile-menu a:hover {
    color: var(--primary-color);
}

/* Header Section */
header {
    position: sticky;
    top: 0;
    background-color: var(--navbar-background-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    padding: 0px 0;
    text-align: left;
}


header p {
    font-size: 1.2rem;
}

/* Footer Styles */
footer {
    background-color: var(--footer-background-color);
    padding: 40px 0;
    color: var(--footer-text-color);
    text-align: center;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

footer .footer-social-links a {
    display: block;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

footer .footer-social-links a:hover {
    color: var(--primary-color);
}

/* Button Styles */
button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--button-hover-background);
}

/* Form Inputs */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    background-color: var(--bg-purple-200);
    border: 1px solid #4A5568;
    color: black;
    padding: 10px;
    width: 100%;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#preloader .spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Media Queries - Mobile Styles */
@media (max-width: 768px) {
    nav {
        padding: 20px 0;
    }

    nav a {
        font-size: 0.9rem;
        padding: 8px 10px;
    }

    footer .max-w-6xl {
        grid-template-columns: 1fr;
    }

    footer .footer-social-links {
        position: absolute;
        top: 50%;
        left: 10px;
        transform: translateY(-50%);
    }

    footer .footer-social-links a {
        font-size: 1.25rem;
    }

    header {
        padding: 40px 10px;
    }

    header h1 {
        font-size: 2.5rem;
    }

    header p {
        font-size: 1rem;
    }
}

/* Partnership carousel */
.slick-carousel .slick-slide {
    display: flex;
    justify-content: center;
}

.slick-carousel img {
    transition: transform 0.3s ease-in-out;
}

.slick-carousel img:hover {
    transform: scale(1.1);
}

/* Slick dots styling for purple theme */
.slick-dots li button:before {
    font-size: 12px;
    color: #a855f7;
    opacity: 0.5;
}

.slick-dots li.slick-active button:before {
    color: #7e22ce;
    opacity: 1;
}

/* Hover effect for buttons */
.hover-transition {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hover-transition:hover {
    background-color: #6b46c1;
    transform: translateY(-3px);
}

/* Hover effect for product cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
