@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- Design Tokens & Variables --- */
:root {
    --bg-dark: #f8fafc; /* Slate-50 - off-white background */
    --bg-card: #ffffff; /* White cards */
    --bg-card-hover: #f1f5f9; /* Slate-100 */
    --primary: #ab1731; /* Alnair Burgundy */
    --primary-hover: #8f1025; /* Darker burgundy on hover */
    --primary-rgb: 171, 23, 49;
    --accent: #d99c2b; /* Gold/Amber */
    --accent-hover: #c48c22;
    --accent-rgb: 217, 156, 43;
    --success: #10b981;
    --text-main: #0f172a; /* Slate-900 */
    --text-muted: #475569; /* Slate-600 */
    --border-color: #e2e8f0; /* Slate-200 */
    --border-glow: rgba(171, 23, 49, 0.08);
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 8px 30px 0 rgba(15, 23, 42, 0.06);
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-secondary);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(171, 23, 49, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(217, 156, 43, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(248, 250, 252, 0.95) 0%, transparent 100%);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-main);
}

p {
    color: var(--text-muted);
}

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

/* --- Reusable Components & Utilities --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.6);
}

.btn-accent {
    background-color: var(--accent);
    color: #070c14;
    box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.3);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.5);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-glow);
    border-radius: 16px;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: rgba(var(--primary-rgb), 0.15);
    color: #ff526e;
    border: 1px solid rgba(var(--primary-rgb), 0.3);
}

.badge-gold {
    background-color: rgba(var(--accent-rgb), 0.15);
    color: var(--accent);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .badge {
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.logo-text {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.logo-text span {
    color: var(--accent);
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.hero-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 580px;
}

.hero-bullet-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.hero-bullet-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.hero-bullet-list li svg {
    color: var(--accent);
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    padding: 8px;
    background: linear-gradient(135deg, rgba(171, 23, 49, 0.3) 0%, rgba(217, 156, 43, 0.1) 100%);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
}

.hero-image {
    width: 100%;
    border-radius: 18px;
    display: block;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 240px;
    animation: float-reverse 7s ease-in-out infinite;
}

.floating-badge svg {
    color: var(--accent);
    background: rgba(217, 156, 43, 0.15);
    padding: 0.5rem;
    border-radius: 50%;
}

.floating-badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
}

/* --- Stats Bar --- */
.stats-bar {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(15, 23, 42, 0.2);
}

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

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* --- Pain Points Section --- */
.pain-points {
    padding: 100px 0;
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.pain-column {
    padding: 2.5rem;
}

.pain-column-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pain-column-header .icon-wrap {
    padding: 0.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pain-column-header h3 {
    font-size: 1.75rem;
}

.pain-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pain-item {
    display: flex;
    gap: 1rem;
}

.pain-item svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.pain-item-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.pain-item-desc {
    font-size: 0.95rem;
}

/* Standard Sourcing Styles */
.pain-standard {
    border: 1px solid rgba(239, 68, 68, 0.15);
    background: rgba(239, 68, 68, 0.02);
}
.pain-standard .icon-wrap {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}
.pain-standard svg.item-icon {
    color: #ef4444;
}

/* Alnair Sourcing Styles */
.pain-alnair {
    border: 1px solid rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.03);
    position: relative;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.05);
}
.pain-alnair::after {
    content: 'Njia Rahisi na Salama';
    position: absolute;
    top: -12px;
    right: 24px;
    background-color: var(--success);
    color: #070c14;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    letter-spacing: 0.05em;
}
.pain-alnair .icon-wrap {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}
.pain-alnair svg.item-icon {
    color: var(--success);
}

/* --- Services Section --- */
.services {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.3) 50%, transparent 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-card-hover);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(171, 23, 49, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 2rem;
    border: 1px solid rgba(171, 23, 49, 0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.service-features li svg {
    color: var(--success);
}

/* Extra Logistics Section */
.logistics-bar {
    margin-top: 3rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logistics-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logistics-icon {
    padding: 1rem;
    background: rgba(217, 156, 43, 0.1);
    border-radius: 12px;
    color: var(--accent);
    border: 1px solid rgba(217, 156, 43, 0.2);
}

.logistics-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.logistics-text p {
    font-size: 0.95rem;
}

/* --- Case Studies Section --- */
.case-studies {
    padding: 100px 0;
}

.case-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.3);
}

.case-content-wrapper {
    position: relative;
    min-height: 480px;
}

.case-tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out forwards;
}

