/* ==========================================================================
   One5Go Corporate Landing Page Stylesheet
   Design Aesthetic: Premium Light / White Theme with ONE5 Red Accents
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-subtle: #f1f5f9;
    
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    --border-red: rgba(239, 35, 60, 0.2);
    
    --primary: #EF233C; /* ONE5 Red */
    --primary-hover: #D90429;
    --primary-light: #FFEAEB;
    --accent: #d97706; /* Warm Amber */
    
    --text-main: #0f172a;
    --text-heading: #020617;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 20px 40px rgba(239, 35, 60, 0.12);
    
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-main);
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

/* Button Component Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-sm {
    padding: 9px 20px;
    font-size: 0.88rem;
    border-radius: 8px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: 12px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(239, 35, 60, 0.35);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 35, 60, 0.45);
    color: var(--text-white);
}

.btn-secondary {
    background-color: var(--bg-subtle);
    color: var(--text-heading);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #e2e8f0;
    color: var(--text-heading);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(239, 35, 60, 0.25);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Card Style */
.white-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

/* Right-Side Offcanvas Drawer Styles */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.drawer-card {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 580px;
    height: 100%;
    background-color: var(--bg-surface);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    z-index: 2001;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.drawer-overlay.is-open .drawer-card {
    transform: translateX(0);
}

.drawer-header {
    padding: 20px 28px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-surface);
    position: sticky;
    top: 0;
    z-index: 10;
}

