/* ==========================================================================
   ET Consulting - Premium Bain-Inspired Consulting Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #0a0c10;
    --text-light: #ffffff;
    --text-muted: #a0aec0;
    --accent: #38b2e6;
    /* Keeping the sky blue but making it pop on dark */
    --accent-secondary: #38a169;
    /* Green */
    --accent-bain: #e31937;
    /* Sophisticated red accent option like Bain */
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-dark) url('/assets/hero-bg.png') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* --- Hero Background --- */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Dark overlay for readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(10, 12, 16, 0.9) 0%, rgba(10, 12, 16, 0.4) 50%, rgba(10, 12, 16, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    text-align: left;
}

.badge {
    display: inline-block;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 4px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    color: #fff;
    line-height: 1.1;
}

.hero h1 span {
    color: #fff;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Buttons --- */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 16px 32px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    margin-left: 20px;
}

.btn-secondary:hover {
    background: #fff;
    color: var(--bg-dark);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(10, 12, 16, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 48px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.nav-links a.btn-primary {
    padding: 12px 24px;
    font-size: 1rem;
}

/* --- Sections --- */
section {
    padding: 120px 0;
    position: relative;
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(8px);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-header {
    margin-bottom: 80px;
    max-width: 800px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 50px 40px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 30px;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
}

/* --- Methodology --- */
.methodology {
    background: rgba(14, 17, 22, 0.85);
}

.methodology-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.method-list {
    list-style: none;
}

.method-list li {
    margin-bottom: 40px;
    position: relative;
    padding-left: 50px;
}

.method-list li::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.5;
}

.method-list li h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.method-list li p {
    color: var(--text-muted);
}

.glass-panel {
    background: var(--accent);
    padding: 60px;
    color: #fff;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    display: block;
}

/* --- Newsletter & Contact --- */
.footer-content {
    background: var(--card-bg);
    padding: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.newsletter-form input {
    width: 100%;
    padding: 20px;
    background: transparent;
    border: 1px solid var(--card-border);
    color: #fff;
    margin-bottom: 20px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.footer-bottom {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-top: 1px solid var(--card-border);
}

/* --- Responsive --- */
.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: #fff;
    background: transparent;
    border: none;
    padding: 0;
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 4.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .hero-wrapper {
        align-items: flex-start;
        padding-top: 100px;
    }

    .hero {
        height: auto;
        min-height: 100vh;
    }

    .hero-content {
        margin-top: 40px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .services-grid,
    .methodology-container,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 12, 16, 0.98);
        padding: 20px 5%;
        border-bottom: 1px solid var(--card-border);
    }

    .nav-links.active {
        display: flex;
    }

    .btn-secondary {
        margin: 20px 0 0 0;
        display: block;
    }
}