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

:root {
    --primary-color: #2B8FBF;
    --secondary-color: #4AC8E8;
    --accent-color: #FFD700;
    --jungle-green: #228B22;
    --leaf-green: #32CD32;
    --banana-yellow: #FFE135;
    --tree-brown: #8B4513;
    --text-primary: #2F4F2F;
    --text-secondary: #556B2F;
    --text-light: #ffffff;
    --text-muted: #8FBC8F;
    --background-light: #F0FFF0;
    --background-white: #FFFEF7;
    --background-dark: #2F4F2F;
    --background-jungle: linear-gradient(135deg, #228B22, #32CD32, #90EE90);
    --border-color: #98FB98;
    --hover-color: #E6FFE6;
    --shadow-light: 0 4px 15px rgba(43, 143, 191, 0.2);
    --shadow-medium: 0 8px 25px rgba(43, 143, 191, 0.3);
    --shadow-jungle: 0 6px 20px rgba(34, 139, 34, 0.4);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Comic Neue', 'Nunito', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    font-size: 16px;
    overflow-x: hidden;
    background: var(--background-white);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(34, 139, 34, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(50, 205, 50, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    font-family: 'Comic Neue', sans-serif;
}

h1 {
    text-shadow: 2px 2px 4px rgba(43, 143, 191, 0.3);
}

h2 {
    text-shadow: 1px 1px 3px rgba(43, 143, 191, 0.2);
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 18px 36px;
    border: 3px solid transparent;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    font-family: 'Comic Neue', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    border-color: var(--banana-yellow);
    box-shadow: 0 4px 15px rgba(43, 143, 191, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(43, 143, 191, 0.6);
    border-color: var(--accent-color);
}

.btn-primary::before {
    content: '🍌';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    transition: var(--transition);
}

.btn-primary:hover::before {
    left: 10px;
    animation: banana-spin 0.8s ease-in-out;
}

.btn-secondary {
    background: linear-gradient(45deg, var(--jungle-green), var(--leaf-green));
    color: var(--text-light);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.4);
}

.btn-secondary:hover {
    background: linear-gradient(45deg, var(--leaf-green), var(--jungle-green));
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(34, 139, 34, 0.6);
    border-color: var(--banana-yellow);
}

.btn-secondary::before {
    content: '🦍';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    transition: var(--transition);
}

.btn-secondary:hover::before {
    left: 10px;
    animation: swing 0.6s ease-in-out;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
    position: relative;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-jungle);
}

.btn-outline::before {
    content: '🌿';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    transition: var(--transition);
}

.btn-outline:hover::before {
    right: 10px;
    animation: jungle-float 0.8s ease-in-out;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 254, 247, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: var(--shadow-light);
    border-bottom: 3px solid var(--primary-color);
    transition: var(--transition);
}

.navbar {
    padding: 0;
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05) rotate(-2deg);
}

.logo-img {
    height: 45px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(43, 143, 191, 0.3));
    transition: var(--transition);
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    text-shadow: 1px 1px 2px rgba(43, 143, 191, 0.2);
    font-family: 'Comic Neue', sans-serif;
}

.nav-menu {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 20px;
    height: 100%;
    border-bottom: 3px solid transparent;
}

.nav-link:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.nav-link i {
    font-size: 12px;
    opacity: 0.7;
}

/* Dropdown */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--background-white);
    box-shadow: var(--shadow-medium);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

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

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background: var(--hover-color);
    color: var(--primary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.8), rgba(47, 79, 47, 0.6)),
                url('https://images.unsplash.com/photo-1544735716-392fe2489ffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover;
    display: flex;
    align-items: center;
    color: var(--text-light);
    position: relative;
    padding-top: 80px;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background-jungle);
    opacity: 0.15;
    z-index: 1;
}

.hero::after {
    content: '🌿🦍🤖🍌';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    z-index: 3;
    animation: bounce 3s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(5deg); }
    50% { transform: translateY(-5px) rotate(-5deg); }
    75% { transform: translateY(-15px) rotate(3deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.hero-text {
    max-width: 700px;
}

.hero-label {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 24px;
    display: block;
}

.hero-title {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.1;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 600px;
}

.hero-purpose {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 32px;
    border-radius: 16px;
    margin: 40px 0;
    border-left: 4px solid var(--accent-color);
}

.hero-purpose p {
    color: var(--text-light);
    margin: 0;
    font-size: 1.1rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 6px solid var(--primary-color);
    box-shadow: var(--shadow-jungle);
    transition: var(--transition);
    animation: jungle-float 4s infinite ease-in-out;
}

.hero-image:hover {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent-color);
    box-shadow: 0 12px 30px rgba(43, 143, 191, 0.5);
}

.progress-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 700;
    font-size: 20px;
    position: relative;
    animation: wiggle 4s infinite ease-in-out;
    border: 5px solid var(--banana-yellow);
    box-shadow: var(--shadow-jungle);
    font-family: 'Comic Neue', sans-serif;
}

@keyframes wiggle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.05) rotate(2deg); }
    50% { transform: scale(0.98) rotate(-1deg); }
    75% { transform: scale(1.02) rotate(1deg); }
}

