/* --- VARIABLES & RESET --- */
:root {
    --primary-color: #1a73e8; /* A modern Google Blue */
    --secondary-color: #1e88e5; /* A slightly lighter blue */
    --dark-color: #202124; /* Google's Dark Grey */
    --light-color: #f8f9fa;
    --text-color: #5f6368; /* Google's text color */
    --white-color: #ffffff;
    --success-color: #28a745;
    --border-radius: 8px;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- GENERAL STYLES --- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--light-color);
    color: var(--text-color);
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 600;
    color: var(--dark-color);
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.content-section {
    padding: 60px 0;
}

/* Alternating section backgrounds for better visual separation */
.content-section:nth-of-type(odd) {
    background-color: var(--white-color);
}

/* --- HEADER & NAVIGATION --- */
header {
    background: var(--white-color);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

nav.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav.main-nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav.main-nav ul li a:hover {
    color: var(--primary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.main-nav.active {
    display: block;
}

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?q=80&w=1911&auto=format&fit=crop') no-repeat center center/cover;
    color: var(--white-color);
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 3rem;
    color: var(--white-color);
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* --- BUTTONS --- */
.cta-button {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: var(--white-color);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.cta-button:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-2px);
}

.nav-cta {
    padding: 8px 20px;
}

/* --- SERVICES SECTION --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--white-color);
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* --- FEATURES SECTION --- */
#features ul {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

#features li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.feature-icon {
    color: var(--success-color);
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* --- FOOTER --- */
footer {
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 40px 20px;
}

footer h2 {
    color: var(--white-color);
}

footer h2::after {
    background: var(--secondary-color);
}

footer .contact-info {
    margin: 1.5rem 0;
    font-size: 1.2rem;
}

footer a {
    color: var(--white-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color);
}

.copyright {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #aaa;
}

/* --- ANIMATIONS --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Responsive Navigation */
    .hamburger {
        display: block;
        z-index: 1001; /* Above nav */
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 70px; /* Match header height */
        left: 0;
        width: 100%;
        background: var(--white-color);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .main-nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .main-nav ul li a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #eee;
    }

    .nav-cta {
        display: none; /* Hide CTA in mobile nav list, can be styled differently if needed */
    }

    .hero h1 { font-size: 2.2rem; }
    .hero .subtitle { font-size: 1rem; }
    h2 { font-size: 1.8rem; }
}