/* Root Variables & Color System */
:root {
    --primary: #1a1a1a;
    --secondary: #f5f5f5;
    --accent: #2d7f5f;
    --accent-light: #4a9f7d;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    background-color: var(--secondary);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15;
}

#heroCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    animation: fadeIn 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
    animation: slideUp 0.8s ease-out 0.6s both;
}

.badge-icon {
    font-size: 1.25rem;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--accent);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 127, 95, 0.3);
}

.btn-secondary {
    background: var(--text-light);
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Sections */
.services-overview,
.impact-section,
.expertise-section,
.why-laycc,
.universe-section,
.values-section,
.method-section,
.ecosystem-section,
.audience-section,
.services-detail,
.contact-section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

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

.service-card {
    background: var(--text-light);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Impact Points */
.impact-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.impact-item {
    text-align: center;
    padding: 2rem;
    background: var(--text-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.impact-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.impact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.impact-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Expertise List */
.expertise-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.expertise-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.expertise-item:hover {
    background: var(--accent);
    color: var(--text-light);
    border-color: var(--accent);
    transform: translateX(8px);
}

.expertise-item h3 {
    font-size: 1.1rem;
    margin: 0;
}

.expertise-partner {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

.chevron {
    font-size: 1.5rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.expertise-item:hover .chevron {
    opacity: 1;
}

/* Reasons Grid */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.reason-card {
    background: var(--text-light);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.reason-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.reason-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Method Steps */
.method-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.method-step {
    position: relative;
    padding: 2.5rem;
    background: var(--text-light);
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-sm);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.method-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.method-step p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Ecosystem Grid */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.ecosystem-card {
    background: var(--text-light);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.ecosystem-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.ecosystem-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Audience List */
.audience-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.audience-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--text-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    list-style: none;
    transition: all 0.3s ease;
}

.audience-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.checkmark {
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Story Content */
.story-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--text-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-light);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--text-light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(45, 127, 95, 0.15);
}

.value-card h3 {
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Service Detail Cards */
.service-detail-card {
    background: var(--text-light);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.service-detail-card h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.partner-note {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem !important;
}

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

.service-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.point {
    background: rgba(45, 127, 95, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form {
    background: var(--text-light);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(45, 127, 95, 0.1);
}

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

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
}

.radio-label input,
.checkbox-label input {
    width: auto;
    cursor: pointer;
}

.contact-info {
    background: var(--text-light);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.contact-info h3 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

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

.contact-info strong {
    color: var(--primary);
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-light);
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #2a2a2a 100%);
    color: var(--text-light);
    padding: 4rem 2rem;
    text-align: center;
}

.final-cta h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.final-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--text-light);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer-section li {
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: slideUp 0.8s ease-out;
}

.fade-in-delay {
    animation: slideUp 0.8s ease-out 0.2s both;
}

.fade-in-delay-2 {
    animation: slideUp 0.8s ease-out 0.4s both;
}

.fade-in-delay-3 {
    animation: slideUp 0.8s ease-out 0.6s both;
}

.fade-on-scroll {
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
}

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .btn {
        width: 100%;
        text-align: center;
    }

    .services-overview,
    .impact-section,
    .expertise-section,
    .why-laycc,
    .universe-section,
    .values-section,
    .method-section,
    .ecosystem-section,
    .audience-section,
    .services-detail,
    .contact-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .expertise-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .chevron {
        align-self: flex-end;
        margin-top: 1rem;
    }

    .universe-hero {
        min-height: 60vh;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .services-grid,
    .impact-points,
    .reasons-grid,
    .method-steps,
    .ecosystem-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .reason-card,
    .method-step,
    .ecosystem-card,
    .value-card,
    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }

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