@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    --bg-body: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --primary: #2563eb;
    --primary-glow: rgba(37, 99, 235, 0.4);
    --accent: #0ea5e9;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --radius-lg: 1.25rem;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* --- VISUAL ENHANCEMENTS --- */
/* 1. Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9, #6366f1);
    z-index: 999999;
    width: 0%;
    transition: width 0.1s ease-out;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.6);
}

/* 2. Trailing Cursor Aura (Only for non-touch devices) */
@media (pointer: fine) {
    .custom-cursor-aura {
        position: fixed;
        top: 0;
        left: 0;
        width: 36px;
        height: 36px;
        border: 2px solid rgba(37, 99, 235, 0.5);
        border-radius: 50%;
        z-index: 999998;
        pointer-events: none;
        transform: translate(-50%, -50%);
        transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
        box-shadow: 0 0 10px rgba(37, 99, 235, 0.2);
    }

    .custom-cursor-aura.hover {
        width: 55px;
        height: 55px;
        background-color: rgba(37, 99, 235, 0.1);
        border-color: rgba(37, 99, 235, 0.8);
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
    }
}

/* 3. Pulse Glow Animation for CTA Button */
.btn-getstarted {
    animation: pulse-glow 2s infinite !important;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

/* --- TAES PRELOADER --- */
/* --- PREMIUM COOKIE CARD --- */
.cookie-card {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 340px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.cookie-card.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.cookie-header i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 12px;
}

.cookie-header h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-main);
}

.cookie-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

.cookie-footer .btn-primary-modern {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.cookie-footer .btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.cookie-link {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.cookie-link:hover {
    color: var(--primary);
}

/* ========================================
   PREMIUM PRELOADER 
   ======================================== */
#preloader-active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #060b18;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
    overflow: hidden;
}

/* Morphing Blobs */
.preloader-blobs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    filter: blur(80px);
}

.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.4), transparent 70%);
    top: -10%;
    left: -5%;
    animation: blobMorph1 8s ease-in-out infinite;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.35), transparent 70%);
    bottom: -5%;
    right: -5%;
    animation: blobMorph2 10s ease-in-out infinite;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3), transparent 70%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: blobMorph3 12s ease-in-out infinite;
}

@keyframes blobMorph1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(60px, 40px) scale(1.15);
    }

    66% {
        transform: translate(-30px, 80px) scale(0.9);
    }
}

@keyframes blobMorph2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-50px, -60px) scale(1.1);
    }

    66% {
        transform: translate(40px, -30px) scale(0.95);
    }
}

@keyframes blobMorph3 {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
    }
}

/* Grid Overlay */
.preloader-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridFade 4s ease-in-out infinite alternate;
}

@keyframes gridFade {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.7;
    }
}

/* Ambient Particles */
.preloader-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: particleFloat 7s infinite ease-in-out;
}

.particle:nth-child(1) {
    left: 12%;
    top: 18%;
    width: 3px;
    height: 3px;
    background: rgba(37, 99, 235, 0.6);
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 78%;
    top: 12%;
    width: 4px;
    height: 4px;
    background: rgba(14, 165, 233, 0.5);
    animation-delay: 0.8s;
}

.particle:nth-child(3) {
    left: 42%;
    top: 78%;
    width: 3px;
    height: 3px;
    background: rgba(99, 102, 241, 0.5);
    animation-delay: 1.6s;
}

.particle:nth-child(4) {
    left: 88%;
    top: 55%;
    width: 5px;
    height: 5px;
    background: rgba(37, 99, 235, 0.4);
    animation-delay: 2.4s;
}

.particle:nth-child(5) {
    left: 22%;
    top: 82%;
    width: 4px;
    height: 4px;
    background: rgba(14, 165, 233, 0.4);
    animation-delay: 3.2s;
}

.particle:nth-child(6) {
    left: 65%;
    top: 30%;
    width: 3px;
    height: 3px;
    background: rgba(99, 102, 241, 0.6);
    animation-delay: 4s;
}

.particle:nth-child(7) {
    left: 8%;
    top: 50%;
    width: 4px;
    height: 4px;
    background: rgba(37, 99, 235, 0.5);
    animation-delay: 4.8s;
}

.particle:nth-child(8) {
    left: 55%;
    top: 90%;
    width: 3px;
    height: 3px;
    background: rgba(14, 165, 233, 0.6);
    animation-delay: 5.6s;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        transform: translateY(-100px) scale(1.8);
        opacity: 0.5;
    }

    90% {
        opacity: 0;
    }
}

/* Content Container */
.preloader-content {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

/* Triple Orbital Rings */
.preloader-rings {
    position: absolute;
    width: 280px;
    height: 280px;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
}

.preloader-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid transparent;
}

.ring-outer {
    inset: 0;
    border-top-color: rgba(37, 99, 235, 0.7);
    border-right-color: rgba(37, 99, 235, 0.2);
    animation: ringRotate 2.5s linear infinite;
}

.ring-middle {
    inset: 22px;
    border-bottom-color: rgba(14, 165, 233, 0.6);
    border-left-color: rgba(14, 165, 233, 0.15);
    animation: ringRotate 3.5s linear infinite reverse;
}

