/* ==========================================
   PRIME CHOICE ADVISORS LIGHT-THEME PREMIUM STYLESHEET
   ========================================== */

/* --- Design Tokens / Variables --- */
:root {
    --bg-base: #fafaf9; /* Warm Linen/Stone Off-White */
    --bg-surface: rgba(255, 255, 255, 0.85);
    --bg-surface-opaque: #ffffff;
    --border-color: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(180, 83, 9, 0.4); /* Bronze */
    
    --text-primary: #0f172a; /* Slate 900 */
    --text-secondary: #475569; /* Slate 600 */
    --text-muted: #94a3b8; /* Slate 400 */
    
    --primary: #0f172a; /* Midnight Navy 900 */
    --primary-glow: rgba(15, 23, 42, 0.05);
    --secondary: #b45309; /* Warm Bronze / Amber 700 */
    --secondary-glow: rgba(180, 83, 9, 0.06);
    
    --gradient-primary: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    --gradient-secondary: linear-gradient(135deg, #b45309 0%, #d97706 100%);
    --gradient-text: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #b45309 100%);
    
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    
    --container-width: 1240px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Premium Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-premium: 0 30px 60px -15px rgba(15, 23, 42, 0.08);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-base);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

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

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.w-full { width: 100%; }

/* --- Soft Decorative Light Glows --- */
.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(160px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}
.orb-light-1 {
    top: -150px;
    left: -200px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.08) 0%, rgba(251, 251, 250, 0.02) 70%);
    animation: orb-float 22s infinite alternate;
}
.orb-light-2 {
    top: 700px;
    right: -250px;
    background: radial-gradient(circle, rgba(180, 83, 9, 0.06) 0%, rgba(251, 251, 250, 0.01) 70%);
    animation: orb-float 28s infinite alternate-reverse;
}

@keyframes orb-float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(50px) scale(1.08); }
}

/* --- Glassmorphism Card Style --- */
.card-glass {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.glow-on-hover:hover {
    border-color: rgba(180, 83, 9, 0.25);
    box-shadow: var(--shadow-lg), 0 10px 30px -10px rgba(180, 83, 9, 0.05);
    transform: translateY(-4px);
}

/* --- Badges & Gradients --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(180, 83, 9, 0.05);
    border: 1px solid rgba(180, 83, 9, 0.1);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 24px;
}
.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--secondary);
    box-shadow: 0 0 6px var(--secondary);
    animation: badge-pulse 1.8s infinite;
}
@keyframes badge-pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.25); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient {
    color: var(--secondary);
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Buttons --- */
.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.15);
    transition: var(--transition-normal);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
    opacity: 0.95;
}
.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid #d8e2ef;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}
.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-secondary i {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}
.btn-secondary:hover i {
    transform: translateX(-4px); /* Modified back arrow hover behavior */
}

/* --- Header / Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-normal);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    height: 70px;
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-badge {
    background: #0f172a; /* Navy badge */
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    width: 38px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.brand-logo {
    height: 24px;
    width: 24px;
    object-fit: contain;
}
.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}
.brand-name span {
    color: var(--secondary); /* Bronze name */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition-fast);
}
.nav-link:hover {
    color: var(--text-primary);
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}
.nav-link.active {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.btn-nav {
    padding: 10px 20px;
    font-size: 0.88rem;
}
.nav-btn-mobile {
    display: none;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
}
.mobile-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-normal);
}

