/* ==========================================
   DESIGN SYSTEM & VARIABLES
   Brand Colors saved in BRAND_COLORS.txt
   ========================================== */
:root {
    /* ── PRIMARY BRAND COLORS ── */
    --color-burgundy:      #6a112e;              /* Primary – Logo bg, CTAs */
    --color-gold:          #d1a968;              /* Secondary – Accents, borders */
    --color-white:         #ffffff;              /* Icon / text on dark */

    /* ── BACKGROUND & SURFACE ── */
    --color-bg-dark:       #0b0508;              /* Page background */
    --color-card-bg:       #160a0e;              /* Card / panel */

    /* ── GLOW & ALPHA VARIANTS ── */
    --color-burgundy-glow: rgba(106, 17, 46, 0.45);
    --color-gold-glow:     rgba(209, 169, 104, 0.25);
    --color-border:        rgba(209, 169, 104, 0.18);

    /* ── TEXT ── */
    --color-text-primary:   #ffffff;
    --color-text-secondary: #e8d5c4;             /* Warm off-white body text */
    --color-text-muted:     #a08070;             /* Subdued text */

    /* ── TYPOGRAPHY ── */
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;

    /* ── SPACING & SHAPE ── */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 28px;

    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   RESET & FOUNDATIONS
   ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

img, svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* ==========================================
   LAYOUT UTILITIES
   ========================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    max-width: 680px;
    margin: 0 auto 64px auto;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    color: var(--color-gold);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-text-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================
   BUTTONS & INTERACTIVES
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--color-burgundy);
    color: var(--color-text-primary);
    box-shadow: 0 4px 20px var(--color-burgundy-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #A31E3B;
    box-shadow: 0 6px 24px var(--color-burgundy-glow);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-gold);
}

.btn-full {
    width: 100%;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(14, 8, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo-img {
    height: 48px;
    width: 48px;
    object-fit: cover;
    object-position: left center;
    border-radius: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--color-text-primary);
    line-height: 1.1;
}

.brand-subtitle {
    font-family: var(--font-display);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--color-gold);
}

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

.nav-link {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-gold);
}

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

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

.header-cta {
    padding: 10px 20px;
    font-size: 0.875rem;
    border-radius: var(--border-radius-sm);
}

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

.mobile-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: var(--transition-smooth);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    padding: 180px 0 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-accent {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 70%;
    height: 80%;
    background: radial-gradient(circle, var(--color-burgundy-glow) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

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

.hero-content {
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(203, 162, 88, 0.08);
    border: 1px solid var(--color-border);
    border-radius: 30px;
    font-family: var(--font-display);
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-gold);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero-lead {
    color: var(--color-text-secondary);
    font-size: 1.15rem;
    margin-bottom: 40px;
}

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

.hero-image-pane {
    display: flex;
    justify-content: center;
}

.hero-interactive-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--color-gold-glow) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

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

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--color-gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.card-header h4 {
    font-size: 1.15rem;
}

.hero-interactive-card p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.card-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hero-card-btn {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 18px 12px;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.hero-card-btn:hover {
    background-color: var(--color-burgundy);
    color: var(--color-text-primary);
    border-color: var(--color-burgundy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--color-burgundy-glow);
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
    padding: 100px 0;
    background-color: rgba(14, 8, 10, 0.5);
    position: relative;
}

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

/* ── Service Card – Image-first layout ── */
.service-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-gold);
    box-shadow: 0 16px 40px var(--color-gold-glow);
}

/* Image wrapper */
.service-img-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.85);
}

.service-card:hover .service-img {
    transform: scale(1.05);
    filter: brightness(0.95);
}

/* Badges */
.service-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: var(--color-burgundy);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(106,17,46,0.5);
}

.service-badge--gold {
    background-color: var(--color-gold);
    color: #160a0e;
}

