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

:root {
    --bg-dark: #f6f8fb;
    --bg-card: #ffffff;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(37, 99, 235, 0.3);
    
    --primary: #2563eb;
    --primary-glow: rgba(37, 99, 235, 0.15);
    --secondary: #0ea5e9;
    --secondary-glow: rgba(14, 165, 233, 0.15);
    --accent: #7c3aed;
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dim: #64748b;
    
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Gradients Glows */
body::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    top: 40%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.bottom-glow {
    position: absolute;
    bottom: 10%;
    left: 20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Typography Helpers */
.gradient-text {
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 60%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-accent {
    background: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 50%, #db2777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Common Layouts */
section {
    padding: 100px 5% 60px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.025em;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03), 0 2px 10px -3px rgba(15, 23, 42, 0.02);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 0 25px rgba(37, 99, 235, 0.03);
}

/* Header & Nav (Floating Capsule) */
/* Header & Nav (Standard Clean Glassmorphic) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    padding: 24px 0;
    box-shadow: none;
}

header.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.12);
}

header.nav-active {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

.nav-container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.logo-img {
    display: block;
    height: 68px;
    width: auto;
    transition: all 0.3s ease;
}

header.scrolled .logo-img {
    height: 52px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    box-shadow: 0 0 8px var(--primary-glow);
    display: inline-block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: var(--transition-fast);
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s ease;
}

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

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

.cta-nav {
    padding: 11px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    border-radius: 10px;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.92rem;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.18);
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(6, 182, 212, 0.3);
}

.cta-nav::after {
    display: none !important;
}

/* Menu Toggle Button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
}

.mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}


/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 132px);
    padding-top: 140px;
    gap: 54px;
}

.hero-content {
    flex: 1.1;
    max-width: 680px;
}

.hero-visual {
    flex: 0.95;
    min-width: 340px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: 100px;
    color: #a5b4fc;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--secondary);
    box-shadow: 0 0 8px var(--secondary);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 25px;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 30px var(--primary-glow);
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-muted);
    transform: translateY(-3px);
}

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

.hero-visual-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
}

.hero-floating-element {
    width: 320px;
    height: 320px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.1);
    position: relative;
    overflow: visible;
    animation: float 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
}

/* Phone Mockup styles */
.phone-mockup {
    position: absolute;
    bottom: -25px;
    right: -25px;
    width: 140px;
    height: 230px;
    background: #090d16;
    border: 4px solid #1e293b;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), 0 0 20px rgba(37, 99, 235, 0.1);
    z-index: 10;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.phone-mockup:hover {
    transform: translateY(-5px) rotate(2deg) scale(1.05);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 30px rgba(37, 99, 235, 0.2);
}

.phone-speaker {
    width: 45px;
    height: 12px;
    background: #1e293b;
    border-radius: 0 0 6px 6px;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    padding-top: 15px;
}

.phone-app-header {
    height: 26px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(15, 23, 42, 0.6);
}

.phone-app-header .app-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 6px var(--secondary);
}

.phone-app-header .app-title {
    font-size: 0.62rem;
    font-weight: 700;
    color: #fff;
}

.phone-app-body {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phone-app-chart {
    height: 65px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 8px 4px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.phone-chart-bar {
    width: 8px;
    background: linear-gradient(to top, var(--primary), var(--secondary));
    border-radius: 4px;
    animation: barGrow 2s ease-out infinite alternate;
}

.phone-app-line {
    height: 6px;
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
}

.phone-app-line.half {
    width: 60%;
}

.phone-app-line.gradient {
    height: 12px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.15), transparent);
    border-left: 2.5px solid var(--primary);
}

@keyframes barGrow {
    0% { transform: scaleY(0.7); }
    100% { transform: scaleY(1); }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.hero-decor-1 {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.5;
}

.hero-decor-2 {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.4;
}

/* Stats Section */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: -50px;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 20px;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.1);
    border-color: rgba(37, 99, 235, 0.15);
}

.stat-icon {
    font-size: 1.4rem;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    display: block;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
}

.stat-num.orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-num.green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-num.violet {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-num.cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Services section */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--secondary);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.service-features li {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: var(--secondary);
}

/* Portfolio Section */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.portfolio-img-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background: #0f172a;
}

.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-card:hover .portfolio-img-wrapper img {
    transform: scale(1.08);
}

.portfolio-info {
    padding: 24px;
}

.portfolio-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 8px;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.portfolio-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.portfolio-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-fast);
}

