/* Modern Cosmic Dark Theme Design System for The Telaxy */

:root {
    --bg-dark: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.75);
    --bg-card-highlight: rgba(255, 255, 255, 0.95);
    --primary: #ff6600;
    --primary-glow: rgba(255, 102, 0, 0.4);
    --secondary: #ffb700;
    --secondary-glow: rgba(255, 183, 0, 0.4);
    --text-main: #1b223c;
    --text-muted: #5e6d85;
    --border-color: rgba(27, 34, 60, 0.08);
    --border-hover: rgba(255, 102, 0, 0.12);
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.3);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-index: border-box;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-image: 
        radial-gradient(at 0% 0%, rgba(255, 102, 0, 0.06) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(255, 183, 0, 0.06) 0px, transparent 50%);
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Canvas background overlay */
#networkCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: all;
    opacity: 0.6;
}

/* Containers & Grids */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 32px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.align-center { align-items: center; }
.text-center { text-align: center; }

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.alt-bg {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(248, 250, 252, 0) 100%);
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    margin: 0 auto 24px auto;
    border-radius: 2px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary);
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 102, 0, 0.12);
    color: #ffffff;
}

.btn-secondary {
    background: rgba(27, 34, 60, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(27, 34, 60, 0.08);
    border-color: var(--border-color);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-glow {
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.08);
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(255, 102, 0, 0.2);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(255, 102, 0, 0.05);
}

.card-glow:hover {
    box-shadow: 0 0 30px rgba(255, 102, 0, 0.08);
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.header-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display:flex;
    align-items:center;
    gap:18px;
    text-decoration:none;
}

.logo-img{
    width:82px;
    height:auto;
    object-fit:contain;
    display:block;
    flex-shrink:0;
    transition:transform .25s ease;
}

.logo-area:hover .logo-img{
    transform:scale(1.03);
}

.logo-text{
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.brand-name{
    font-family:var(--font-heading);
    font-size:1.55rem;
    font-weight:800;
    line-height:1;
    letter-spacing:.5px;
    color:var(--text-main);
}

.brand-sub{
    font-size:.78rem;
    letter-spacing:2.4px;
    font-weight:700;
    color:var(--secondary);
}

.nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-item {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 8px 12px;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-fast);
}

.nav-item:hover {
    color: var(--primary);
}

.nav-item:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-dark);
    border-left: 1px solid var(--border-color);
    z-index: 200;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition: right var(--transition-normal);
}

.mobile-drawer.open {
    right: 0;
}

.close-drawer {
    align-self: flex-end;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.drawer-item {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 500;
}

.drawer-item:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

.glow-1 {
    top: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 102, 0, 0.08);
}

.glow-2 {
    bottom: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 123, 0, 0.06);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.tagline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 102, 0, 0.08);
    border: 1px solid rgba(255, 102, 0, 0.08);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.shimmer-text {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

/* Glass Dashboard Preview */
.glass-dashboard-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    overflow: hidden;
}

