/* --- Variables & Reset --- */
:root {
    --color-bg-dark: #f5f5f5;    /* Light chrome base */
    --color-bg-medium: #e5e7eb;  /* Slightly darker panel */
    --color-bg-light: #f9fafb;   /* Off white */
    
    --color-primary: #c5c5c5;    /* Primary metallic gray */
    --color-primary-dark: #a3a3a3;
    
    --color-text-main: #111827;
    --color-text-muted: #6b7280;
    --color-text-dark: #020617;

    --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --border-radius: 4px; /* Tech/Industrial feel - slight rounding */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;

    /* subtle global depth – light brushed steel */
    background-image:
        radial-gradient(circle at 20% 0%, rgba(209,213,219,0.45) 0, transparent 60%),
        radial-gradient(circle at 80% 100%, rgba(156,163,175,0.35) 0, transparent 55%),
        linear-gradient(180deg, #f9fafb 0%, #e5e7eb 40%, #f3f4f6 100%);
}

/* metallic micro-stripe helper (for certain blocks) */
.metallic-sheen {
    background-image:
        linear-gradient(135deg, rgba(255,255,255,0.17), rgba(0,0,0,0.15)),
        repeating-linear-gradient(
            135deg,
            rgba(255,255,255,0.08) 0,
            rgba(255,255,255,0.08) 1px,
            rgba(0,0,0,0.08) 1px,
            rgba(0,0,0,0.08) 3px
        );
    background-blend-mode: screen;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-text-main);
}

p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.text-highlight {
    color: var(--color-primary);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-image: linear-gradient(135deg, #e5e5e5, #a3a3a3);
    color: #020617;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow:
        0 10px 25px rgba(15,23,42,0.1),
        inset 0 1px 0 rgba(255,255,255,0.5);
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.45), transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 30px rgba(15,23,42,0.18),
        inset 0 1px 0 rgba(255,255,255,0.6);
}

.btn-small {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    border: 1px solid rgba(197,197,197,0.8);
    color: var(--color-primary);
    background: radial-gradient(circle at 0 0, rgba(255,255,255,0.1) 0, transparent 55%);
}

.btn-small:hover {
    background-image: linear-gradient(135deg, #e5e5e5, #b0b0b0);
    color: #020617;
    box-shadow: 0 6px 18px rgba(15,23,42,0.2);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-image: linear-gradient(180deg, rgba(249,250,251,0.96), rgba(243,244,246,0.94));
    backdrop-filter: blur(14px);
    z-index: 1000;
    border-bottom: 1px solid rgba(209,213,219,0.9);
    box-shadow: 0 10px 28px rgba(15,23,42,0.08);
    padding: 0.5rem 0; /* KEEP THIS SMALL AND CONSTANT */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;

    height: 70px;     /* ← FINAL visible logo height */
}


/* The actual logo image */
.logo {
    height: 100%;     /* ← fills the container perfectly */
    width: auto;
    max-height: 70px; /* ← prevents header from expanding */
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}


.logo-text {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    color: var(#6b7280);
    text-shadow: none;
}

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

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-main);
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e5e5, transparent);
    transition: width 0.25s ease;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #111827;
    transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--color-bg-light);
    /* Light chrome grid */
    background-image: 
        radial-gradient(circle at 10% 0%, rgba(209,213,219,0.6) 0, transparent 55%),
        radial-gradient(circle at 80% 90%, rgba(156,163,175,0.55) 0, transparent 55%),
        linear-gradient(135deg, #f9fafb 0%, #e5e7eb 40%, #f3f4f6 100%),
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.25) 0,
            rgba(255,255,255,0.25) 1px,
            rgba(229,231,235,0.55) 1px,
            rgba(229,231,235,0.55) 16px
        );
    background-size: cover, cover, cover, 20px 20px;
    text-align: center;
    padding-top: 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2.5rem 2rem;
    border-radius: 18px;
    background: radial-gradient(circle at 50% 0, rgba(255,255,255,0.98), rgba(243,244,246,0.98));
    box-shadow:
        0 24px 60px rgba(15,23,42,0.16),
        0 0 0 1px rgba(209,213,219,0.9);
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* --- Sections General --- */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.bg-dark { 
    background-image: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 40%, #e5e7eb 100%);
}
.bg-medium { 
    background-image: linear-gradient(180deg, #f9fafb 0%, #e5e7eb 40%, #e5e7eb 100%);
}
.bg-blue { 
    /* premium metallic strip section */
    background-image:
        linear-gradient(120deg, #d4d4d4 0%, #f5f5f5 30%, #b0b0b0 60%, #e0e0e0 100%);
    color: #020617;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), inset 0 -1px 0 rgba(0,0,0,0.2);
}

.bg-blue p {
    color: #111827;
}

/* FIX: headline contrast on grey background */
.bg-blue h2 {
    color: #111827;
    text-shadow: none;
}

/* --- TIMA Acronym Grid --- */
.tima-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tima-card {
    background: radial-gradient(circle at 0 0, rgba(255,255,255,0.95), rgba(243,244,246,0.98));
    border: 1px solid rgba(209,213,219,0.9);
    padding: 2rem;
    border-radius: 14px;
    box-shadow:
        0 18px 40px rgba(15,23,42,0.12),
        0 0 0 1px rgba(255,255,255,0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tima-card:hover {
    transform: translateY(-6px);
    border-color: rgba(229,231,235,0.9);
    box-shadow:
        0 24px 60px rgba(15,23,42,0.18),
        0 0 0 1px rgba(255,255,255,0.9);
}

.letter {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1;
    text-shadow:
        0 1px 0 rgba(255,255,255,0.4),
        0 4px 10px rgba(0,0,0,0.1);
}

.tima-card h3 {
    font-size: 1.5rem;
    color: var(--color-text-dark);
}

/* --- Split Layout (Mission/Vision) --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

@media (max-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.split-item {
    padding-left: 2rem;
    border-left: 4px solid var(--color-primary);
    background: radial-gradient(circle at 0 0, rgba(148,163,184,0.12), transparent 60%);
    border-radius: 6px 0 0 6px;
}

/* --- Values Grid --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem;
    border-radius: 14px;
    background: radial-gradient(circle at 0 0, rgba(255,255,255,0.96), rgba(243,244,246,0.98));
    border: 1px solid rgba(209,213,219,0.9);
    box-shadow: 0 16px 40px rgba(15,23,42,0.12);
}

/* FIX: remove meaningless circles */
.value-icon {
    display: none;
}

/* --- Features List (Competencies) --- */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(120deg, rgba(249,250,251,0.98), rgba(229,231,235,0.98));
    border-left: 3px solid transparent;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(15,23,42,0.08);
    transition: 0.3s;
}

.feature-row:hover {
    border-left-color: var(--color-primary);
    background: linear-gradient(120deg, rgba(243,244,246,1), rgba(209,213,219,1));
}

.feature-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-text-dark);
    width: 30%;
}

.feature-desc {
    width: 65%;
}

@media (max-width: 768px) {
    .feature-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .feature-title, .feature-desc {
        width: 100%;
    }
}

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: radial-gradient(circle at 0 0, rgba(255,255,255,0.98), rgba(243,244,246,0.98));
    padding: 2rem;
    border-radius: 16px;
    border-top: 3px solid var(--color-primary);
    border-inline: 1px solid rgba(209,213,219,0.9);
    box-shadow:
        0 18px 45px rgba(15,23,42,0.12),
        0 0 0 1px rgba(255,255,255,0.9);
}