.case-tab-content.active {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.case-info h3 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.case-info p.case-summary {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.case-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.case-metric {
    padding: 1.5rem;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.case-metric h4 {
    font-size: 1.85rem;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.case-metric p {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
}

.case-bullets {
    list-style: none;
}

.case-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.case-bullets li svg {
    color: var(--accent);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.case-graphics {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid var(--border-color);
}

.case-chart-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chart-bar-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chart-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
}

.chart-bar-bg {
    height: 12px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 9999px;
    overflow: hidden;
}

.chart-bar-fill {
    height: 100%;
    border-radius: 9999px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.case-tab-content.active .chart-bar-fill.bar-standard {
    width: 100%;
    background: #ef4444;
}

.case-tab-content.active .chart-bar-fill.bar-alnair-burj {
    width: 75%;
    background: var(--success);
}

.case-tab-content.active .chart-bar-fill.bar-jkt-before {
    width: 30%;
    background: var(--accent);
}

.case-tab-content.active .chart-bar-fill.bar-jkt-after {
    width: 100%;
    background: var(--success);
}

.savings-label {
    color: var(--success);
}

.case-badge-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

/* --- Lead Funnel Form Section --- */
.rfq-section {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 50%, rgba(171, 23, 49, 0.05) 0%, transparent 70%);
}

.rfq-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 3rem;
}

/* Form Steps Tracker */
.form-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.form-steps::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.step-indicator {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--text-muted);
    transition: var(--transition);
}

.step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.step-indicator.active .step-circle {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.4);
}

.step-indicator.active .step-label {
    color: #fff;
}

.step-indicator.completed .step-circle {
    border-color: var(--success);
    background: var(--success);
    color: #070c14;
}

.step-indicator.completed .step-label {
    color: var(--success);
}

/* Form Content Steps */
.form-step-content {
    display: none;
}

.form-step-content.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out forwards;
}

/* Inputs & Form styling */
.form-group {
    margin-bottom: 1.75rem;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.form-input::placeholder, .form-textarea::placeholder {
    color: #94a3b8;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

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

/* Card Selection Grid */
.option-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.option-card {
    padding: 1.5rem;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    color: var(--text-main);
    transition: var(--transition);
}

.option-card svg {
    color: var(--primary);
    transition: var(--transition);
}

.option-card h4 {
    font-size: 1.1rem;
    color: var(--text-main);
}

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

.option-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    background: #f8fafc;
}

.option-card.selected {
    border-color: var(--primary);
    background: rgba(171, 23, 49, 0.05);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.12);
}

.option-card.selected svg {
    transform: scale(1.1);
    color: var(--primary);
}

/* Navigation buttons */
.form-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

/* Success State */
.form-success-state {
    text-align: center;
    padding: 2rem 0;
}

.success-icon-container {
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--success);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.form-success-state h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-success-state p {
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto 2rem;
}