.portfolio-link:hover {
    color: var(--secondary);
}

/* Portfolio Lightbox Modal */
.portfolio-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-modal.active {
    display: block;
    opacity: 1;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 75vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-modal.active .modal-content {
    transform: scale(1);
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #fff;
    padding: 15px 0;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: var(--font-sans);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f5f9;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--secondary);
    text-decoration: none;
}

@media only screen and (max-width: 700px){
    .modal-content {
        max-width: 95%;
    }
}

/* Dynamic Estimator Section */
.estimator-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.estimator-form-wrapper {
    padding: 40px;
}

.estimator-step {
    margin-bottom: 40px;
}

.estimator-step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
}

.options-grid.two-cols {
    grid-template-columns: repeat(2, 1fr);
}

.option-card {
    position: relative;
    cursor: pointer;
}

.option-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-content {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.01);
}

.option-content i {
    font-size: 1.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
    transition: var(--transition-smooth);
}

.option-content span {
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    color: var(--text-muted);
}

.option-card input:checked + .option-content {
    border-color: var(--secondary);
    background: rgba(6, 182, 212, 0.08);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.option-card input:checked + .option-content i {
    color: var(--secondary);
}

.option-card input:checked + .option-content span {
    color: var(--text-main);
}

/* Feature Checkboxes */
.checkboxes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.check-card {
    position: relative;
    cursor: pointer;
}

.check-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.check-content {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.01);
}

.check-box {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: transparent;
    transition: var(--transition-fast);
}

.check-label h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}

.check-label p {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.check-card input:checked + .check-content {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
}

.check-card input:checked + .check-content .check-box {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.check-card input:checked + .check-content .check-label h4 {
    color: var(--text-main);
}

/* Estimator Sidebar */
.estimator-sidebar {
    padding: 40px 30px;
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.sidebar-summary-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.sidebar-summary-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.sidebar-summary-list li span:last-child {
    font-weight: 600;
    color: var(--text-main);
}

.price-display {
    background: var(--bg-dark);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 30px;
}

.price-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 8px;
}

.price-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 5px;
}

.price-maintenance {
    font-size: 0.85rem;
    color: var(--accent);
    display: block;
}

.btn-whatsapp-submit {
    width: 100%;
    padding: 16px;
    background: #25d366;
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background: #20ba56;
}

/* Maintenance Service Section */
.maintenance-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.maintenance-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.maintenance-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.maintenance-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.m-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.m-item i {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-top: 4px;
}

.m-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.m-item p {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin: 0;
}

/* Testimonial Slider & Track */
.testimonials-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

/* Gradient fade overlays at both edges */
.testimonials-slider::before,
.testimonials-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

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

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

.testimonials-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollTestimonials 180s linear infinite;
}

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

.testimonial-card {
    padding: 30px;
    width: 380px;
    flex-shrink: 0;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 15px));
    }
}

.client-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.client-info h4 {
    font-size: 1rem;
    font-weight: 700;
}

