:root {
    --primary-blue: #004a99;
    --secondary-blue: #007bff;
    --white: #ffffff;
    --light-gray: #f4f4f4;
    --dark-gray: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
}

/* Navigation */
nav {
    background: var(--white);
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    height: 60px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--secondary-blue);
}

/* Hero Section */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 74, 153, 0.7), rgba(0, 74, 153, 0.7)), url('quickrepairhubs-ac-repair-10203049_1280.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    padding-top: 80px;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-blue);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, background 0.3s;
}

.btn:hover {
    transform: scale(1.05);
    background: var(--light-gray);
}

/* Sections padding */
section {
    padding: 80px 5%;
}

h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 40px;
    font-size: 2.5rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border-bottom: 5px solid var(--primary-blue);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: scale(1.05);
}

/* Why Us */
#why-us {
    background: var(--primary-blue);
    color: var(--white);
}

#why-us h2 {
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-item {
    text-align: center;
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: var(--white);
    text-align: center;
    padding: 40px 0;
}

/* Responsive */
/* Burger menu styles */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 5px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0px;
        top: 80px;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 70%;
        height: calc(100vh - 80px);
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 40px;
    }

    .nav-links li {
        opacity: 0;
        margin: 20px 0;
    }

    .burger {
        display: block;
    }

    #hero h1 {
        font-size: 2rem;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}