:root {
    font-family: Inter, sans-serif;
    --primary-color: #8BCC00;
    --neutral-color-1: #000000; /* pitch black */
    --neutral-color-2: #1F1F1F;
    --text-color-primary: #EBEBEB;
    --text-color-secondary: #c2c2c2;
    --text-color-tertiary: #999999;
    --line-height: 1.5;
}

body {
    margin: 0;
    background-color: var(--neutral-color-1);
    color: var(--text-color-primary);
    width: 100%;
    overflow-x: hidden;
}

#logo {
    width: 6vw;
    min-width: 64px;
    height: auto;
    flex-shrink: 0;
    fill: var(--text-color-primary);
}

/* Hero Section - Full Viewport Video Background */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin: 0 -50vw;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 50%;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 110%;
    transform: translateY(-24px);
    object-fit: cover;
    object-position: center;
    display: block;
    border: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
}

#hero-content {
    text-align: center;
    max-width: 800px;
    padding: 64px;
}

#hero-content h2 {
    font-size: 3.5rem;
    margin: 0 0 24px 0;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

#hero-content h6 {
    margin-bottom: 16px;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

#hero-content p {
    margin-bottom: 16px;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.text p { text-align: justify; }

.service-block .text {
    padding: 1.5rem;
    border-radius: 6px;
}

.hero-scroll-arrow {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.hero-scroll-arrow:hover {
    transform: translateX(-50%) translateY(4px);
}

.hero-scroll-arrow p {
    color: var(--text-color-primary);
    margin: 0;
    transition: color 0.3s ease;
}

.hero-scroll-arrow:hover p {
    color: var(--primary-color);
}

.hero-scroll-arrow svg {
    rotate: 90deg;
    stroke: var(--text-color-primary);
    width: 11px;
    height: 19px;
    transition: stroke 0.3s ease;
}

.hero-scroll-arrow:hover svg {
    stroke: var(--primary-color);
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

.services {
    max-width: 1440px; /* Added from previous rule */
    margin: 144px auto;    /* Added from previous rule */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    gap: 32px;
    padding: 0 64px; /* Adjusted desktop padding for a more standard layout */
}

@media (max-width: 768px) {
    /* Hero Section Mobile Adjustments */
    .hero-section {
        margin: 64px 20px;
        padding: 24px 16px;
        min-height: auto;
        gap: 32px;
    }
    
    /* Services Wrapper Mobile Adjustments */
    .services {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 24px;
    }

    /* Responsive typography scaling */
    h2 { font-size: clamp(1.65rem, 6vw, 2.1rem); }
    h3 { font-size: clamp(1.35rem, 5.5vw, 1.75rem); }
    p  { font-size: clamp(0.95rem, 2.9vw, 1.05rem); line-height: 1.55; }
}

@media (max-width: 480px) {
    .hero-section { margin: 56px 16px; padding: 20px 14px; }
    .services { grid-template-columns: 1fr; gap: 20px; }
}

@media (pointer: coarse) {
    /* Touch devices - remove hover effects */
}