.client-info span {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.client-quote {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.star-rating {
    color: #fbbf24;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

/* FAQs Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border-radius: 12px;
    overflow: hidden;
}

.faq-header {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    transition: var(--transition-smooth);
    color: var(--text-muted);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
    background: rgba(255, 255, 255, 0.01);
}

.faq-content {
    padding: 0 24px 24px 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-item.active {
    border-color: var(--border-hover);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--secondary);
}

/* Contact Section */
.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.c-detail-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.c-detail-item i {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-top: 4px;
}

.c-detail-item h4 {
    font-size: 1rem;
    font-weight: 700;
}

.c-detail-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.socials-wrapper {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.contact-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 20px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.15);
}

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

/* Footer styling */
footer {
    border-top: 1px solid var(--border-color);
    background: #ffffff; /* Light background */
    color: var(--text-main);
    padding: 80px 5% 40px 5%;
    position: relative;
    overflow: hidden;
}

/* Light gradient sweep on top border */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    background-size: 200% 100%;
    animation: borderSweep 6s linear infinite;
}

@keyframes borderSweep {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo img {
    height: 76px;
    width: auto;
    display: block;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-top: 15px;
    margin-bottom: 25px;
    max-width: 320px;
    line-height: 1.6;
}

/* Footer Socials */
.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.04); /* Light dark tint for contrast */
    border: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted); /* Darker icon color for contrast */
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-link i {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-social-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    transform: translateY(-4px) rotate(8deg);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.footer-social-link:hover i {
    color: #ffffff; /* Turns white on hover background */
}

.footer-links-col h4 {
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.footer-links-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 2px;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.footer-link-icon {
    font-size: 0.7rem;
    margin-right: 8px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
    color: var(--secondary);
}

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

.footer-links-col a:hover .footer-link-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Contact and Server Status */
.footer-contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 25px;
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-contact-info li i {
    color: var(--secondary);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.footer-contact-info li:hover {
    color: var(--text-main);
}

.footer-contact-info li:hover i {
    transform: scale(1.1) rotate(-8deg);
}

.server-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 100px;
    color: #16a34a;
    font-size: 0.82rem;
    transition: all 0.3s ease;
}

.server-status-badge:hover {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.3);
    transform: scale(1.02);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1.3); opacity: 0.8; box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

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

.footer-bottom-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* Scroll Animation Class */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Promo Banner Slider */
.promo-banner-container {
    grid-column: span 2;
    position: relative;
    padding: 50px 60px;
    margin-top: 40px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(14, 165, 233, 0.04) 100%) !important;
    border: 1px solid var(--border-hover) !important;
    overflow: hidden;
}

.promo-slider {
    position: relative;
    height: 180px;
}

.promo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
    gap: 40px;
    pointer-events: none;
}

.promo-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.promo-content-wrapper {
    flex: 1;
    max-width: 70%;
}

/* Base state for staggered entry */
.promo-slide .promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--primary-glow);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.05s;
}

.promo-slide h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-main);
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.15s;
}

.promo-slide p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.25s;
}

.promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    transition: color 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.35s;
}

.promo-cta:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

