/* --- Global Styles & Variables --- */
:root {
    --primary-blue: #1A202C;
    --secondary-gray: #A0AEC0;
    --accent-teal: #4FD1C5;
    --bg-white: #F7FAFC;
    --text-charcoal: #2D3748;
    --white: #FFFFFF;
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-charcoal);
    background-color: var(--bg-white);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 4rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
p { margin-bottom: 1rem; }
a { color: var(--accent-teal); text-decoration: none; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid transparent;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.btn-primary {
    background-color: var(--accent-teal);
    color: var(--primary-blue);
}
.btn-primary-outline {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}
.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--secondary-gray);
    color: var(--white);
    margin-left: 1rem;
}

/* --- Header & Navigation --- */
.header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-blue);
}
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.main-nav a {
    color: var(--text-charcoal);
    font-weight: 500;
    transition: color 0.2s ease;
}
.main-nav a:hover {
    color: var(--accent-teal);
}
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    background-color: var(--primary-blue);
    color: var(--white);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    text-align: center;
}
.hero h1 {
    color: var(--white);
    max-width: 800px;
    margin: 0 auto 1.5rem;
}
.hero .subtitle {
    font-size: 1.2rem;
    color: var(--secondary-gray);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* --- Sections --- */
section {
    padding: 6rem 0;
}
.trusted-by {
    padding: 2rem 0;
    background: var(--bg-white);
    text-align: center;
}
.trusted-by p {
    color: var(--secondary-gray);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.logos img {
    height: 35px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.2s ease;
}
.logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}
.service-card i {
    color: var(--accent-teal);
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.featured-work {
    background: var(--white);
}
.featured-work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.featured-work-image {
    background: url('https://via.placeholder.com/600x400?text=Project+Screenshot') no-repeat center center/cover;
    height: 400px;
    border-radius: 8px;
}
.featured-work-content .tagline {
    display: block;
    font-weight: 600;
    color: var(--accent-teal);
    margin-bottom: 0.5rem;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}
.why-us-item i {
    color: var(--accent-teal);
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.final-cta {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
}
.final-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}
.final-cta p {
    color: var(--secondary-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* --- Footer --- */
.footer {
    background: #11151c;
    color: var(--secondary-gray);
    padding: 2rem 0;
    font-size: 0.85rem;
    text-align: center;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; margin-bottom: 3rem; }
    section { padding: 4rem 0; }

    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .main-nav.active {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }
    .main-nav li {
        width: 100%;
        text-align: center;
    }
    .main-nav a {
        display: block;
        padding: 1rem;
    }
    .mobile-nav-toggle {
        display: block;
    }

    .services-grid, .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-work-grid {
        grid-template-columns: 1fr;
    }
    .featured-work-image {
        height: 300px;
    }
}
