:root {
    /* Color Palette - Open Source Trust Theme */
    --bg-dark: #0f172a;
    /* Deep Slate - Trustworthy & Professional */
    --bg-card: #1e293b;
    /* Lighter Slate */
    --text-primary: #f1f5f9;
    /* Off-white for readability */
    --text-secondary: #94a3b8;
    /* Slate grey */

    --accent-gold: #10b981;
    /* Emerald Green - Represents Safety & Open Source */
    --accent-blue: #38bdf8;
    /* Sky Blue - Transparency */

    --accent-gradient: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-gold) 100%);
    --accent-gradient-blue: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Effects */
    --glass-bg: rgba(15, 23, 42, 0.8);
    --glass-border: 1px solid rgba(56, 189, 248, 0.1);
    /* Subtle Blue border */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.2);
    /* Emerald glow */
}

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

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

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    letter-spacing: -0.02em;
}

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

p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    backdrop-filter: blur(10px);
    border-bottom: var(--glass-border);
    transition: all 0.3s ease;
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.logo .accent {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
    align-items: center;
}

.nav-links a:not(.btn-primary-nav) {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.btn-primary-nav {
    padding: 0.6rem 1.5rem;
    background: var(--accent-gold);
    color: var(--bg-dark);
    font-weight: 600;
    border-radius: 2px;
}

.btn-primary-nav:hover {
    background: #e6c94c;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    /* Added bottom padding */
}

.hero-content {
    max-width: 900px;
    /* Increased max-width slightly */
    position: relative;
    z-index: 2;
}

.subtitle {
    font-size: 1.35rem;
    /* Slightly larger */
    margin-bottom: 3rem;
    /* Increased spacing before bullets */
    max-width: 650px;
    line-height: 1.7;
}

.hero-bullets {
    list-style: none;
    margin-bottom: 3.5rem;
    /* Increased spacing before buttons */
}

.hero-bullets li {
    margin-bottom: 1.2rem;
    /* More space between bullets */
    position: relative;
    padding-left: 2.5rem;
    /* More indentation */
    color: var(--text-secondary);
    font-size: 1.15rem;
    /* Larger text */
    line-height: 1.6;
}

.hero-bullets li::before {
    content: '❯';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 1.2rem;
    /* Consistent icon size */
}

.hero-bullets strong {
    color: var(--text-primary);
}

.hero-bg-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100vh;
    background: radial-gradient(circle at 70% 30%, rgba(56, 189, 248, 0.15), transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.cta-group {
    display: flex;
    gap: var(--spacing-md);
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: var(--accent-gradient);
    color: var(--bg-dark);
    font-weight: 700;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-secondary);
    border-radius: 2px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* Mission / Why Us Section */
/* Mission / Why Us Section */
.mission-section {
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-xl);
    position: relative;
}

.mission-section .container {
    max-width: 1600px;
    /* Wider container for 5 columns */
    padding: 0 var(--spacing-sm);
}

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

.divider {
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    margin: 1rem auto;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    /* Slightly wider minmax */
    gap: 1rem;
    /* Reduced gap */
}

.card {
    background: var(--bg-card);
    padding: 1.5rem;
    /* Reduced padding */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s ease;
    height: 100%;
}

.card h3 {
    font-size: 1.25rem;
    /* Compact heading */
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 1rem;
    /* Compact text */
    margin-bottom: 0;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

/* Benefit Cards (Why Work With Us) */
.benefit-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.check-icon {
    color: var(--accent-gold);
    font-size: 1.2rem;
    background: rgba(16, 185, 129, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.benefit-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.4;
}

/* Process Section (How It Works) */
.process-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to bottom, var(--bg-dark), #0f0f12);
}

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

.step-card {
    position: relative;
    padding: var(--spacing-md);
    padding-top: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-number {
    position: absolute;
    top: -30px;
    left: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(207, 181, 59, 0.2);
    font-family: var(--font-heading);
}

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

.booking-card {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    border-radius: 12px;
}

.booking-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.booking-form {
    display: grid;
    gap: var(--spacing-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

input,
select,
textarea {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(0, 0, 0, 0.5);
}

.btn-submit {
    margin-top: var(--spacing-sm);
    padding: 1rem;
    background: var(--accent-gold);
    color: var(--bg-dark);
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #e6c94c;
}

/* Footer */
footer {
    padding: var(--spacing-md) 0;
    border-top: 1px solid #222;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

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

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

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

.fade-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid #333;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    h1 {
        font-size: 3rem;
    }

    .cta-group {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-card);
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: 12px;
    border: 1px solid var(--accent-gold);
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.modal-content h2 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.modal-content button {
    width: 100%;
}

/* Google Maps Autocomplete Dropdown */
.pac-container {
    z-index: 10000 !important;
    background-color: var(--bg-card);
    border: 1px solid var(--accent-gold);
    color: var(--text-primary);
    font-family: var(--font-body);
}

.pac-item {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 10px;
    cursor: pointer;
}

.pac-item:hover,
.pac-item-selected {
    background-color: rgba(16, 185, 129, 0.1);
}

.pac-item-query {
    color: var(--text-primary);
    font-weight: bold;
}