/* --- FAQ & Advantages Section --- */
.advantages {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.adv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.adv-bullets {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.adv-card {
    display: flex;
    gap: 1.25rem;
}

.adv-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(217, 156, 43, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(217, 156, 43, 0.2);
}

.adv-card-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.adv-card-content p {
    font-size: 0.95rem;
}

/* FAQs list styling */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: rgba(15, 23, 42, 0.25);
    transition: var(--transition);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    color: #fff;
    user-select: none;
}

.faq-question svg {
    color: var(--text-muted);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
    font-size: 0.95rem;
    border-top: 1px solid transparent;
}

.faq-item.active {
    border-color: rgba(var(--primary-rgb), 0.3);
    background: rgba(15, 23, 42, 0.55);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1rem 1.5rem 1.5rem;
    border-color: var(--border-color);
}

/* --- Footer --- */
.footer {
    background: #f1f5f9;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo-area {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-list a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links-list a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-list li {
    display: flex;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.contact-info-list svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-info-list span {
    color: var(--text-muted);
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Animations --- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

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

@keyframes scaleUp {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    h1 { font-size: 3rem !important; }
    .hero-grid { gap: 2rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    .navbar .container { height: 70px; }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 3rem;
        gap: 2.5rem;
        transition: var(--transition);
        border-top: 1px solid var(--border-color);
    }
    .nav-menu.active {
        left: 0;
    }
    .menu-toggle {
        display: block;
    }
    .nav-actions {
        display: none;
    }
    .hero {
        padding-top: 110px;
        padding-bottom: 40px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-bullet-list {
        display: inline-block;
        text-align: left;
        margin-bottom: 2rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .pain-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .logistics-bar {
        flex-direction: column;
        text-align: center;
    }
    .logistics-info {
        flex-direction: column;
    }
    .case-tab-content.active {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .case-metrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .rfq-container {
        padding: 1.5rem;
    }
    .option-grid {
        grid-template-columns: 1fr;
    }
    .adv-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.25rem !important; }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .case-metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .step-label {
        display: none;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ==========================================
   PORTAL STYLES (TRACKING, ADMIN, QUOTATION)
   ========================================== */

/* --- Floating CTA (High Call-To-Action Density) --- */
.floating-cta-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background: var(--primary);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.4);
    font-size: 1.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.floating-cta-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.1) rotate(5deg);
}

.floating-cta-btn::after {
    content: "Agiza Bidhaa / Omba Bei";
    position: absolute;
    right: 70px;
    background: #0f172a;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: var(--font-primary);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.floating-cta-btn:hover::after {
    opacity: 1;
}

/* --- HTMX & Loading Indicators --- */
.htmx-indicator {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.htmx-request .htmx-indicator {
    display: inline-block;
    opacity: 1;
}
.htmx-request.htmx-indicator {
    display: inline-block;
    opacity: 1;
}

/* --- Tracking Page & Dashboard --- */
.portal-header {
    background: #ffffff;
    padding: 100px 0 40px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.portal-container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.rfq-info-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-glow);
}

.info-card h5 {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.info-card p {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Progress Stepper */
.progress-stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 3rem 0;
    padding: 0 1rem;
}

.progress-stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    z-index: 1;
}

.progress-bar-fill {
    position: absolute;
    top: 20px;
    left: 0;
    height: 4px;
    background: var(--success);
    z-index: 1;
    transition: width 0.5s ease;
}

.progress-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.step-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 4px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 700;
    transition: var(--transition);
}

.progress-step.active .step-dot {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.2);
}

.progress-step.completed .step-dot {
    background: var(--success);
    color: #ffffff;
}

.step-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

.progress-step.active .step-text {
    color: var(--primary);
}

.progress-step.completed .step-text {
    color: var(--success);
}

/* Timeline & Messaging */
.timeline-section {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-glow);
    margin-bottom: 3rem;
}

.timeline-section h3 {
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
}

.timeline-list {
    position: relative;
    padding-left: 2rem;
}

.timeline-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 7px;
    height: 100%;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    top: 4px;
    left: -29px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #cbd5e1;
    border: 3px solid #ffffff;
}

.timeline-item.admin-msg .timeline-marker {
    background: var(--primary);
}

.timeline-item.client-msg .timeline-marker {
    background: var(--accent);
}

.timeline-content {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.timeline-item.admin-msg .timeline-content {
    background: rgba(171, 23, 49, 0.02);
    border-left: 3px solid var(--primary);
}

.timeline-item.client-msg .timeline-content {
    background: rgba(217, 156, 43, 0.02);
    border-left: 3px solid var(--accent);
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Pricing Card in Tracking */
.pricing-section {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-glow);
    margin-bottom: 3rem;
}

.pricing-section h3 {
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.price-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.price-box label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.price-box span {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

/* Client Input Form in Tracking */
.client-reply-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-glow);
}

.client-reply-box h3 {
    margin-bottom: 1.5rem;
}

/* --- Admin Panel --- */
.admin-login-card {
    max-width: 450px;
    margin: 8rem auto;
    padding: 3rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-glow);
}