.drawer-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    font-size: 1.4rem;
    line-height: 1;
    color: var(--text-heading);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.drawer-close-btn:hover {
    background-color: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.drawer-body {
    padding: 32px;
    flex-grow: 1;
}

/* Dedicated Blog Section */
.blog-section {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.blog-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--primary);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.blog-card-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Main Footer */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-container {
    height: 68px;
}

/* Logo Design */
.logo {
    font-size: 1.7rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.brand-logo-img {
    height: 28px !important;
    width: auto !important;
    object-fit: contain;
}

.footer-logo-img {
    height: 28px !important;
    width: auto !important;
    object-fit: contain;
}

.logo-red {
    color: var(--primary);
}

.logo-dark {
    color: var(--text-heading);
}

.logo-light {
    color: #ffffff;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 4px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--text-heading);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 160px 0 100px 0;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 50%, #f8fafc 100%);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(239, 35, 60, 0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--border-red);
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-accent {
    background-color: #fef3c7;
    color: var(--accent);
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.hero-content h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 24px;
    letter-spacing: -1.8px;
    color: var(--text-heading);
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 620px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    border: 4px solid #ffffff;
    max-width: 100%;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.hero-stats-card {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: absolute;
    bottom: -24px;
    left: -20px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    animation: floatAnimation 5s ease-in-out infinite;
}

.hero-stats-card h3 {
    font-size: 1rem;
    font-weight: 700;
}

.hero-stats-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.pulse-icon {
    width: 12px;
    height: 12px;
    background-color: #10b981;
    border-radius: 50%;
    position: relative;
}

.pulse-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulseAnimation 2s infinite;
}

@keyframes floatAnimation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulseAnimation {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Common Section */
section {
    padding: 96px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* Region Selector Section */
.region-section {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.region-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.region-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 44px;
    display: flex;
    gap: 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.region-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: transparent;
    transition: var(--transition-smooth);
}

.region-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.region-card:hover::before {
    background-color: var(--primary);
}

.region-flag {
    font-size: 3.4rem;
    line-height: 1;
}

.region-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.region-info h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.region-info p {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

.region-links {
    margin-top: auto;
}

.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    margin-top: 16px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.admin-link:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* Services Section */
.services-section {
    background-color: var(--bg-main);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.service-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 36px 28px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

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

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.red-glow { background-color: #fee2e2; color: var(--primary); }
.green-glow { background-color: #d1fae5; color: #059669; }
.blue-glow { background-color: #dbeafe; color: #2563eb; }
.amber-glow { background-color: #fef3c7; color: var(--accent); }
.purple-glow { background-color: #f3e8ff; color: #7c3aed; }

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Academy Section */
.academy-section {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.academy-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.academy-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.academy-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.academy-highlights {
    margin-bottom: 40px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.98rem;
    font-weight: 500;
}

.highlight-item .bullet {
    color: var(--primary);
    font-size: 1.4rem;
    line-height: 1;
}

/* Native One5 Academy LMS Card Component */
.academy-custom-card {
    width: 100%;
    max-width: 520px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.academy-custom-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.academy-card-topbar {
    padding: 14px 20px;
    background-color: var(--bg-alt);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-left .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background-color: var(--primary); }
.dot-yellow { background-color: var(--accent); }
.dot-green { background-color: #10b981; }

.topbar-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-left: 6px;
}

.badge-mini {
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
}

.academy-card-content {
    padding: 28px;
}

.user-greeting {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.avatar-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--primary);
    color: var(--text-white);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.user-greeting h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-heading);
}

.user-greeting p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.courses-preview-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.course-mini-card {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px 20px;
}

.course-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.red-bg { background-color: #fee2e2; color: var(--primary); }
.green-bg { background-color: #d1fae5; color: #059669; }

.course-mini-card h5 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.progress-bar-container {
    height: 8px;
    width: 100%;
    background-color: var(--border-color);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary);
    border-radius: 50px;
}

.green-fill {
    background-color: #10b981;
}

.course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.status-tag.verified {
    color: #10b981;
    font-weight: 700;
}

.cert-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: #fef3c7;
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: 14px;
    padding: 16px;
}

.cert-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.cert-banner h5 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-heading);
}

.cert-banner p {
    font-size: 0.78rem;
    color: var(--text-muted);
}



.academy-header-mock {
    padding: 14px 20px;
    background-color: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.d-red { background-color: var(--primary); }
.d-yellow { background-color: var(--accent); }
.d-green { background-color: #10b981; }

.academy-body-mock {
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mock-line-lg {
    height: 18px;
    width: 80%;
    background-color: #e2e8f0;
    border-radius: 4px;
}

.mock-line-md {
    height: 12px;
    width: 60%;
    background-color: #f1f5f9;
    border-radius: 4px;
    margin-bottom: 16px;
}

.mock-progress-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 8px solid #f1f5f9;
    border-top: 8px solid var(--primary);
    margin: 0 auto 24px auto;
    position: relative;
}

.mock-progress-circle::after {
    content: '88%';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-heading);
}

.mock-btn-sm {
    height: 40px;
    width: 120px;
    background-color: var(--primary);
    border-radius: 8px;
    margin: 0 auto;
}

/* Interactive Corporate Explorer Section */
.company-interactive-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    align-items: start;
}

.company-tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.company-tab-btn {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.company-tab-btn:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.company-tab-btn.active {
    background-color: var(--primary-light);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.company-tab-btn .tab-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.company-tab-btn h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 2px;
}

.company-tab-btn.active h4 {
    color: var(--primary);
}

.company-tab-btn p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.company-panels-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    min-height: 420px;
}

.company-panel {
    display: none;
    animation: fadeIn 0.35s ease-in-out;
}

.company-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-header {
    margin-bottom: 20px;
}

.panel-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-top: 12px;
}

.panel-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 28px;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-box {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
}

.stat-box h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-box p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Jobs List */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.job-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: var(--transition-smooth);
}

.job-item:hover {
    border-color: var(--primary);
}

.job-item h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.job-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Investor & Blog */
.investor-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.inv-card {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px;
}

.inv-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.inv-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.blog-preview-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-preview-card {
    padding: 20px;
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 14px;
}

.blog-preview-card .date {
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
}

.blog-preview-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 6px 0;
}

.blog-preview-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}


/* Footer */
.main-footer {
    background-color: #0f172a;
    color: #f8fafc;
    padding: 80px 0 32px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-about p {
    color: #94a3b8;
    font-size: 0.92rem;
    margin: 20px 0;
    max-width: 320px;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f8fafc;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.social-icons a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

.footer-links-col h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
}

.footer-links-col a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.92rem;
    margin-bottom: 14px;
    transition: var(--transition-smooth);
}

.footer-links-col a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
    color: #64748b;
    font-size: 0.88rem;
}

/* ==========================================================================
   Comprehensive Device Responsiveness (Mobile, Tablet, Desktop, Ultra-Wide)
   ========================================================================== */

/* Fluid Typography Defaults */
h1 {
    font-size: clamp(2.2rem, 5vw + 0.8rem, 3.8rem);
    line-height: 1.15;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.25;
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

/* Large Screens & Laptops (max-width: 1200px) */
@media (max-width: 1200px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-container {
        gap: 40px;
    }

    .services-grid, .blog-grid {
        gap: 24px;
    }
}

/* Tablets & Medium Screens (max-width: 992px) */
@media (max-width: 992px) {
    /* Header & Mobile Nav */
    .mobile-nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 24px 32px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s ease-in-out;
        z-index: 999;
    }

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

    .main-header.scrolled .nav-menu {
        top: 68px;
    }

    /* Hero Section */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        max-width: 520px;
        margin: 0 auto;
    }

    /* Services & Region Grid */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    /* Academy Section */
    .academy-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .academy-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .academy-highlights {
        align-items: center;
        display: inline-flex;
        flex-direction: column;
        text-align: left;
    }

    .academy-custom-card {
        max-width: 100%;
    }

    /* Corporate Explorer Split Screen */
    .company-interactive-wrapper {
        grid-template-columns: 1fr;
    }

    .company-tabs-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .company-tab-btn {
        flex: 0 0 240px;
        scroll-snap-align: start;
    }

    .company-panels-container {
        padding: 32px 24px;
        min-height: auto;
    }

    /* Blog Grid */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Small Tablets & Large Phones (max-width: 768px) */
@media (max-width: 768px) {
    section {
        padding: 64px 0;
    }

    .header-container {
        height: 72px;
    }

    .brand-logo-img {
        height: 42px;
    }

    .hero-section {
        padding: 110px 0 64px 0;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

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

    .stats-row {
        grid-template-columns: 1fr;
    }

    .investor-highlights {
        grid-template-columns: 1fr;
    }

    /* Offcanvas Drawer Mobile Full-Width */
    .drawer-card {
        max-width: 100%;
    }

    .drawer-header {
        padding: 16px 20px;
    }

    .drawer-body {
        padding: 24px 20px;
    }
}

/* Extra Small Phones (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header-actions .btn-sm {
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    .job-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .job-item .btn {
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .social-icons {
        gap: 10px;
    }
}