.dashboard-header {
    background: rgba(0,0,0,0.2);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dash-dot.red { background-color: #ff5f56; }
.dash-dot.yellow { background-color: #ffbd2e; }
.dash-dot.green { background-color: #27c93f; }

.dash-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    margin-left: auto;
}

.dashboard-body {
    background-image: 
        radial-gradient(at 0% 0%, rgba(255, 102, 0, 0.06) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(255, 183, 0, 0.06) 0px, transparent 50%);
    padding: 24px;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 700;
    margin-bottom: 24px;
}

.live-ping {
    width: 6px;
    height: 6px;
    background-color: var(--success);
    border-radius: 50%;
    animation: pulseSuccess 1.5s infinite;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
}

.metric-col {
    display: flex;
    flex-direction: column;
}

.m-val {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
}

.m-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 120px;
    padding-top: 10px;
    border-bottom: 1px solid var(--border-color);
}

.chart-bar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 14%;
    gap: 8px;
}

.chart-bar {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 4px 4px 0 0;
    transition: height 1s ease-out;
}

.glow-bar {
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 0 15px var(--primary-glow);
}

.chart-lbl {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* About Section */
.about-stat-card {
    margin-bottom: 24px;
}

.about-stat-card:last-child {
    margin-bottom: 0;
}

.card-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: inline-block;
}

.badge-row {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
}

.badge-item i {
    color: var(--secondary);
}

/* Case study tabs */
.tab-container {
    margin-top: 40px;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tab-btn {
    background: rgba(27, 34, 60, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.tab-btn:hover, .tab-btn.active {
    background: var(--primary);
    color: #000000;
    border-color: var(--primary);
    box-shadow: 0 5px 15px var(--primary-glow);
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

.client-badge {
    display: inline-block;
    color: var(--secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.tab-details h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.tab-intro {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 28px;
}

.spec-list {
    list-style: none;
}

.spec-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.spec-list li i {
    color: var(--success);
    margin-top: 4px;
}

.taxi-mockup {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    height: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.taxi-header {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 12px;
}

.taxi-body {
    background-image: 
        radial-gradient(at 0% 0%, rgba(255, 102, 0, 0.06) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(255, 183, 0, 0.06) 0px, transparent 50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-badge {
    background: rgba(255, 123, 0, 0.08);
    border: 1px solid rgba(255, 123, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 600;
}

.stat-badge i {
    font-size: 1.5rem;
    color: var(--secondary);
}

/* Service Offering details */
.service-card {
    text-align: left;
}

.service-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 102, 0, 0.08);
    border: 1px solid rgba(255, 102, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.03) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-color: rgba(255, 123, 0, 0.2);
}

.highlight-card .service-icon-wrap {
    background: rgba(255, 123, 0, 0.08);
    border-color: rgba(255, 123, 0, 0.2);
    color: var(--secondary);
}

/* Quality Assurance metrics */
.metrics-grid {
    margin-bottom: 40px;
}

.metric-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.circle-progress {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.bg-circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.04);
    stroke-width: 6;
}

.active-circle {
    fill: none;
    stroke: var(--primary);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 251.2;
    transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1);
}

#circle2 {
    stroke: var(--secondary);
}

.counter-text {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.metric-card h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.metric-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 0 16px;
}

.qa-details {
    padding: 24px;
}

.orange-glow {
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary-glow);
}

/* Tech infrastructure */
.tech-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.tech-item:last-child {
    margin-bottom: 0;
}

.tech-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(27, 34, 60, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    flex-shrink: 0;
}

.tech-txt h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.tech-txt p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.glass-terminal {
    background: rgba(5, 6, 10, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
}

.terminal-bar {
    background: rgba(27, 34, 60, 0.03);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border-color);
}

.term-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
}

.term-title {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 10px;
}

.terminal-body {
    background-image: 
        radial-gradient(at 0% 0%, rgba(255, 102, 0, 0.06) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(255, 183, 0, 0.06) 0px, transparent 50%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.font-mono {
    font-family: 'Courier New', Courier, monospace;
}

.term-line {
    color: #ffffff;
}

.term-prompt {
    color: var(--primary);
}

.term-out {
    padding-left: 14px;
    font-size: 0.9rem;
}

.term-out.success { color: var(--success); }
.term-out.info { color: var(--secondary); }

/* Stepper Horizontal */
.stepper-horizontal {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 40px;
    gap: 16px;
}

.stepper-horizontal::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 40px;
    right: 40px;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0 auto 20px auto;
    transition: var(--transition-normal);
}

.step-item.active .step-number {
    border-color: var(--primary);
    color: #000000;
    background-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.step-body-txt {
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 0 10px;
}

/* Contact & FAQs */
.contact-card {
    padding: 40px;
}

.form-group-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
    background: rgba(27, 34, 60, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.08);
    background: rgba(255,255,255,0.06);
}

.form-feedback {
    margin-top: 20px;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    text-align: center;
}

.form-feedback.success {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-feedback.error {
    background-color: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.hidden {
    display: none;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 24px;
}

.info-icon {
    font-size: 1.8rem;
    color: var(--secondary);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 123, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FAQ Accordion */
.faq-accordion h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
}

.faq-question i {
    color: var(--primary);
    transition: transform var(--transition-fast);
}

.faq-answer {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
    display: none;
    line-height: 1.5;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-item.open .faq-answer {
    display: block;
}

/* Footer styling */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 20px 0;
    position: relative;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
}

.footer-brand .footer-logo svg {
    height: 24px !important;
    width: auto !important;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.addr-box h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.addr-box h5 i {
    color: var(--secondary);
}

.addr-box p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.03);
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Animations */
@keyframes pulseDot {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pulseSuccess {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes animatePulseHeight {
    0% { height: 95%; }
    50% { height: 100%; }
    100% { height: 95%; }
}

.animate-pulse-height .chart-bar {
    animation: animatePulseHeight 2.5s infinite ease-in-out;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 2.8rem; }
    .hero-container { gap: 40px; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .stepper-horizontal {
        flex-direction: column;
        align-items: flex-start;
    }
    .stepper-horizontal::before { display: none; }
    .step-item {
        display: flex;
        align-items: flex-start;
        text-align: left;
        margin-bottom: 24px;
        gap: 16px;
    }
    .step-number { margin: 0; }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-addresses {
        grid-template-columns: 1fr;
    }
    .form-group-row {
        flex-direction: column;
        gap: 0;
    }
    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
}

/* Page Layout Wrapper */
.page-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 120px;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

/* Sidebar Layout */
.social-sidebar {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-content {
    flex-grow: 1;
    min-width: 0;
}

/* Social Card styling */
.social-profile-card {
    padding: 24px !important;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.profile-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
}

.profile-title h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

.profile-title span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.profile-bio {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.social-stats {
    display: flex;
    gap: 20px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    margin-bottom: 16px;
}

.social-stats div {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.social-stats strong {
    color: var(--text-main);
}

.social-links-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    color: white !important;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.social-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.social-btn.facebook { background: #1877f2; }
.social-btn.linkedin { background: #0077b5; }
.social-btn.twitter { background: #000000; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-btn.whatsapp { background: #25D366; }

/* Top Social Action Row - under Consultation button */
.top-social-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.social-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: white !important;
    font-size: 1.15rem;
    transition: var(--transition-fast);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.social-icon-btn:hover {
    transform: translateY(-2px) scale(1.05);
    opacity: 0.95;
}

.social-icon-btn.facebook { background: #1877f2; }
.social-icon-btn.linkedin { background: #0077b5; }
.social-icon-btn.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-icon-btn.whatsapp { background: #25D366; }

/* Image Constraints: Ensure pictures are elegant and not massive */
.main-content img, .hero-content img, .section img, .tab-content img, .tab-visual img {
    max-width: 100% !important;
    width: 600px !important;
    height: 320px !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    display: block !important;
    margin: 24px auto !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid var(--border-color) !important;
}

/* Feed Widget */
.social-feed-widget {
    padding: 24px !important;
    display: flex;
    flex-direction: column;
    min-height: 520px;
}

.social-feed-widget h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.feed-posts-scroll {
    overflow-y: auto;
    height: 460px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 4px;
}

.feed-posts-scroll::-webkit-scrollbar {
    width: 4px;
}
.feed-posts-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.feed-post {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    text-align: left;
}

.feed-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    margin-bottom: 6px;
}

.post-tag {
    background: rgba(255, 102, 0, 0.1);
    color: var(--primary);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.post-time {
    color: var(--text-muted);
}

.feed-post p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-muted);
}

/* Mobile Dropdown Styling */
.mobile-dropdown {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 99;
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s;
}

.mobile-dropdown.open {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover, .dropdown-item.active {
    color: var(--primary);
}

.btn-dropdown {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff !important;
    text-align: center;
    border-radius: 20px;
    padding: 12px !important;
    margin-top: 8px;
}

/* Responsive sidebar and menu order */
@media (max-width: 992px) {
    .page-wrapper {
        flex-direction: column;
        margin-top: 100px;
    }
    .social-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        order: 2;
    }
    .main-content {
        order: 1;
    }
    .feed-posts-scroll {
        max-height: 250px;
    }
}

/* Dynamic Company Headers and Logo container styling */
.company-header {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
}

.company-logo {
    width: 150px !important;
    height: 65px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 6px !important;
    padding: 4px !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.company-logo img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: block !important;
    margin: 0 !important;
}

.company-title {
    margin: 0 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    border: none !important;
    box-shadow: none !important;
}

@media (max-width: 480px) {
    .company-header {
        flex-direction: row !important;
        gap: 12px !important;
    }
    .company-logo {
        width: 100px !important;
        height: 45px !important;
    }
    .company-title {
        font-size: 1.4rem !important;
    }
}


/* ===== Footer Dynamic Logo ===== */
.footer-logo{
display:flex;
align-items:center;
gap:14px;
}

.footer-logo-img{
width:56px;
height:auto;
object-fit:contain;
display:block;
flex-shrink:0;
}

@media (max-width:768px){
.logo-img{width:64px;}
.brand-name{font-size:1.25rem;}
.brand-sub{font-size:.68rem;}
.footer-logo-img{width:44px;}
}
