/* CSS Variables */
:root {
    --primary-color: #85A99B;
    --primary-dark: #6a8a7c;
    --primary-light: #a3c4b5;
    --bg-dark: #0F160F;
    --bg-card: rgba(21, 30, 21, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #b8c5c0;
    --text-muted: #7a8984;
    --accent-glow: rgba(133, 169, 155, 0.15);
    --border-color: rgba(133, 169, 155, 0.2);
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.8;
}

strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 22, 15, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-nav img {
    height: 20px;
    width: 180px;
    max-width: 100%;
    filter: drop-shadow(0 2px 8px rgba(133, 169, 155, 0.3));
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a:hover {
    color: var(--primary-color);
}

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

/* Language Toggle */
.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.lang-btn:hover {
    color: var(--primary-color);
    background: var(--accent-glow);
}

.lang-btn.active {
    color: var(--primary-color);
    background: var(--accent-glow);
    position: relative;
}

.lang-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--primary-color);
}

.lang-divider {
    color: var(--border-color);
    font-size: 0.875rem;
    user-select: none;
}

/* Language Switch Animation */
body.lang-switching {
    opacity: 0.95;
}

body.lang-switching * {
    transition: opacity 0.2s ease;
}

/* Section Container */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.section-title {
    color: var(--text-primary);
    margin-top: var(--spacing-xs);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    background: radial-gradient(circle at 50% 50%,
                rgba(133, 169, 155, 0.08) 0%,
                rgba(15, 22, 15, 1) 70%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-accent {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg,
                transparent 0%,
                var(--primary-color) 50%,
                transparent 100%);
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg,
                var(--bg-dark) 0%,
                rgba(21, 30, 21, 0.5) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: var(--spacing-lg);
}

.about-column {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: var(--accent-glow);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-column:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(133, 169, 155, 0.2);
}

.about-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.about-column h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-column p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.about-mission {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.mission-statement {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Services Section */
.services-section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.services-visual {
    max-width: 1200px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
    padding: 2rem 0;
}

.services-visual img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
                var(--primary-color) 0%,
                var(--primary-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(133, 169, 155, 0.15);
}

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

.service-number {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.service-tagline {
    color: var(--primary-light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.service-features li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

/* Vision Section */
.vision-section {
    padding: var(--spacing-xl) 0;
    background: radial-gradient(circle at 50% 50%,
                rgba(133, 169, 155, 0.05) 0%,
                transparent 70%);
}

.vision-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem;
    align-items: center;
}

.vision-block {
    padding: 2.5rem;
    border-radius: 12px;
    background: var(--accent-glow);
    border: 1px solid var(--border-color);
}

.vision-block h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.vision-block p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.vision-divider {
    width: 2px;
    height: 120px;
    background: linear-gradient(180deg,
                transparent 0%,
                var(--primary-color) 50%,
                transparent 100%);
}

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

.story-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.story-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.story-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle,
                var(--accent-glow) 0%,
                transparent 70%);
    border: 2px solid var(--primary-color);
    position: relative;
    animation: pulse 4s ease-in-out infinite;
}

.story-circle-accent {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg,
                rgba(133, 169, 155, 0.1) 0%,
                transparent 100%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.cta-content h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.cta-emphasis {
    color: var(--primary-light) !important;
    font-weight: 500;
    font-style: italic;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: var(--spacing-xl);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

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

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
}

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

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
        gap: 2rem;
    }
}

@media screen and (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .vision-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .vision-divider {
        width: 120px;
        height: 2px;
        justify-self: center;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .story-visual {
        height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        align-items: center;
    }

    .nav-links {
        order: 2;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-links a {
        font-size: 0.875rem;
    }

    .language-toggle {
        order: 3;
    }

    .section-container {
        padding: 0 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .story-circle {
        width: 220px;
        height: 220px;
    }

    .story-circle-accent {
        width: 140px;
        height: 140px;
    }

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

@media screen and (max-width: 480px) {
    .hero-section {
        min-height: 90vh;
        padding-top: 100px;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .cta-content {
        padding: 3rem 1.5rem;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 0.75rem;
        width: 100%;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .lang-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }

    .services-visual img {
        border-radius: 12px;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }

    .mission-statement {
        font-size: 1rem;
    }

    .section-container {
        padding: 0 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #a3c4b5;
        --text-secondary: #e0e0e0;
        --border-color: rgba(133, 169, 155, 0.4);
    }
}
