/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 600;
    /* Semi-bold, not too heavy */
    letter-spacing: -0.03em;
    /* Tighter tracking for modern look */
}

h1 {
    font-size: var(--h1-size);
    line-height: 1.1;
}

h2 {
    font-size: var(--h2-size);
    margin-bottom: var(--spacing-sm);
}

p {
    font-size: var(--body-size);
    color: var(--text-secondary);
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

/* Navbar */
.navbar {
    padding: var(--spacing-md) 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(252, 252, 252, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-sm) 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: auto;
    max-height: 40px;
    /* Force strict height limit */
    width: auto;
    max-width: 180px;
    /* Ensure it fits on mobile */
    display: block;
    mix-blend-mode: multiply;
    /* Make white background transparent on light bg */
}

/* Footer Logo adjustments */
.footer-logo-img {
    height: auto;
    max-height: 50px;
    filter: brightness(0) invert(1);
    /* White for dark bg */
    mix-blend-mode: normal;
    /* Reset blend mode for dark footer */
}


.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--border-color);
    margin-left: var(--spacing-sm);
}

.btn-outline:hover {
    border-color: var(--text-primary);
}

.btn-nav {
    /* Style for CTA in nav if needed, currently plain link */
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    margin-top: 0;
    /* Override previous margin if any due to fixed nav */
    padding-top: 80px;
    /* Slight offset for nav */
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay for readability */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-container {
    text-align: center;
    max-width: 800px;
    /* Center content focus */
    z-index: 1;
}

.hero-title {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    margin-left: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--text-primary);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.card {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-subtle);
}

.card-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
}

.card h3 {
    font-size: var(--h3-size);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--white);
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #ccc;
    font-size: 0.95rem;
}

.footer-contact-list svg {
    flex-shrink: 0;
}

.footer-logo {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.footer p {
    color: #888;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-sm);
    text-align: center;
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* simple hide for now */
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }
}

/* Process Section */
.section-alt {
    background-color: var(--bg-secondary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    counter-reset: step;
}

.process-step {
    position: relative;
    padding-top: var(--spacing-md);
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: #e0e0e0;
    line-height: 1;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.contact-info ul {
    margin-top: var(--spacing-md);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.contact-info i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.contact-form-wrapper {
    background: var(--white);
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #fafafa;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .process-steps {
        gap: var(--spacing-md);
    }
}