/*
Theme Name: Fluxi Themes
Theme URI: https://megabintangakademi.com
Author: Custom Developer
Author URI: https://megabintangakademi.com
Description: Luxury Executive Theme for Mega Bintang Akademi (Navy, Gold, Maroon Palette).
Version: 2.9.0
Text Domain: fluxi-theme
*/

/* ==========================================================================
   LUXURY COLOR SYSTEM & TOKENS (Navy, Gold, Maroon)
   ========================================================================== */
:root {
    --navy: #0b1c3d;
    --navy-dark: #061126;
    --navy-light: #162a52;
    
    --maroon: #580c1e;
    --maroon-hover: #420815;
    --maroon-dark: #3a0613;
    
    --gold: #c5a059;
    --gold-light: #f7f2e7;
    --gold-border: #d4b475;
    --gold-dark: #9e7b39;
    
    --bg-main: #faf8f5;
    --bg-card: #ffffff;
    --bg-subtle: #f4f0e8;
    
    --text-heading: #0b1c3d;
    --text-body: #2d3748;
    --text-muted: #5a6578;
    --text-light: #8c96a6;
    
    --border-color: #e6e0d4;
    --border-hover: #c5a059;
    
    --shadow-sm: 0 2px 4px rgba(11, 28, 61, 0.04);
    --shadow-md: 0 6px 18px rgba(11, 28, 61, 0.08);
    --shadow-lg: 0 16px 36px rgba(11, 28, 61, 0.14);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Georgia', serif;
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--navy);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--maroon);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-maroon {
    background-color: var(--maroon);
    color: #ffffff !important;
    border-color: var(--maroon);
    box-shadow: 0 4px 12px rgba(88, 12, 30, 0.25);
}

.btn-maroon:hover {
    background-color: var(--maroon-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 12, 30, 0.35);
}

.btn-outline-maroon {
    background-color: transparent;
    color: var(--maroon) !important;
    border-color: var(--maroon);
}

.btn-outline-maroon:hover {
    background-color: var(--maroon);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-outline-gold {
    background-color: transparent;
    color: #ffffff !important;
    border: 1.5px solid var(--gold);
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: var(--navy) !important;
    transform: translateY(-2px);
}

/* Badges */
.badge-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 0;
    box-shadow: var(--shadow-sm);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo-img {
    height: 52px;
    width: auto;
}

/* Navigation & Submenu */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.35rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.nav-menu > li.menu-item-has-children > a::after {
    content: '▾';
    font-size: 0.75rem;
    color: var(--gold);
}

.nav-menu > li:hover > a,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a {
    color: var(--maroon);
    background-color: var(--gold-light);
}

/* Distinct Contact Button Style in Header Navigation */
.nav-menu li.menu-item-contact > a,
.btn-nav-contact {
    background-color: var(--maroon) !important;
    color: #ffffff !important;
    padding: 0.6rem 1.35rem !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 10px rgba(88, 12, 30, 0.25) !important;
    transition: var(--transition) !important;
}

.nav-menu li.menu-item-contact > a:hover,
.btn-nav-contact:hover {
    background-color: var(--maroon-hover) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 14px rgba(88, 12, 30, 0.35) !important;
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--gold);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 200;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(2px);
}

.nav-menu .sub-menu a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    border-radius: var(--radius-sm);
}

.nav-menu .sub-menu a:hover {
    background-color: var(--gold-light);
    color: var(--maroon);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--navy);
    cursor: pointer;
    padding: 0.4rem;
}

/* Hero Section */
.hero {
    background: #ffffff;
    padding: 4.5rem 0 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

/* Reduced H1 Font Size for Executive Elegance */
.hero-content h1, h1 {
    font-size: 2.4rem;
    color: var(--navy);
    font-weight: 800;
    line-height: 1.2;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.hero-content h1 .highlight-maroon {
    color: var(--maroon);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.65;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Curved Backed Hero Image Frame */
.hero-frame-container {
    position: relative;
    padding: 10px;
}

.hero-frame-container::before {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 90%;
    height: 90%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--maroon) 100%);
    border-radius: 30px 10px 30px 10px;
    z-index: 1;
}

.hero-frame-container::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 60%;
    height: 60%;
    border: 2px solid var(--gold);
    border-radius: 20px;
    z-index: 1;
    pointer-events: none;
}

.hero-img-frame {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid #ffffff;
}

.hero-img-frame img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* Founder Leadership Card Styling */
.founder-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold) 0%, var(--maroon) 100%);
}

.founder-img-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--gold-light);
}

.founder-img-wrapper img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.founder-content h3 {
    font-size: 2rem;
    color: var(--navy);
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.founder-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: 1.5rem;
}