.admin-header-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

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

.admin-table-wrap {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    margin-top: 2rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th, .admin-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background: #f8fafc;
    font-weight: 700;
    color: var(--text-main);
}

.admin-table tr:hover td {
    background: #f8fafc;
}

.badge-status {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-status.received { background: #e2e8f0; color: #475569; }
.badge-status.in-progress { background: rgba(217, 156, 43, 0.1); color: var(--accent); }
.badge-status.quotation-ready { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.badge-status.completed { background: #d1fae5; color: #065f46; }

.search-input-wrap {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-input-wrap input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    outline: none;
    font-family: var(--font-secondary);
}

.search-input-wrap svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Admin Detail Form styling */
.admin-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.admin-detail-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-glow);
}

.admin-detail-card h3 {
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
}

.detail-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 0.75rem;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.detail-row span {
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.admin-update-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* --- Quotation Page & Print Sheet --- */
.quotation-container {
    max-width: 800px;
    margin: 4rem auto;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    padding: 3.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    font-family: var(--font-secondary);
    color: #0f172a;
}

.q-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 2rem;
    margin-bottom: 2.5rem;
}

.q-logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.q-logo-text {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1;
}

.q-logo-text span {
    display: block;
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.05em;
}

.q-title {
    text-align: right;
}

.q-title h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.q-meta-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.q-meta-block h4 {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.q-meta-block p {
    color: #334155;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.q-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2.5rem;
}

.q-table th, .q-table td {
    border: 1px solid #cbd5e1;
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.95rem;
}

.q-table th {
    background: #f8fafc;
    font-weight: 700;
}

.q-table tr.total-row td {
    font-weight: 700;
    background: #f8fafc;
    border-top: 2px solid var(--primary);
}

.q-footer {
    border-top: 1px solid #cbd5e1;
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

.print-actions {
    max-width: 800px;
    margin: 2rem auto;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

/* Print CSS */
@media print {
    body {
        background: #ffffff !important;
        background-image: none !important;
        color: #000000 !important;
    }
    .print-actions, .navbar, .footer, .floating-cta-btn {
        display: none !important;
    }
    .quotation-container {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Responsive detail grid */
@media (max-width: 768px) {
    .admin-detail-grid {
        grid-template-columns: 1fr;
    }
    .progress-stepper {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
        padding-left: 2rem;
    }
    .progress-stepper::before {
        top: 0;
        left: 20px;
        width: 4px;
        height: 100%;
    }
    .progress-bar-fill {
        top: 0;
        left: 20px;
        width: 4px !important;
        height: var(--progress-percent, 0%);
    }
    .progress-step {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }
    .step-text {
        text-align: left;
    }
}

/* Admin Professional Wrapper Layout */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: #f1f5f9;
}

/* Sidebar Styling */
.admin-sidebar {
    width: 280px;
    background: #0f172a;
    color: #ffffff;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex-shrink: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand .brand-text {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    color: #ffffff;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

.sidebar-brand .brand-text span {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: var(--transition);
}

.sidebar-nav .nav-item:hover, .sidebar-nav .nav-item.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.sidebar-nav .nav-item.active {
    background: var(--primary);
    color: #ffffff;
}

.sidebar-nav .nav-item i {
    width: 20px;
    height: 20px;
}

.sidebar-nav .nav-item.logout-link:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
    font-size: 0.85rem;
}

.sidebar-widget .widget-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.sidebar-widget p {
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.sidebar-widget .status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
}

.sidebar-widget .status-indicator.online {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

/* Main Area Layout */
.admin-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Topbar Styling */
.admin-topbar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.topbar-search {
    position: relative;
    width: 350px;
}

.topbar-search i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    width: 16px;
    height: 16px;
}

.topbar-search input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.75rem;
    border-radius: 30px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    outline: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.topbar-search input:focus {
    background: #ffffff;
    border-color: var(--primary);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.notification-bell {
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    color: #475569;
    transition: var(--transition);
}

.notification-bell:hover {
    color: var(--primary);
}

.notification-bell i {
    width: 22px;
    height: 22px;
}

.notification-bell .bell-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    border: 2px solid #ffffff;
}

.bell-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 100;
    margin-top: 0.5rem;
}

.notification-bell:hover .bell-dropdown {
    display: block;
}

.bell-dropdown-header {
    padding: 1rem;
    font-weight: 700;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
}

.bell-dropdown-items {
    padding: 0.5rem;
}

.bell-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
}

.bell-item:hover {
    background: #f8fafc;
}

.bell-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(171, 23, 49, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bell-text p {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.bell-text span {
    font-size: 0.7rem;
    color: #94a3b8;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-profile .avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.user-profile span {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
}

/* Dashboard Body */
.admin-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.alert-banner {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.alert-banner.info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
}

.alert-banner.info i {
    color: #3b82f6;
    flex-shrink: 0;
}

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

.stat-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon i {
    width: 28px;
    height: 28px;
}

.stat-info h3 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.25rem;
    line-height: 1.1;
}

.stat-info p {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

.section-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.section-title-bar h3 {
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 700;
}

/* Responsive sidebar */
@media (max-width: 992px) {
    .admin-wrapper {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 1.25rem 1.5rem;
        gap: 1.25rem;
    }
    .sidebar-brand {
        padding-bottom: 0.75rem;
    }
    .sidebar-widget {
        display: none;
    }
    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .admin-topbar {
        padding: 1rem 1.5rem;
    }
    .admin-content {
        padding: 1.5rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Collapsible Sidebar Desktop Styles */
@media (min-width: 993px) {
    .admin-sidebar {
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    }
    .sidebar-hideable {
        transition: opacity 0.2s ease, visibility 0.2s ease;
        opacity: 1;
        visibility: visible;
    }
    
    .admin-sidebar.collapsed {
        width: 80px !important;
        padding: 2rem 0.5rem !important;
    }
    
    .admin-sidebar.collapsed .sidebar-hideable {
        opacity: 0 !important;
        visibility: hidden !important;
        display: none !important;
    }
    
    .admin-sidebar.collapsed .sidebar-brand {
        justify-content: center !important;
        padding-bottom: 0.5rem !important;
        border-bottom: none !important;
    }
    
    .admin-sidebar.collapsed .sidebar-nav {
        gap: 0.75rem !important;
    }
    
    .admin-sidebar.collapsed .sidebar-nav .nav-item {
        justify-content: center !important;
        padding: 0.85rem 0 !important;
        width: 48px;
        height: 48px;
        margin: 0 auto;
    }
    
    .admin-sidebar.collapsed .sidebar-nav .nav-item i {
        margin: 0 !important;
        width: 20px;
        height: 20px;
    }
    
    .admin-sidebar.collapsed #sidebarToggle {
        display: flex !important;
        margin: 0.5rem auto 0 !important;
    }
    
    /* Show secondary toggle button on topbar if needed */
}

/* Sidebar Toggle Icon Styling */
.sidebar-toggle-btn:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

/* Tracking Portal Responsive Grid & Styles */
.track-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

@media (max-width: 992px) {
    .track-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .rfq-info-summary {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-bottom: 2rem !important;
    }
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .portal-header {
        padding: 3rem 0 2rem 0 !important;
        text-align: center;
    }
    .portal-header h1 {
        font-size: 1.75rem !important;
    }
    .timeline-section {
        padding: 1.5rem !important;
    }
    .price-box {
        padding: 1rem !important;
    }
}

/* RFQ Popup Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

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

.modal-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 100%;
    max-width: 650px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.open .modal-container {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close-btn:hover {
    background: var(--primary);
    color: #ffffff;
    transform: rotate(90deg);
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

@media (max-width: 576px) {
    .modal-container {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
    }
    .modal-close-btn {
        top: 0.75rem;
        right: 0.75rem;
        width: 30px;
        height: 30px;
        font-size: 1.25rem;
    }
}

