@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0f172a; /* Deep slate / navy */
    --primary-light: #1e293b;
    --secondary: #f97316; /* Vibrant transport orange */
    --secondary-hover: #ea580c;
    --accent: #f97316; /* Vibrant transport orange */
    --text-main: #1e293b;
    --text-muted: #475569;
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #020617;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --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);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --container-width: 1280px;
}

/* Reset & Scaffolding */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin-inline: auto;
    padding-inline: 2rem;
}

/* Typography Utility */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--text-muted); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--bg-white);
    box-shadow: 0 4px 14px 0 rgba(249, 115, 22, 0.39);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.23);
}

.btn-outline {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--primary);
}

.btn-dark {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-dark:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

/* Navigation - Glassmorphism */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 1rem 0;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

header:not(.scrolled) .logo {
    color: var(--bg-white);
}

.logo-icon {
    color: var(--secondary);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--primary);
    position: relative;
}

header:not(.scrolled) .nav-links a.nav-item {
    color: var(--bg-white);
}

.nav-links a.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-links a.nav-item:hover::after,
.nav-links a.nav-item.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

header:not(.scrolled) .nav-toggle {
    color: var(--bg-white);
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-head {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-inline: auto;
}

.section-subtitle {
    color: var(--secondary);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.section-title span {
    color: var(--accent);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: var(--primary);
    overflow: hidden;
    color: var(--bg-white);
    padding: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(2, 6, 23, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeUp 1s ease-out backwards;
}

.hero h1 span {
    color: var(--secondary);
}

.hero p {
    font-size: 1.25rem;
    margin: 0 auto 2.5rem;
    color: #f8fafc;
    max-width: 600px;
    animation: fadeUp 1s ease-out 0.2s backwards;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeUp 1s ease-out 0.4s backwards;
}

/* Page Header (for interior pages) */
.page-header {
    padding: 10rem 0 5rem;
    background: var(--primary);
    position: relative;
    color: var(--bg-white);
    text-align: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
    z-index: 1;
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--bg-white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.125rem;
    color: #f8fafc;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Features/Services Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background: var(--secondary);
    color: var(--bg-white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--primary);
    gap: 0.75rem; /* subtle arrow move */
}

/* Split Section (Image Right/Left, Text Left/Right) */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.split-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.split-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.split-image img {
    border-radius: var(--radius-lg);
    transition: transform 0.7s ease;
}

.split-image:hover img {
    transform: scale(1.03);
}

.split-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
    pointer-events: none;
}

.feature-list {
    margin: 2rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.feature-list i {
    color: var(--secondary);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.feature-list h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.feature-list p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Testimonials */
.testimonials {
    background-color: var(--primary);
    color: var(--bg-white);
}

.testimonials .section-title, .testimonials .section-subtitle {
    color: var(--bg-white);
}

.testimonials .section-subtitle {
    color: var(--accent);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.testimonial-card p {
    font-size: 1.125rem;
    font-style: italic;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
}

.client-info h4 {
    font-size: 1.125rem;
    color: var(--bg-white);
}

.client-info span {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    margin-top: -5rem;
    position: relative;
    z-index: 10;
}

.contact-info {
    padding-right: 2rem;
    border-right: 1px solid #e2e8f0;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-main);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-details h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.info-details a, .info-details p {
    color: var(--text-muted);
    font-size: 1rem;
}

.info-details a:hover {
    color: var(--secondary);
}

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

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-main);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #64748b;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* CTA Block */
.cta-block {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-hover) 100%);
    padding: 5rem 0;
    text-align: center;
    color: var(--bg-white);
}

.cta-block h2 {
    color: var(--bg-white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-block p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-inline: auto;
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: var(--bg-white);
    padding: 5rem 0 2rem;
}

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

.footer-brand .logo {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #94a3b8;
    max-width: 300px;
    margin-bottom: 1.5rem;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.25rem;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul a {
    color: #94a3b8;
}

.footer-links ul a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
    .split-section, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--glass-bg);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s ease;
        z-index: 999;
    }

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

    header:not(.scrolled) .nav-links a.nav-item {
        color: var(--primary); /* Force dark color in mobile menu even at top */
    }

    .nav-links .btn {
        margin-top: 1rem;
    }

    .nav-links::before {
        content: '✕';
        position: absolute;
        top: 2rem;
        right: 2rem;
        font-size: 2rem;
        color: var(--primary);
        cursor: pointer;
    }

    .hero h1 {
        font-size: 2.75rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

#mobile-close {
    display: none;
}
@media (max-width: 768px) {
    #mobile-close {
        display: block;
        position: absolute;
        top: 2rem;
        right: 2rem;
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--primary);
        cursor: pointer;
    }
}
