/* --- 0. Global Reset and Variables --- */
:root {
    --primary-color: #007bff;
    --secondary-color: #0056b3;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #212529;
}

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

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

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

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* --- 1. Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: var(--dark-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links a {
    color: white;
    margin-left: 25px;
    font-weight: 400;
    transition: color 0.3s;
}

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

.menu-toggle {
    display: none; /* Hide toggle button on desktop */
}

/* --- 2. Hero Section --- */
.hero-section {
    background: url('./download.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 5%;
    background-color: var(--light-bg);
    min-height: 80vh;
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

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

.image-placeholder {
    width: 100%;
    height: 350px;
    background-color: #ccc;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    /* Mimic a product graphic */
    background-image: linear-gradient(45deg, #ddd 25%, #eee 25%, #eee 50%, #ddd 50%, #ddd 75%, #eee 75%, #eee);
}

/* --- 3. Features Section (Grid) --- */
.features-section {
    padding: 80px 5%;
    text-align: center;
}

.features-section h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    /* 3-column layout on desktop */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
}

.feature-card {
    padding: 30px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* --- 4. Contact Form --- */
.contact-section {
    padding: 80px 5%;
    background-color: var(--light-bg);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

/* Make the CTA button full width in the form */
.contact-form .cta-button {
    width: 100%;
}

/* --- 5. Footer --- */
.footer {
    padding: 20px 5%;
    background-color: var(--dark-bg);
    color: white;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-left: 15px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: white;
}

/* ======================================= */
/* --- RESPONSIVENESS (Media Queries) ---- */
/* ======================================= */

@media (max-width: 992px) {
    /* Hero Section adjustments */
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
        padding-bottom: 50px;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        max-width: 80%;
    }

    /* Features Section adjustment (stack columns) */
    .features-grid {
        /* Single column layout on smaller screens */
        grid-template-columns: 1fr; 
    }
}

@media (max-width: 768px) {
    /* Navbar adjustments for mobile */
    .navbar {
        flex-wrap: wrap;
    }
    
    .nav-links {
        display: none; /* Hide links by default */
        width: 100%;
        text-align: center;
        order: 3; /* Push links below logo and toggle */
    }

    /* This class would be toggled by JS to show the menu, but we show the structure */
    /* .nav-links.open { display: block; } */

    .nav-links a {
        display: block;
        margin: 10px 0;
        padding: 10px 0;
        border-top: 1px solid #333;
    }

    .menu-toggle {
        display: block; /* Show toggle button */
        background: none;
        border: none;
        color: white;
        font-size: 1.8rem;
        cursor: pointer;
    }

    /* Footer adjustments */
    .footer {
        flex-direction: column;
    }

    .footer p {
        margin-bottom: 10px;
    }
}