/* --- Hero Section --- */
.hero-section {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 100px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 24px;
    color: var(--text-primary);
}

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

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    width: 100%;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* --- Premium CSS Dashboard Widget --- */
.hero-visual-wrapper {
    position: relative;
    width: 100%;
}
.dashboard-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    width: 100%;
    animation: dashboard-float 6s ease-in-out infinite;
}
@keyframes dashboard-float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.dashboard-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.dash-dots {
    display: flex;
    gap: 6px;
}
.dash-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
}
.dash-dots .dot:nth-child(1) { background-color: #ef4444; }
.dash-dots .dot:nth-child(2) { background-color: #f59e0b; }
.dash-dots .dot:nth-child(3) { background-color: #10b981; }

.dash-search-mock {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.72rem;
    color: var(--text-muted);
    padding: 4px 12px;
    flex-grow: 1;
    text-align: center;
}

.dashboard-body {
    padding: 24px;
}

.dash-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.metric-card {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: var(--radius-sm);
    padding: 16px;
}
.m-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 8px;
}
.m-value-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.m-value {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-primary);
}
.m-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}
.m-badge.positive {
    background: #d1fae5;
    color: #065f46;
}
.m-badge.neutral {
    background: #e2e8f0;
    color: #475569;
}

.dash-graph-box {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 20px;
}
.graph-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.graph-header h4 {
    font-size: 0.85rem;
    color: var(--text-primary);
}
.graph-legend {
    display: flex;
    gap: 12px;
    font-size: 0.72rem;
    color: var(--text-secondary);
}
.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
}
.legend-dot.teal { background-color: #0d9488; }
.legend-dot.blue { background-color: #4f46e5; }

.svg-container {
    width: 100%;
}
.graph-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.dash-feed {
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
}
.feed-item {
    display: flex;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--text-secondary);
}
.feed-time {
    color: var(--text-muted);
    font-weight: 500;
    flex-shrink: 0;
}

/* --- Section Formatting --- */
section {
    padding: 120px 0;
}
.section-header {
    margin-bottom: 60px;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* --- About Section --- */
.about-top-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.about-statement-box .badge {
    margin-bottom: 16px;
}
.about-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.about-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
}
.about-details-box p {
    font-size: 1rem;
    color: var(--text-secondary);
    border-left: 2px solid var(--secondary);
    padding-left: 24px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 80px;
}
.mv-card {
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}
.mv-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.mv-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mv-icon.purple {
    background: var(--primary-glow);
    color: var(--primary);
    border: 1px solid rgba(15, 23, 42, 0.1);
}
.mv-icon.cyan {
    background: var(--secondary-glow);
    color: var(--secondary);
    border: 1px solid rgba(180, 83, 9, 0.15);
}
.mv-icon i { width: 22px; height: 22px; }
.mv-card h3 {
    font-size: 1.45rem;
}
.mv-card p {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
}
.pillar-item {
    text-align: center;
    padding: 0 16px;
}
.pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: var(--transition-normal);
}
.pillar-icon i {
    width: 24px;
    height: 24px;
}
.pillar-item h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.pillar-item p {
    font-size: 0.92rem;
    color: var(--text-secondary);
}
.pillar-item:hover .pillar-icon {
    background: var(--secondary);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(180, 83, 9, 0.25);
    transform: translateY(-2px);
}

/* --- Capabilities Grouped Tab UI --- */
.services-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}
.services-tabs-nav {
    background: #e2e8f0;
    border-radius: 9999px;
    padding: 6px;
    display: flex;
    gap: 4px;
}
.s-tab-btn {
    background: none;
    border: none;
    border-radius: 9999px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 24px;
    transition: var(--transition-normal);
}
.s-tab-btn i {
    width: 18px;
    height: 18px;
}
.s-tab-btn:hover {
    color: var(--text-primary);
}
.s-tab-btn.active {
    background: #ffffff;
    color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.services-tab-panels {
    min-height: 400px;
}
.s-panel {
    display: none;
    animation: panel-fade var(--transition-normal);
}
.s-panel.active {
    display: block;
}

.services-subgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-normal);
}
.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f1f5f9;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-normal);
}
.service-icon i { width: 22px; height: 22px; }
.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), 0 10px 25px -10px rgba(180, 83, 9, 0.05);
    transform: translateY(-4px);
}
.service-card:hover .service-icon {
    background: var(--gradient-secondary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.25);
}

/* --- Industries Section --- */
.industries-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    align-items: start;
}

