
:root {
    --primary-color: #007bff;
    --secondary-color: #0056b3;
    --text-color: #333;
    --background-color: #f4f7f6;
    --card-background: #ffffff;
    --footer-background: #343a40;
    --light-text: #ffffff;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

header {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 1rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 0.5rem;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8rem 0 4rem;
    width: 90%;
    margin: 60px auto 0;
    min-height: calc(100vh - 60px);
}

.hero-content {
    max-width: 55%;
    animation: slideInFromLeft 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-family: var(--font-secondary);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: var(--light-text);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-button i {
    margin-right: 0.5rem;
}

.hero-image {
    max-width: 40%;
    animation: slideInFromRight 1s ease-out;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.features,
.how-it-works,
.why-junkloop {
    padding: 4rem 0;
    text-align: center;
}

.features h2,
.how-it-works h2,
.why-junkloop h2,
.contact h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.feature-cards,
.steps,
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 90%;
    margin: 0 auto;
}

.feature-card,
.step,
.benefit {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.step:hover,
.benefit:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-card i,
.benefit i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step .step-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--light-text);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact {
    padding: 4rem 0;
    background-color: var(--card-background);
}

.contact-container {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
    gap: 2rem;
}

.contact-container form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-container input,
.contact-container textarea {
    font-family: var(--font-secondary);
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-container textarea {
    resize: vertical;
}

.contact-container .cta-button {
    align-self: flex-start;
    border: none;
    cursor: pointer;
}

.contact-info {
    flex: 1;
    padding-left: 2rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info p i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.5rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-right: 1.5rem;
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

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


footer {
    background-color: var(--footer-background);
    color: var(--light-text);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    width: 90%;
    margin: 0 auto;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.helper-bot {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: var(--light-text);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.helper-bot:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}


/* Animations */
@keyframes slideInFromLeft {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromRight {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image {
        max-width: 60%;
        margin-top: 3rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-info {
        padding-left: 0;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Consider a hamburger menu for production */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        max-width: 80%;
    }

    .features h2,
    .how-it-works h2,
    .why-junkloop h2,
    .contact h2 {
        font-size: 2.2rem;
    }
}
