:root {
    --primary-color: #2c3e50;
    /* Dark Blue */
    --secondary-color: #3498db;
    /* Bright Blue */
    --light-gray: #f4f6f9;
    --dark-gray: #555;
    --white: #ffffff;
}

html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--primary-color);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.6rem;
    cursor: pointer;
}

.menu-toggle:focus {
    outline: 2px solid var(--secondary-color);
    border-radius: 4px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo i {
    color: var(--secondary-color);
}

.nav-menu a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.cta-button {
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #2980b9;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('https://images.unsplash.com/photo-1521791136064-7986c2920216?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    height: 60vh;
    color: var(--white);
    text-align: center;
    padding: 120px 0;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
}

.about-section {
    background-color: var(--light-gray);
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-content img {
    max-width: 50%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-card .icon {
    font-size: 3em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

@media (max-width: 900px) {
    .header .container {
        position: relative;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 15px;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-radius: 12px;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
        width: auto;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
        z-index: 999;
    }

    .nav-menu.open {
        max-height: 320px;
        opacity: 1;
        padding: 20px;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        margin: 12px 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        height: auto;
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2.4em;
    }

    .hero p {
        font-size: 1rem;
    }

    .about-content {
        flex-direction: column;
        gap: 25px;
    }

    .about-content img {
        max-width: 100%;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 600px) {
    .header .container {
        padding: 0 15px;
    }

    .nav-menu {
        left: 0;
        right: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2em;
    }
}