/* Flamingo Recruitment - Professional Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather:wght@400;700&family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0D9488;
    --primary-dark: #0F766E;
    --primary-light: #14B8A6;
    --accent: #14B8A6;
    --dark-navy: #1E2A3A;
    --text-dark: #1E2A3A;
    --text-medium: #4A5568;
    --text-light: #718096;
    --bg-light: #F1F5F9;
    --bg-white: #FFFFFF;
    --border-light: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --gradient-primary: linear-gradient(135deg, #0D9488 0%, #14B8A6 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: 'Merriweather', 'Noto Sans SC', serif;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark-navy);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin-bottom: 1.2em; color: var(--text-medium); }

a { color: var(--primary); text-decoration: none; transition: all 0.25s; }
a:hover { color: var(--primary-light); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

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

.logo img { height: 45px; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-links a {
    padding: 0.5rem 0.8rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 6px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
    background: var(--bg-light);
}

.lang-switch {
    margin-left: 1rem;
    padding: 0.4rem 0.8rem;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.lang-switch:hover { border-color: var(--primary); }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark-navy);
    transition: all 0.3s;
}

/* Hero */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-light);
}

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 span { color: var(--primary); }

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual svg {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.stat-card {
    background: var(--bg-white);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--border-light);
}

.stat-num {
    font-family: 'Merriweather', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13,148,136,0.3);
    color: white;
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--dark-navy);
    border-color: var(--border-light);
}

.btn-secondary:hover { border-color: var(--primary); }

/* Sections */
.section { padding: 5rem 0; }
.section-gray { background: var(--bg-light); }

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.8rem; }
.feature-card p { font-size: 0.95rem; margin-bottom: 1rem; }

.feature-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

/* Page Hero */
.page-hero {
    padding: 8rem 0 3rem;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; max-width: 700px; }

/* Service Content */
.service-content { padding: 4rem 0; }

.service-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
}

.service-main { line-height: 1.85; }

.service-main h2 {
    font-size: 1.4rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.service-main h3 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.8rem;
}

.service-image {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.service-image svg { width: 100%; display: block; }

/* Sidebar */
.service-sidebar { position: sticky; top: 90px; }

.sidebar-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
}

.sidebar-card h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.sidebar-list { list-style: none; }

.sidebar-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.sidebar-list li:last-child { border-bottom: none; }
.check-icon { color: var(--primary); }

.cta-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-light);
}

.cta-card h4 { margin-bottom: 0.8rem; }
.cta-card p { font-size: 0.9rem; margin-bottom: 1rem; }

/* Regions */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.region-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.region-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.region-card h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.region-card p { margin-bottom: 0; font-size: 0.9rem; }

/* Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.step-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 auto 1rem;
}

.process-step h4 { margin-bottom: 0.3rem; font-size: 1rem; }
.process-step p { margin-bottom: 0; font-size: 0.9rem; }

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: var(--bg-light);
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.cta-section h2 { margin-bottom: 0.8rem; }
.cta-section p { max-width: 550px; margin: 0 auto 1.5rem; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 { margin-bottom: 1.2rem; }

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.contact-item h4 { margin-bottom: 0.3rem; font-size: 0.95rem; }
.contact-item p { margin-bottom: 0; font-size: 0.9rem; }

.contact-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.contact-form h3 { margin-bottom: 1.5rem; }

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

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

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

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

/* Map */
.map-section {
    height: 300px;
    background: var(--bg-light);
}

.map-section svg { width: 100%; height: 100%; }

/* Footer */
.footer {
    background: var(--dark-navy);
    color: white;
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.footer-social a:hover { background: var(--primary); }

.footer h4 {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary-light); }

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin: 0;
}

.cert-badge {
    padding: 0.4rem 0.8rem;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin: 0 auto 2rem; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .service-grid { grid-template-columns: 1fr; }
    .service-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-inner { position: relative; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 999;
        gap: 0;
        overflow-y: auto;
    }
    
    .nav-links.active { right: 0; }
    .nav-links li { width: 100%; }
    
    .nav-links a {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-light);
        border-radius: 0;
    }
    
    .nav-links .lang-switch {
        margin: 1rem 0 0 0;
        text-align: center;
    }
    
    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 998;
    }
    
    .mobile-overlay.active { display: block; }
    
    .hero { padding: 7rem 0 3rem; }
    .hero-visual { display: none; }
    .section { padding: 3rem 0; }
    .page-hero { padding: 7rem 0 2rem; }
    .page-hero h1 { font-size: 1.8rem; }
    
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .regions-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .container { padding: 0 1rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.4rem; }
    .hero { padding: 6rem 0 2rem; }
    .hero-badge { font-size: 0.7rem; padding: 0.4rem 0.8rem; }
    .hero-desc { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .hero-stats { flex-direction: column; align-items: center; }
    .stat-card { width: 100%; max-width: 200px; }
    .process-steps { grid-template-columns: 1fr; }
    .feature-card { padding: 1.5rem; }
    .section-header { margin-bottom: 2rem; }
    .logo img { height: 38px; }
}

/* Image Slideshow */
.slideshow-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.slideshow-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 2rem;
}

.slide-caption h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.slide-caption p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 0.95rem;
}

.slideshow-nav {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.slideshow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.slideshow-dot.active {
    background: white;
    transform: scale(1.2);
}

.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark-navy);
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-arrow:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.slideshow-arrow.prev { left: 1rem; }
.slideshow-arrow.next { right: 1rem; }

/* Service page images */
.service-hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.service-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.service-image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Contact page map/photo */
.contact-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.contact-photo-section {
    margin-top: 2rem;
}

.contact-photo-section h3 {
    margin-bottom: 1rem;
    text-align: center;
}

@media (max-width: 768px) {
    .slide img {
        height: 300px;
    }
    
    .slideshow-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .service-image-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-photo {
        height: 250px;
    }
}
