:root {
    /* Light Theme (Stitch/Enterprise) */
    --bg-color: #ffffff;
    --surface-color: #f8f9fa;
    --card-bg: #nffffff;

    /* Branding Colors */
    --primary-color: #0a192f;
    /* Deep Navy */
    --teal-accent: #06aaea;
    /* Teal for CTA */
    --secondary-color: #556070;
    --accent-color: #0056b3;
    --text-color: #1a1a1a;
    --border-color: #eaeaea;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* New Fonts */
    --font-heading: 'Anta', sans-serif;
    --font-body: 'Oxanium', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --container-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    /* Oxanium */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* Abstract Background Logo (Random Position / Watermark) */
body::before {
    content: '';
    position: fixed;
    top: 10%;
    right: -10%;
    width: 800px;
    height: 800px;
    background-image: url('/logo-only.png');
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.05;
    /* Very subtle greyscale effect */
    filter: grayscale(100%);
    pointer-events: none;
    z-index: -1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    /* Anta */
    color: var(--primary-color);
    font-weight: 400;
    /* Anta is naturally bold/display */
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

a:hover {
    color: var(--accent-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

/* Logo Height Update */
.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
    padding: 0.3rem 0.5rem;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    border-bottom-color: var(--accent-color);
}

/* Contact Link - Teal & Padding */
.btn-cta {
    background-color: var(--teal-accent);
    /* Teal */
    color: white !important;
    padding: 0.8rem 2.5rem;
    /* Increased horizontal padding */
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    transform: translateY(0);
    letter-spacing: 0.05em;
}

.btn-cta:hover {
    /* background-color: #006666; */
    /* Darker Teal */
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: transparent;
}

/* Hero Section with Abstract Background */
.hero {
    padding: var(--spacing-xl) 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 128, 128, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(10, 25, 47, 0.05) 0%, transparent 20%),
        linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Additional Abstract Element in Hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    border: 40px solid rgba(0, 0, 0, 0.02);
    border-radius: 50%;
    z-index: 0;
}

.hero>.container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    /* Adjusted for Anta font sizing */
    max-width: 900px;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, var(--primary-color), var(--teal-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--secondary-color);
    max-width: 650px;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* Sections */
section {
    padding: var(--spacing-lg) 0;
}

.section-head {
    margin-bottom: 3rem;
    text-align: left;
}

.section-head h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

/* Premium Card (Flat Item) with Abstract Background */
.flat-item {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Abstract Background Element in Card */
.flat-item::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.flat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--teal-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.flat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.flat-item:hover::before {
    transform: scaleX(1);
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--surface-color);
    color: var(--teal-accent);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.flat-item:hover .icon-box {
    background-color: var(--teal-accent);
    color: white;
}

.flat-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.flat-item p {
    color: var(--secondary-color);
    font-size: 1rem;
    line-height: 1.7;
}

/* Footer */
footer {
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.footer-col h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--text-color);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--teal-accent);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        display: none;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
}