.ring-inner {
    inset: 44px;
    border-top-color: rgba(99, 102, 241, 0.5);
    border-right-color: rgba(99, 102, 241, 0.1);
    animation: ringRotate 2s linear infinite;
}

.ring-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
}

.ring-outer .ring-dot {
    background: #2563eb;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.8), 0 0 30px rgba(37, 99, 235, 0.4);
}

.ring-middle .ring-dot {
    background: #0ea5e9;
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.8), 0 0 30px rgba(14, 165, 233, 0.4);
    width: 5px;
    height: 5px;
    top: auto;
    bottom: -2.5px;
}

.ring-inner .ring-dot {
    background: #6366f1;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.8), 0 0 30px rgba(99, 102, 241, 0.4);
    width: 4px;
    height: 4px;
    top: -2px;
}

@keyframes ringRotate {
    to {
        transform: rotate(360deg);
    }
}

/* Logo */
.preloader-logo-container {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
}

.preloader-logo-img {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 0 25px rgba(37, 99, 235, 0.6));
    animation: logoPulse 3s ease-in-out infinite;
}

.preloader-logo-text {
    font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: #fff;
    letter-spacing: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 30px rgba(37, 99, 235, 0.7), 0 0 60px rgba(37, 99, 235, 0.3);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 25px rgba(37, 99, 235, 0.5));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 40px rgba(37, 99, 235, 0.8));
    }
}

/* Progress Bar */
.preloader-progress {
    width: 260px;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: visible;
    position: relative;
}

.preloader-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #0ea5e9, #6366f1, #2563eb);
    background-size: 300% 100%;
    border-radius: 10px;
    transition: width 0.15s ease-out;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.6);
    animation: barShimmer 2s linear infinite;
}

.preloader-progress-glow {
    position: absolute;
    top: -4px;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0ea5e9;
    box-shadow: 0 0 16px rgba(14, 165, 233, 0.9), 0 0 40px rgba(14, 165, 233, 0.4);
    transition: left 0.15s ease-out;
    opacity: 0;
}

@keyframes barShimmer {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 300% 0;
    }
}

/* Info Section */
.preloader-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 260px;
    margin-top: 16px;
}

.loading-status {
    font-family: 'JetBrains Mono', 'Inter', monospace;
    color: rgba(148, 163, 184, 0.6);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.loading-percent {
    font-family: 'JetBrains Mono', 'Inter', monospace;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
}


/* --- INFINITE MARQUEE SCROLL --- */
.marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    text-align: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
    display: inline-flex;
    gap: 30px;
    align-items: center;
    animation: marqueeScroll 25s linear infinite;
    will-change: transform;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Reference Items */
.reference-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
}

.reference-item img {
    max-height: 50px;
    width: auto;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: grayscale(100%);
    cursor: pointer;
}

.reference-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Testimonial Marquee */
.testimonial-marquee {
    padding: 20px 0;
    text-align: center;
}

.testimonial-marquee .marquee-track {
    animation-duration: 40s;
    gap: 28px;
    align-items: stretch;
}

.testimonial-item {
    flex-shrink: 0;
    width: 360px;
    max-width: 85vw;
}