.promo-icon-box {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    background: rgba(37, 99, 235, 0.05);
    border: 1px dashed rgba(37, 99, 235, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0;
    transform: scale(0.8) rotate(-15deg);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.2s;
}

/* Active animation state trigger */
.promo-slide.active .promo-badge,
.promo-slide.active h3,
.promo-slide.active p,
.promo-slide.active .promo-cta {
    opacity: 1;
    transform: translateY(0);
}

.promo-slide.active .promo-icon-box {
    opacity: 1;
    transform: scale(1) rotate(5deg);
}

.promo-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.promo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-dot.active {
    width: 24px;
    border-radius: 100px;
    background: var(--primary);
}

/* Responsiveness */
@media (max-width: 1024px) {
    header {
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        padding: 14px 5%;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }

    header.scrolled {
        top: 0;
        padding: 10px 5%;
    }

    .logo-img {
        height: 52px;
    }

    header.scrolled .logo-img {
        height: 44px;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        padding: 20px 5% 30px 5%;
        gap: 16px;
        align-items: stretch;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        color: var(--text-muted);
    }

    .nav-links a::after {
        display: none !important;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--primary);
        padding-left: 5px;
    }

    .cta-nav {
        margin-top: 10px;
        text-align: center;
        width: 100%;
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
    }
    
    .cta-nav:hover {
        transform: none;
    }

    /* Sections and Grids Layouts */
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        margin: 0 auto 30px auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .promo-banner-container {
        grid-column: span 2;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .estimator-layout {
        grid-template-columns: 1fr;
    }
    
    .estimator-sidebar {
        position: static;
    }
    
    .maintenance-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Section and Spacings */
    section {
        padding: 50px 5% 30px 5% !important;
    }
    
    #contact {
        padding-bottom: 50px !important;
    }
    
    .section-header {
        margin-bottom: 30px !important;
    }
    
    /* Section Titles */
    .section-header h2 {
        font-size: 1.8rem !important;
    }
    
    .maintenance-content h3,
    .contact-info h3 {
        font-size: 1.6rem !important;
    }
    
    .standards-title {
        font-size: 1.3rem !important;
    }
    
    /* FAQ Accordion */
    .faq-header {
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        padding: 16px 20px !important;
    }
    
    .faq-content {
        padding: 0 20px 20px 20px !important;
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
    }

    /* Buttons */
    .btn-primary, 
    .btn-secondary {
        padding: 12px 22px !important;
        font-size: 0.9rem !important;
    }
    
    .hero-ctas {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero {
        padding-top: 130px !important;
    }

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

    .stats-bar {
        grid-template-columns: 1fr;
        margin-top: 20px !important;
        margin-bottom: 40px !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .promo-banner-container {
        grid-column: span 1;
        padding: 35px 24px;
    }
    
    .promo-slider {
        height: auto;
        min-height: 260px;
    }
    
    .promo-slide {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .promo-content-wrapper {
        max-width: 100%;
    }
    
    .promo-icon-box {
        display: none;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .maintenance-list {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .options-grid.two-cols {
        grid-template-columns: 1fr;
    }
    
    .checkboxes-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* Floating Consultation Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    font-family: var(--font-sans);
}

.chat-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-toggle:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 35px rgba(6, 182, 212, 0.45);
}

.chat-toggle i {
    font-size: 1.2rem;
}

.chat-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.chat-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    position: relative;
}

.admin-avatar {
    position: relative;
    width: 44px;
    height: 44px;
}

.admin-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border: 2px solid #fff;
    border-radius: 50%;
}

.admin-info h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.admin-info p {
    margin: 0;
    font-size: 0.75rem;
    opacity: 0.85;
}

.chat-close {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
}

.chat-close:hover {
    color: #fff;
}

.chat-body {
    padding: 20px;
    background: #f8fafc;
    height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.4;
    max-width: 85%;
}

.chat-msg.system {
    background: #ffffff;
    color: var(--text-main);
    border: 1px solid rgba(15, 23, 42, 0.05);
    align-self: flex-start;
    border-top-left-radius: 4px;
}

.chat-msg.user {
    background: var(--primary);
    color: #ffffff;
    align-self: flex-end;
    border-top-right-radius: 4px;
}

.chat-input-area {
    display: flex;
    padding: 12px 16px;
    background: #ffffff;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    gap: 10px;
    align-items: center;
}

.chat-input-area input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    color: var(--text-main);
}

.chat-send-btn {
    background: var(--primary);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-send-btn:hover {
    background: var(--secondary);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .chat-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .chat-popup {
        width: 320px;
        bottom: 70px;
    }
    
    .chat-toggle span {
        display: none;
    }
    
    .chat-toggle {
        padding: 14px;
        border-radius: 50%;
    }
}

/* Standards Card Styling */
.standards-card {
    padding: 40px !important;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
}

.standards-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.standards-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: -10px;
}

.standards-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.standard-metric-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.metric-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.metric-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.metric-details {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.metric-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
}

.metric-value {
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.metric-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(15, 23, 42, 0.05);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}

.metric-bar {
    height: 100%;
    border-radius: 99px;
    position: relative;
}

/* Colors and Gradients */
.bg-orange-soft { background: rgba(249, 115, 22, 0.1); }
.bg-green-soft { background: rgba(16, 185, 129, 0.1); }
.bg-blue-soft { background: rgba(59, 130, 246, 0.1); }

.icon-orange { color: #f97316; }
.icon-green { color: #10b981; }
.icon-blue { color: #3b82f6; }

.text-orange { color: #ea580c; }
.text-green { color: #059669; }
.text-blue { color: #2563eb; }

.metric-badge.bg-orange-soft { color: #ea580c; }
.metric-badge.bg-green-soft { color: #059669; }
.metric-badge.bg-blue-soft { color: #2563eb; }

.bar-orange {
    background: linear-gradient(90deg, #fdba74, #f97316);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
}
.bar-green {
    background: linear-gradient(90deg, #6ee7b7, #10b981);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}
.bar-blue {
    background: linear-gradient(90deg, #93c5fd, #3b82f6);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

