* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #1a1a1a;
    color: #e0e0e0;
    overflow-x: hidden; /* Prevent horizontal scroll on body */
}

.header {
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(0, 0, 0, 0.7);
    overflow-x: hidden; /* Prevent horizontal overflow in navbar */
    width: 100%;
    max-width: 100vw; /* Ensure navbar doesn't exceed viewport width */
}

/* Hamburger Menu Styles */
.nav-toggle {
    display: none; /* Hidden by default on larger screens */
}

.nav-toggle-label {
    display: none; /* Hidden on larger screens */
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    background: #e0e0e0;
    height: 3px;
    width: 100%;
    position: absolute;
    left: 0;
}

.nav-toggle-label span {
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle-label span::before {
    content: '';
    top: -8px;
}

.nav-toggle-label span::after {
    content: '';
    top: 8px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #00aaff;
}

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

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover {
    color: #00aaff;
}

.hero {
    text-align: center;
    padding: 50px;
}

.hero h1 {
    font-size: 48px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 20px;
    margin: 20px 0;
}

.cta-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #00aaff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.cta-btn:hover {
    background-color: #0088cc;
}

section {
    padding: 50px;
    text-align: center;
}

section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #00aaff;
}

.service-card, .exp-card {
    background: #2a2a2a;
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 5px;
}

.service-card h3, .exp-card h3 {
    font-size: 24px;
    color: #00aaff;
}

footer {
    background: #111;
    padding: 20px;
    text-align: center;
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        height: 300px;
    }

    .navbar {
        padding: 10px 20px;
        flex-direction: row; /* Keep logo and hamburger icon side by side */
        justify-content: space-between;
        align-items: center;
    }

    /* Show hamburger menu on smaller screens */
    .nav-toggle-label {
        display: block;
    }

    .nav-links {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 60px; /* Adjust based on navbar height */
        left: 0;
        padding: 20px 0;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    /* Show nav-links when checkbox is checked */
    .nav-toggle:checked ~ .nav-links {
        display: flex;
    }

    .hero {
        padding: 30px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    section {
        padding: 30px;
    }

    section h2 {
        font-size: 28px;
    }

    .service-card, .exp-card {
        max-width: 100%;
        margin: 10px auto;
    }

    .service-card h3, .exp-card h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .header {
        height: 250px;
    }

    .navbar {
        padding: 10px;
    }

    .logo {
        font-size: 20px;
    }

    .nav-links {
        top: 50px; /* Adjust for smaller navbar height */
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    section {
        padding: 20px;
    }

    section h2 {
        font-size: 24px;
    }

    .service-card, .exp-card {
        padding: 15px;
    }
}
