/* ============================================
   LEFTLANE.IO - STYLES
   ============================================ */

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

:root {
    /* Main Brand Color - #0c71c3 from "Keeping You in the Fast Lane" */
    --primary-color: #0c71c3;
    --primary-dark: #0a5da0;
    --primary-light: #2b87da;
    --secondary-color: #f3f700;
    --accent-color: #10b981;
    
    /* Light Mode Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --background-color: #ffffff;
    --background-alt: #f9fafb;
    --border-color: #e5e7eb;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-handwriting: 'Kaushan Script', handwriting;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Transitions */
    --transition-fast: 150ms;
    --transition-base: 250ms;
    --transition-slow: 350ms;
}

/* Dark Mode */
[data-theme="dark"] {
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-light: #9ca3af;
    --background-color: #111827;
    --background-alt: #1f2937;
    --border-color: #374151;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(180deg, #ffffff 0%, #a6b6c1 100%),
        image-set(
            url('hex_hd.webp') type('image/webp'),
            url('hex_hd.png') type('image/png')
        );
    background-blend-mode: lighten;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    opacity: 1;
    transition: opacity var(--transition-base);
}

/* Fallback for browsers that don't support image-set */
@supports not (background-image: image-set(url('test.webp') type('image/webp'))) {
    .background {
        background-image: 
            linear-gradient(180deg, #ffffff 0%, #a6b6c1 100%),
            url('hex_hd.png');
    }
}

[data-theme="dark"] .background {
    opacity: 0.3;
}

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

.services .container {
    max-width: 1600px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition-base);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.15);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.social-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    color: var(--text-secondary);
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .social-links {
        display: none;
    }
}


.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo img,
.logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.logo-text {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-primary);
}

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

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

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: var(--transition-base);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: var(--transition-base);
}

/* Dark Mode Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    color: white;
    font-size: 1.25rem;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Social icons in nav */
.social-nav-icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: transform var(--transition-base), filter var(--transition-base), background var(--transition-base);
}

.social-icon-link svg {
    width: 18px;
    height: 18px;
}

.social-icon-link:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px) scale(1.05);
    filter: drop-shadow(0 0 6px var(--secondary-color));
}

[data-theme="dark"] .social-icon-link {
    color: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .social-icon-link {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-family: 'Kaushan Script', handwriting;
    font-size: 4.5rem;
    font-weight: 700;
    color: #0c71c3;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

[data-theme="dark"] .hero-title {
    color: #2b87da;
}

[data-theme="light"] .hero-title {
    color: #0a4a7a;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
    line-height: 1.6;
}

[data-theme="light"] .hero-subtitle {
    color: rgba(33, 33, 33, 0.9);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(12, 113, 195, 0.2);
    border: 1px solid rgba(12, 113, 195, 0.4);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(10px);
}

[data-theme="light"] .hero-badge {
    background: rgba(12, 113, 195, 0.1);
    border-color: rgba(12, 113, 195, 0.3);
    color: rgba(33, 33, 33, 0.9);
}

.hero-trust {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-md) 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    font-weight: 500;
}

[data-theme="light"] .trust-item {
    color: rgba(33, 33, 33, 0.9);
}

.trust-icon {
    font-size: 1.125rem;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-sm);
}

.hero-cta-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-top: var(--spacing-sm);
}

[data-theme="light"] .hero-cta-note {
    color: rgba(33, 33, 33, 0.7);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    font-family: var(--font-family);
}

.btn-primary {
    background: var(--background-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--background-color);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.btn-full {
    width: 100%;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    background: var(--background-color);
    padding: var(--spacing-2xl) 0;
    position: relative;
}


.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.service-card {
    background: var(--background-alt);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: white;
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

/* Colorful service icons */
.service-icon-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
}

.service-icon-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
}

.service-icon-green {
    background: linear-gradient(135deg, #10b981, #059669) !important;
}

.service-icon-orange {
    background: linear-gradient(135deg, #f97316, #ea580c) !important;
}

.service-icon-teal {
    background: linear-gradient(135deg, #14b8a6, #0d9488) !important;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.service-description strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    background: var(--background-alt);
    padding: var(--spacing-2xl) 0;
}

.contact-wrapper {
    max-width: 1000px;
    margin: var(--spacing-2xl) auto 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-2xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-card {
    background: var(--background-color);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: white;
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.info-card p {
    color: var(--text-secondary);
}

.contact-form {
    background: var(--background-color);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition-base);
    background: var(--background-alt);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
}

/* ============================================
   FAQ SECTION (AEO Optimization)
   ============================================ */

.faq {
    background: var(--background-color);
    padding: var(--spacing-2xl) 0;
}

.faq-list {
    max-width: 900px;
    margin: var(--spacing-2xl) auto 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.faq-item {
    background: var(--background-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Dark mode FAQ styles */
[data-theme="dark"] .faq-item {
    background: var(--background-alt);
    border-color: var(--border-color);
}

[data-theme="dark"] .faq-item:hover {
    border-color: var(--primary-light);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.9);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: var(--spacing-sm);
    filter: brightness(0) invert(1);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-links ul li a:hover {
    color: white;
}

[data-theme="light"] .footer-links ul li a {
    color: rgba(33, 33, 33, 0.7);
}

[data-theme="light"] .footer-links ul li a:hover {
    color: rgba(33, 33, 33, 1);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .footer-bottom {
    color: rgba(33, 33, 33, 0.7);
    border-top-color: rgba(33, 33, 33, 0.1);
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: rgba(102, 126, 234, 0.98);
        backdrop-filter: blur(20px);
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        transition: var(--transition-base);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .contact-form {
        padding: var(--spacing-md);
    }
    
    .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* ============================================
   BREADCRUMB NAVIGATION
   ============================================ */

.breadcrumb {
    background: var(--background-alt);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 var(--spacing-xs);
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-base);
}

.breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb li:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

/* Dark Mode Specific Styles */
[data-theme="dark"] body {
    background-color: var(--background-color);
}

/* Light Mode - Dark Gradient Navbar */
[data-theme="light"] .navbar,
:root:not([data-theme="dark"]) .navbar {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%,     /* Dark slate */
        rgba(30, 41, 59, 0.92) 50%,    /* Medium slate */
        rgba(51, 65, 85, 0.90) 100%    /* Lighter slate */
    );
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .navbar.scrolled,
:root:not([data-theme="dark"]) .navbar.scrolled {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.98) 0%,     /* More opaque dark slate */
        rgba(30, 41, 59, 0.95) 50%,    /* More opaque medium slate */
        rgba(51, 65, 85, 0.93) 100%    /* More opaque lighter slate */
    );
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Dark Mode - Original Navbar Styles */
[data-theme="dark"] .navbar {
    background: rgba(17, 24, 39, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(17, 24, 39, 0.95);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .info-card,
[data-theme="dark"] .contact-form {
    background: var(--background-alt);
    border-color: var(--border-color);
}

[data-theme="dark"] .service-card:hover {
    border-color: var(--primary-color);
}

[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-subtitle,
[data-theme="dark"] .section-title,
[data-theme="dark"] .service-title,
[data-theme="dark"] .info-card h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .hero-subtitle {
    color: var(--text-secondary);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--background-color);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .footer {
    background: #0f172a;
}

