/* Shared Styles for all pages */

html {
    overflow-y: scroll;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.cta-title,
.brand-text,
.footer-brand-text,
.stat-number {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

/* Navigation Styles */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f766e;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #0f766e;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: #0f766e;
    border-radius: 1px;
}

.btn-primary {
    background: transparent;
    color: white;
    font-size: 1rem;
    line-height: 1.4;
    padding: 12px 32px;
    border: none;
    border-radius: 0;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    transform: skewX(-10deg);
    z-index: -1;
    transition: box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    font-size: 1rem;
    line-height: 1.4;
    padding: 12px 32px;
    border: none;
    border-radius: 0;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid white;
    transform: skewX(-10deg);
    z-index: -1;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    color: #0f766e;
    transform: translateY(-2px);
}

.btn-secondary:hover::before {
    background: white;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #374151;
}

.mobile-nav {
    display: none;
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 20px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 0;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    border-bottom: 1px solid #f3f4f6;
}

.mobile-nav-link:hover {
    color: #0f766e;
}

.mobile-btn {
    width: 100%;
    margin-top: 16px;
    text-align: center;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: #ccfbf1;
    color: #0f766e;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Footer Styles */
.footer {
    margin-top: auto;
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-description {
    color: #d1d5db;
    margin-bottom: 24px;
    line-height: 1.6;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d1d5db;
}

.contact-item i {
    color: #14b8a6;
    width: 16px;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 12px;
}

.legal-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: white;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 24px 24px 0;
}

.card-content {
    padding: 24px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #14b8a6;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Button groups: equal-width children */
.hero-buttons > *,
.cta-buttons > *,
.job-actions > * {
    flex: 1 1 0;
    min-width: 0;
}

.cta-buttons {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }

    .btn-primary,
    .btn-secondary,
    .btn-white,
    .job-details-btn {
        padding: 14px 20px;
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .hero-buttons,
    .cta-buttons,
    .job-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons > *,
    .cta-buttons > *,
    .job-actions > * {
        flex: none;
        width: 100%;
    }

    .btn-primary.form-submit {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Mobile Navigation Active State */
.mobile-nav.active {
    display: block;
}

/* Parallelogram button style - btn-white */
.btn-white {
    background: transparent;
    color: #0f766e;
    font-size: 1rem;
    line-height: 1.4;
    padding: 12px 32px;
    border: none;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.btn-white::before {
    content: '';
    position: absolute;
    inset: 0;
    background: white;
    transform: skewX(-10deg);
    z-index: -1;
    transition: box-shadow 0.3s ease;
}

.btn-white:hover {
    transform: translateY(-2px);
}

.btn-white:hover::before {
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* ── Scroll Reveal Animation ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Card Hover: Teal Glow ── */
.stat-card:hover,
.testimonial-card:hover,
.service-card:hover,
.benefit-card:hover,
.value-card:hover,
.team-card:hover,
.job-card:hover {
    box-shadow:
        0 12px 35px rgba(14, 116, 108, 0.13),
        0 0 0 1px rgba(20, 184, 166, 0.10);
}

/* ── Button Ripple ── */
.btn-primary,
.btn-white {
    overflow: visible;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: ripple-anim 0.55s ease-out;
    pointer-events: none;
    z-index: 10;
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Parallelogram image style - matches logo aesthetic */
.hero-image img,
.hero-image video,
.story-images .main-image,
.benefit-image-1,
.benefit-image-2,
.culture-image img {
    clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
    border-radius: 0;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 1.5rem;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #374151;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.lang-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.lang-btn.active {
    background: #0f766e;
    color: white;
    border-color: #0f766e;
}

.footer .lang-btn {
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.footer .lang-btn.active {
    background: #14b8a6;
    border-color: #14b8a6;
}