/* Body */
.service-body {
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-icon-box {
    width: 46px;
    height: 46px;
    background-color: rgba(106, 17, 46, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    margin-bottom: 18px;
    border: 1px solid rgba(209, 169, 104, 0.12);
    flex-shrink: 0;
}

.service-card:hover .service-icon-box {
    background-color: var(--color-burgundy);
    color: var(--color-text-primary);
    border-color: var(--color-burgundy);
}

.service-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-text-primary);
}

.service-text {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 18px;
    line-height: 1.6;
}

.service-list {
    list-style: none;
    margin-bottom: 22px;
    flex: 1;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 7px;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: bold;
}

/* CTA link inside card */
.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-gold);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
    margin-top: auto;
    transition: var(--transition-smooth);
}

.service-cta:hover {
    color: var(--color-text-primary);
    letter-spacing: 0.05em;
}


/* ==========================================
   INTERACTIVE ASSISTANT
   ========================================== */
.assistant-section {
    padding: 100px 0;
    position: relative;
}

.assistant-widget {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.assistant-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-select, .form-input {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-primary);
    transition: var(--transition-smooth);
    outline: none;
    width: 100%;
}

.form-select:focus, .form-input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 12px var(--color-gold-glow);
    background-color: rgba(255, 255, 255, 0.05);
}

.form-select option {
    background-color: var(--color-card-bg);
    color: var(--color-text-primary);
}

.assistant-display {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}

.display-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

#display-title {
    font-size: 1.85rem;
}

.timeline-badge {
    padding: 8px 16px;
    background-color: rgba(138, 21, 46, 0.15);
    border: 1px solid var(--color-burgundy);
    color: var(--color-text-primary);
    border-radius: 30px;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
}

.display-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 40px;
}

.display-column h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bullet-gold {
    width: 6px;
    height: 6px;
    background-color: var(--color-gold);
    border-radius: 50%;
}

.document-list {
    list-style: none;
}

.document-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--color-text-secondary);
}

.document-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: bold;
}

.flow-steps {
    list-style: none;
    counter-reset: flow-counter;
}

.flow-steps li {
    position: relative;
    padding-left: 48px;
    margin-bottom: 24px;
    color: var(--color-text-secondary);
}

.flow-steps li::before {
    counter-increment: flow-counter;
    content: counter(flow-counter);
    position: absolute;
    left: 0;
    top: -2px;
    width: 28px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-family: var(--font-display);
    font-size: 0.825rem;
    font-weight: 700;
}

.display-actions {
    display: flex;
    justify-content: flex-start;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
    padding: 100px 0;
    background-color: rgba(14, 8, 10, 0.3);
}

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

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.visual-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-burgundy);
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.card-meta h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.card-meta p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.about-content {
    max-width: 580px;
}

