/* Modern Reset & Base */
:root {
    /* Color Palette - Premium Dark Tech */
    /* --bg-dark: #0F172A; Deep Slate Blue/Black */
    --bg-dark: #0a0a0a;
    /* True Dark */
    --bg-card: #171717;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --accent-primary: #FF3621;
    /* Databricks-ish Red/Orange */
    --accent-secondary: #FBB12F;
    /* Warm Orange */
    --accent-tertiary: #6366f1;
    /* Modern Indigo/Blue */

    --gradient-brand: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(255, 54, 33, 0.5) 0%, rgba(99, 102, 241, 0.5) 100%);

    /* Spacing & Sizes */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-md: 12px;
    --radius-lg: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
    color: #fff;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utilities */
.highlight {
    color: var(--accent-primary);
}

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary {
    display: inline-block;
    background: var(--gradient-brand);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(255, 54, 33, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 54, 33, 0.5);
}

.btn-primary-outline {
    display: inline-block;
    background: transparent;
    color: var(--text-primary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
}

.btn-primary-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.btn-secondary {
    display: inline-block;
    color: var(--text-secondary);
    padding: 0.8rem 2rem;
    font-weight: 500;
}

.btn-secondary:hover {
    color: #fff;
}

.card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition-smooth);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

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

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    /* Subtle background glow/gradient */
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(10, 10, 10, 0) 70%);
    z-index: -1;
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Text wider than visual */
    gap: 4rem;
    align-items: center;
}

.hero-text .badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--accent-secondary);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-text .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Logos Section */
.logos-section {
    padding: 2rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logos-section p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.5;
}

.logo-item {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    /* In a real project, use SVG grey-scale logos here */
}

/* Services */
.services-section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    height: 100%;
}

.service-card .icon-box {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    background: rgba(255, 54, 33, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Experience Timeline */
.experience-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--bg-dark), #111);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    /* Adjust based on mobile, then desktop media query */
    top: 0;
    height: 100%;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 60px;
}

.timeline-marker {
    position: absolute;
    left: 11px;
    /* Align with line */
    top: 24px;
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    position: relative;
}

.timeline-content .date {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--accent-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: disc;
    margin-left: 1.2rem;
    color: var(--text-secondary);
}

.timeline-content li {
    margin-bottom: 0.5rem;
}

/* Contact */
.contact-section {
    padding: 6rem 0;
}

.contact-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(255, 54, 33, 0.2);
    /* Subtle red border */
    background: linear-gradient(135deg, rgba(23, 23, 23, 1) 0%, rgba(30, 30, 30, 1) 100%);
}

.contact-box h2 {
    margin-bottom: 1rem;
}

.contact-box p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2rem;
}

.email-link i {
    color: var(--accent-primary);
}

.email-link:hover {
    color: var(--accent-primary);
}

.social-links {
    font-size: 1.8rem;
}

.social-links a {
    color: var(--text-secondary);
}

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

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.small {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding-top: 2rem;
        text-align: center;
    }

    .hero-text .subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* In real app, make a mobile hamburger menu */
    }

    .logo-grid {
        gap: 2rem;
    }
}

/* Scroll Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.visible {
    opacity: 1;
    transform: none;
}