@keyframes swing {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

@keyframes jungle-float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}

@keyframes banana-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Section Styling */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.section-header::before {
    content: '🌴🦍🌴';
    display: block;
    font-size: 2rem;
    margin-bottom: 20px;
    animation: swing 3s infinite ease-in-out;
}

.section-label {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 24px;
    line-height: 1.2;
}

.section-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Domains Section */
.domains {
    background: var(--background-light);
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
    margin-top: 80px;
}

.domain-card {
    background: var(--background-white);
    padding: 40px;
    border-radius: 25px;
    transition: var(--transition);
    border: 4px solid var(--border-color);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-light);
    transform: rotate(-1deg);
}

.domain-card:nth-child(even) {
    transform: rotate(1deg);
}

.domain-card:nth-child(3n) {
    transform: rotate(-0.5deg);
}

.domain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 25px 25px 0 0;
}

.domain-card::after {
    content: '🦖';
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--banana-yellow);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 3px solid var(--primary-color);
    animation: swing 2s infinite ease-in-out;
}

.domain-card:nth-child(2)::after {
    content: '🤖';
}

.domain-card:nth-child(3)::after {
    content: '🔬';
}

.domain-card:nth-child(4)::after {
    content: '📊';
}

.domain-card:hover {
    transform: translateY(-12px) scale(1.03) rotate(0deg);
    box-shadow: var(--shadow-jungle);
    border-color: var(--primary-color);
}

.domain-card:hover::after {
    animation: banana-spin 0.5s ease-in-out;
}

.domain-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.domain-card p {
    flex-grow: 1;
    margin-bottom: 24px;
    line-height: 1.7;
}

.card-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    margin-top: auto;
}

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

.card-link::after {
    content: '→';
    transition: var(--transition);
    font-size: 18px;
}

.card-link:hover::after {
    transform: translateX(4px);
}

/* People Section */
.people {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.people::before {
    content: '🤖🦍🤖🦍🤖🦍🤖';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 4rem;
    opacity: 0.2;
    z-index: 1;
    animation: swing 5s infinite ease-in-out;
}

.people-content {
    position: relative;
    z-index: 2;
}

.people-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.people .section-label {
    color: var(--accent-color);
}

.people h2 {
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.3;
}

.people .section-description {
    color: rgba(255, 255, 255, 0.8);
}

/* Expertise Section */
.expertise {
    background: var(--background-white);
}

.expertise .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.product-category {
    background: var(--background-light);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.product-category h4 {
    color: var(--primary-color);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--accent-color);
    font-size: 1.3rem;
}

.product-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-items span {
    background: var(--background-white);
    padding: 16px;
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.product-items span:hover {
    background: var(--secondary-color);
    color: var(--text-light);
    transform: translateX(4px);
}

/* Insights Section */
.insights {
    background: var(--background-light);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-top: 80px;
}

.insight-card {
    background: var(--background-white);
    padding: 40px;
    border-radius: 25px;
    transition: var(--transition);
    border: 4px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transform: rotate(-1deg);
    box-shadow: var(--shadow-light);
}

.insight-card:nth-child(even) {
    transform: rotate(1deg);
}

.insight-card:nth-child(3n) {
    transform: rotate(-0.5deg);
}

.insight-card.featured {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--text-light);
    grid-column: span 2;
}

.insight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
}

.insight-card.featured::before {
    background: rgba(255, 255, 255, 0.3);
}

.insight-card:hover {
    transform: translateY(-12px) scale(1.02) rotate(0deg);
    box-shadow: var(--shadow-jungle);
    border-color: var(--primary-color);
}

.insight-meta {
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.insight-card.featured .insight-meta {
    color: rgba(255, 255, 255, 0.8);
}

.insight-card h3 {
    margin-bottom: 16px;
    line-height: 1.4;
    font-size: 1.3rem;
}

.insight-card.featured h3 {
    color: var(--text-light);
}

.insight-card p {
    margin-bottom: 24px;
    line-height: 1.6;
}

.insight-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.insight-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    flex-wrap: wrap;
    gap: 16px;
}

.insight-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.insight-card.featured .insight-link {
    color: var(--text-light);
}