.founder-motto-box {
    background-color: var(--gold-light);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.founder-motto-box p {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    font-style: italic;
    line-height: 1.5;
}

.founder-bio {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

/* Form Control Styling */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-body);
    background-color: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

/* Sections */
.section {
    padding: 4.5rem 0;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-wrap h2 {
    font-size: 1.85rem;
    color: var(--navy);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-title-wrap .star-divider {
    color: var(--gold);
    font-size: 1.1rem;
    margin-top: 0.35rem;
}

/* PROCESS ROADMAP CARDS & FLOW */
.process-roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.roadmap-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.roadmap-card:hover {
    border-top-color: var(--maroon);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.roadmap-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.step-num-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--navy);
    color: var(--gold);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold);
}

.roadmap-card h4 {
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.roadmap-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
}

/* DUAL COMPARISON CARDS */
.comparison-card-system {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.comp-column {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #ffffff;
    border: 1px solid var(--border-color);
}

.comp-header {
    padding: 1.5rem 2rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comp-header-do {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    border-bottom: 3px solid var(--gold);
}

.comp-header-dont {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
    border-bottom: 3px solid #dc2626;
}

.comp-header h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 0;
    letter-spacing: 0.02em;
}

.comp-list {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.comp-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: var(--radius-md);
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
}

.comp-item-icon-do {
    color: var(--gold);
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.comp-item-icon-dont {
    color: #dc2626;
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.comp-item-text h4 {
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.comp-item-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Horizontal 6 Feature Bar */
.features-bar {
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 2.75rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.feature-item {
    text-align: center;
    padding: 0 0.25rem;
}

.feature-icon-circle {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem auto;
    border-radius: 50%;
    background-color: var(--gold-light);
    border: 1px solid var(--gold-border);
    color: var(--maroon);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-circle .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
    line-height: 22px;
}

.feature-item h4 {
    font-size: 0.925rem;
    color: var(--navy);
    margin-bottom: 0.35rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.feature-item p {
    font-size: 0.775rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Two Core Pillars Section */
.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
}

.pillar-card {
    border-radius: var(--radius-lg);
    padding: 3.25rem 2.5rem;
    color: #ffffff;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pillar-navy {
    background: linear-gradient(135deg, #0b1c3d 0%, #061126 100%);
    border: 1px solid var(--gold-dark);
}

.pillar-maroon {
    background: linear-gradient(135deg, #580c1e 0%, #3a0613 100%);
    border: 1px solid var(--gold-dark);
}

.pillar-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
}

.pillar-icon .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    line-height: 28px;
}

.pillar-card h3 {
    font-size: 1.35rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.02em;
}

.pillar-card p {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Layanan Kami 10 Grid Cards */
.services-grid-10 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.service-card-mini {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.6rem 1.25rem;
    text-align: center;
    transition: var(--transition);
}

.service-card-mini:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-card-mini .card-icon-wrap {
    width: 46px;
    height: 46px;
    margin: 0 auto 0.85rem auto;
    color: var(--maroon);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-mini .card-icon-wrap .dashicons {
    font-size: 26px;
    width: 26px;
    height: 26px;
    line-height: 26px;
}

.service-card-mini h4 {
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 0.35rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

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

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* Dark Navy Quality & Commitment Bar */
.stats-bar {
    background-color: var(--navy);
    color: #ffffff;
    padding: 2.25rem 0;
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.stat-icon {
    color: var(--gold);
    flex-shrink: 0;
}

.stat-icon .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    line-height: 28px;
}

.stat-text h3 {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.2;
}

.stat-text p {
    font-size: 0.75rem;
    color: #cbd5e1;
    margin-top: 0.15rem;
}

/* Call to Action Section */
.cta-banner-section {
    background-color: var(--bg-main);
    padding: 5rem 0;
}

.cta-banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.cta-content h2 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.cta-content p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-img-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--gold);
}

.cta-img-frame img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

/* Alert Card */
.alert-card {
    background-color: var(--gold-light);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin: 2rem 0;
}

.alert-card-icon .dashicons {
    color: var(--maroon);
    font-size: 28px;
}

.alert-card-content h4 {
    color: var(--maroon);
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.alert-card-content p {
    color: var(--navy);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background-color: var(--maroon-dark);
    color: #d1d5db;
    padding-top: 4.5rem;
    padding-bottom: 2rem;
    border-top: 3px solid var(--gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
}

.footer-logo-img {
    max-height: 48px;
    width: auto;
    display: block;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.footer-logo-link:hover .footer-logo-img {
    opacity: 0.9;
}

.footer-logo-invert {
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: 1rem;
    color: #9ca3af;
}

.footer-col h4 {
    color: var(--gold);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.footer-col li {
    margin-bottom: 0.65rem;
}

.footer-col a {
    color: #d1d5db;
    font-size: 0.875rem;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* ==========================================================================
   OPTIMIZED COMPACT MOBILE TYPOGRAPHY & RESPONSIVE RULES (< 1024px and < 768px)
   ========================================================================== */
@media (max-width: 1024px) {
    /* Hero Grid Mobile Switch: Image FIRST (Top), Text SECOND (Bottom) */
    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }

    .hero-frame-container {
        order: 1;
        width: 100%;
    }

    .hero-content {
        order: 2;
        width: 100%;
        text-align: center;
    }

    .hero-content h1, h1 {
        font-size: 2.0rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

    /* CTA Banner Mobile Switch: Image FIRST (Top), Text SECOND (Bottom) */
    .cta-banner-grid {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }

    .cta-img-frame {
        order: 1;
        width: 100%;
    }

    .cta-content {
        order: 2;
        width: 100%;
        text-align: center;
    }

    /* Founder Card Mobile Switch: Photo FIRST (Top), Text SECOND (Bottom) */
    .founder-card {
        grid-template-columns: 1fr;
        gap: 2.25rem;
        padding: 2rem;
    }

    .founder-img-wrapper {
        max-width: 320px;
        margin: 0 auto;
    }

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

    .founder-motto-box {
        text-align: left;
    }

    /* Navigation Drawer on Tablets/Mobile */
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 3px solid var(--gold);
        padding: 1.5rem;
        box-shadow: 0 12px 30px rgba(11, 28, 61, 0.15);
        flex-direction: column;
        align-items: stretch;
    }
    
    .main-navigation.is-active {
        display: flex;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .nav-menu > li > a {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .nav-menu li.menu-item-contact > a,
    .btn-nav-contact {
        display: block !important;
        text-align: center !important;
        margin-top: 0.75rem !important;
        padding: 0.85rem 1.5rem !important;
        font-size: 0.95rem !important;
    }
    
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        background: var(--bg-main);
    }
    
    .mobile-toggle {
        display: block;
    }

    /* Other Grids */
    .pillars-grid,
    .comparison-card-system {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

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

@media (max-width: 768px) {
    /* Compact Root Base for Phone Displays */
    html {
        font-size: 14px;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title-wrap {
        margin-bottom: 2rem;
    }

    .section-title-wrap h2 {
        font-size: 1.45rem;
    }

    .hero {
        padding: 2.75rem 0 2.25rem 0;
    }

    .hero-content h1, h1 {
        font-size: 1.75rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-img-frame img {
        height: 290px;
    }

    .pillar-card {
        padding: 2rem 1.5rem;
    }

    .pillar-card h3 {
        font-size: 1.15rem;
    }

    .pillar-card p {
        font-size: 0.85rem;
    }

    .cta-content h2 {
        font-size: 1.55rem;
    }

    .cta-content p {
        font-size: 0.875rem;
    }

    .alert-card {
        padding: 1.25rem 1.5rem;
    }

    /* ==========================================================================
       ULTRA-SMOOTH MOBILE HORIZONTAL SLIDER CAROUSEL SYSTEM
       (Features Bar, Services 10 Grid, Process Roadmap, Stats Bar, Core Values)
       ========================================================================== */
    .features-grid,
    .services-grid-10,
    .process-roadmap-grid,
    .stats-grid,
    .grid-3,
    .grid-4 {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 1.25rem !important;
        padding-left: 0.25rem !important;
        gap: 1.15rem !important;
    }

    .features-grid > *,
    .services-grid-10 > *,
    .process-roadmap-grid > *,
    .stats-grid > *,
    .grid-3 > *,
    .grid-4 > * {
        flex: 0 0 84% !important;
        min-width: 84% !important;
        scroll-snap-align: center !important;
    }

    .roadmap-card[style*="grid-column: span 3"] {
        grid-column: span 1 !important;
    }

    /* Custom Touch Scrollbar Indicator for Sliders */
    .features-grid::-webkit-scrollbar,
    .services-grid-10::-webkit-scrollbar,
    .process-roadmap-grid::-webkit-scrollbar,
    .stats-grid::-webkit-scrollbar,
    .grid-3::-webkit-scrollbar,
    .grid-4::-webkit-scrollbar {
        height: 4px;
    }

    .features-grid::-webkit-scrollbar-track,
    .services-grid-10::-webkit-scrollbar-track,
    .process-roadmap-grid::-webkit-scrollbar-track,
    .stats-grid::-webkit-scrollbar-track,
    .grid-3::-webkit-scrollbar-track,
    .grid-4::-webkit-scrollbar-track {
        background: #e2e8f0;
        border-radius: 4px;
    }

    .features-grid::-webkit-scrollbar-thumb,
    .services-grid-10::-webkit-scrollbar-thumb,
    .process-roadmap-grid::-webkit-scrollbar-thumb,
    .stats-grid::-webkit-scrollbar-thumb,
    .grid-3::-webkit-scrollbar-thumb,
    .grid-4::-webkit-scrollbar-thumb {
        background: var(--gold);
        border-radius: 4px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1, h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.825rem;
        width: 100%;
    }
}
