:root {
    /* Brand Colors */
    --color-navy: #0B1C39;
    --color-white: #FFFFFF;
    --color-slate: #5A6675;
    --color-teal: #2CA6A4;
    --color-amber: #F5A623;
    --color-teal-dark: #238684;
    
    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    
    /* Spacing */
    --spacing-unit: 24px;
    --container-max: 1200px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-navy);
    background-color: var(--color-white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: calc(var(--spacing-unit) * 0.75);
}

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

/* Override for hero title specifically */
.hero h1.hero-title {
    font-size: clamp(4rem, 7vw, 6rem);
}

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

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: var(--spacing-unit);
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background-color: var(--color-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: calc(var(--spacing-unit) * 0.75) 0;
}

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

.nav-brand .logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-navy);
    font-family: 'Oswald', var(--font-heading);
    text-decoration: none;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.nav-brand .nav-logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: calc(var(--spacing-unit) * 1.5);
}

.nav-link {
    color: var(--color-navy);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--color-teal);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: var(--color-teal);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-navy);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: calc(var(--spacing-unit) * 4) 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Recommended Unsplash images - choose one: */
    /* Option 1: Abstract network visualization by Shubham Dhage */
    /* background-image: url('https://images.unsplash.com/photo-1639322537228-f710d846310a?q=80&w=2532'); */
    
    /* Option 2: Blue technology network by Uriel SC */
    /* background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?q=80&w=2532'); */
    
    /* Option 3: Abstract connectivity by JJ Ying */
    /* background-image: url('https://images.unsplash.com/photo-1634017839464-5c339ebe3cb4?q=80&w=2535'); */
    
    /* Option 4: Dark tech infrastructure by Lars Kienle */
    background-image: url('images/header-bg.jpg');
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark overlay for better text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(11, 28, 57, 0.85) 0%, 
        rgba(11, 28, 57, 0.7) 50%,
        rgba(44, 166, 164, 0.15) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

@media screen and (max-width: 1024px) {
    .hero {
        padding: calc(var(--spacing-unit) * 3) 0;
    }

    .hero-content {
        margin: 0 auto;
        text-align: center;
    }

    .accent-line {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-title {
    margin-bottom: calc(var(--spacing-unit) * 0.75);
    color: var(--color-white);
    font-family: 'Oswald', var(--font-heading);
    font-size: clamp(4rem, 7vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
    transform: scaleY(1.15);
    transform-origin: center bottom;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4),
                 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.accent-line {
    width: 100px;
    height: 4px;
    background-color: var(--color-teal);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    box-shadow: 0 2px 8px rgba(44, 166, 164, 0.4);
}

.hero-intro {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: var(--spacing-unit);
    color: var(--color-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Sections */
section {
    padding: calc(var(--spacing-unit) * 3) 0;
}

.section-title {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 2);
    position: relative;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto calc(var(--spacing-unit) * 2);
    color: var(--color-slate);
}

/* About Section */
.about {
    background-color: rgba(90,102,117,0.03);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
}

.about-block h3 {
    color: var(--color-teal);
    margin-bottom: var(--spacing-unit);
}

.approach-list {
    list-style: none;
}

.approach-list li {
    padding: calc(var(--spacing-unit) * 0.5) 0;
    padding-left: calc(var(--spacing-unit) * 1.5);
    position: relative;
}

.approach-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-teal);
    font-weight: bold;
}

/* Focus Areas */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-unit);
}

.focus-card {
    background: var(--color-white);
    border: 1px solid rgba(90,102,117,0.1);
    border-radius: 8px;
    padding: calc(var(--spacing-unit) * 1.5);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.focus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
    transform: translateY(-100%);
    transition: var(--transition);
}

.focus-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.focus-card:hover::before {
    transform: translateY(0);
}

.focus-card .icon {
    width: 48px;
    height: 48px;
    color: var(--color-teal);
    margin-bottom: var(--spacing-unit);
}

.focus-card h3 {
    font-size: 1.25rem;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}

.focus-card p {
    color: var(--color-slate);
    margin-bottom: 0;
}

/* Insight Section */
.insight {
    background-color: rgba(44,166,164,0.03);
}

.insight-content {
    max-width: 800px;
    margin: 0 auto;
}

.insight-list {
    list-style: none;
    margin-top: var(--spacing-unit);
}

.insight-list li {
    padding: calc(var(--spacing-unit) * 0.75);
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    background: var(--color-white);
    border-left: 4px solid var(--color-teal);
    border-radius: 4px;
}

/* Contact Section */
.contact {
    text-align: center;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 0.5);
    color: var(--color-teal);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    transition: var(--transition);
    margin-top: var(--spacing-unit);
}

.contact-email:hover {
    color: var(--color-teal-dark);
}

.contact-email .icon {
    width: 24px;
    height: 24px;
}

/* Contact Form Page */
.contact-form-section {
    padding: calc(var(--spacing-unit) * 4) 0;
    min-height: calc(100vh - 200px);
}

.form-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: calc(var(--spacing-unit) * 3);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: var(--color-white);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.form-group {
    margin-bottom: calc(var(--spacing-unit) * 1.25);
}

.form-group label {
    display: block;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    font-weight: 500;
    color: var(--color-navy);
}

.required {
    color: var(--color-teal);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: calc(var(--spacing-unit) * 0.5);
    border: 2px solid rgba(90, 102, 117, 0.2);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(44, 166, 164, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing-unit) * 0.5);
    margin-top: calc(var(--spacing-unit) * 1.5);
    font-size: 1.1rem;
}

.submit-button .icon {
    width: 20px;
    height: 20px;
}

.hidden {
    display: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 1.5);
}

.info-block {
    background: rgba(44, 166, 164, 0.05);
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: 8px;
    border-left: 4px solid var(--color-teal);
}

.info-block .icon {
    width: 32px;
    height: 32px;
    color: var(--color-teal);
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}

.info-block h3 {
    font-size: 1.25rem;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    color: var(--color-navy);
}

.info-block p {
    color: var(--color-slate);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.info-block a {
    color: var(--color-teal);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.info-block a:hover {
    color: var(--color-teal-dark);
}

/* Footer */
.footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: calc(var(--spacing-unit) * 1.5) 0;
    margin-top: calc(var(--spacing-unit) * 3);
}

.footer-content {
    text-align: center;
}

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

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: var(--color-teal);
    color: var(--color-white);
    padding: calc(var(--spacing-unit) * 0.5) calc(var(--spacing-unit) * 1.5);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--color-teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44,166,164,0.3);
}

/* Highlight Box */
.highlight {
    background-color: rgba(245,166,35,0.1);
    border-left: 4px solid var(--color-amber);
    padding: var(--spacing-unit);
    border-radius: 4px;
    margin: var(--spacing-unit) 0;
}

.highlight strong {
    color: var(--color-amber);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--color-white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: var(--spacing-unit) 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero {
        min-height: 60vh;
    }
    
    .hero-content {
        text-align: center;
    }

    .accent-line {
        margin-left: auto;
        margin-right: auto;
    }
    
    .focus-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        order: -1;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --spacing-unit: 16px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
}