.industry-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tab-link {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 600;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}
.tab-link i {
    width: 20px;
    height: 20px;
    transition: var(--transition-fast);
}
.tab-link:hover {
    background: #f8fafc;
    color: var(--text-primary);
    border-color: #cbd5e1;
}
.tab-link.active {
    background: #ffffff;
    border-color: rgba(180, 83, 9, 0.3);
    color: var(--secondary);
    box-shadow: inset 3px 0 0 var(--secondary), var(--shadow-md);
}
.tab-link.active i {
    color: var(--secondary);
}

.industry-panels {
    min-height: 420px;
    position: relative;
}
.tab-panel {
    display: none;
    animation: panel-fade var(--transition-normal);
}
.tab-panel.active {
    display: block;
}

@keyframes panel-fade {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-content {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 48px;
    height: 100%;
}
.panel-badge {
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--secondary);
    display: inline-block;
    margin-bottom: 12px;
}
.panel-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.panel-content p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 1.05rem;
}
.panel-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}
.panel-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.panel-features li i {
    color: var(--secondary);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.panel-cta {
    padding: 12px 24px;
    font-size: 0.9rem;
}

/* --- Brand Logo Marquee --- */
.partner-logos-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: #ffffff;
}
.partner-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 32px;
}

.logo-marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.logo-marquee {
    display: flex;
    width: max-content;
    animation: marquee-anim 24s linear infinite;
    gap: 80px;
}
.partner-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
    opacity: 0.45;
    transition: opacity var(--transition-fast);
    cursor: default;
}
.partner-name:hover {
    opacity: 0.9;
    color: var(--secondary);
}

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

/* --- Contact & Partnerships Section --- */
.contact-section {
    position: relative;
    background: #f1f5f9;
}
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.contact-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
}
.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}
.channel-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    box-shadow: var(--shadow-sm);
}
.channel-icon i { width: 20px; height: 20px; }
.channel-item h5 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--text-primary);
}
.channel-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-form-wrapper {
    width: 100%;
}
.contact-card {
    padding: 48px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-xl);
}
.form-title {
    font-size: 1.6rem;
    margin-bottom: 28px;
}

.partnership-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.input-group {
    position: relative;
    width: 100%;
}
.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-fast);
}
.input-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.input-group textarea {
    resize: none;
}

/* Floating labels */
.input-group label {
    position: absolute;
    left: 16px;
    top: 14px;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition-fast);
}

/* Label placement when field is active/filled */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 10px;
    font-size: 0.78rem;
    color: var(--secondary);
    background-color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Specific Select label styling */
.select-group {
    display: flex;
    flex-direction: column;
}
.select-arrow {
    position: absolute;
    right: 16px;
    top: 16px;
    pointer-events: none;
    color: var(--text-muted);
    width: 18px;
    height: 18px;
}

.select-label {
    top: 14px;
}
.input-group select:focus ~ .select-label,
.input-group select:valid ~ .select-label {
    top: -10px;
    left: 10px;
    font-size: 0.78rem;
    color: var(--secondary);
    background-color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(180, 83, 9, 0.1);
}

/* Error states */
.input-group.error input,
.input-group.error textarea,
.input-group.error select {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
}
.input-group.error label {
    color: #ef4444 !important;
}
.error-msg {
    display: none;
    font-size: 0.78rem;
    color: #ef4444;
    margin-top: 4px;
    margin-left: 4px;
}
.input-group.error .error-msg {
    display: block;
}

.newsletter-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0;
}
.newsletter-checkbox input {
    margin-top: 4px;
    cursor: pointer;
    accent-color: var(--secondary);
    flex-shrink: 0;
}
.newsletter-checkbox label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
    line-height: 1.4;
}
.newsletter-checkbox label a {
    text-decoration: underline;
    font-weight: 500;
}

/* Spinner Loader */
.submit-btn {
    position: relative;
    min-height: 50px;
}
.loader-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.hidden { display: none !important; }

/* Success Card */
.form-success-card {
    text-align: center;
    padding: 32px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: panel-fade 0.5s ease-out;
}
.success-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
}
.success-icon-box i { width: 32px; height: 32px; }
.form-success-card h4 { font-size: 1.5rem; }
.form-success-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    max-width: 360px;
}