.about-lead {
    font-size: 1.25rem;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.about-body {
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

.about-stats {
    display: flex;
    gap: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: flex-start;
}

.contact-info-panel {
    max-width: 520px;
}

.contact-lead {
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.detail-item {
    display: flex;
    gap: 20px;
}

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(203, 162, 88, 0.1);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(203, 162, 88, 0.1);
    flex-shrink: 0;
}

.detail-text h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.detail-text p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.contact-form-pane {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 28px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.form-feedback {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-family: var(--font-display);
    font-weight: 500;
}

.form-feedback.success {
    background-color: rgba(16, 185, 129, 0.15);
    border: 1px solid #10B981;
    color: #FFFFFF;
}

.form-feedback.error {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid #EF4444;
    color: #FFFFFF;
}

.hidden {
    display: none;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: #080405;
    border-top: 1px solid var(--color-border);
    padding: 80px 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand {
    max-width: 440px;
}

.footer-brand .logo-wrapper {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-col a, .footer-col span {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.footer-col a:hover {
    color: var(--color-gold);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.825rem;
}

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

.footer-legal a {
    color: var(--color-text-muted);
    font-size: 0.825rem;
}

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

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(203, 162, 88, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(203, 162, 88, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(203, 162, 88, 0);
    }
}

/* ==========================================
   RESPONSIVE OVERRIDES (MOBILE & TABLET)
   ========================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-pane {
        max-width: 100%;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-visual {
        order: 2;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .header-cta {
        display: none; /* Hide button on mobile in favor of standard menu actions */
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 84px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 84px);
        background-color: var(--color-bg-dark);
        flex-direction: column;
        align-items: center;
        padding-top: 64px;
        gap: 40px;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--color-border);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .assistant-controls {
        grid-template-columns: 1fr;
    }
    
    .display-content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-pane, .assistant-widget {
        padding: 28px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}


/* ==========================================
   BRANCHES & MAPS OVERRIDES
   ========================================== */
.branches-wrapper {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.branch-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 32px;
}

.branch-card h3 {
    font-size: 1.35rem;
    color: var(--color-gold);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(209, 169, 104, 0.2);
}

.map-container {
    margin-top: 24px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.map-link {
    display: inline-block;
    margin-top: 6px;
    color: var(--color-gold);
    font-size: 0.85rem;
    font-weight: 600;
}

.map-link:hover {
    color: var(--color-text-primary);
    text-decoration: underline;
}


/* ==========================================
   PARTNERS MARQUEE SECTION
   ========================================== */
.partners-section {
    padding: 56px 0 48px;
    background: linear-gradient(180deg, rgba(106,17,46,0.06) 0%, transparent 100%);
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.partners-section .section-header {
    margin-bottom: 40px;
}

.marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-dark) 0%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-dark) 0%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: marquee-scroll 28s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 44px;
    height: 80px;
    border-right: 1px solid var(--color-border);
    flex-shrink: 0;
    transition: background 0.3s ease;
    cursor: default;
}

.partner-item:hover {
    background: rgba(209, 169, 104, 0.06);
}

.partner-name {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    user-select: none;
}

.partner-item:hover .partner-name {
    color: var(--color-gold);
    text-shadow: 0 0 18px rgba(209,169,104,0.45);
}

.partner-item .partner-icon {
    font-size: 1.3rem;
    margin-right: 10px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.partner-item:hover .partner-icon {
    opacity: 1;
}

@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================
   PARTNER LOGO BLEND MODES (background removal)
   ========================================== */

/* For logos with WHITE / LIGHT backgrounds (IFZA, Meydan, UAQ, Shams) */
.partner-logo--light {
    height: 54px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: contrast(1.1) brightness(0.95);
    opacity: 0.85;
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.partner-item:hover .partner-logo--light {
    opacity: 1;
    filter: contrast(1.1) brightness(1.05);
    transform: scale(1.06);
}

/* For logos with DARK / NAVY backgrounds (DMCC) */
.partner-logo--dark {
    height: 54px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: brightness(1.1) contrast(1.1);
    opacity: 0.85;
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.partner-item:hover .partner-logo--dark {
    opacity: 1;
    filter: brightness(1.2) contrast(1.15);
    transform: scale(1.06);
}


/* ==========================================
   PARTNER ITEM / LOGO ALIGNMENT FIX
   ========================================== */

/* Override: ensure consistent box for every partner slot */
.partner-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 40px !important;
    height: 90px !important;
    min-width: 180px !important;
    border-right: 1px solid var(--color-border) !important;
    flex-shrink: 0 !important;
    transition: background 0.3s ease !important;
    cursor: default !important;
}

/* Light-background logos (IFZA, Meydan, UAQ, Shams, RAKEZ, Ajman, ANC) */
.partner-logo--light {
    height: 52px !important;
    width: auto !important;
    max-width: 150px !important;
    object-fit: contain !important;
    mix-blend-mode: multiply !important;
    filter: contrast(1.05) saturate(1.1) !important;
    opacity: 0.8 !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    display: block !important;
}

.partner-item:hover .partner-logo--light {
    opacity: 1 !important;
    transform: scale(1.08) !important;
}

/* Dark-background logos (DMCC navy) */
.partner-logo--dark {
    height: 52px !important;
    width: auto !important;
    max-width: 150px !important;
    object-fit: contain !important;
    mix-blend-mode: screen !important;
    filter: brightness(1.15) contrast(1.1) !important;
    opacity: 0.85 !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    display: block !important;
}

.partner-item:hover .partner-logo--dark {
    opacity: 1 !important;
    transform: scale(1.08) !important;
}


/* ==========================================
   FLOATING AI ASSISTANT WIDGET
   ========================================== */

/* Floating Action Button (FAB) */
.chat-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-burgundy);
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 15px var(--color-burgundy-glow);
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.chat-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0,0,0,0.6), 0 0 25px var(--color-burgundy-glow);
}

.chat-fab.active {
    transform: scale(0.9) rotate(15deg);
    opacity: 0;
    pointer-events: none;
}

.chat-fab-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.chat-fab-robot {
    width: 44px;
    height: 44px;
}

.chat-fab-ring {
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    animation: pulse-ring 2s infinite;
    z-index: 1;
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

.chat-fab-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--color-gold);
    color: var(--color-bg-dark);
    font-size: 0.8rem;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

/* Backdrop */
.chat-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(11, 5, 8, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.chat-backdrop.open {
    opacity: 1;
    visibility: visible;
}

/* Chat Popup Modal */
.chat-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 420px;
    max-width: calc(100vw - 40px);
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 30px rgba(106,17,46,0.3);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s ease, visibility 0.3s ease;
}

.chat-popup.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.chat-popup-header {
    background: linear-gradient(135deg, var(--color-burgundy), #4a091d);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(209,169,104,0.3);
}

.chat-popup-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-popup-avatar {
    width: 40px;
    height: 40px;
    background: var(--color-bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-gold);
}

.chat-popup-title {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-gold);
}

.chat-popup-status {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4cd964;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #4cd964;
}

.chat-popup-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}
.chat-popup-close:hover {
    color: var(--color-white);
    transform: scale(1.1);
}

.chat-popup-body {
    padding: 24px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

.chat-popup-body::-webkit-scrollbar {
    width: 6px;
}
.chat-popup-body::-webkit-scrollbar-thumb {
    background: rgba(209,169,104,0.3);
    border-radius: 4px;
}

.chat-intro {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
    line-height: 1.5;
}

.chat-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    background: rgba(255,255,255,0.03);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.chat-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.chat-form-group label {
    font-size: 0.85rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.chat-display {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px;
    background: rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .chat-popup {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        max-width: 100%;
        border-radius: 0;
        max-height: 100vh;
    }
    .chat-popup-body {
        max-height: none;
        flex: 1;
    }
    .chat-fab {
        bottom: 20px;
        right: 20px;
    }
}

/* ==========================================
   CHAT POPUP ALIGNMENT & FONT FIXES
   ========================================== */

/* Fix native dropdown options visibility */
.form-select option {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* Make title smaller inside popup */
.chat-popup #display-title {
    font-size: 1.3rem !important;
    margin-bottom: 6px;
}

/* Tighten header spacing */
.chat-popup .display-header {
    margin-bottom: 20px !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

/* Tighten content grid spacing */
.chat-popup .display-content-grid {
    gap: 16px !important;
    margin-bottom: 20px !important;
}

/* Make list text slightly smaller */
.chat-popup .document-list li,
.chat-popup .flow-steps li {
    font-size: 0.85rem !important;
    margin-bottom: 6px !important;
    line-height: 1.4 !important;
}

/* Form group spacing */
.chat-popup .chat-form-group label {
    font-size: 0.75rem !important;
}
.chat-popup .form-select {
    padding: 10px 14px !important;
    font-size: 0.9rem !important;
}
.chat-popup .chat-controls {
    padding: 12px !important;
    margin-bottom: 16px !important;
    gap: 12px !important;
}
.chat-popup .assistant-display {
    padding: 16px !important;
}

.chat-content-block {
    margin-bottom: 20px !important;
}

/* ==========================================
   HERO VECTOR ANIMATION
   ========================================== */
.hero-vector-animation {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    position: relative;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
}

.animated-chart-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Line Drawing Animation */
.chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2.5s ease-out forwards;
}
@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

/* Area Fade-in */
.chart-area {
    opacity: 0;
    animation: fadeInArea 2s ease-out 1s forwards;
}
@keyframes fadeInArea {
    to { opacity: 1; }
}

/* Arrow pop */
.chart-arrow {
    opacity: 0;
    transform: scale(0.5);
    transform-origin: 450px 60px;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 2.4s forwards;
}
@keyframes popIn {
    to { opacity: 1; transform: scale(1); }
}

/* Points pop */
.data-points circle {
    opacity: 0;
    transform: scale(0);
}
.data-points circle:nth-child(1) { transform-origin: 50px 300px; animation: popIn 0.4s ease forwards 0.4s; }
.data-points circle:nth-child(2) { transform-origin: 150px 250px; animation: popIn 0.4s ease forwards 0.9s; }
.data-points circle:nth-child(3) { transform-origin: 250px 180px; animation: popIn 0.4s ease forwards 1.4s; }
.data-points circle:nth-child(4) { transform-origin: 350px 120px; animation: popIn 0.4s ease forwards 1.9s; }
.data-points circle:nth-child(5) { transform-origin: 450px 60px; animation: popIn 0.4s ease forwards 2.4s; }

/* Floating widgets */
.float-widget {
    opacity: 0;
}
.float-1 { animation: floatIn 1s ease forwards 1.5s, floatUpDown 5s ease-in-out infinite 1.5s; transform-origin: 115px 82px; }
.float-2 { animation: floatIn 1s ease forwards 2.2s, floatUpDown2 6s ease-in-out infinite 2.2s; transform-origin: 382px 247px; }

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

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

/* Make SVG scale perfectly and fade slightly into background */
.animated-chart-svg {
    width: 100%;
    height: 100%;
    max-height: 400px;
    overflow: visible;
    opacity: 0.7; /* Make the animation fade so writing highlights more */
}

/* Ensure mobile scaling works nicely */
@media (max-width: 991px) {
    .hero-vector-animation {
        max-width: 90%;
        margin-top: 40px;
    }
}
@media (max-width: 480px) {
    .hero-vector-animation {
        max-width: 100%;
        transform: scale(1.1); /* Slight zoom on small screens to fit perfectly */
    }
    .float-widget {
        transform: scale(0.9);
    }
}

/* ==========================================
   GOVERNMENT TRUST BAR
   ========================================== */
.gov-trust-bar {
    padding: 32px 0;
    background: rgba(255,255,255,0.015);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.gov-trust-label {
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 24px;
}

.gov-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    row-gap: 24px;
}

.gov-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 36px;
    color: rgba(255,255,255,0.35);
    transition: color 0.3s ease, opacity 0.3s ease;
    cursor: default;
}

.gov-logo-item:hover {
    color: var(--color-gold);
}

.gov-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.gov-logo-item:hover .gov-icon-wrap {
    transform: translateY(-3px);
}

.gov-logo-name {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.5;
}

.gov-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .gov-logos-row {
        gap: 16px;
    }
    .gov-logo-item {
        padding: 0 18px;
    }
    .gov-divider {
        display: none;
    }
}

/* ==========================================
   GOVERNMENT MARQUEE BAR
   ========================================== */
.gov-marquee-bar {
    padding: 16px 0;
    background: rgba(255,255,255,0.012);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    position: relative;
}

.gov-marquee-bar::before,
.gov-marquee-bar::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0; width: 100px;
    z-index: 2;
    pointer-events: none;
}
.gov-marquee-bar::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg), transparent);
}
.gov-marquee-bar::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg), transparent);
}

