@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --blue: #4052F6;
    --cyan: #7FFFD4;
    --green: #98FFB3;
    --light-blue: #89CFF0;
    --text-color: #333;
    --bg-color: #fff;
}

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

body {
    font-family: 'Hind', 'Inter';
    background: linear-gradient(180deg, #EEF1FF 0%, #FFFFFF 100%);
    color: var(--text-color);
    line-height: 1.5;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 32px; /* Adjust this value to match your design */
    width: auto;
}

nav {
    display: flex;
    gap: 1rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

nav a:first-child {
    color: var(--text-color);
    background: transparent;
}

.contact-btn {
    background: var(--blue);
    color: white !important;
    box-shadow: 0 2px 4px rgba(64, 82, 246, 0.25);
}

/* Add hover effects */
nav a:hover {
    opacity: 0.9;
}

.contact-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(64, 82, 246, 0.3);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero {
    text-align: left;
    padding: 4rem 0;
    position: relative;
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 6rem;
}

/* Adjust the parking lot illustration */
/*.hero::before {
    content: '';
    position: absolute;
    right: -5%;
    top: -8rem;
    width: 100%;
    height: 75%;
    background-image: url('./images/header1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
    z-index: -1;
    opacity: 0.9;
}*/

/* Adjust the car with sensor waves */
/*.hero::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -10%;
    width: 45%;
    height: 45%;
    background-image: url('./images/header2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
    z-index: -1;
}*/

.hero h1 {
    color: var(--blue);
    max-width: 50%;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.hero p {
    max-width: 50%;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    margin: 1rem 0;
}

.feature-card {
    padding: 2.5rem;
    border-radius: 1.5rem;
    color: var(--text-color);
    border: none;
    position: relative;
    overflow: visible;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    display: block !important;
}

.feature-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight: 600;
}

.feature-card p {
    font-size: 1rem;
    opacity: 0.8;
    max-width: 90%;
}

/* Remove any potential hr elements or borders */
.feature-card hr,
.feature-card::before,
.feature-card::after {
    display: none;
}

.blue {
    background: var(--blue);
    color: white;
    grid-column: span 7;
}

.blue::after {
    background-image: url('./images/icon_ai.png');
}

.cyan {
    background: var(--cyan);
    grid-column: span 5;
}

.cyan::after {
    background-image: url('./images/icon_iot.png');
}

.green {
    background: var(--green);
    grid-column: span 5;
}

.green::after {
    background-image: url('./images/icon_multi.png');
}

.light-blue {
    background: var(--light-blue);
    grid-column: span 7;
}

.light-blue::after {
    background-image: url('./images/icon_dash.png');
}

.about-section {
    margin: 6rem 0;
    display: grid;
    gap: 1.5rem;
    position: relative;
    padding-left: 45%;
}

.about-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    height: 450px;
    background-image: url('./images/header2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
}

.about-section p {
    font-size: 1.1rem;
    color: #666;
}

.contact-section {
    background: var(--blue);
    color: white;
    padding: 3.5rem;
    border-radius: 1.5rem;
    text-align: center;
    margin: 6rem 0;
    border: none;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    border: none;
    position: relative;
}

.contact-section h2::after,
.contact-section h2::before {
    display: none;
}

.contact-section p {
    border: none;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info a {
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.contact-info a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

footer {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    padding: 2rem;
    margin-top: 4rem;
}

footer p {
    margin: 0;
    line-height: 1.5;
    color: #999;
}

footer p:first-child {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .hero {
        min-height: 25vh;
        padding: 2rem 0;
    }

    .hero::before,
    .hero::after {
        width: 100%;
        height: 40%;
        background-position: center;
    }

    .hero::before {
        top: 40%;
    }

    .hero::after {
        bottom: 0;
    }

    .hero h1,
    .hero p {
        max-width: 100%;
    }

    .about-section {
        padding-left: 0;
        padding-top: 300px;
    }

    .about-section::before {
        top: 0;
        transform: none;
        width: 100%;
        height: 250px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        grid-column: span 12 !important;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
        max-width: 300px;
        margin: 2rem auto 0;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    nav {
        width: 100%;
        justify-content: center;
    }

    .hero br {
        display: none;
    }
}