.testimonial-item .testimonial-card {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

/* --- PREMIUM CONTACT SECTION --- */
.premium-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-card-modern {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-info-card-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.info-icon-modern {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
}

.info-icon-modern.gradient-blue {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.info-icon-modern.gradient-green {
    background: linear-gradient(135deg, #059669, #10b981);
}

.info-icon-modern.gradient-purple {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.info-icon-modern.gradient-orange {
    background: linear-gradient(135deg, #ea580c, #f97316);
}

.info-body h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main, #1e293b);
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.info-body p {
    font-size: 0.88rem;
    color: var(--text-muted, #64748b);
    margin: 0;
    line-height: 1.5;
}

.info-body a {
    color: var(--text-muted, #64748b);
    text-decoration: none;
    transition: color 0.3s;
}

.info-body a:hover {
    color: var(--primary, #2563eb);
}

/* Map */
.contact-map-modern {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-map-modern iframe {
    display: block;
    border-radius: 16px;
}

/* Form Card */
.contact-form-modern {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.form-header-modern h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main, #1e293b);
    margin-bottom: 6px;
}

.form-header-modern p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.contact-form-modern .form-control {
    border-radius: 12px;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    padding: 14px 16px;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: rgba(248, 250, 252, 0.8);
}

.contact-form-modern .form-control:focus {
    border-color: var(--primary, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: #fff;
}

.contact-form-modern .btn-primary-modern {
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--primary, #2563eb) 0%, var(--accent, #3b82f6) 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s;
}

.contact-form-modern .btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

@media (max-width: 991px) {
    .contact-form-modern {
        padding: 24px;
    }
}




/* --- HERO REFINEMENT --- */
.hero {
    min-height: 100vh;
    background: #fff;
    padding-top: 120px;
}

.hero-visual {
    position: relative;
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    top: -20%;
    left: -20%;
    z-index: -1;
}

/* --- COMPONENT CARDS --- */
.card-hover-effect {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover-effect:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

/* --- DECORATIVE ELEMENTS --- */
.tech-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--primary);
    background: #eff6ff;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-light), transparent);
    margin: 4rem 0;
}

/* --- BUTTONS --- */
.btn-modern {
    border-radius: 50px !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 1rem 2.5rem !important;
    transition: 0.4s;
}

.btn-primary-modern {
    background: var(--bg-dark);
    color: #fff;
    border: none;
}

.btn-primary-modern:hover {
    background: var(--primary);
    box-shadow: 0 10px 20px var(--primary-glow);
    transform: translateY(-3px);
}

/* --- PRICING & WHATSAPP --- */
.pricing-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.btn-whatsapp {
    background: #25D366 !important;
    color: #fff !important;
    border: none !important;
    transition: 0.3s;
    margin-top: auto;
    /* Pushes button to bottom in flex column */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
}

.btn-whatsapp:hover {
    background: #128C7E !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    color: #fff !important;
}

/* --- PREMIUM PRICING CARDS --- */
.pricing-card-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 22px;
    padding: 36px 30px 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.1);
}

/* Featured / Popular Card */
.pricing-featured {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: scale(1.04);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.25);
}

.pricing-featured:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.35);
}

.pricing-featured .pricing-card-header h3,
.pricing-featured .pricing-card-price,
.pricing-featured .price-amount,
.pricing-featured .price-currency {
    color: #fff !important;
}

.pricing-featured .price-contact {
    color: #fff !important;
}

.pricing-featured .price-period {
    color: rgba(255, 255, 255, 0.5) !important;
}

.pricing-featured .pricing-card-features ul li {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-featured .pricing-card-features ul li i {
    color: #4ade80 !important;
}

/* Badge */
.pricing-badge {
    position: absolute;
    top: 18px;
    right: -32px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 40px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

/* Header */
.pricing-card-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main, #1e293b);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

/* Price Display */
.pricing-card-price {
    padding: 18px 0 22px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 22px;
    display: flex;
    align-items: baseline;
    gap: 2px;
    flex-wrap: wrap;
}

.pricing-featured .pricing-card-price {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.price-currency {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary, #2563eb);
    vertical-align: super;
    margin-right: 2px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main, #1e293b);
    line-height: 1;
    letter-spacing: -1px;
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted, #94a3b8);
    margin-left: 4px;
    font-weight: 500;
}

.price-contact {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main, #1e293b);
    line-height: 1;
    padding: 8px 0;
}

/* Features */
.pricing-card-features {
    flex-grow: 1;
    margin-bottom: 24px;
}

.pricing-card-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-card-features ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-size: 0.92rem;
    color: var(--text-muted, #64748b);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.pricing-card-features ul li:last-child {
    border-bottom: none;
}

.pricing-card-features ul li i {
    color: var(--primary, #2563eb);
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* CTA Button */
.pricing-card-action {
    margin-top: auto;
}

.btn-pricing-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

.btn-pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.btn-pricing-featured {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-pricing-featured:hover {
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

@media (max-width: 991px) {
    .pricing-featured {
        transform: scale(1);
    }

    .pricing-featured:hover {
        transform: translateY(-6px);
    }

    .pricing-card-modern {
        padding: 28px 24px 24px;
    }
}

/* --- TESTIMONIAL CARDS --- */
.testimonial-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 24px 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    margin: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary, #2563eb), var(--accent, #3b82f6));
    opacity: 0;
    transition: opacity 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.15);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card .quote-icon-left,
.testimonial-card .quote-icon-right {
    color: rgba(37, 99, 235, 0.2);
    font-size: 22px;
    vertical-align: middle;
}

.testimonial-card .quote-icon-left {
    margin-right: 4px;
}

.testimonial-card .quote-icon-right {
    margin-left: 4px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted, #64748b);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-top: 0;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-card .profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card .testimonial-img {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(37, 99, 235, 0.1);
}

.testimonial-card h3 {
    font-size: 0.92rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-main, #1e293b);
}

.testimonial-card h4 {
    font-size: 0.8rem;
    color: var(--accent, #3b82f6);
    margin: 2px 0 0;
    font-weight: 500;
}

.testimonial-card .stars {
    color: #ffc107;
    margin-left: auto;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* --- ABOUT PAGE REDESIGN --- */
.about-img-container {
    position: relative;
    padding: 20px;
}

.about-shape-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-glow);
    border-radius: 50%;
    top: -20px;
    left: -20px;
    filter: blur(40px);
}

.about-shape-2 {
    width: 150px;
    height: 150px;
    background: rgba(14, 165, 233, 0.3);
    border-radius: 50%;
    bottom: -20px;
    right: -20px;
    filter: blur(30px);
}

.bg-primary-soft {
    background-color: rgba(37, 99, 235, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.mission-vision-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.mission-vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.mission-vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.mission-vision-card:hover .icon-wrapper {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.text-accent {
    color: var(--accent);
}

/* --- PAGE HEADER CONSOLIDATED --- */
.page-header {
    padding: 120px 0 60px 0;
    min-height: 40vh;
    position: relative;
    background-color: var(--bg-dark);
    background-image: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
    color: #fff;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.page-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff !important;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
}

.page-header .breadcrumb-item.active {
    color: var(--accent);
    font-weight: 600;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* --- SERVICE DETAIL STYLES --- */
.service-box h4 {
    font-size: 28px;
    font-weight: 700;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.services-content p {
    font-size: 16px;
    color: var(--text-muted);
}

/* --- BLOG DETAIL STYLES --- */
.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0 0 10px 0;
    margin-bottom: 20px;
    color: var(--text-main);
    position: relative;
    border-bottom: 2px solid var(--border-light);
}

.sidebar-title::after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 2px;
    background: var(--primary);
    bottom: -2px;
    left: 0;
}

.blog-details-content .content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-muted);
}

/* --- CONTACT PAGE STYLES --- */
.map-container iframe {
    filter: grayscale(100%) invert(92%) contrast(83%);
    border-radius: 0;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
    color: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    z-index: 1;
}

.contact-info-card .info-header,
.contact-info-card .info-item {
    position: relative;
    z-index: 2;
}

.contact-info-card .info-header h3 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-info-card .info-header p {
    color: rgba(255, 255, 255, 0.7);
}

.contact-info-card .icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
}

.form-floating>.form-control {
    border-radius: 10px;
    border: 1px solid var(--border-light);
    height: 60px;
}

.form-floating>textarea.form-control {
    height: 150px;
}

.form-floating>.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-floating>label {
    color: var(--text-muted);
}

/* ===================================================
   SMART ASSISTANT v2 - PREMIUM CHATBOT
   =================================================== */

/* --- FAB Button --- */
.chat-fab-v2 {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
    font-size: 24px;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.chat-fab-v2:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.5);
}

.chat-fab-icon-open,
.chat-fab-icon-close {
    position: absolute;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.chat-fab-icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.chat-fab-v2.active .chat-fab-icon-open {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.chat-fab-v2.active .chat-fab-icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.chat-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    transition: all 0.3s;
}

.chat-fab-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.3);
    animation: chatPulse 2s ease-out infinite;
    pointer-events: none;
}

.chat-fab-v2.active .chat-fab-pulse {
    display: none;
}

@keyframes chatPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* --- Chat Widget Container --- */
.chat-widget-v2 {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 540px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(24px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.chat-widget-v2.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

/* --- Chat Header --- */
.chat-header-v2 {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    color: #fff;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar-v2 {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: relative;
    backdrop-filter: blur(4px);
}

.chat-status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid #0f172a;
    animation: statusPulse 2s ease infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    50% {
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0);
    }
}

.chat-header-info h6 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.chat-status-text {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.3px;
}

.chat-header-actions {
    display: flex;
    gap: 4px;
}

.chat-header-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.chat-header-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* --- Chat Body --- */
.chat-body-v2 {
    flex: 1;
    padding: 20px 16px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 4px;
    scroll-behavior: smooth;
}

.chat-body-v2::-webkit-scrollbar {
    width: 5px;
}

.chat-body-v2::-webkit-scrollbar-track {
    background: transparent;
}

.chat-body-v2::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

/* --- Message Bubbles --- */
.chat-msg-row {
    display: flex;
    gap: 8px;
    max-width: 88%;
    animation: msgSlideIn 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.chat-msg-row.bot-row {
    align-self: flex-start;
}

.chat-msg-row.user-row {
    align-self: flex-end;
    flex-direction: row-reverse;
}

@keyframes msgSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.msg-avatar {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.bot-row .msg-avatar {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
}

.user-row .msg-avatar {
    background: linear-gradient(135deg, #64748b, #475569);
    color: #fff;
}

.msg-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.msg-bubble {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.55;
    word-wrap: break-word;
}

.msg-bubble p {
    margin: 0;
}

.bot-row .msg-bubble {
    background: #fff;
    color: #334155;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom-left-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.user-row .msg-bubble {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border-bottom-right-radius: 6px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.msg-time {
    font-size: 0.68rem;
    color: #94a3b8;
    padding: 0 4px;
}

.user-row .msg-time {
    text-align: right;
}

/* --- Typing Indicator --- */
.typing-indicator {
    display: flex;
    gap: 8px;
    align-self: flex-start;
    max-width: 88%;
    animation: msgSlideIn 0.3s ease;
}

.typing-indicator .msg-avatar {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.typing-dots {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 16px;
    border-bottom-left-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.typing-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #94a3b8;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.16s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.32s;
}

@keyframes typingBounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

/* --- Quick Reply Chips --- */
.chat-quick-replies {
    padding: 10px 16px 8px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    background: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.quick-reply-chip {
    padding: 6px 12px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.quick-reply-chip i {
    font-size: 0.72rem;
}

.quick-reply-chip:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

/* --- Chat Input --- */
.chat-input-area-v2 {
    padding: 12px 14px;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.chat-input-v2 {
    flex: 1;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 22px;
    padding: 10px 18px;
    font-size: 0.88rem;
    outline: none;
    background: #f8fafc;
    color: #334155;
    transition: all 0.25s;
}

.chat-input-v2:focus {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.chat-input-v2::placeholder {
    color: #94a3b8;
}

.chat-send-btn-v2 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.chat-send-btn-v2:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.chat-send-btn-v2:active {
    transform: scale(0.95);
}

/* --- Date Separator --- */
.chat-date-sep {
    text-align: center;
    font-size: 0.72rem;
    color: #94a3b8;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-date-sep::before,
.chat-date-sep::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
}

/* --- Dark Mode for Chat --- */
body.dark-mode .chat-widget-v2 {
    background: #1e293b;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

body.dark-mode .chat-body-v2 {
    background: #0f172a;
}

body.dark-mode .chat-body-v2::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .bot-row .msg-bubble {
    background: #1e293b;
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .msg-time {
    color: #64748b;
}

body.dark-mode .chat-quick-replies {
    background: #0f172a;
    border-top-color: rgba(255, 255, 255, 0.04);
}

body.dark-mode .quick-reply-chip {
    background: #1e293b;
    border-color: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

body.dark-mode .quick-reply-chip:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
}

body.dark-mode .chat-input-area-v2 {
    background: #1e293b;
    border-top-color: rgba(255, 255, 255, 0.04);
}

body.dark-mode .chat-input-v2 {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

body.dark-mode .chat-input-v2:focus {
    background: #0f172a;
    border-color: #3b82f6;
}

body.dark-mode .chat-input-v2::placeholder {
    color: #64748b;
}

body.dark-mode .typing-dots {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .typing-dots span {
    background: #64748b;
}

body.dark-mode .chat-date-sep {
    color: #64748b;
}

body.dark-mode .chat-date-sep::before,
body.dark-mode .chat-date-sep::after {
    background: rgba(255, 255, 255, 0.06);
}

/* --- Responsive --- */
@media (max-width: 480px) {
    .chat-widget-v2 {
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .chat-fab-v2 {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .chat-quick-replies {
        padding: 8px 12px;
    }
}

/* ===================================================
   QUOTE REQUEST FORM
   =================================================== */
.quote-form {
    padding: 60px 0 80px;
}

.quote-card {
    background: #fff;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

/* Progress Steps */
.quote-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.quote-steps .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: all 0.4s;
}

.quote-steps .step.active {
    opacity: 1;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #94a3b8;
    border: 2px solid #e2e8f0;
    transition: all 0.4s;
}

.step.active .step-circle {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.quote-steps .step span {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.step.active span {
    color: var(--primary);
}

.step-line {
    width: 80px;
    height: 3px;
    background: #e2e8f0;
    margin: 0 16px;
    margin-bottom: 28px;
    border-radius: 2px;
    transition: background 0.4s;
}

.step-line.active {
    background: var(--primary);
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeInUp 0.4s ease-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 1.25rem;
}

/* Option Cards (Project Type) */
.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.option-card {
    cursor: pointer;
}

.option-card input[type="radio"] {
    display: none;
}

.option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    text-align: center;
    transition: all 0.3s;
    background: #fafbfc;
}

.option-content i {
    font-size: 24px;
    color: #64748b;
    transition: color 0.3s;
}

.option-content span {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.option-card input[type="radio"]:checked+.option-content {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.06);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.option-card input[type="radio"]:checked+.option-content i {
    color: var(--primary);
}

.option-card input[type="radio"]:checked+.option-content span {
    color: var(--primary);
}

.option-content:hover {
    border-color: #94a3b8;
    transform: translateY(-2px);
}

/* Budget/Timeline Options */
.budget-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.budget-option {
    cursor: pointer;
}

.budget-option input[type="radio"] {
    display: none;
}

.budget-content {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s;
    background: #fafbfc;
}

.budget-label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}

.budget-option input[type="radio"]:checked+.budget-content {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.06);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.budget-option input[type="radio"]:checked+.budget-content .budget-label {
    color: var(--primary);
}

.budget-content:hover {
    border-color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    .quote-card {
        padding: 24px 16px;
    }

    .quote-steps .step span {
        font-size: 11px;
    }

    .step-line {
        width: 40px;
    }

    .option-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================== */
/* --- PREMIUM FOOTER --- */
/* ============================== */
.footer-modern {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.footer-newsletter-modern {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-newsletter-modern h4 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 12px;
    padding: 12px 18px;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary, #3b82f6);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.btn-newsletter {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s;
    border: none;
}

.btn-newsletter:hover {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: #fff;
    transform: translateY(-1px);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-logo {
    height: 36px;
    width: auto;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    font-size: 0.88rem;
}

.footer-contact-info {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
}

.footer-contact-item i {
    color: var(--primary, #3b82f6);
    font-size: 0.95rem;
}

.footer-links-section h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-section h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary, #3b82f6);
    border-radius: 2px;
}

.footer-links-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-section ul li {
    margin-bottom: 8px;
}

.footer-links-section ul li a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links-section ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-links-section ul li a i {
    font-size: 0.7rem;
    color: var(--primary, #3b82f6);
}

.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.social-icon:hover {
    background: var(--primary, #3b82f6);
    color: #fff;
    border-color: var(--primary, #3b82f6);
    transform: translateY(-3px);
}

.footer-legal {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.25s;
}

.footer-legal a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    font-size: 0.85rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.footer-bottom strong {
    color: #fff;
}

.footer-bottom-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.25s;
}

.footer-bottom-links a:hover {
    color: #fff;
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.2);
}

/* ============================== */
/* --- SCROLL TO TOP BUTTON --- */
/* ============================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.3);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.45);
}

/* ============================== */
/* --- BLOG DETAIL PAGE --- */
/* ============================== */
.blog-detail-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.post-img-wrapper {
    overflow: hidden;
    margin-bottom: 0 !important;
}

.post-img-wrapper img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.4s;
}

.blog-detail-card:hover .post-img-wrapper img {
    transform: scale(1.02);
}

.blog-meta-bar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 28px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.meta-left,
.meta-right {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #64748b;
}

.meta-item i {
    color: var(--primary, #2563eb);
    font-size: 0.9rem;
}

.blog-content-body {
    padding: 28px;
    line-height: 1.85;
    font-size: 1.02rem;
    color: #334155;
}

.blog-content-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 16px 0;
}

.blog-content-body h2,
.blog-content-body h3 {
    margin-top: 28px;
    margin-bottom: 12px;
    color: #1e293b;
}

.blog-content-body blockquote {
    border-left: 4px solid var(--primary, #2563eb);
    padding: 16px 20px;
    margin: 20px 0;
    background: rgba(59, 130, 246, 0.04);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #475569;
}

/* Share Bar */
.blog-share-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    flex-wrap: wrap;
}

.share-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #475569;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
}

.share-twitter {
    background: #1da1f2;
    color: #fff;
}

.share-facebook {
    background: #1877f2;
    color: #fff;
}

.share-linkedin {
    background: #0a66c2;
    color: #fff;
}

.share-whatsapp {
    background: #25d366;
    color: #fff;
}

.share-copy {
    background: #e2e8f0;
    color: #475569;
}

.share-copy.copied {
    background: #22c55e;
    color: #fff;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.85;
    color: #fff;
}

/* Related Posts */
.section-subtitle {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.related-post-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.related-post-img img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-post-card:hover .related-post-img img {
    transform: scale(1.05);
}

.related-post-body {
    padding: 16px;
}

.related-post-date {
    font-size: 0.78rem;
    color: #94a3b8;
}

.related-post-body h5 {
    font-size: 0.92rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 6px;
    margin-bottom: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Comment Cards */
.comment-card {
    display: flex;
    gap: 14px;
    padding: 18px;
    background: #f8fafc;
    border-radius: 14px;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.comment-content h6 {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 0;
    color: #1e293b;
}

.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.comment-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

.comment-form-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.comment-form-card h5 {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 0;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: #64748b;
    font-size: 0.9rem;
    transition: all 0.25s;
}

.category-list li:last-child a {
    border-bottom: none;
}

.category-list li a:hover {
    color: var(--primary, #2563eb);
    padding-left: 6px;
}

.category-list li a i {
    color: var(--primary, #2563eb);
    font-size: 0.72rem;
}

.recent-post-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    text-decoration: none;
    transition: all 0.25s;
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-item:hover {
    padding-left: 4px;
}

.recent-post-item img {
    width: 72px;
    height: 52px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.recent-post-item h6 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================== */
/* --- VISITOR DARK MODE TOGGLE --- */
/* ============================== */
.visitor-theme-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.visitor-theme-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.theme-icon-dark {
    font-size: 1.2rem;
    color: #475569;
    transition: opacity 0.3s, transform 0.3s;
}

.theme-icon-light {
    font-size: 1.2rem;
    color: #fbbf24;
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg);
    transition: opacity 0.3s, transform 0.3s;
}

/* ============================== */
/* --- VISITOR DARK MODE STYLES --- */
/* ============================== */
body.dark-mode {
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
}

html[data-visitor-theme="dark"] body {
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
}

body.dark-mode .visitor-theme-toggle {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .theme-icon-dark {
    opacity: 0;
    transform: rotate(90deg);
}

body.dark-mode .theme-icon-light {
    opacity: 1;
    transform: rotate(0deg);
}

body.dark-mode .scroll-top-btn {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
}

/* Dark mode - Section backgrounds */
body.dark-mode section,
body.dark-mode .light-background {
    background-color: #0f172a !important;
}

body.dark-mode .section-title h2,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: #e2e8f0 !important;
}

body.dark-mode p,
body.dark-mode span,
body.dark-mode li {
    color: #94a3b8 !important;
}

/* Dark mode - Bootstrap utility overrides */
body.dark-mode .text-dark {
    color: #e2e8f0 !important;
}

body.dark-mode .text-muted {
    color: #94a3b8 !important;
}

body.dark-mode .card-title a.text-dark,
body.dark-mode a.text-dark {
    color: #e2e8f0 !important;
}

body.dark-mode .card-title a.text-dark:hover,
body.dark-mode a.text-dark:hover {
    color: #60a5fa !important;
}

/* Dark mode - Cards & Containers */
body.dark-mode .card,
body.dark-mode .pricing-card-modern,
body.dark-mode .blog-detail-card,
body.dark-mode .sidebar-widget,
body.dark-mode .comment-form-card,
body.dark-mode .related-post-card,
body.dark-mode .contact-info-card-modern,
body.dark-mode .contact-form-modern,
body.dark-mode .quote-card,
body.dark-mode .testimonial-card {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    color: #cbd5e1 !important;
}

body.dark-mode .comment-card {
    background: rgba(30, 41, 59, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.04) !important;
}

body.dark-mode .pricing-card-modern:not(.pricing-featured) .price-amount,
body.dark-mode .pricing-card-modern:not(.pricing-featured) .pricing-card-header h3,
body.dark-mode .pricing-card-modern:not(.pricing-featured) .price-contact {
    color: #e2e8f0 !important;
}

body.dark-mode .pricing-card-modern:not(.pricing-featured) .pricing-card-features ul li {
    color: #94a3b8;
    border-bottom-color: rgba(255, 255, 255, 0.04);
}

body.dark-mode .pricing-card-price {
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

/* Dark mode - Forms */
body.dark-mode .form-control,
body.dark-mode .form-select {
    background-color: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e2e8f0 !important;
}

body.dark-mode .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

/* Fix for overlapping placeholder and labels in form-floating components */
body.dark-mode .form-floating>.form-control::placeholder,
body.dark-mode .form-floating>.form-control:focus::placeholder {
    color: transparent !important;
}

body.dark-mode .form-floating>label {
    color: #64748b !important;
}

/* Dark mode - Blog content */
body.dark-mode .blog-content-body {
    color: #cbd5e1;
}

body.dark-mode .blog-content-body blockquote {
    background: rgba(59, 130, 246, 0.08);
    color: #94a3b8;
}

body.dark-mode .blog-meta-bar,
body.dark-mode .blog-share-bar {
    border-color: rgba(255, 255, 255, 0.06) !important;
}

body.dark-mode .meta-item,
body.dark-mode .share-label {
    color: #94a3b8;
}

body.dark-mode .section-subtitle,
body.dark-mode .widget-title {
    color: #e2e8f0 !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

body.dark-mode .related-post-body h5,
body.dark-mode .recent-post-item h6,
body.dark-mode .comment-content h6 {
    color: #e2e8f0 !important;
}

body.dark-mode .category-list li a,
body.dark-mode .recent-post-item {
    border-bottom-color: rgba(255, 255, 255, 0.04) !important;
}

/* Dark mode - Navbar override */
body.dark-mode .header {
    background: rgba(15, 23, 42, 0.95) !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

body.dark-mode .navmenu a {
    color: rgba(255, 255, 255, 0.7) !important;
}

body.dark-mode .navmenu a:hover,
body.dark-mode .navmenu .active {
    color: #fff !important;
}

/* Dark mode - Cookie, Chat */
body.dark-mode .cookie-card {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .share-copy {
    background: #334155;
    color: #94a3b8;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-newsletter-modern {
        padding: 30px 0;
        text-align: center;
    }

    .footer-newsletter-modern .row {
        flex-direction: column;
        align-items: center;
    }

    .footer-main {
        padding: 40px 0 30px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 8px;
    }

    .blog-meta-bar {
        flex-direction: column;
        padding: 16px 20px;
    }

    .blog-content-body {
        padding: 20px;
    }

    .blog-share-bar {
        padding: 16px 20px;
    }

    .scroll-top-btn {
        right: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
    }

    .visitor-theme-toggle {
        left: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
    }
}

/* ===================================================
   PAGINATION v2
   =================================================== */
.pagination-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.pagination-info {
    font-size: 0.85rem;
    color: #64748b;
}

.pagination-info strong {
    color: #334155;
    font-weight: 600;
}

.pagination-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    background: #fff;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.25s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pagination-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    pointer-events: none;
}

.pagination-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
}

.pagination-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #94a3b8;
    font-size: 1rem;
    letter-spacing: 2px;
}

.pagination-prev,
.pagination-next {
    font-size: 1rem;
}

/* Dark Mode */
body.dark-mode .pagination-v2 {
    border-top-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .pagination-info {
    color: #94a3b8;
}

body.dark-mode .pagination-info strong {
    color: #e2e8f0;
}

body.dark-mode .pagination-btn {
    background: #1e293b;
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .pagination-btn:hover,
body.dark-mode .pagination-btn.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
}

body.dark-mode .pagination-dots {
    color: #64748b;
}

/* Responsive */
@media (max-width: 480px) {
    .pagination-btn {
        min-width: 36px;
        height: 36px;
        font-size: 0.82rem;
        border-radius: 10px;
    }

    .pagination-list {
        gap: 4px;
    }
}

/* ===================================================
   HOME PAGE PORTFOLIO CARDS (hp- prefix)
   =================================================== */
.hp-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Stronger default shadow */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Smoother bounce */
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hp-card:hover {
    transform: translateY(-10px);
    /* Lift higher */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    /* Deep shadow on hover */
}

.hp-card-img {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.hp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hp-card:hover .hp-card-img img {
    transform: scale(1.06);
}

.hp-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #94a3b8;
}

.hp-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.65) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.35s;
}

.hp-card:hover .hp-card-overlay {
    opacity: 1;
}

.hp-card-link-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.25s;
}

.hp-card-link-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    transform: scale(1.08);
    color: #fff;
}

.hp-card-body {
    padding: 18px 20px;
}

.hp-card-cat {
    font-size: 0.72rem;
    font-weight: 600;
    color: #3b82f6 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    display: block;
}

.hp-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a !important;
    margin: 0;
    line-height: 1.4;
}

/* Dark Mode - Home Portfolio Cards */
body.dark-mode .hp-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.04);
}

body.dark-mode .hp-card-body {
    background: #1e293b;
}

body.dark-mode .hp-card-cat {
    color: #60a5fa !important;
}

body.dark-mode .hp-card-title {
    color: #e2e8f0 !important;
}

body.dark-mode .hp-card-placeholder {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #475569;
}

/* ===================================================
   PORTFOLIO PAGE (pf- prefix to avoid Home conflicts)
   =================================================== */
.pf-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.pf-filter-btn {
    padding: 10px 22px;
    border-radius: 24px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.pf-filter-btn:hover {
    background: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.2);
}

.pf-filter-btn.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.pf-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.pf-img-wrap {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.pf-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pf-card:hover .pf-img {
    transform: scale(1.05);
}

.pf-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #94a3b8;
}

.pf-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.35s;
}

.pf-card:hover .pf-overlay {
    opacity: 1;
}

.pf-action-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.25s;
}

.pf-action-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    transform: scale(1.08);
    color: #fff;
}

.pf-body {
    padding: 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pf-category-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    background: rgba(59, 130, 246, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    align-self: flex-start;
}

.pf-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.pf-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 14px;
}

.pf-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: auto;
}

.pf-date {
    font-size: 0.78rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pf-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.25s;
}

.pf-link:hover {
    color: #2563eb;
    gap: 8px;
}

/* Dark Mode Portfolio Page */
body.dark-mode .pf-filter-btn {
    background: #1e293b;
    color: #cbd5e1;
}

body.dark-mode .pf-filter-btn:hover {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
}

body.dark-mode .pf-filter-btn.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
}

body.dark-mode .pf-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.04);
}

body.dark-mode .pf-name {
    color: #e2e8f0 !important;
}

body.dark-mode .pf-desc {
    color: #94a3b8 !important;
}

body.dark-mode .pf-category-badge {
    color: #60a5fa !important;
    background: rgba(96, 165, 250, 0.1);
}

body.dark-mode .pf-date {
    color: #64748b !important;
}

body.dark-mode .pf-footer {
    border-top-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .pf-link {
    color: #60a5fa;
}

body.dark-mode .pf-img-placeholder {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #475569;
}

/* ===================================================
   SWIPER CUSTOM STYLES
   =================================================== */
.init-swiper-custom {
    padding-bottom: 50px;
}

.init-swiper-custom .swiper-slide {
    height: auto;
}

.init-swiper-custom .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #cbd5e1;
    opacity: 1;
}

.init-swiper-custom .swiper-pagination-bullet-active {
    background-color: #3b82f6;
}

body.dark-mode .init-swiper-custom .swiper-pagination-bullet {
    background-color: #475569;
}

body.dark-mode .init-swiper-custom .swiper-pagination-bullet-active {
    background-color: #60a5fa;
}

/* ===================================================
   HERO CSS VIDEO ANIMATIONS & MARQUEES
   =================================================== */
.css-anim-1-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #0f172a, #1e3a8a, #020617, #0ea5e9);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

.css-anim-1-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: panBackground 20s linear infinite;
}

.css-anim-2-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #1e1b4b 0%, #000000 100%);
    overflow: hidden;
}

.css-anim-2-bg::before,
.css-anim-2-bg::after {
    content: '';
    position: absolute;
    width: 200vw;
    height: 200vh;
    top: -50%;
    left: -50%;
    background: conic-gradient(from 0deg, transparent 0 340deg, rgba(59, 130, 246, 0.4) 360deg);
    animation: rotateScan 10s linear infinite;
}

.css-anim-2-bg::after {
    background: conic-gradient(from 0deg, transparent 0 340deg, rgba(16, 185, 129, 0.3) 360deg);
    animation: rotateScan 15s linear infinite reverse;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes panBackground {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 40px 40px;
    }
}

@keyframes rotateScan {
    100% {
        transform: rotate(360deg);
    }
}

.taes-tech-marquee {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%) rotate(-5deg) scale(1.5);
    white-space: nowrap;
    overflow: hidden;
    z-index: 1;
    opacity: 0.08;
    pointer-events: none;
    display: flex;
}

.taes-tech-marquee.reverse {
    transform: translateY(-50%) rotate(5deg) scale(1.5);
}

.taes-tech-marquee span {
    display: inline-block;
    font-size: 15rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 4px rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
    animation: scrollText 30s linear infinite;
    padding-right: 50px;
}

.taes-tech-marquee.reverse span {
    animation: scrollTextReverse 30s linear infinite;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes scrollTextReverse {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}