.insight-region {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.insight-card.featured .insight-region {
    color: rgba(255, 255, 255, 0.7);
}

.insights-cta {
    text-align: center;
    margin-top: 60px;
}

/* Foundation Section */
.foundation {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.foundation::before {
    content: '🚀🦍🤖💙🚀🦍🤖💙';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 3rem;
    opacity: 0.2;
    z-index: 1;
    animation: swing 6s infinite ease-in-out;
}

.foundation-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.foundation .section-label {
    color: rgba(255, 255, 255, 0.8);
}

.foundation h2 {
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.3;
}

/* Offices Section */
.offices {
    background: var(--background-white);
}

.offices-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin: 60px 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
    text-transform: lowercase;
    font-weight: 500;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 80px;
}

.office-card {
    background: var(--background-white);
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 4px solid var(--primary-color);
    position: relative;
    transform: rotate(-2deg);
    box-shadow: var(--shadow-light);
}

.office-card:nth-child(even) {
    transform: rotate(2deg);
}

.office-card:nth-child(3n) {
    transform: rotate(-1deg);
}

.office-card:hover {
    transform: translateY(-8px) scale(1.05) rotate(0deg);
    box-shadow: var(--shadow-jungle);
    background: var(--hover-color);
    border-color: var(--accent-color);
}

.office-time {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-family: 'Comic Neue', sans-serif;
    animation: jungle-float 3s infinite ease-in-out;
    text-shadow: 2px 2px 4px rgba(43, 143, 191, 0.3);
}

.office-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 16px;
    font-family: 'Comic Neue', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Journey Section */
.journey {
    background: var(--background-light);
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.journey-card {
    background: var(--background-white);
    padding: 48px 40px;
    border-radius: 25px;
    text-align: center;
    transition: var(--transition);
    border: 4px solid var(--border-color);
    position: relative;
    transform: rotate(-1deg);
    box-shadow: var(--shadow-light);
}

.journey-card:nth-child(2) {
    transform: rotate(1deg);
}

.journey-card:nth-child(3) {
    transform: rotate(-0.5deg);
}

.journey-card::before {
    content: '🎉';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    background: var(--banana-yellow);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary-color);
    animation: swing 2s infinite ease-in-out;
}

.journey-card:nth-child(2)::before {
    content: '🦍';
}

.journey-card:nth-child(3)::before {
    content: '✨';
}

.journey-card:hover {
    transform: translateY(-12px) scale(1.03) rotate(0deg);
    box-shadow: var(--shadow-jungle);
    border-color: var(--primary-color);
}

.journey-card:hover::before {
    animation: banana-spin 0.8s ease-in-out;
}

.journey-stat {
    font-size: 4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    line-height: 1;
}

.journey-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.journey-card h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.journey-card p {
    margin-bottom: 32px;
    line-height: 1.7;
}

/* Newsletter Section */
.newsletter {
    background: var(--background-dark);
    color: var(--text-light);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.newsletter h2 {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.3;
}

.newsletter-form form {
    display: flex;
    gap: 16px;
    align-items: stretch;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    backdrop-filter: blur(10px);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a0a0a, #2F4F2F);
    color: var(--text-light);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '🦍🤖🌿🍌🦍🤖🌿🍌🦍🤖🌿🍌';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 2rem;
    opacity: 0.3;
    animation: swing 4s infinite ease-in-out;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.footer-description p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    max-width: 400px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    transition: var(--transition);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.social-links a:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-column h4 {
    color: var(--text-light);
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 18px;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
}

.footer-column a:hover {
    color: var(--text-light);
    padding-left: 4px;
}

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

.footer-copyright p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 14px;
}

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

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Print styles */
@media print {
    .header,
    .hamburger,
    .newsletter,
    .footer {
        display: none;
    }
    
    .hero {
        background: none;
        color: black;
        min-height: auto;
        padding: 20px 0;
    }
    
    .hero-title,
    .hero-description {
        color: black;
    }
    
    section {
        page-break-inside: avoid;
        padding: 20px 0;
    }
    
    .btn {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-content {
        gap: 60px;
    }
    
    .offices-stats {
        gap: 60px;
    }
    
    .newsletter-content {
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .insight-card.featured {
        grid-column: span 1;
    }
    
    .offices-stats {
        gap: 40px;
    }
    
    .domains-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 24px;
    }
    
    section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--background-white);
        flex-direction: column;
        padding: 32px 0;
        box-shadow: var(--shadow-medium);
        transform: translateY(-100vh);
        transition: var(--transition);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        height: auto;
    }
    
    .nav-item {
        width: 100%;
        height: auto;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link {
        padding: 20px 24px;
        height: auto;
        border-bottom: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        padding-top: 80px;
        min-height: 90vh;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .domains-grid,
    .insights-grid,
    .journey-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 60px;
    }
    
    .offices-stats {
        flex-direction: column;
        gap: 32px;
    }
    
    .newsletter-form form {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--background-light);
        border-radius: 0;
        margin: 0;
        padding: 16px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .hero-content {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .domain-card,
    .insight-card,
    .journey-card {
        padding: 32px 24px;
    }
    
    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .office-card {
        padding: 24px 16px;
    }
    
    .footer-content {
        padding: 0 16px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .journey-stat {
        font-size: 3rem;
    }
}

/* Enhanced focus styles for accessibility */
button:focus,
a:focus,
input:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
    border-radius: 8px;
}

/* Keyboard navigation styles */
.keyboard-navigation button:focus,
.keyboard-navigation a:focus,
.keyboard-navigation input:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(255, 107, 53, 0.2);
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .progress-circle {
        animation: none;
    }
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-slide {
    animation: slideInLeft 0.8s ease-out;
}

.animate-scale {
    animation: scaleIn 0.8s ease-out;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #0066cc;
        --accent-color: #ff4500;
        --text-primary: #000000;
        --text-secondary: #333333;
        --border-color: #333333;
    }
    
    .btn-outline {
        border-width: 3px;
    }
    
    .domain-card,
    .insight-card,
    .journey-card {
        border-width: 2px;
    }
}