/* Main Styles for VelocityQA */
:root {
    --primary: #121620;
    --primary-dark: #0a0d14;
    --secondary: #ff5500;
    --text: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --card: #ffffff;
    --card-dark: #1e293b;
    --border: #e2e8f0;
    --border-dark: #334155;
    --success: #10b981;
    --error: #ef4444;
    --orange: #ff6b00;
    --teal: #20C5C6;
    --silver: #D1D5DB;
}

[data-theme="dark"] {
    --text: #f8fafc;
    --text-light: #94a3b8;
    --bg-light: #0f172a;
    --card: #1e293b;
    --border: #334155;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
header {
    padding: 1rem 0;
    position: relative;
    background-color: var(--primary-dark);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 60px;
    width: auto;
}

/* Navigation Styles */
.nav-section-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

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

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

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

.cta-button {
    display: inline-block;
    background-color: var(--orange);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background-color: #e85d00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.cta-button:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.cta-button:hover:after {
    left: 100%;
}

/* Footer Styles */
footer {
    background-color: var(--primary-dark);
    color: var(--text);
    padding: 3rem 0 1rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo-container {
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(30, 41, 59, 0.5);
    border-radius: 6px;
    color: var(--teal);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--teal);
    color: white;
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

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

.footer-link {
    margin-bottom: 0.75rem;
}

.footer-link a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.contact-icon {
    color: var(--teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 20px;
    cursor: pointer;
    z-index: 1000;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text);
    transition: all 0.3s ease;
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

.back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    background-color: transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    opacity: 0.6;
    margin-right: 0.5rem;
}

.back-button:hover {
    color: var(--teal);
    transform: translateX(-3px);
    opacity: 1;
}

/* Make footer layout horizontal for quick links and services */
.footer-container > div:not(:first-child) {
    min-width: 180px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--card);
        flex-direction: column;
        justify-content: center;
        z-index: 999;
        transition: right 0.3s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-container > div {
        width: 100%;
    }
}
