/* DEEPVIEW | INDUSTRIAL DARK THEME v1.1
   Focus: Senior Architecture, Mathematical Precision, Scale-Agnostic
*/

:root {
    --bg-dark: #0b0e14;          /* Deep Obsidian */
    --bg-card: #161b22;          /* Card Gray */
    --bg-card-alt: #0f141d;      /* Subtle contrast for Case Studies */
    --text-main: #e6edf3;        /* Soft White */
    --text-muted: #8b949e;       /* Muted Slate */
    --accent: #2f81f7;           /* Fibonacci Blue */
    --accent-glow: rgba(47, 129, 247, 0.2);
    --border: #30363d;           /* Industrial Border */
    --container-width: 1100px;
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & GLOBAL --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 740px;
    margin: -0.5rem auto 4rem; /* Adjusted to sit nicely under title */
    color: var(--text-muted);
    font-size: 1.15rem;
    font-weight: 400;
}

/* --- NAVIGATION & LOGO --- */
.navbar {
    padding: 1rem 0;
    position: sticky;
    top: 0;
    background: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    text-decoration: none;
}

.logo-svg {
    height: 32px;
    width: auto;
    fill: var(--accent);
    transition: var(--transition);
}

.logo:hover .logo-svg {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 0 8px var(--accent));
}

.nav-links {
    list-style: none;
    display: flex;
    margin-left: auto;
    gap: 2rem;
    align-items: center;
}

.lang-switch {
    white-space: nowrap;
    margin-left: 1.5rem;
}

.lang-switch,
.lang-switch a,
.lang-switch a:visited {
    color: #8ec5ff;
}

.nav-links a,
.lang-switch a {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
		color: var(--text-muted);
}

.lang-switch a:hover,
.lang-switch a.active {
    color: var(--accent);
}

/* --- HERO SECTION --- */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
}

.hero-icon-wrapper {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
}

.hero-elephant {
    height: 140px;
    width: auto;
    fill: var(--text-main);
    filter: drop-shadow(0 0 25px var(--accent-glow));
    opacity: 0.95;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    background: linear-gradient(90deg, #2f81f7, #00d1ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Horizontal Button Layout */
.hero-btns {
    display: flex;
    flex-direction: column; /* Stack vertically only on very small screens */
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.button-group {
    display: flex;
    flex-direction: row; /* Force horizontal */
    gap: 1rem;
    justify-content: center;
}

.hero-btns .cta-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 0.5px;
}

/* Mobile fix to ensure buttons don't squash */
@media (max-width: 600px) {
    .button-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    .btn-outline {
        margin-left: 0; /* Remove that left margin we had earlier */
    }
}

.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3.5rem;
}

/* --- BUTTONS --- */
.btn-primary {
    background: var(--accent);
    color: white !important;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-contact {
		margin-top: 1.5rem;
}
.btn-primary:hover {
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--border);
    padding: 0.9rem 2rem;
    border-radius: 6px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-outline:hover { border-color: var(--accent); }

.btn-nav {
    border: 1px solid var(--accent);
    color: var(--accent) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
}

/* --- GRID & SERVICES --- */
section { padding: 8rem 0; }

.grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); */
		grid-template-columns: repeat(3, 1fr);		
    gap: 1.5rem;
}
.cases .grid { grid-template-columns: repeat(2, 1fr); }


.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 12px;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    background: #1c2128;
}

.card-icon { font-size: 2rem; margin-bottom: 1.5rem; display: block; }
.card-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--accent); /* This makes all icons match your blueprint blue */
    transition: var(--transition);
}

.card:hover .card-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px var(--accent-glow));
}


/* --- TIMELINE --- */
.timeline {
    max-width: 850px;
    margin: 0 auto;
    border-left: 2px solid var(--border);
    padding-left: 3.5rem;
}

.timeline-item { margin-bottom: 4rem; position: relative; }

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.95rem;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
}

.year { font-weight: 800; color: var(--accent); margin-bottom: 0.5rem; font-size: 0.9rem; }

/* --- SCALE SECTION (MKB & ENTERPRISE) --- */
.scale-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card-alt) 100%);
}

.scale-box {
    background: var(--bg-card);
    border: 1px dashed var(--accent);
    padding: 5rem 3rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
}

.scale-box::before {
    content: "STRATEGIC ALIGNMENT";
    position: absolute;
    top: -10px;
    left: 40px;
    background: var(--bg-dark);
    padding: 0 15px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 800;
}

.scale-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 3.5rem 0;
    text-align: left;
}

.scale-item h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.low-key {
    margin-top: 2rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    font-style: italic;
    color: var(--text-main);
}

/* --- CASE STUDIES --- */
.case-card {
    background: var(--bg-card-alt);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 12px;
}

.case-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 1.2px;
}

.case-link {
    display: block;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 600;
}

/* --- ABOUT & WATERMARK --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content { position: relative; }

.about-elephant-bg {
    position: absolute;
    top: -50px;
    left: -70px;
    z-index: -1;
    opacity: 0.04; 
    pointer-events: none;
}

.about-elephant-bg svg {
    width: 320px;
    height: auto;
    fill: var(--text-main);
}

.stat-box {
    border-left: 3px solid var(--accent);
    padding-left: 2rem;
    margin-bottom: 2.5rem;
}

.stat-box .number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.stat-box .label { color: var(--text-muted); font-size: 0.95rem; }

/* --- FOOTER --- */
.footer {
    border-top: 1px solid var(--border);
    padding: 8rem 0 4rem;
    text-align: center;
}

.footer h2 { font-size: 3rem; margin-bottom: 1.5rem; }

.footer-bottom { margin-top: 6rem; color: var(--text-muted); font-size: 0.85rem; letter-spacing: 1px; }

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVENESS --- */
@media (max-width: 992px) {
    .about-grid, .scale-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
		.services .grid { grid-template-columns: repeat(2, 1fr);    }

    .hero h1 { font-size: 3.2rem; }
    .section-title { font-size: 2.2rem; }
}

@media (max-width: 600px) {
		.services .grid { grid-template-columns: 1fr; }
		.cases .grid { grid-template-columns: 1fr; }
    .navbar .container {
        gap: 1rem;
    }

    .nav-links { display: none; }

    .lang-switch {
        margin-left: auto;
        font-size: 0.85rem;
    }

    .hero { padding: 5rem 0; }
    .hero h1 { font-size: 2.5rem; }
    .scale-box { padding: 3rem 1.5rem; }
    .about-elephant-bg { display: none; }
}