/* ===== CSS Variables ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --background: #ffffff;
    --surface: #f8fafc;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --gradient-1: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --gradient-2: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    color: var(--primary);
    font-size: 1.5rem;
}

.logo-text {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-light);
    padding: 8px 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.lang-switch:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    background: var(--gradient-2);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 700px;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    pointer-events: none;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    top: 50%;
    right: 30%;
    animation-delay: 1s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--primary-light);
    top: 30%;
    right: 40%;
    animation-delay: 2s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: white;
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ===== Page Hero ===== */
.page-hero {
    padding: 140px 24px 80px;
    background: var(--gradient-2);
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.legal-hero {
    padding: 140px 24px 60px;
}

/* ===== Features Section ===== */
.features {
    padding: 100px 24px;
    background: var(--surface);
}

.features h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 60px;
    color: var(--secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--secondary);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== Services Preview ===== */
.services-preview {
    padding: 100px 24px;
    text-align: center;
}

.services-preview h2 {
    font-size: 2.25rem;
    margin-bottom: 60px;
    color: var(--secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.service-card {
    background: var(--surface);
    padding: 48px 32px;
    border-radius: var(--radius-lg);
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--secondary);
    color: white;
}

.service-card:hover .service-number {
    color: var(--accent);
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

.service-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--border);
    line-height: 1;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-light);
    transition: var(--transition);
}

/* ===== Stats Section ===== */
.stats {
    padding: 80px 24px;
    background: var(--gradient-1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: white;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===== CTA Section ===== */
.cta {
    padding: 100px 24px;
    background: var(--surface);
    text-align: center;
}

.cta h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
    color: var(--secondary);
}

.cta p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== About Page ===== */
.about-intro {
    padding: 100px 24px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--secondary);
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: var(--gradient-1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 6rem;
    opacity: 0.5;
}

/* ===== Mission Vision ===== */
.mission-vision {
    padding: 100px 24px;
    background: var(--surface);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.mv-card {
    background: white;
    padding: 48px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.mv-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--secondary);
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== Industries ===== */
.industries {
    padding: 100px 24px;
}

.industries h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 60px;
    color: var(--secondary);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.industry-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--surface);
    border-radius: var(--radius);
    transition: var(--transition);
}

.industry-item:hover {
    background: var(--primary);
    color: white;
}

.industry-icon {
    font-size: 2rem;
}

/* ===== Timeline ===== */
.timeline {
    padding: 100px 24px;
    background: var(--surface);
}

.timeline h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 60px;
    color: var(--secondary);
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-marker {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex: 1;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--secondary);
}

.timeline-content p {
    color: var(--text-light);
}

/* ===== Services Page ===== */
.services-main {
    padding: 100px 24px;
}

.service-detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 80px;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-detail-icon {
    width: 120px;
    height: 120px;
    background: var(--gradient-1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.service-detail-content h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--secondary);
}

.service-detail-content p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}

.service-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

/* ===== Additional Services ===== */
.services-additional {
    padding: 100px 24px;
    background: var(--surface);
}

.services-additional h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 60px;
    color: var(--secondary);
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.additional-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.additional-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.additional-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.additional-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--secondary);
}

.additional-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== Process ===== */
.process {
    padding: 100px 24px;
}

.process h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 60px;
    color: var(--secondary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--secondary);
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== Contact Page ===== */
.contact-main {
    padding: 100px 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2,
.contact-form-container h2 {
    font-size: 1.75rem;
    margin-bottom: 24px;
    color: var(--secondary);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--surface);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--secondary);
}

.contact-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-text a {
    color: var(--primary);
}

.contact-text a:hover {
    text-decoration: underline;
}

/* ===== Contact Form ===== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Map Section ===== */
.map-section {
    padding: 80px 24px;
    background: var(--surface);
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--secondary);
}

.map-container {
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ===== Business Hours ===== */
.business-hours {
    padding: 80px 24px;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.hours-info h2,
.response-info h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--secondary);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.response-info p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== Legal Pages ===== */
.legal-content {
    padding: 60px 24px;
}

.legal-content .container {
    max-width: 900px;
}

.legal-section {
    margin-bottom: 48px;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--secondary);
}

.legal-section h3 {
    font-size: 1.125rem;
    margin: 24px 0 12px;
    color: var(--secondary);
}

.legal-section p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-section li {
    color: var(--text-light);
    margin-bottom: 8px;
    list-style: disc;
    line-height: 1.8;
}

.legal-contact {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius);
    margin-top: 16px;
}

.legal-contact p {
    margin-bottom: 8px;
}

.legal-contact p:last-child {
    margin-bottom: 0;
}

/* ===== Footer ===== */
.footer {
    background: var(--secondary);
    color: white;
    padding: 80px 24px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid,
    .hours-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .service-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-detail.reverse {
        direction: ltr;
    }

    .service-detail-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 120px 24px 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-visual {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .features-grid,
    .services-grid,
    .mv-grid,
    .additional-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .timeline-container::before {
        left: 10px;
    }

    .timeline-marker {
        width: 22px;
        height: 22px;
    }

    .timeline-item {
        gap: 20px;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .page-hero {
        padding: 120px 16px 60px;
    }

    .page-hero h1 {
        font-size: 1.75rem;
    }

    .features h2,
    .services-preview h2,
    .cta h2,
    .industries h2,
    .timeline h2,
    .services-additional h2,
    .process h2 {
        font-size: 1.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* ===== Leaflet Map Customization ===== */
.leaflet-popup-content-wrapper {
    border-radius: var(--radius);
}

.leaflet-popup-content {
    margin: 12px 16px;
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-4 {
    margin-top: 1rem;
}

/* ===== Animation Classes ===== */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
