/* ==========================================================================
   CAJourney - Modern Liquid Glassmorphism UI
   Mobile-first design
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --color-navy: #0b2a4a;
    --color-blue: #1a73e8;
    --color-blue-dark: #155bb5;
    --color-sky: #e8f0fe;
    --color-white: #ffffff;
    --color-slate: #4b5563;
    --color-slate-light: #f8fafc;
    --color-border: rgba(255, 255, 255, 0.2);
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-dark-bg: rgba(11, 42, 74, 0.85);
    --glass-blur: blur(12px);
    --glass-shadow: 0 8px 32px 0 rgba(2, 20, 40, 0.15);
    
    --radius: 16px;
    --container: 1200px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-slate);
    background: #f0f4f8; /* Soft background to make glass pop */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border-radius: 8px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    backdrop-filter: var(--glass-blur);
}

.btn-primary {
    background: var(--color-blue);
    color: #fff;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.4);
}

.btn-primary:hover {
    background: var(--color-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.6);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--color-navy);
}

/* ==========================================================================
   Header (Liquid Glass)
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--glass-shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}

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

/* ==========================================================================
   Hero Section with Video Background
   ========================================================================== */
.hero {
    position: relative;
    padding: 6rem 0;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 42, 74, 0.9) 0%, rgba(21, 91, 181, 0.7) 100%);
    z-index: -1;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.hero-content h1 span {
    color: #a8c7fa;
    display: block;
}

/* ==========================================================================
   Cards (Liquid Glassmorphism)
   ========================================================================== */
.card-grid {
    display: grid;
    gap: 2rem;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(2, 20, 40, 0.2);
    background: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Globe SVG Map Styling
   ========================================================================== */
.globe-wrapper {
    position: relative;
    max-width: 700px;
    margin: 0 auto 3rem;
    background: var(--glass-bg);
    border-radius: 50%;
    padding: 2rem;
    box-shadow: inset 0 0 50px rgba(26, 115, 232, 0.2), var(--glass-shadow);
}

.region-path {
    fill: #cfe0f5;
    stroke: #ffffff;
    stroke-width: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Color Coding Supported Regions */
.region-path[data-region="North America"] { fill: #8ab4f8; }
.region-path[data-region="South America"] { fill: #669df6; }
.region-path[data-region="Europe"] { fill: #aecbfa; }
.region-path[data-region="Africa"] { fill: #4285f4; }
.region-path[data-region="Asia"] { fill: #1a73e8; }
.region-path[data-region="Oceania"] { fill: #8ab4f8; }

.region-path:hover {
    fill: #0b2a4a;
    filter: drop-shadow(0 0 8px rgba(26, 115, 232, 0.6));
    transform: scale(1.02);
}

/* ==========================================================================
   Industries Grid with Images
   ========================================================================== */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.industry-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.industry-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.industry-item:hover img {
    transform: scale(1.1);
}

.industry-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 42, 74, 0.85);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 0.75rem;
    text-align: center;
    font-weight: 600;
}

/* ==========================================================================
   Mobile-first Breakpoints (from original source 1 & 5)
   ========================================================================== */
@media (min-width: 768px) {
    .nav-toggle { display: none; }
    .main-nav { display: flex; align-items: center; gap: 1.5rem; }
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
    .hero-content h1 { font-size: 3.5rem; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .industry-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .card-grid { grid-template-columns: repeat(3, 1fr); }
    .industry-grid { grid-template-columns: repeat(4, 1fr); }
}