/* General Styles */

:root {
    --color-bg: #bdcebe;
    --color-fg: black;
    --color-hl: aqua;
    --color-txt-bg: white;
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-bg: black;
        --color-fg: white;
        --color-hl: teal;
        --color-txt-bg: black;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: var(--color-bg);
}

.container {
    width: auto;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background-color: #333;
    color: white;
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.navbar .logo label {
    color: white;
    font-size: 24px;
    text-decoration: none;
}

.nav-links {
    list-style-type: none;
    display: flex;
}

.nav-links li a {
    color: white;
    background-color: #333;
    text-decoration: none;
    font-size: 16px;
}

.menu-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: white;
}

.menu-toggle {
    display: none;
}

.menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    background-color: #333;
    top: 60px;
    right: 0;
    width: 120px;
    padding: 20px;
}

.nav-links li a {
    padding: 10px;
    text-align: center;
}

.hero {
    color: var(--color-fg);
    font-size: 1.5rem;
    padding: 20px 20px;
}

.hero p {
    color: var(--color-fg);
    font-size: 2rem;
    margin-bottom: 20px;
}

.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    color: var(--color-fg);
}

.feature {
    margin-left: 20px;
    margin-right: 20px;
    color: black;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    font-size: 1.5rem;
    padding-left: 20px;
}

.feature h4 {
    font-size: 1.25rem;
    color: darkslategray;
    margin-bottom: 10px;
    padding-left: 20px;
}

.feature p {
    font-size: 1rem;
    padding: 20px 20px;
    color: #666;
}

.feature button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #04AA6D; /* Green */
    color: white;
    border: none;
    border-radius: 5px;
}

.feature button:hover {
    background-color: #555;
}

/* Services Section */
.services-section {
    padding: 20px 20px;
    background-color: var(--color-bg);
    text-align: left;
}

.services-section h2 {
    color: var(--color-fg);
    font-size: 32px;
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    justify-items: center;
}

.service-card {
    background-color: #f8f8f8;
    padding: 20px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    text-align: left;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 16px;
    color: #666;
}

.service-card input button {
    font-size: 16px;
    color: #666;
}

.service-card input[type='text'] {
    display: none;
}

.square {
    height: 80px;
    width: 80px;
    color: black;
    background-color: white;
    border-style: solid;
    border-radius: 15px;
    border-color: var(--color-fg);
    border-width: 1px;
    text-align: center;
    font-size: 60px;
}

.footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        width: 100%;
    }

    .menu-icon {
        display: flex;
    }

    .nav-links li a {
        padding: 15px;
        text-align: center;
    }

    .square {
        height: 40px;
        width: 40px;
        color: black;
        background-color: white;
        border-style: solid;
        border-radius: 8px;
        border-color: var(--color-fg);
        border-width: 1px;
        text-align: center;
        font-size: 36px;
    }

}

@media (min-width: 769px) {

    .menu-icon {
        display: none;
    }

    .square {
        height: 50px;
        width: 50px;
        color: black;
        background-color: white;
        border-style: solid;
        border-radius: 15px;
        border-color: var(--color-fg);
        border-width: 1px;
        text-align: center;
        font-size: 40px;
    }

}
