/* --- :root and General Body --- */
:root {
    --primary-green: #34A853;
    --light-green-bg: #E8F5E9;
    --card-white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #555555;
    --border-radius: 15px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body {
    margin: 0;
    line-height: 1.6;
    color: var(--text-dark);
}

/* --- Styles for Main Page (index.html) --- */
.main-page {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-green);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    background-color: var(--light-green-bg);
    max-width: 800px;
    width: 100%;
    margin: 20px auto;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-align: center;
}

header {
    margin-bottom: 40px;
    text-align: center;
}

.logo {
    max-width: 350px;
    width: 80%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

p {
    color: var(--text-light);
    font-size: 1.1em;
    margin-bottom: 25px;
}

.main-page section {
    background-color: var(--card-white);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.hero-card p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.download-buttons a {
    display: inline-block;
    margin: 10px;
    transition: transform 0.2s ease;
}

.download-buttons img {
    height: 60px;
    width: auto;
}

.download-buttons a:hover {
    transform: scale(1.05);
}

.privacy-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lock-icon {
    width: 60px;
    height: auto;
    margin-bottom: 20px;
    opacity: 0.7;
}

.privacy-card h2 {
    font-size: 1.5em;
}

.privacy-card p {
    font-size: 1em;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

#map-container {
    width: 100%;
    height: 450px;
    background-color: #e0e0e0;
    border-radius: 10px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 1px solid #ccc;
}


/* --- Styles for Other Info Pages (about, privacy, terms, etc.) --- */
.info-page {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--primary-green);
    color: var(--text-dark);
    padding: 2rem;
}

.info-card {
    background-color: var(--card-white);
    max-width: 800px;
    margin: auto;
    padding: 2rem 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.info-card h1 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.info-card h2 {
    color: var(--primary-green);
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.info-card p,
.info-card li {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.info-card ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-card ul li {
    margin-bottom: 0.5rem;
}

.info-card a {
    color: var(--primary-green);
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    font-weight: bold;
}


/* --- Enhancements for About Page with Icons --- */
.feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.1em;
    margin: 12px 0;
    line-height: 1.5;
}

.feature-list i {
    color: var(--primary-green);
    font-size: 1.4em;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

/* Optional green text highlight */
.green {
    color: var(--primary-green);
    font-weight: 600;
}


/* --- Footer Styles (NEW & UPDATED) --- */
footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px 15px; /* Add padding for spacing */
    border-top: 1px solid #ccc;
}

footer nav {
    margin-bottom: 1rem;
}

footer nav a {
    margin: 0 15px;
    text-decoration: none;
    color: var(--text-dark); /* Use a darker text for readability */
    font-weight: 500;
    display: inline-block; /* Helps with spacing on wrap */
    margin-bottom: 10px; /* Space for wrapping on small screens */
}

footer nav a:hover {
    text-decoration: underline;
    color: var(--primary-green);
}

footer .social-links {
    margin-bottom: 1.5rem; /* Space between icons and copyright */
}

footer .social-links a {
    margin: 0 10px;
    font-size: 1.5rem; /* Slightly larger icons */
    color: var(--primary-green);
    text-decoration: none;
    transition: transform 0.2s ease;
}

footer .social-links a:hover {
    transform: scale(1.1); /* Nice hover effect */
}

.copyright {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.copyright p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.copyright a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.copyright a:hover {
    text-decoration: underline;
}


/* --- Responsive Adjustments --- */
@media (max-width: 600px) {
    .main-page {
        padding: 10px;
    }
    .container {
        padding: 15px;
    }
    .main-page section {
        padding: 20px;
    }
    h1 {
        font-size: 2em;
    }
    .download-buttons img {
        height: 50px;
    }
    .logo {
        max-width: 200px;
        width: 70%;
    }
    .info-page {
        padding: 1rem;
    }
    .info-card {
        padding: 1.5rem;
    }

    .feature-list li {
        font-size: 1em;
        gap: 10px;
        /* UPDATED: Align icons to the top on mobile */
        align-items: flex-start;
    }
    
    /* NEW: This rule stacks the title and description on mobile */
    .feature-list li div strong {
        display: block;
        line-height: 1.4;
    }

    footer nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px; /* Creates space between stacked links */
    }

    footer nav a {
        margin-bottom: 0; /* Reset margin as gap handles it */
    }
}