:root {
    /* Light Theme */
    --bg-color: #ffffff;
    --card-bg: #f8fafc;
    --card-border: #e2e8f0;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --accent-primary: #2563eb;
    --accent-secondary: #4f46e5;

    /* Fonts */
    --font-main: 'Outfit', sans-serif;
    --font-logo: 'Comfortaa', cursive;

    --nav-height: 90px;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.7;
    /* Improved readability */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Enhancements */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

h1 {
    font-size: 4.5rem;
    /* Larger */
    letter-spacing: -0.03em;
}

h2 {
    font-size: 3rem;
    /* Larger */
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.75rem;
    /* Larger */
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    /* Better body size */
    max-width: 65ch;
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.eyebrow {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: var(--accent-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #eff6ff;
    border-radius: 4px;
}

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

.section {
    padding: 8rem 0;
    /* More whitespace */
}

.mb-lg {
    margin-bottom: 2.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

/* Nav */
/* Nav - Fixed Modern Ribbon */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    display: flex;
    justify-content: center;
}

.nav-container {
    width: 100%;
    max-width: var(--container-width);
    height: 100%;
    display: flex;
    justify-content: flex-start;
    /* Align Left */
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: var(--font-logo);
    font-size: 3.5rem;
    /* Increased from 2.75rem */
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Added subtle shadow */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    border: none;
    transition: 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary {
    background: var(--accent-primary);
    color: #ffffff;
    box-shadow: 0 5px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -3px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
    background: #f1f5f9;
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
    background: var(--accent-primary);
    color: #ffffff !important;
    border-radius: 6px;
    box-shadow: none;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-primary);
    top: -150px;
    right: -150px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-secondary);
    bottom: -50px;
    left: -100px;
}

.hero-content {
    max-width: 900px;
}

.subtitle {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-cta {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Cards */
.card {
    background: #ffffff;
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 16px;
    transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.08);
    /* Better shadow */
}

/* Features */
.feature-item {
    text-align: left;
}

.icon-box {
    width: 56px;
    height: 56px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-primary);
    border: 1px solid #dbeafe;
}

/* Contact */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-form {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1.05rem;
    transition: 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.full-width {
    width: 100%;
}

.details p {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.details a {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-color: var(--accent-primary);
    text-underline-offset: 4px;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--card-border);
    margin-top: 6rem;
    background: #f8fafc;
    font-size: 1rem;
    color: var(--text-secondary);
}

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

.logo-sm {
    font-family: var(--font-logo);
    /* Comfortaa */
    font-weight: 700;
    margin-right: 1.5rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 900px) {

    .grid-2,
    .grid-4,
    .split-layout {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

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

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .orb-1 {
        right: -150px;
    }
}

/* Form Status Styles */
.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
    text-align: center;
}

.form-status.success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-status.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #ef4444;
}