/* --- Footer compliance details --- */
.footer-compliance-details {
    margin-bottom: 20px;
    line-height: 1.6;
}
.can-spam-notice {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* --- Newsletter Form Consent Section --- */
.newsletter-input-wrapper {
    display: flex;
    gap: 10px;
    position: relative;
    width: 100%;
}
.newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
    text-align: left;
}
.newsletter-consent input {
    margin-top: 4px;
    cursor: pointer;
    accent-color: var(--secondary);
    flex-shrink: 0;
}
.newsletter-consent label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.35;
}
.newsletter-consent label a {
    text-decoration: underline;
}

/* --- Privacy/Terms Pages Custom Formats --- */
.policy-page {
    padding-top: calc(var(--header-height) + 60px);
    background-color: var(--bg-base);
}
.policy-main {
    margin-top: 40px;
    margin-bottom: 80px;
    max-width: 900px !important;
}
.policy-card {
    padding: 60px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-md);
}
.policy-card h1 {
    font-size: 2.6rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.effective-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}
.policy-section {
    margin-bottom: 36px;
}
.policy-section h2 {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 14px;
}
.policy-section p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}
.policy-section ul {
    margin-left: 24px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.policy-section li {
    margin-bottom: 8px;
}
.contact-details-box {
    background: #f8fafc;
    border-left: 3px solid var(--secondary);
    padding: 24px;
    border-radius: 4px;
    margin-top: 20px;
}
.contact-details-box p {
    margin-bottom: 8px !important;
}
.contact-details-box p:last-child {
    margin-bottom: 0 !important;
}

/* --- Footer --- */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
    padding-bottom: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
.footer-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 320px;
}
.social-links {
    display: flex;
    gap: 14px;
}
.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}
.social-links a i { width: 16px; height: 16px; }
.social-links a:hover {
    color: #ffffff;
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.2);
}

.footer-nav-col h4,
.footer-newsletter h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 24px;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-newsletter p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    width: 100%;
}
.newsletter-form input {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    padding-right: 50px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    width: 100%;
    transition: var(--transition-fast);
}
.newsletter-form input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.1);
}
.newsletter-form button {
    position: absolute;
    right: 6px;
    top: 6px;
    background: var(--gradient-secondary);
    border: none;
    border-radius: 4px;
    width: 36px;
    height: 36px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.newsletter-form button:hover {
    opacity: 0.95;
    box-shadow: 0 2px 8px rgba(180, 83, 9, 0.25);
}
.newsletter-form button i {
    width: 16px;
    height: 16px;
}
.newsletter-success-msg {
    font-size: 0.8rem;
    color: #10b981;
    margin-top: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.legal-disclosure {
    border-left: 2px solid var(--secondary);
    padding-left: 16px;
    line-height: 1.5;
}

/* --- Scroll Reveal Animations --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Adjustments (Media Queries) --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    
    .about-top-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .about-details-box p {
        border-left: none;
        border-top: 2px solid var(--secondary);
        padding-left: 0;
        padding-top: 16px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .services-subgrid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industries-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .industry-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .tab-link {
        flex: 1 1 200px;
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: space-around;
    }
    .stat-item {
        flex: 1 1 40%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-subgrid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 32px 24px;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .policy-card {
        padding: 32px 20px;
    }
    
    /* Mobile Menu Toggle */
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 60px;
        gap: 36px;
        transition: left 0.4s ease;
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.open {
        left: 0;
    }
    
    .nav-actions {
        display: flex;
    }
    
    .btn-nav {
        display: none; /* Hide top bar button on mobile */
    }
    
    .nav-btn-mobile {
        display: flex;
        background: var(--gradient-primary);
        color: #ffffff;
        font-weight: 600;
        padding: 14px 40px;
        border-radius: var(--radius-sm);
        border: none;
    }
    
    /* Cross icon animation for hamburger toggle */
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions a {
        width: 100%;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}