.gov-marquee-label {
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.22);
    margin-bottom: 14px;
}

.gov-marquee-wrapper {
    overflow: hidden;
}

.gov-marquee-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: govScroll 40s linear infinite;
}

.gov-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes govScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gov-marquee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 32px;
    color: rgba(255,255,255,0.28);
    transition: color 0.3s ease;
    cursor: default;
    flex-shrink: 0;
}

.gov-marquee-item:hover {
    color: rgba(255,255,255,0.65);
}

.gov-marquee-item svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.gov-marquee-item span {
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.4;
    white-space: nowrap;
}

/* ==========================================
   MOBILE RESPONSIVE OVERHAUL
   Target: 320px - 768px screens
   ========================================== */

/* ---- HERO SECTION MOBILE ---- */
@media (max-width: 768px) {

    /* Hero layout: text first, SVG below and smaller */
    .hero-section {
        padding: 100px 0 60px 0;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: left;
    }

    /* Text content aligned left on mobile */
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    /* Badge: single line, auto scale font */
    .hero-badge {
        font-size: 0.68rem;
        padding: 6px 12px;
        white-space: nowrap;
        letter-spacing: 0.01em;
        margin-bottom: 16px;
    }

    /* Title: much smaller on mobile */
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.15;
        margin-bottom: 16px;
        text-align: left;
    }

    /* Lead text: readable size */
    .hero-lead {
        font-size: 0.92rem;
        margin-bottom: 28px;
        text-align: left;
        color: rgba(232, 213, 196, 0.85);
    }

    /* Buttons: single row, no wrap */
    .hero-buttons {
        display: flex;
        flex-direction: row;
        gap: 12px;
        width: 100%;
        justify-content: flex-start;
    }

    .hero-buttons .btn {
        padding: 12px 18px;
        font-size: 0.82rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* SVG animation: smaller height, shown below text */
    .hero-image-pane {
        max-width: 100%;
        order: 2;
    }

    .hero-vector-animation {
        max-width: 100%;
        max-height: 220px;
        overflow: hidden;
        margin: 0 auto;
    }

    .animated-chart-svg {
        width: 100%;
        height: 220px;
        opacity: 0.55; /* more faded on mobile since it's supplementary */
    }

    /* Scale down the floating widgets inside SVG for mobile */
    .float-1 {
        transform: scale(0.75);
        transform-origin: 115px 82px;
    }
    .float-2 {
        transform: scale(0.75);
        transform-origin: 382px 247px;
    }

    /* Government marquee: tighter padding */
    .gov-marquee-bar {
        padding: 12px 0;
    }

    .gov-marquee-label {
        font-size: 0.55rem;
        margin-bottom: 10px;
        letter-spacing: 0.12em;
    }

    .gov-marquee-item {
        padding: 0 20px;
    }

    .gov-marquee-item svg {
        width: 24px;
        height: 24px;
    }

    .gov-marquee-item span {
        font-size: 0.5rem;
    }
}

/* ---- VERY SMALL PHONES (< 480px) ---- */
@media (max-width: 480px) {

    .hero-title {
        font-size: 1.65rem;
    }

    .hero-badge {
        font-size: 0.62rem;
        padding: 5px 10px;
    }

    .hero-lead {
        font-size: 0.88rem;
    }

    .hero-buttons .btn {
        padding: 11px 14px;
        font-size: 0.78rem;
    }

    .hero-vector-animation {
        max-height: 180px;
    }

    .animated-chart-svg {
        height: 180px;
    }

    /* Partners marquee tighter */
    .partners-track .partner-item {
        padding: 0 20px;
    }
}

/* ---- TABLET (768px - 1024px) ---- */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }

    .hero-content {
        align-items: flex-start;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-vector-animation {
        max-height: 300px;
        max-width: 80%;
        margin: 0 auto;
    }

    .animated-chart-svg {
        height: 300px;
    }
}