.service-card h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148,163,184,0.5);
}

.service-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--color-text-muted);
}

.service-card ul li::before {
    content: "•";
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.highlight-card {
    background-image:
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(229,231,235,1)),
        radial-gradient(circle at 0 0, rgba(255,255,255,0.6), transparent 60%);
}

/* --- Differentiators (Blue / Metallic Section) --- */
.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.diff-item {
    padding: 1.75rem;
    border-radius: 14px;
    background-image:
        linear-gradient(135deg, rgba(255,255,255,0.6), rgba(204,204,204,0.9)),
        repeating-linear-gradient(
            135deg,
            rgba(255,255,255,0.25) 0,
            rgba(255,255,255,0.25) 1px,
            rgba(200,200,200,0.15) 1px,
            rgba(200,200,200,0.15) 4px
        );
    box-shadow:
        0 14px 35px rgba(15,23,42,0.15),
        inset 0 1px 0 rgba(255,255,255,0.9);
    border: 1px solid rgba(148,163,184,0.7);
}

.diff-item h5 {
    font-size: 1.1rem;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.diff-item p {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
}

/* --- Workflow --- */
.workflow-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 150px;
    position: relative;
}

/* FIX: make workflow numbers clearly visible but still subtle */
.step-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(148,163,184,0.8);
    line-height: 1;
    margin-bottom: 0.25rem;
    z-index: 0;
    text-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.step-text {
    font-weight: 600;
    color: var(--color-text-dark);
    z-index: 1;
    background: linear-gradient(135deg, #f9fafb, #e5e7eb);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(209,213,219,0.9);
    box-shadow: 0 8px 20px rgba(15,23,42,0.12);
}

/* --- Footer --- */
.footer {
    background-image: linear-gradient(180deg, #e5e7eb 0%, #d4d4d4 50%, #e5e7eb 100%);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(209,213,219,0.9);
    box-shadow: 0 -14px 40px rgba(15,23,42,0.15);
}

.footer-cta {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: radial-gradient(circle at 0 0, rgba(255,255,255,0.98), rgba(243,244,246,0.98));
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    transition: 0.3s;
    border: 1px solid rgba(209,213,219,0.9);
    box-shadow: 0 10px 26px rgba(15,23,42,0.12);
}

.contact-link:hover {
    background-image: linear-gradient(135deg, #e5e5e5, #b8b8b8);
    color: #020617;
    box-shadow: 0 14px 35px rgba(15,23,42,0.18);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(148,163,184,0.5);
}

.footer p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Nav Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: #111827;
        padding-top: 6rem;
        transition: 0.3s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .nav-menu a {
        font-size: 1.2rem;
        color: #f9fafb;
    }
    
    /* Hamburger Animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}
@media (max-width: 768px) {
    .contact-methods {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .contact-link {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
    }
}
