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

:root {
    --primary-blue: #1e3a8a;
    --primary-blue-dark: #1e40af;
    --primary-blue-light: #3b82f6;
    --gradient-start: #1e3a8a;
    --gradient-end: #3b82f6;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

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

.nav-links,
.nav-links-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Base nav link styles */
.nav-links a,
.nav-links-desktop a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

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

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

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

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

.dropdown-toggle:hover {
    color: var(--primary-blue);
}

.dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s;
}

.dropdown-toggle:hover::after {
    width: 100%;
}

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

.contact-link:hover {
    color: var(--primary-blue);
}

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

.contact-link:hover::after {
    width: 100%;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 0.25rem;
    transition: transform 0.3s;
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    padding: 0.5rem 0;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.dropdown-menu a:hover {
    background-color: var(--bg-gray);
    color: var(--primary-blue);
}

.dropdown-menu a::after {
    display: none;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.lang-option {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    letter-spacing: 0.05em;
}

.lang-option:hover {
    color: var(--primary-blue);
    background: var(--bg-gray);
}

.lang-option.active {
    background: var(--primary-blue);
    color: white;
}

.lang-separator {
    color: var(--text-light);
    font-size: 0.875rem;
}

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

/* Hide mobile menu on desktop - overridden by media query */
.mobile-menu {
    display: none;
}

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

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

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 2rem 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transition: all 0.3s;
    font-size: 1.1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.2);
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    opacity: 0.95;
    font-weight: 400;
}

/* Intro Section */
.intro-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

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

.intro-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-gray);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    word-wrap: break-word;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue-light);
}

.service-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.service-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.service-card-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.service-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.focus-badge,
.ideal-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-dark);
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.focus-badge {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    color: var(--primary-blue);
}

/* Content Section */
.content-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.identity-block {
    margin-bottom: 4rem;
}

.identity-block:last-child {
    margin-bottom: 0;
}

.block-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.block-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.values-section,
.principles-section {
    margin-top: 2.5rem;
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.values-list,
.principles-list {
    list-style: none;
    padding-left: 0;
}

.values-list li,
.principles-list li {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-gray);
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
}

.values-list li::before,
.principles-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 600;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.team-member {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
    word-wrap: break-word;
}

.member-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.member-role {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.member-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-gray);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Service Page */
.service-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    word-wrap: break-word;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-value {
    font-size: 1.0625rem;
    color: var(--text-dark);
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.service-overview {
    margin-bottom: 4rem;
}

.section-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.overview-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.core-services {
    margin-top: 3rem;
}

.core-service-block {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    overflow: hidden;
    word-wrap: break-word;
}

.core-service-block:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue-light);
}

.core-service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.core-service-items {
    list-style: none;
    padding-left: 0;
}

.core-service-items li {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-gray);
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.core-service-items li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

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

.footer-content {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-info p {
    margin: 0;
}

.contact-info a {
    color: white;
    text-decoration: none;
    font-size: 1.0625rem;
    transition: opacity 0.2s;
}

.contact-info a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

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

.footer-bottom p {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide desktop nav on mobile */
    .nav-links-desktop {
        display: none !important;
    }

    /* Mobile menu - part of page flow */
    .mobile-menu {
        display: none;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        gap: 1.5rem;
        align-items: flex-start;
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu a {
        color: var(--text-dark);
        text-decoration: none;
        font-weight: 500;
        font-size: 1rem;
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
        display: block;
    }

    .mobile-menu a:last-child {
        border-bottom: none;
    }

    /* Fix dropdown toggle - remove underline animation, ensure full width line */
    .mobile-menu .dropdown-toggle {
        border-bottom: 1px solid var(--border-color);
        position: relative;
    }

    .mobile-menu .dropdown-toggle::after {
        display: none !important;
    }

    /* Make dropdown items appear inline in mobile menu - no separate container */
    .mobile-menu .dropdown {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .mobile-menu .dropdown-menu {
        position: static !important;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        box-shadow: none;
        border: none;
        background: transparent;
        margin: 0;
        padding: 0;
        min-width: auto;
        width: 100%;
        max-height: none;
        overflow: visible;
    }

    .mobile-menu .dropdown.active .dropdown-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .mobile-menu .dropdown-menu a {
        padding: 0.75rem 0;
        padding-left: 0;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-dark);
        font-size: 1rem;
        font-weight: 500;
        width: 100%;
    }

    .mobile-menu .dropdown-menu a:last-child {
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-menu .lang-switcher {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }

    .mobile-menu-toggle {
        display: flex;
    }


    .hero {
        min-height: 70vh;
    }

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

    .team-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .logo-img {
        height: 32px;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

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

    .service-card {
        padding: 1.5rem;
    }

    .core-service-block {
        padding: 1.5rem;
    }

    .logo-img {
        height: 28px;
    }

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

