:root {
    /* Color Palette - Darker Earthy Theme */
    --primary-sand: #C6AA93;
    --secondary-blue: #589AD3;
    --dark-gray: #546471;
    --darker-blue: #2A3F52;
    --accent-brown: #C69266;
    
    /* Extended Palette */
    --light-sand: #D4B5A0;
    --dark-sand: #B89F8A;
    --light-blue: #7AB3E0;
    --text-dark: #E8E6E3;
    --text-light: #ECF0F1;
    
    /* Dark Theme Colors */
    --nav-bg-dark: rgba(42, 63, 82, 0.95);
    --nav-bg-light: rgba(42, 63, 82, 0.85);
    --card-bg-dark: rgba(45, 55, 65, 0.9);
    --card-bg-light: rgba(255, 255, 255, 0.95);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #2A3F52 0%, #3D5A73 25%, #4A6B8A 50%, #3D5A73 75%, #2A3F52 100%);
    min-height: 100vh;
}

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

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: var(--nav-bg-dark);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 600;
    color: var(--primary-sand);
}

.lynx-icon {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-blue);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(42, 63, 82, 0.3) 0%, rgba(88, 154, 211, 0.1) 100%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--primary-sand);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: var(--secondary-blue);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Section Styles */
section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-sand);
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

/* Services Section */
.services {
    background: rgba(42, 63, 82, 0.3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--card-bg-dark);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card h3 {
    color: var(--primary-sand);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Process Section */
.process {
    background: rgba(42, 63, 82, 0.2);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--secondary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
}

.step h3 {
    color: var(--primary-sand);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* About Section */
.about {
    background: rgba(42, 63, 82, 0.3);
}

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

.qualifications,
.expertise {
    background: var(--card-bg-dark);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.qualifications h3,
.expertise h3 {
    color: var(--primary-sand);
    margin-bottom: var(--spacing-md);
    font-size: 1.3rem;
}

.credentials-list,
.expertise-list {
    list-style: none;
}

.credentials-list li,
.expertise-list li {
    padding: var(--spacing-xs) 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(232, 230, 227, 0.2);
}

.credentials-list li:last-child,
.expertise-list li:last-child {
    border-bottom: none;
}

/* Testimonials Section */
.testimonials {
    background: rgba(42, 63, 82, 0.2);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background: var(--card-bg-dark);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.testimonial-author strong {
    color: var(--primary-sand);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: rgba(42, 63, 82, 0.3);
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    background: var(--card-bg-dark);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    text-align: left;
}

.contact-info h3 {
    color: var(--primary-sand);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.contact-methods {
    list-style: none;
}

.contact-methods li {
    padding: var(--spacing-sm) 0;
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.8;
}

.contact-methods li:first-child {
    font-size: 1.4rem;
    font-weight: 600;
}

.contact-methods li:first-child h3 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-xs);
}

.contact-methods li:first-child {
    position: relative;
}

.contact-methods li:first-child:hover {
    color: var(--secondary-blue);
    cursor: pointer;
}

.contact-methods li:first-child::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-blue);
    transition: width 0.3s ease;
}

.contact-methods li:first-child:hover::after {
    width: 100%;
}

.submit-button {
    background: var(--secondary-blue);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-button:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--darker-blue);
    color: var(--text-light);
    text-align: left;
    padding: var(--spacing-lg) 0;
}

.footer p {
    margin-bottom: var(--spacing-xs);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--nav-bg-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        padding: var(--spacing-md) 0;
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .container {
        padding: 0 var(--spacing-xs);
    }

    section {
        padding: var(--spacing-lg) 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .services-grid,
    .process-steps,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: var(--secondary-blue);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.toast.hide {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0.8);
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card,
    .testimonial-card,
    .contact-info {
        padding: var(--spacing-md);
    }

    .contact-methods li {
        font-size: 1.1rem;
    }

    .contact-methods li:first-child {
        font-size: 1.3rem;
    }

    .contact-info h3 {
        font-size: 1.2rem;
    }
}