:root {
    --primary-color: #2c3e50;
    --accent-color: #27ae60;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f4f7f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

header {
    background: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--accent-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    text-transform: uppercase;
    white-space: nowrap;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(255, 245, 225, 0.2), rgba(0, 0, 0, 0.4)), 
                url('../images/background.png');
    background-size: cover;
    background-position: 100% 55%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    max-width: 800px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn {
    padding: 12px 30px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    border: 2px solid transparent;
}

.btn:hover {
    background: transparent;
    border-color: white;
}

.services {
    padding: 80px 10%;
    background: var(--bg-light);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

section {
    scroll-margin-top: 80px;
}

.service-card {
    background: white;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s transform;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px 0;
    }

    .logo {
        margin-bottom: 15px;
        width: 100%;
        justify-content: center;
    }

    nav {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    nav ul {
        display: flex;
        flex-wrap: nowrap;
        padding: 10px 20px;
        margin: 0;
        list-style: none;
    }

    nav ul li {
        margin: 0 12px;
        flex: 0 0 auto;
    }

    nav ul li a {
        font-size: 0.85rem;
        white-space: nowrap;
    }

    nav::-webkit-scrollbar {
        display: none;
    }

    .hero {
        padding-top: 120px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
}