/* 
   ==========================================================================
   Ritesh Verma - SEO & Digital Marketing Chandigarh Stylesheet
   Design: Clean Light Theme, Blue/Purple Accents, Premium Typography
   ==========================================================================
*/

/* 1. CSS VARIABLES & BASE SETUP */
:root {
    --primary-color: #2563eb;       /* Royal Blue */
    --secondary-color: #7c3aed;     /* Premium Purple */
    --dark-color: #0f172a;          /* Slate Dark (Navy) */
    --light-bg: #ffffff;            /* Base Background */
    --soft-blue: #f3f7fc;           /* Alternating Section Background */
    --soft-purple: #f8f6ff;         /* Purple Accent Background */
    --text-color: #475569;          /* Slate Text */
    --border-color: #e2e8f0;        /* Light Border */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(37, 99, 235, 0.06), 0 8px 10px -6px rgba(37, 99, 235, 0.06);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    background-color: var(--light-bg);
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    font-weight: 700;
}

p {
    font-weight: 400;
}

a {
    transition: var(--transition-smooth);
}

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-black { font-weight: 800; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

.bg-soft-blue { background-color: var(--soft-blue); }
.bg-soft-purple { background-color: var(--soft-purple); }

/* Spacing Helpers */
.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.max-w-xl {
    max-width: 600px;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* 2. PRELOADER */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* 3. GLASSMORPHIC NAVBAR */
#mainNavbar {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-sm);
    padding: 0.8rem 0;
    transition: var(--transition-smooth);
}

#mainNavbar.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
}
.logo-text-bold {
    font-weight: 800;
    color: var(--dark-color);
}
.logo-text-light {
    font-weight: 400;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* 4. BUTTONS & ACCENTS */
.btn-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: #ffffff !important;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.btn-gradient:hover::before {
    opacity: 1;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(124, 58, 237, 0.4);
}

.btn-outline-dark:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.rounded-pill {
    border-radius: 50px !important;
}

.badge-tagline {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--soft-purple);
    border: 1px solid rgba(124, 58, 237, 0.15);
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.badge-tagline.tagline-large {
    font-size: 0.925rem;
    padding: 0.6rem 1.4rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 5. HERO SECTION */
.hero-section {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.05) 0%, rgba(255, 255, 255, 0) 60%),
                radial-gradient(circle at 10% 80%, rgba(124, 58, 237, 0.03) 0%, rgba(255, 255, 255, 0) 50%);
    background-color: var(--light-bg);
}

.hero-title {
    font-size: 3.25rem;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
}

.hero-lead {
    font-size: 1.05rem;
    color: var(--text-color);
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.trust-badge-item .badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background-color: var(--soft-blue);
}

.trust-badge-item:nth-child(1) .badge-icon { background: rgba(255, 193, 7, 0.1); }
.trust-badge-item:nth-child(2) .badge-icon { background: rgba(37, 99, 235, 0.1); }
.trust-badge-item:nth-child(3) .badge-icon { background: rgba(40, 167, 69, 0.1); }

.trust-badge-item .badge-text {
    display: flex;
    flex-direction: column;
}

.badge-number {
    font-weight: 700;
    color: var(--dark-color);
    font-size: 1.05rem;
    line-height: 1.2;
}

.badge-label {
    font-size: 0.75rem;
    color: var(--text-color);
}

/* Hero Image Wrapper */
.hero-image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.hero-image-wrapper .glow-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(124, 58, 237, 0.15));
    filter: blur(24px);
    border-radius: 30px;
    z-index: 1;
}

.hero-image {
    position: relative;
    z-index: 2;
    border: 6px solid #ffffff;
    max-height: 480px;
    object-fit: cover;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-lg);
}

.floating-badge .icon-box {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.bg-success-light { background-color: rgba(40, 167, 69, 0.1); }
.bg-purple-light { background-color: rgba(124, 58, 237, 0.1); }
.bg-primary-light { background-color: rgba(37, 99, 235, 0.1); }
.bg-danger-light { background-color: rgba(220, 53, 69, 0.1); }

.badge-top-left {
    top: 10%;
    left: -8%;
}

.badge-bottom-right {
    bottom: 10%;
    right: -8%;
}

/* 6. LOGO CAROUSEL */
.logo-item {
    opacity: 0.6;
    transition: var(--transition-smooth);
}
.logo-item:hover {
    opacity: 1;
}

.bg-light-gradient {
    background: linear-gradient(180deg, #f8fafc, #ffffff);
}

/* 7. SECTION HEADER TYPOGRAPHY */
.section-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--soft-blue);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-color);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

/* 8. ABOUT SECTION */
.about-image-wrapper {
    position: relative;
    display: inline-block;
}

.about-image-wrapper .glow-bg-purple {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(37, 99, 235, 0.12));
    filter: blur(24px);
    border-radius: 30px;
    z-index: 1;
}

.about-image {
    position: relative;
    z-index: 2;
    border: 6px solid #ffffff;
    max-height: 460px;
    object-fit: cover;
}

/* Clickable QR Code styles */
.qr-link {
    display: inline-block;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
    border-radius: 24px;
}

.qr-link:hover {
    transform: translateY(-5px);
}

.qr-link canvas {
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    transition: var(--transition-smooth);
    cursor: pointer;
    background-color: #ffffff;
}

.qr-link:hover canvas {
    border-color: var(--primary-color) !important;
    box-shadow: var(--shadow-2xl) !important;
}

.experience-card {
    position: absolute;
    bottom: 8%;
    left: -6%;
    z-index: 3;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    padding: 1.2rem 1.6rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.experience-card .exp-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-card .exp-text {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
}

.usp-card {
    background-color: var(--soft-blue);
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.05);
}

.icon-box-sm {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* 9. SERVICES SECTION */
.service-card {
    background-color: #ffffff;
    padding: 2.2rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-name {
    font-size: 1.35rem;
}

.service-desc {
    font-size: 0.875rem;
}

.service-bullets li {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
}

/* 10. WHY CHOOSE US */
.why-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.1);
}

.why-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* 11. PROCESS / HOW IT WORKS */
.process-row {
    position: relative;
    z-index: 2;
}

.process-step {
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.process-step:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.1);
    transform: scale(1.02);
}

.step-number-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

/* 12. BENEFITS SECTION */
.icon-circle {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.benefit-visual-card {
    border-radius: 24px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.02);
}
.benefit-visual-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* 13. STATS SECTION */
.stats-section {
    background-color: #0b0f19 !important;
}

.glow-bg-dark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 150%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(0,0,0,0) 70%);
    filter: blur(40px);
    z-index: 1;
}

.stat-item {
    position: relative;
    z-index: 2;
}

.stat-number {
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3.5rem;
}

.stat-label {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* 14. WORK GALLERY */
.gallery-grid {
    position: relative;
}

.gallery-item {
    cursor: pointer;
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 60%, rgba(15, 23, 42, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-category {
    transform: translateY(15px);
    transition: transform 0.4s ease;
}

.gallery-title {
    transform: translateY(15px);
    transition: transform 0.4s ease 0.1s;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-category,
.gallery-item:hover .gallery-title {
    transform: translateY(0);
}

/* 15. GOOGLE REVIEWS WALL */
.google-review-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.google-review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
    border-color: rgba(37, 99, 235, 0.15);
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.text-xxs {
    font-size: 0.725rem;
}

.google-review-card .testimonial-text {
    font-size: 0.825rem;
    line-height: 1.6;
}

.google-review-card .testimonial-text strong {
    color: var(--dark-color);
}


/* 16. ACCORDION (FAQ) */
.accordion-custom .accordion-item {
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    overflow: hidden;
    background-color: #ffffff;
}

.accordion-custom .accordion-header .accordion-button {
    background-color: #ffffff;
    color: var(--dark-color);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border: none;
    font-size: 0.95rem;
    box-shadow: none !important;
}

.accordion-custom .accordion-header .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
}

.accordion-custom .accordion-button::after {
    font-family: 'bootstrap-icons' !important;
    content: "\F2E0";
    background-image: none !important;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.accordion-custom .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
    content: "\F2E0";
}

.accordion-custom .accordion-body {
    padding: 1.25rem 1.5rem;
}

/* 17. URGENCY BANNER */
.cta-banner-section {
    background-color: #0b0f19;
}

.cta-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(124, 58, 237, 0.9));
    z-index: 1;
}

.cta-banner-section .btn-light {
    color: var(--primary-color) !important;
    font-weight: 700;
    border: none;
    transition: var(--transition-smooth);
}

.cta-banner-section .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
}

/* 18. CONTACT & FORM */
.contact-info-wrapper {
    border: 1px solid var(--border-color);
}

.info-icon-box {
    font-size: 1.5rem;
    line-height: 1;
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    background-color: var(--soft-blue);
    font-size: 0.95rem;
    text-decoration: none;
}

.social-icon-btn:hover {
    color: #ffffff;
}

.btn-facebook:hover { background-color: #3b5998; }
.btn-instagram:hover { background-color: #e1306c; }
.btn-linkedin:hover { background-color: #0077b5; }
.btn-twitter:hover { background-color: #000000; }

.contact-form-wrapper {
    border: 1px solid var(--border-color);
}

.contact-form-wrapper .form-control,
.contact-form-wrapper .form-select {
    padding: 0.8rem 1rem;
    border-color: var(--border-color);
    font-size: 0.85rem;
    color: var(--dark-color);
}

.contact-form-wrapper .form-control:focus,
.contact-form-wrapper .form-select:focus {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.map-container {
    height: 400px;
    position: relative;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 19. FOOTER */
.footer {
    background-color: #090c13 !important;
}

.footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer a:hover {
    color: #ffffff !important;
}

.footer p, 
.footer span, 
.footer .text-muted, 
.footer .footer-contact-info,
.footer .footer-contact-info a,
.footer a.text-muted {
    color: #cbd5e1 !important; /* High-contrast readable light gray */
}

.footer .footer-contact-info a:hover,
.footer a.text-muted:hover {
    color: #ffffff !important;
}

.footer .footer-title,
.footer h4,
.footer h5,
.footer h6 {
    color: #ffffff !important;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1) !important;
    opacity: 1;
}

.footer-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-contact-info li {
    line-height: 1.4;
}

/* 20. FLOATING ACTIONS */
.fixed-floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 1.4rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.float-call {
    background-color: var(--primary-color);
}

.float-whatsapp {
    background-color: #25d366;
}

.float-top {
    background-color: var(--dark-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.float-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hide Call and WhatsApp float buttons on mobile */
@media (max-width: 767.98px) {
    .float-call, .float-whatsapp {
        display: none !important;
    }
}

.float-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* 21. LIGHTBOX MODAL OVERLAY */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: #ffffff;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    user-select: none;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    padding: 20px;
    transition: opacity 0.3s ease;
    user-select: none;
}

.lightbox-nav:hover {
    opacity: 1;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-content-box {
    max-width: 80%;
    max-height: 80%;
    text-align: center;
}

.lightbox-image {
    max-height: 70vh;
    border-radius: 12px;
    box-shadow: var(--shadow-2xl);
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.lightbox-overlay.active .lightbox-image {
    transform: scale(1);
}

/* 22. ANIMATIONS SYSTEM */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.animate-fade-in-left {
    animation: fadeInLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 4s ease-in-out infinite;
    animation-delay: 2s;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Scroll appear system classes */
.section-appear {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-appear.appeared {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-form-wrapper {
        max-width: 100%;
        margin-left: 0;
        margin-top: 0.25rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .floating-badge {
        padding: 0.6rem 1rem;
    }
    .badge-top-left {
        left: -3%;
    }
    .badge-bottom-right {
        right: -3%;
    }
    .hero-section {
        padding-top: 100px;
    }
    .navbar-collapse {
        background-color: #ffffff;
        padding: 1.5rem;
        border-radius: 16px;
        box-shadow: var(--shadow-lg);
        margin-top: 10px;
        border: 1px solid var(--border-color);
    }
    .nav-cta-buttons {
        margin-top: 15px;
        flex-direction: row;
    }
}

@media (max-width: 767.98px) {
    .py-6 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .stats-section .stat-number {
        font-size: 2.2rem;
    }
    .fixed-floating-actions {
        bottom: 20px;
        right: 20px;
    }
    .experience-card {
        bottom: 5%;
        left: -2%;
        padding: 0.8rem 1.2rem;
    }
    .experience-card .exp-number {
        font-size: 2rem;
    }
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 2.2rem;
    }
    .lightbox-nav {
        padding: 10px;
        font-size: 1.8rem;
    }
    .testimonial-card {
        width: 290px;
    }
}

/* Hero Form Styles */
.hero-form-wrapper {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    position: relative;
    max-width: 440px; /* Narrower width */
    margin-left: auto;
    overflow: hidden; /* Clips the corner ribbon */
}

/* Corner Ribbon style */
.corner-ribbon {
    width: 190px;
    background: linear-gradient(135deg, #ef4444, #dc2626); /* Premium Red Gradient */
    color: #ffffff !important;
    text-align: center;
    line-height: 28px;
    font-size: 0.68rem;
    font-weight: 700;
    transform: rotate(45deg);
    position: absolute;
    top: 24px;
    right: -50px;
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.35);
    z-index: 100;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    pointer-events: none; /* Let clicks pass through */
    border: 1px dashed rgba(255, 255, 255, 0.4);
}

@keyframes ribbon-pulse {
    0%, 100% { transform: rotate(45deg) scale(1); }
    50% { transform: rotate(45deg) scale(1.04); }
}

.animate-ribbon-pulse {
    animation: ribbon-pulse 2s infinite ease-in-out;
}

/* Mobile overrides for buttons full-width and trust badges single-line */
@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem !important;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        display: flex;
    }
    .hero-trust-badges {
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 0.35rem !important;
        width: 100%;
    }
    .hero-trust-badges .trust-badge-item {
        gap: 0.35rem !important;
    }
    .hero-trust-badges .trust-badge-item .badge-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    .hero-trust-badges .badge-number {
        font-size: 0.75rem;
    }
    .hero-trust-badges .badge-label {
        font-size: 0.58rem;
        white-space: nowrap;
    }
}

.hero-form-wrapper .form-control,
.hero-form-wrapper .form-select {
    padding: 0.75rem 1rem;
    border-color: var(--border-color);
    font-size: 0.85rem;
    color: var(--dark-color);
}

.hero-form-wrapper .form-control:focus,
.hero-form-wrapper .form-select:focus {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.hero-form-wrapper .input-group-text {
    border-color: var(--border-color);
    background-color: #f8fafc;
}

/* SEO Keywords Directory Styles (Mockup Grid) */
.seo-tags-section {
    background-color: #0b0f19 !important; /* Deep dark blue-black */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.seo-tags-section .section-title {
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.seo-tag-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    height: 100%;
    transition: var(--transition-smooth);
}

.seo-tag-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.card-header-custom {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.75rem;
}

.card-header-custom h5 {
    letter-spacing: 0.5px;
}

.seo-keywords-list li {
    font-size: 0.825rem;
    color: #94a3b8 !important; /* Soft gray/lavender */
    margin-bottom: 0.45rem;
    display: flex;
    align-items: start;
    line-height: 1.4;
    transition: var(--transition-smooth);
}

.seo-keywords-list li:hover {
    color: #ffffff !important;
}

.arrow-pink {
    color: #ec4899; /* Pink arrow */
    font-weight: bold;
    margin-right: 8px;
    font-size: 0.9rem;
    line-height: 1.2;
}

/* Animated WhatsApp Icon wobble effect */
@keyframes whatsapp-wobble {
    0%, 100% { transform: scale(1) rotate(0deg); }
    15% { transform: scale(1.2) rotate(-10deg); }
    30% { transform: scale(1.2) rotate(10deg); }
    45% { transform: scale(1.2) rotate(-10deg); }
    60% { transform: scale(1.2) rotate(10deg); }
    75% { transform: scale(1.2) rotate(-5deg); }
    85% { transform: scale(1.2) rotate(5deg); }
}

.whatsapp-icon-animate {
    display: inline-block;
    animation: whatsapp-wobble 2s infinite ease-in-out;
}

/* Hero Platform Marquee */
.hero-marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.hero-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 0.5rem 0;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 22s linear infinite;
    gap: 1.25rem;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    background-color: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--dark-color);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.marquee-item i {
    font-size: 0.95rem;
}

.marquee-item:hover {
    transform: translateY(-2px);
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* Responsive CSS for Mobile sizes */
@media (max-width: 480px) {
    .fixed-floating-actions {
        bottom: 15px;
        right: 15px;
    }
}

/* ==========================================
   22. LEAD CONSULTATION POPUP MODAL STYLES
   ========================================== */
.consultation-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 20px;
}

.consultation-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.consultation-popup-content {
    background-color: #ffffff;
    width: 100%;
    max-width: 460px;
    border-radius: 24px;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.consultation-popup-overlay.active .consultation-popup-content {
    transform: scale(1) translateY(0);
}

/* Header */
.consultation-popup-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 36px 28px 24px;
    text-align: center;
    color: #ffffff;
    position: relative;
}

.consultation-popup-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.35rem;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.consultation-popup-close:hover {
    color: #ffffff;
    transform: scale(1.15) rotate(90deg);
}

.popup-offer-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.725rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    color: #ffffff;
}

.popup-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.popup-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.45;
    margin-bottom: 20px;
    font-weight: 400;
}

/* Stats Bar */
.popup-stats-bar {
    background-color: transparent;
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 8px 10px;
    gap: 6px;
}

.popup-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 2px;
}

.popup-stat-item:last-child {
    border-right: none;
    padding-right: 0;
}

.popup-stat-icon {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(255, 223, 0, 0.18);
    color: #ffdf00;
    box-shadow: 0 0 10px rgba(255, 223, 0, 0.4);
}

.popup-stat-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.15;
}

.popup-stat-text strong {
    font-size: 0.725rem;
    color: #ffffff;
    font-weight: 700;
}

.popup-stat-text span {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Body Form styles */
.consultation-popup-body {
    padding: 32px 28px;
}

.consultation-popup-body .form-label {
    margin-bottom: 6px;
    color: var(--dark-color);
    font-weight: 600;
}

.consultation-popup-body .form-control {
    padding: 0.8rem 1.1rem;
    font-size: 0.875rem;
    border-radius: 12px;
    border-color: var(--border-color);
    color: var(--dark-color);
    box-shadow: none;
    transition: var(--transition-smooth);
}

.consultation-popup-body .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.btn-gradient-purple {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: #ffffff !important;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-gradient-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
    color: #ffffff !important;
}

.popup-call-btn {
    border: 2px solid #16a34a;
    background-color: transparent;
    color: #16a34a !important;
    font-weight: 700;
    transition: var(--transition-smooth);
    animation: button-pulse-subtle 2s infinite ease-in-out;
}

.popup-call-btn:hover {
    background-color: #16a34a;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(22, 163, 74, 0.25);
}

@keyframes button-pulse-subtle {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 8px rgba(22, 163, 74, 0);
    }
}

.consultation-popup-body .invalid-feedback {
    font-size: 0.725rem;
    margin-top: 4px;
}

/* Mobile responsive fixes */
@media (max-width: 576px) {
    .consultation-popup-content {
        max-width: 100%;
        border-radius: 20px;
    }
    .consultation-popup-header {
        padding: 32px 20px 20px;
    }
    .popup-title {
        font-size: 1.35rem;
    }
    .popup-stats-bar {
        padding: 6px 8px;
        gap: 4px;
    }
    .popup-stat-text strong {
        font-size: 0.65rem;
    }
    .popup-stat-text span {
        font-size: 0.5rem;
    }
    .consultation-popup-body {
        padding: 24px 20px;
    }
}

/* ==========================================
   14. LOCATION INTERNAL PAGE STYLES (CHANDIGARH)
   ========================================== */
.page-breadcrumb-bar {
    padding-top: 105px;
    padding-bottom: 15px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
}

.page-breadcrumb-bar .breadcrumb {
    margin-bottom: 0;
    font-size: 0.85rem;
}

.page-breadcrumb-bar .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.page-breadcrumb-bar .breadcrumb-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-breadcrumb-bar .breadcrumb-item.active {
    color: var(--text-color);
    font-weight: 600;
}

.metric-highlight-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    text-align: center;
}

.metric-highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.3);
}

.metric-highlight-card .metric-number {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.metric-highlight-card .metric-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 4px;
}

.metric-highlight-card .metric-desc {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0;
}

.step-roadmap-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
    height: 100%;
}

.step-roadmap-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(124, 58, 237, 0.35);
}

.step-number-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 18px;
    box-shadow: 0 8px 16px -4px rgba(37, 99, 235, 0.4);
}

.sector-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.sector-chip:hover {
    background: var(--soft-purple);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.keyword-pill-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.785rem;
    font-weight: 500;
    color: #334155;
    margin: 4px;
    transition: var(--transition-smooth);
}

.keyword-pill-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    border-color: transparent;
}

/* Mobile-only hero entry ordering across internal pages (preserves original desktop layout >= 992px) */
@media (max-width: 991.98px) {
    .hero-breadcrumb-shell {
        display: flex;
        flex-direction: column;
    }
    .hero-breadcrumb-shell > #hero {
        order: 1;
    }
    .hero-breadcrumb-shell > .page-breadcrumb-bar {
        order: 2;
        padding-top: 14px;
        padding-bottom: 14px;
        border-top: 1px solid var(--border-color);
    }
}





/* ==========================================================================
   INDUSTRIES & BUSINESS NICHES SECTION (75+ SECTORS) - MODERN UI/UX
   ========================================================================== */
.industries-served-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.niche-category-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.35rem 1.25rem;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
}

.niche-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 28px -4px rgba(37, 99, 235, 0.12), 0 6px 12px -4px rgba(37, 99, 235, 0.06);
    border-color: #93c5fd;
}

.niche-category-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-bottom: 0.85rem;
    margin-bottom: 0.95rem;
    border-bottom: 2px solid #f1f5f9;
}

.niche-category-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.1));
    color: var(--primary-color);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.niche-category-title-wrap {
    flex: 1;
    min-width: 0;
}

.niche-category-name {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    margin: 0 0 0.25rem 0;
}

.niche-count-pill {
    font-size: 0.68rem;
    font-weight: 600;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    padding: 0.15rem 0.55rem;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.niche-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex-grow: 1;
}

.niche-item-box {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 0.75rem;
    padding: 0.7rem 0.85rem;
    transition: all 0.2s ease;
}

.niche-item-box:hover {
    background: #ffffff;
    border-color: #bfdbfe;
    box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.08);
    transform: translateX(3px);
}

.niche-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.niche-item-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
    margin: 0;
    flex: 1;
    min-width: 0;
}

.niche-item-call-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.22rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 50px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb !important;
    border: 1px solid rgba(37, 99, 235, 0.2);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.niche-item-call-btn:hover {
    background: #2563eb;
    color: #ffffff !important;
    border-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.25);
}

.niche-item-keyword {
    font-size: 0.725rem;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    margin-top: 0.35rem;
    line-height: 1.35;
    word-break: break-word;
}

.niche-item-keyword i {
    font-size: 0.7rem;
    color: #2563eb;
    flex-shrink: 0;
    margin-top: 0.18rem;
}

.niche-card-bottom-cta {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #e2e8f0;
}

.niche-card-bottom-cta a {
    color: #2563eb;
    font-size: 0.785rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.niche-card-bottom-cta a:hover {
    color: #1d4ed8;
    transform: translateX(3px);
}

.niche-cta-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 1.25rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.niche-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    pointer-events: none;
}


/* ==========================================================================
   11. PORTFOLIO PAGE STYLES (LIGHT THEME SAAS HERO & EXECUTIVE SHOWCASE)
   ========================================================================== */

/* Hero Section - Pure White with Animated Multicolor Blur Gradient & Live Ads Stream */
.portfolio-hero-live {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    color: #0f172a;
    padding: 135px 0 70px;
    isolation: isolate;
}

/* Animated Multicolor Blur Mesh Blobs (Pure White Base) */
.hero-multicolor-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(85px);
    opacity: 0.28;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.blob-indigo {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, #6366f1 0%, rgba(99, 102, 241, 0) 70%);
    top: -15%;
    left: -5%;
    animation: floatBlob1 14s ease-in-out infinite alternate;
}

.blob-pink {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, #ec4899 0%, rgba(236, 72, 153, 0) 70%);
    top: 10%;
    right: -8%;
    animation: floatBlob2 16s ease-in-out infinite alternate;
}

.blob-cyan {
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, #06b6d4 0%, rgba(6, 182, 212, 0) 70%);
    bottom: -10%;
    left: 25%;
    animation: floatBlob3 18s ease-in-out infinite alternate;
}

.blob-purple {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #8b5cf6 0%, rgba(139, 92, 246, 0) 70%);
    top: 35%;
    right: 20%;
    animation: floatBlob4 15s ease-in-out infinite alternate;
}

.blob-amber {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, #f59e0b 0%, rgba(245, 158, 11, 0) 70%);
    top: -5%;
    left: 40%;
    animation: floatBlob5 13s ease-in-out infinite alternate;
    opacity: 0.22;
}

.mesh-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(99, 102, 241, 0.08) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    opacity: 0.55;
    pointer-events: none;
}

@keyframes floatBlob1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 45px) scale(1.12); }
}

@keyframes floatBlob2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, 60px) scale(0.92); }
}

@keyframes floatBlob3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(45px, -50px) scale(1.15); }
}

@keyframes floatBlob4 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, -40px) scale(1.08); }
}

@keyframes floatBlob5 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, -30px) scale(0.95); }
}

/* Left Column: Live Badge */
.hero-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid #e0e7ff;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.1);
    color: #4338ca;
    font-weight: 700;
    font-size: 0.84rem;
}

.live-pulse-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Hero Typography */
.hero-headline-live {
    font-size: clamp(2.3rem, 4.4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 18px;
}

.gradient-text-live {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead-live {
    font-size: clamp(1.02rem, 1.8vw, 1.15rem);
    line-height: 1.68;
    color: #475569;
    margin-bottom: 24px;
}

/* Connect Actions & Buttons */
.hero-connect-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.btn-connect-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff !important;
    border-radius: 50px;
    padding: 13px 28px;
    font-weight: 700;
    font-size: 0.96rem;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-connect-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.45);
    color: #ffffff !important;
}

.btn-connect-whatsapp {
    background: #25D366;
    color: #ffffff !important;
    border-radius: 50px;
    padding: 13px 26px;
    font-weight: 700;
    font-size: 0.96rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.28);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-connect-whatsapp:hover {
    background: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.38);
    color: #ffffff !important;
}

.btn-connect-call {
    background: #ffffff;
    color: #0f172a !important;
    border-radius: 50px;
    padding: 12px 22px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1.5px solid #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-connect-call:hover {
    background: #f8fafc;
    border-color: #6366f1;
    color: #4f46e5 !important;
    transform: translateY(-2px);
}

/* Trust Bar */
.hero-trust-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.trust-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 7px 15px;
    border-radius: 50px;
    font-size: 0.82rem;
    color: #475569;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* RIGHT COLUMN: LIVE ANIMATED ADS RESULTS TERMINAL */
.hero-live-terminal {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 26px;
    box-shadow: 0 25px 65px -15px rgba(99, 102, 241, 0.16), 0 10px 30px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.terminal-head {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 14px;
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.terminal-dots {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.tdot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.tdot-red { background: #ef4444; }
.tdot-yellow { background: #f59e0b; }
.tdot-green { background: #10b981; }

.terminal-address {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.76rem;
    color: #475569;
    flex: 1;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 4px;
}

.terminal-address span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.terminal-status-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 3px 8px;
    border-radius: 20px;
    border: 1px solid #a7f3d0;
    flex-shrink: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Live KPI Strip */
.terminal-kpi-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 14px 18px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.terminal-kpi-item {
    text-align: center;
}

.kpi-num {
    display: block;
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.kpi-label {
    display: block;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Stream Container */
.terminal-stream-container {
    max-height: 360px;
    overflow-y: auto;
    padding: 14px 16px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.terminal-stream-container::-webkit-scrollbar {
    width: 5px;
}

.terminal-stream-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* Result Card */
.live-result-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 13px 16px;
    margin-bottom: 11px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.live-result-card:hover {
    border-color: #a5b4fc;
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.12);
    transform: translateY(-2px);
}

.live-platform-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
}

.live-platform-tag.meta {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.live-platform-tag.google {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.live-platform-tag.instagram {
    background: #fdf2f8;
    color: #be185d;
    border: 1px solid #fbcfe8;
}

.live-active-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #059669;
    background: #f0fdf4;
    padding: 2px 8px;
    border-radius: 12px;
}

.pulse-dot-sm {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: pulseGreen 1.8s infinite;
}

.live-campaign-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: #0f172a;
    line-height: 1.35;
}

.live-metrics-row {
    padding-top: 6px;
    border-top: 1px dashed #f1f5f9;
}

.live-metric-val {
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.2;
}

.live-metric-sub {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

/* Terminal Footer Toast */
.terminal-foot {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 11px 18px;
    font-size: 0.8rem;
    color: #475569;
}

.live-ping-dot {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    animation: pulseBlue 2s infinite;
}

@keyframes pulseBlue {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    70% { box-shadow: 0 0 0 7px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.terminal-foot-link {
    color: #4f46e5;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.terminal-foot-link:hover {
    color: #3730a3;
    transform: translateX(2px);
}

@media (max-width: 991px) {
    .portfolio-hero-live {
        padding: 110px 0 50px;
        text-align: center;
    }
    .hero-live-badge, .hero-connect-actions, .hero-trust-bar {
        justify-content: center;
    }
    .hero-showcase-col {
        margin-top: 25px;
    }
}

@media (max-width: 767px) {
    .hero-trust-bar,
    .hero-live-badge,
    .btn-connect-primary {
        display: none !important;
    }
    .hero-headline-live {
        font-size: clamp(1.62rem, 6.8vw, 2rem) !important;
        line-height: 1.22 !important;
        letter-spacing: -0.025em !important;
        margin-bottom: 14px !important;
    }
}

@media (max-width: 575px) {
    .terminal-kpi-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .btn-connect-primary, .btn-connect-whatsapp, .btn-connect-call {
        width: 100%;
        justify-content: center;
    }
}
/* Light Theme Sticky Filter Bar */
.portfolio-filter-section-light {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 0;
    position: sticky;
    top: 70px;
    z-index: 99;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.portfolio-filter-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.portfolio-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
}

.portfolio-filter-btn:hover {
    color: #4338ca;
    border-color: #a5b4fc;
    background: #f5f3ff;
    transform: translateY(-1px);
}

.portfolio-filter-btn.active {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.portfolio-filter-btn .filter-count {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #475569;
}

.portfolio-filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Portfolio Gallery - Pure White Light Theme */
.portfolio-gallery-section-light {
    padding: 70px 0 90px;
    background: #ffffff;
}

.portfolio-card {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
    position: relative;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px -12px rgba(99, 102, 241, 0.15);
    border-color: #c7d2fe;
}

/* Light Theme Card Mockup Window Header */
.card-window-head {
    background: #f8fafc;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
}

.window-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.window-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.window-dot.red { background: #ef4444; }
.window-dot.yellow { background: #f59e0b; }
.window-dot.green { background: #10b981; }

.window-title-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Thumbnail Container */
.portfolio-thumb-wrap {
    position: relative;
    overflow: hidden;
    background: #f8fafc;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.portfolio-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.45s ease;
}

.portfolio-card:hover .portfolio-thumb-img {
    transform: scale(1.05);
}

.portfolio-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #ffffff;
}

.portfolio-card:hover .portfolio-thumb-overlay {
    opacity: 1;
}

.btn-inspect-pill {
    padding: 8px 18px;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

/* Card Content Area */
.portfolio-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}

.badge-platform {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge-platform.meta {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.badge-platform.google {
    background: #fefce8;
    color: #ca8a04;
    border: 1px solid #fef08a;
}

.badge-platform.insta {
    background: #fdf2f8;
    color: #db2777;
    border: 1px solid #fbcfe8;
}

.portfolio-industry-tag {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}

.portfolio-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 12px;
}

.portfolio-card-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 18px;
    flex-grow: 1;
}

/* Concrete KPI Chips */
.portfolio-kpi-chips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 10px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 18px;
    text-align: center;
}

.portfolio-kpi-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portfolio-kpi-val {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.portfolio-kpi-lbl {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 2px;
    text-transform: uppercase;
}

/* Card Bottom Action */
.btn-card-action {
    width: 100%;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-card-action:hover {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
}

/* LIGHT THEME EXECUTIVE LIGHTBOX MODAL */
.portfolio-lightbox-modal .modal-content {
    background: #ffffff;
    color: #0f172a;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
    overflow: hidden;
}

.portfolio-lightbox-modal .modal-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.modal-case-title {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    line-height: 1.3;
    color: #0f172a;
}

/* Light Proof Display Stage */
.proof-display-stage {
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stage-window-topbar {
    background: #f1f5f9;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
}

.stage-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.stage-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.stage-dot.red { background: #ef4444; }
.stage-dot.yellow { background: #f59e0b; }
.stage-dot.green { background: #10b981; }

.stage-title-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.4px;
}

.btn-open-fullres {
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-open-fullres:hover {
    color: #4338ca;
    background: #f5f3ff;
    border-color: #a5b4fc;
}

.stage-img-container {
    background: #ffffff;
    padding: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.stage-screenshot-img {
    max-height: 68vh;
    width: auto;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    object-fit: contain;
}

/* Light Modal KPI Stat Cards */
.modal-kpi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 14px;
    text-align: center;
    transition: all 0.25s ease;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}
.modal-kpi-card:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.modal-kpi-top {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.modal-kpi-val {
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 4px;
}

.modal-kpi-sub {
    font-size: 0.72rem;
    color: #64748b;
    margin-bottom: 0;
}

/* Light Modal Strategy Card */
.modal-strategy-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.modal-strategy-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #334155;
}

/* Light Modal CTA Banner */
.modal-cta-banner-light {
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
    border: 1px solid #c7d2fe;
}

.modal-cta-banner-light .btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Light Comparison Section */
.portfolio-comparison-section-light {
    padding: 80px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.comparison-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 32px 26px;
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: all 0.3s ease;
}

.comparison-card.highlight-light {
    background: #f5f3ff;
    border: 2px solid #818cf8;
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.12);
    position: relative;
}

.comparison-card.highlight-light::before {
    content: "HIGH-CONVERTING ARCHITECTURE";
    position: absolute;
    top: -12px;
    left: 26px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 3px 12px;
    border-radius: 20px;
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.comparison-list li {
    padding: 10px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px dashed #e2e8f0;
    color: #334155;
}

/* Mobile Responsiveness for Light Hero & Mockups */
@media (max-width: 991.98px) {
    .portfolio-hero-light {
        padding: 120px 0 45px;
    }
    .mockup-phone-left {
        left: -10px;
        width: 230px;
        height: 390px;
    }
    .mockup-phone-right {
        right: -10px;
        width: 230px;
        height: 390px;
    }
    .mockup-phone-center {
        width: 280px;
        height: 470px;
    }
    .floating-badge-pill {
        display: none;
    }
    .floating-stat-card {
        padding: 12px 16px;
        min-width: 170px;
    }
    .floating-indicator-pin {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .portfolio-hero-light {
        padding: 105px 0 40px;
        text-align: center;
    }
    .hero-mockup-trio-stage {
        margin-top: 35px;
    }
    .mockup-phone-left,
    .mockup-phone-right {
        display: none;
    }
    .mockup-phone-center {
        width: 280px;
        height: 480px;
    }
    .floating-stat-card {
        position: static;
        margin: 15px auto 0;
        width: 100%;
        max-width: 280px;
        animation: none;
    }
    .portfolio-filter-section-light {
        top: 60px;
        padding: 16px 0;
    }
    .portfolio-filter-nav {
        gap: 8px;
    }
    .portfolio-filter-btn {
        padding: 8px 16px;
        font-size: 0.82rem;
    }
    .portfolio-gallery-section-light {
        padding: 50px 0 70px;
    }
}

/* ==========================================================================
   12. CUSTOM SERVICE SELECTION & INSTANT QUOTATION - ADD TO CART UI
   ========================================================================== */

/* Page Background & Base */
.quotation-page-body {
    background: #f8fafc;
    color: var(--text-color);
}

/* Hero Section */
.quotation-hero {
    position: relative;
    padding: 125px 0 45px;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}

.quotation-hero-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.quotation-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: pulseFloat 14s ease-in-out infinite alternate;
}

.quotation-blob-blue {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, rgba(37, 99, 235, 0) 70%);
    top: -60px;
    right: 8%;
}

.quotation-blob-purple {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, rgba(124, 58, 237, 0) 70%);
    bottom: -30px;
    left: 10%;
    animation-delay: -5s;
}

.quotation-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.quotation-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: livePulse 2s infinite;
}

.quotation-hero-title {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    line-height: 1.18;
    color: #0f172a;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
}

.quotation-hero-lead {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 680px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

/* Top Currency & Trust Bar */
.quotation-top-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.currency-switcher-btn-group {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 9999px;
    padding: 4px;
    display: inline-flex;
    box-shadow: var(--shadow-sm);
}

.currency-toggle-btn {
    border: none;
    background: transparent;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    border-radius: 9999px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.currency-toggle-btn.active {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

/* ==========================================================================
   4 MAIN CATEGORY SELECTOR CARDS (TOP VISUAL NAVIGATION)
   ========================================================================== */
.category-selection-container {
    margin-bottom: 35px;
}

.category-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.category-nav-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 18px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    user-select: none;
    box-shadow: var(--shadow-sm);
}

.category-nav-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.category-nav-card.active {
    border-color: var(--primary-color);
    background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
    box-shadow: 0 10px 24px -6px rgba(37, 99, 235, 0.2);
}

.cat-nav-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.icon-blue { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.icon-purple { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.icon-pink { background: linear-gradient(135deg, #ec4899, #db2777); }
.icon-indigo { background: linear-gradient(135deg, #4f46e5, #4338ca); }

.cat-nav-content {
    flex: 1;
    min-width: 0;
}

.cat-nav-title {
    font-size: 0.96rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px;
    line-height: 1.25;
}

.cat-nav-subtitle {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cat-nav-badge {
    position: absolute;
    top: 10px;
    right: 12px;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

.category-nav-card.has-items .cat-nav-badge {
    background: #ecfdf5;
    color: #059669;
    border-color: rgba(16, 185, 129, 0.3);
}

/* Category Filter Pills (Mobile / Compact Switcher) */
.category-filter-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 24px;
    -webkit-overflow-scrolling: touch;
}

.category-filter-pills::-webkit-scrollbar {
    height: 4px;
}

.category-filter-pills::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.filter-pill-btn {
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-pill-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.filter-pill-btn.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

/* ==========================================================================
   SERVICE ITEM CARDS (CLEAN E-COMMERCE ADD TO CART DESIGN)
   ========================================================================== */
.service-section-block {
    margin-bottom: 35px;
    scroll-margin-top: 100px;
}

.service-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.service-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.service-section-count {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 9999px;
}

.service-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 18px;
}

.service-item-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.service-item-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.08);
}

.service-item-card.in-cart {
    border-color: #22c55e;
    background: linear-gradient(180deg, #ffffff 0%, #f6fdf9 100%);
    box-shadow: 0 10px 24px -4px rgba(34, 197, 94, 0.18);
}

.card-top-tags {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.service-category-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
}

.service-feature-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--primary-color);
    background: #eff6ff;
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 3px 8px;
    border-radius: 6px;
}

.service-feature-badge.popular {
    color: #db2777;
    background: #fdf2f8;
    border-color: rgba(219, 39, 119, 0.2);
}

.service-feature-badge.roi {
    color: #059669;
    background: #ecfdf5;
    border-color: rgba(16, 185, 129, 0.3);
}

.card-main-content {
    flex: 1;
}

.service-item-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
    line-height: 1.3;
}

.service-item-desc {
    font-size: 0.84rem;
    color: #64748b;
    margin: 0 0 12px;
    line-height: 1.45;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.service-features-list li {
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-features-list li i {
    color: #10b981;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.card-footer-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.service-price-box {
    display: flex;
    flex-direction: column;
}

.service-price-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.price-prefix-starting {
    display: inline-flex;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #b45309;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    padding: 3px 7px;
    border-radius: 6px;
    line-height: 1;
    box-shadow: 0 2px 5px rgba(245, 158, 11, 0.18);
}

.service-price-period {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
}

/* 1-Click Add to Cart Button */
.btn-cart-toggle {
    border: 1.5px solid var(--primary-color);
    background: #ffffff;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-cart-toggle:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-cart-toggle.added {
    background: #22c55e;
    border-color: #22c55e;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-cart-toggle.added:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-cart-toggle.added:hover .btn-cart-text::before {
    content: "Remove";
}

/* ==========================================================================
   STICKY QUOTATION CART SIDEBAR (DESKTOP)
   ========================================================================== */
.quotation-cart-sidebar-wrap {
    position: sticky;
    top: 90px;
    z-index: 20;
}

.quotation-cart-card {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.cart-card-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-badge-count {
    padding: 4px 10px;
    border-radius: 9999px;
    background: rgba(37, 99, 235, 0.3);
    border: 1px solid rgba(99, 102, 241, 0.4);
    font-size: 0.78rem;
    font-weight: 800;
    color: #93c5fd;
}

.cart-items-scroll {
    max-height: 260px;
    overflow-y: auto;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.cart-items-scroll::-webkit-scrollbar {
    width: 6px;
}

.cart-items-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.empty-cart-state {
    text-align: center;
    padding: 28px 10px;
    color: #94a3b8;
}

.empty-cart-icon {
    font-size: 2.4rem;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
    animation: fadeIn 0.25s ease;
}

.cart-item-row:last-child {
    border-bottom: none;
}

.cart-item-info {
    min-width: 0;
    flex: 1;
}

.cart-item-name {
    font-size: 0.86rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 2px;
    line-height: 1.25;
}

.cart-item-cat {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cart-item-price {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f172a;
}

.cart-trash-btn {
    border: none;
    background: transparent;
    color: #94a3b8;
    padding: 2px 4px;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.cart-trash-btn:hover {
    color: #ef4444;
    background: #fee2e2;
}

/* Cart Calculations */
.cart-calculations-box {
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.cart-calc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 6px;
}

.cart-calc-row.discount {
    color: #10b981;
    font-weight: 700;
}

.bundle-savings-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 9999px;
    background: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-size: 0.72rem;
}

.cart-total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 10px;
    margin-top: 6px;
    border-top: 2px solid #e2e8f0;
}

.cart-total-label {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.cart-total-amount {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.cart-disclaimer {
    font-size: 0.72rem;
    color: #64748b;
    margin: 8px 0 0;
    line-height: 1.35;
}

/* Compact Client Contact Fields in Cart */
.cart-contact-box {
    padding: 14px 20px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.cart-contact-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #475569;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-contact-input {
    height: 40px;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.cart-contact-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* 3 Cart Action Buttons */
.cart-actions-box {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-cart-quote {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.94rem;
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 18px -3px rgba(37, 99, 235, 0.35);
    transition: all 0.25s ease;
}

.btn-cart-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -3px rgba(37, 99, 235, 0.45);
    color: #ffffff;
}

.btn-cart-whatsapp {
    background: #25d366;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 16px -3px rgba(37, 211, 102, 0.35);
    transition: all 0.25s ease;
}

.btn-cart-whatsapp:hover {
    background: #22c55e;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -3px rgba(37, 211, 102, 0.45);
}

.btn-cart-callback {
    background: #ffffff;
    color: #1e293b;
    font-weight: 700;
    font-size: 0.88rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-cart-callback:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

/* ==========================================================================
   FLOATING MOBILE CART BAR & DRAWER
   ========================================================================== */
.quotation-mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1.5px solid #e2e8f0;
    padding: 12px 16px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}

.mobile-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mobile-cart-total-box {
    min-width: 0;
}

.mobile-cart-count {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin: 0;
}

.mobile-cart-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.1;
}

.btn-mobile-open-cart {
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* ==========================================================================
   PRINTABLE OFFICIAL QUOTATION DOCUMENT MODAL
   ========================================================================== */
.quotation-modal-dialog {
    max-width: 820px;
}

.quotation-doc-card {
    background: #ffffff;
    border-radius: 16px;
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.quotation-doc-header {
    background: #0f172a;
    color: #ffffff;
    padding: 30px 36px;
    position: relative;
}

.quotation-doc-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.doc-agency-brand h4 {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
}

.doc-agency-tagline {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
}

.doc-meta-badge-box {
    text-align: right;
}

.doc-number-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.25);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 800;
    color: #93c5fd;
    font-family: monospace;
}

.doc-meta-date {
    font-size: 0.78rem;
    color: #cbd5e1;
    margin: 5px 0 0;
}

.quotation-client-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.client-meta-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 2px;
}

.client-meta-val {
    font-size: 0.94rem;
    font-weight: 700;
    color: #ffffff;
}

.quotation-doc-body {
    padding: 32px 36px;
}

.doc-items-table {
    width: 100%;
    margin-bottom: 25px;
    border-collapse: separate;
    border-spacing: 0;
}

.doc-items-table th {
    background: #f8fafc;
    padding: 12px 14px;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #475569;
    border-bottom: 2px solid #e2e8f0;
}

.doc-items-table td {
    padding: 14px 14px;
    font-size: 0.88rem;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.doc-items-table tr:last-child td {
    border-bottom: 2px solid #e2e8f0;
}

.doc-summary-totals-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 25px;
}

.doc-totals-table {
    width: 320px;
}

.doc-totals-table tr td {
    padding: 8px 12px;
    font-size: 0.9rem;
}

.doc-totals-table tr.total-row td {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-color);
    border-top: 2px solid #0f172a;
    padding-top: 10px;
}

.doc-terms-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 25px;
}

.doc-terms-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.doc-terms-list {
    margin: 0;
    padding-left: 20px;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
}

.doc-modal-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

/* Print Stylesheet */
@media print {
    body * {
        visibility: hidden !important;
    }
    #quotationModal,
    #quotationModal .modal-dialog,
    #quotationModal .modal-content,
    #quotationModal .quotation-doc-card,
    #quotationModal .quotation-doc-card * {
        visibility: visible !important;
    }
    #quotationModal {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .modal-backdrop,
    .doc-modal-footer,
    .btn-close,
    .navbar,
    footer,
    .floating-contact-buttons,
    .quotation-mobile-bottom-bar {
        display: none !important;
    }
    .quotation-doc-card {
        box-shadow: none !important;
        border: 1px solid #cbd5e1 !important;
    }
    .quotation-doc-header {
        background: #0f172a !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

/* ==========================================================================
   INSTANT QUOTATION - COMPREHENSIVE MOBILE & TABLET RESPONSIVE STYLES
   ========================================================================== */

@keyframes pricePulseAnim {
    0% { transform: scale(1); }
    50% { transform: scale(1.12); color: #10b981; }
    100% { transform: scale(1); }
}

.price-pulse {
    animation: pricePulseAnim 0.3s ease;
}

/* Tablet & Mobile Screens (<= 991.98px) */
@media (max-width: 991.98px) {
    .quotation-hero {
        padding: 95px 0 28px;
    }
    .quotation-hero-title {
        font-size: clamp(1.75rem, 4.5vw, 2.35rem);
        line-height: 1.22;
        margin-bottom: 10px;
    }
    .quotation-hero-lead {
        font-size: 0.95rem;
        line-height: 1.55;
        margin-bottom: 16px;
    }
    .quotation-top-bar {
        gap: 12px;
    }
    .category-selection-container {
        margin-bottom: 24px;
    }
    .category-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .category-nav-card {
        padding: 14px 14px;
        gap: 12px;
        border-radius: 16px;
    }
    .cat-nav-icon-wrap {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
        border-radius: 12px;
    }
    .cat-nav-title {
        font-size: 0.88rem;
        padding-right: 54px;
    }
    .cat-nav-subtitle {
        font-size: 0.72rem;
    }
    .cat-nav-badge {
        top: 8px;
        right: 8px;
        font-size: 0.68rem;
        padding: 2px 7px;
    }
    .category-filter-pills {
        gap: 6px;
        margin-bottom: 20px;
        padding-bottom: 6px;
    }
    .filter-pill-btn {
        padding: 7px 14px;
        font-size: 0.8rem;
    }
    .service-section-block {
        margin-bottom: 28px;
        scroll-margin-top: 80px;
    }
    .service-section-header {
        margin-bottom: 14px;
        padding-bottom: 10px;
    }
    .service-section-title {
        font-size: 1.15rem;
    }
    .service-items-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .service-item-card {
        padding: 18px;
        border-radius: 16px;
    }
    .service-item-title {
        font-size: 1.02rem;
    }
    .service-item-desc {
        font-size: 0.82rem;
        margin-bottom: 10px;
    }
    .service-features-list li {
        font-size: 0.78rem;
    }
    .service-price-value {
        font-size: 1.2rem;
    }
    .btn-cart-toggle {
        padding: 8px 15px;
        font-size: 0.82rem;
    }
    .quotation-page-body {
        overflow-x: hidden;
    }
    .quotation-main-wrapper {
        padding-top: 25px !important;
        padding-bottom: 115px !important;
    }
    .quotation-page-body .fixed-floating-actions {
        bottom: 85px !important;
        right: 14px !important;
        gap: 8px !important;
    }
    .quotation-page-body .float-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.15rem !important;
    }
    .quotation-client-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .quotation-doc-header,
    .quotation-doc-body {
        padding: 20px 18px;
    }
    .doc-totals-table {
        width: 100%;
    }
}

/* Mobile Devices (<= 575.98px) */
@media (max-width: 575.98px) {
    .quotation-hero {
        padding: 82px 0 22px;
    }
    .quotation-pill-tag {
        font-size: 0.72rem;
        padding: 4px 12px;
        gap: 6px;
    }
    .quotation-pill-dot {
        width: 6px;
        height: 6px;
    }
    .quotation-hero-title {
        font-size: 1.55rem;
        line-height: 1.25;
        letter-spacing: -0.02em;
        margin-bottom: 8px;
    }
    .quotation-hero-lead {
        font-size: 0.86rem;
        line-height: 1.5;
        margin-bottom: 14px;
        padding: 0 4px;
    }
    .currency-switcher-btn-group {
        padding: 3px;
    }
    .currency-toggle-btn {
        padding: 5px 12px;
        font-size: 0.78rem;
    }
    /* 2x2 Clean Mobile Category Grid */
    .category-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .category-nav-card {
        padding: 12px 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        border-radius: 14px;
        border-width: 1.5px;
    }
    .cat-nav-icon-wrap {
        width: 36px;
        height: 36px;
        font-size: 1.05rem;
        border-radius: 10px;
    }
    .cat-nav-title {
        font-size: 0.82rem;
        line-height: 1.25;
        padding-right: 0;
    }
    .cat-nav-subtitle {
        display: none;
    }
    .cat-nav-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 0.64rem;
        padding: 2px 7px;
        border-radius: 9999px;
    }
    /* Filter Pills on Small Screens */
    .category-filter-pills {
        gap: 6px;
        margin-bottom: 16px;
        scrollbar-width: none;
    }
    .category-filter-pills::-webkit-scrollbar {
        display: none;
    }
    .filter-pill-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
        border-radius: 9999px;
    }
    /* Section Headers */
    .service-section-header {
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    .service-section-title-wrap {
        gap: 8px;
    }
    .service-section-title {
        font-size: 1.05rem;
    }
    .service-section-count {
        font-size: 0.72rem;
        padding: 2px 8px;
    }
    /* Service Cards on Small Screens */
    .service-item-card {
        padding: 14px 14px;
        gap: 12px;
        border-radius: 14px;
    }
    .card-top-tags {
        gap: 6px;
    }
    .service-category-tag,
    .service-feature-badge {
        font-size: 0.66rem;
        padding: 2px 6px;
    }
    .service-item-title {
        font-size: 0.96rem;
        margin-bottom: 4px;
    }
    .service-item-desc {
        font-size: 0.78rem;
        line-height: 1.4;
        margin-bottom: 8px;
    }
    .service-features-list {
        gap: 4px;
    }
    .service-features-list li {
        font-size: 0.74rem;
        gap: 5px;
    }
    .service-features-list li i {
        font-size: 0.82rem;
    }
    .card-footer-action {
        padding-top: 10px;
        gap: 8px;
    }
    .service-price-value {
        font-size: 1.15rem;
        gap: 5px;
    }
    .price-prefix-starting {
        font-size: 0.6rem;
        padding: 2px 6px;
    }
    .service-price-period {
        font-size: 0.68rem;
    }
    .btn-cart-toggle {
        padding: 7px 13px;
        font-size: 0.78rem;
    }
    /* Mobile Bottom Cart Bar */
    .quotation-mobile-bottom-bar {
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
        border-top-width: 1.5px;
    }
    .mobile-cart-count {
        font-size: 0.68rem;
    }
    .mobile-cart-price {
        font-size: 1.25rem;
    }
    .btn-mobile-open-cart {
        padding: 9px 15px;
        font-size: 0.82rem;
        border-radius: 10px;
    }
    /* Mobile Cart Drawer */
    #mobileCartDrawer {
        max-height: 88vh;
        border-top-left-radius: 20px !important;
        border-top-right-radius: 20px !important;
    }
    #mobileCartDrawer .offcanvas-header {
        padding: 14px 16px;
    }
    #mobileCartDrawer .offcanvas-body {
        padding: 14px 16px 24px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .cart-item-row {
        padding: 8px 0;
    }
    .cart-item-name {
        font-size: 0.82rem;
    }
    .cart-item-price {
        font-size: 0.86rem;
    }
    .cart-calculations-box {
        padding: 12px 14px;
    }
    .cart-calc-row {
        font-size: 0.82rem;
    }
    .cart-total-label {
        font-size: 0.92rem;
    }
    .cart-total-amount {
        font-size: 1.35rem;
    }
    /* Form inputs in mobile drawer: 16px base font to prevent iOS auto-zoom */
    .cart-contact-input {
        font-size: 16px !important;
        height: 42px;
    }
    .btn-cart-quote,
    .btn-cart-whatsapp,
    .btn-cart-callback {
        padding: 11px 14px;
        font-size: 0.88rem;
        border-radius: 10px;
    }
    /* Quotation Modal on Phone */
    .quotation-doc-card {
        border-radius: 12px;
    }
    .quotation-doc-header {
        padding: 16px;
    }
    .quotation-doc-header-top {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 14px;
    }
    .doc-meta-badge-box {
        text-align: left;
    }
    .doc-agency-brand h4 {
        font-size: 1.2rem;
    }
    .doc-agency-tagline {
        font-size: 0.78rem;
    }
    .quotation-client-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-top: 12px;
    }
    .client-meta-label {
        font-size: 0.68rem;
    }
    .client-meta-val {
        font-size: 0.88rem;
    }
    .quotation-doc-body {
        padding: 14px 14px;
    }
    .doc-items-table th,
    .doc-items-table td {
        padding: 8px 6px;
        font-size: 0.74rem;
    }
    .doc-totals-table tr td {
        padding: 6px 8px;
        font-size: 0.82rem;
    }
    .doc-totals-table tr.total-row td {
        font-size: 1.05rem;
    }
    .doc-terms-box {
        padding: 12px 14px;
        margin-bottom: 16px;
    }
    .doc-terms-title {
        font-size: 0.78rem;
    }
    .doc-terms-list {
        font-size: 0.74rem;
        padding-left: 16px;
    }
    .doc-modal-footer {
        flex-direction: column;
        gap: 8px;
    }
    .doc-modal-footer > div {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .doc-modal-footer .btn {
        width: 100% !important;
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
    }
}

/* ==========================================================================
   MOBILE STICKY FOOTER BAR — "Customise Your Quotation Now"
   Always visible at bottom on mobile/tablet while scrolling up or down
   ========================================================================== */
.mobile-sticky-quote-bar {
    display: none;
}

@media (max-width: 991.98px) {
    body:not(.quotation-page-body) {
        padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body:not(.quotation-page-body) .fixed-floating-actions {
        bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
        right: 14px !important;
        gap: 8px !important;
    }

    .mobile-sticky-quote-bar {
        display: block !important;
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        z-index: 1035 !important;
        background: rgba(15, 23, 42, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.28);
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
    }

    .mobile-sticky-quote-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 12px 18px;
        border-radius: 12px;
        background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
        color: #ffffff !important;
        font-size: 0.94rem;
        font-weight: 700;
        letter-spacing: 0.01em;
        text-decoration: none !important;
        box-shadow: 0 6px 20px -2px rgba(37, 99, 235, 0.55);
        position: relative;
        overflow: hidden;
        transition: transform 0.18s ease, box-shadow 0.18s ease;
    }

    .mobile-sticky-quote-btn::after {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 60%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
        animation: msqShimmer 3.2s infinite;
    }

    .mobile-sticky-quote-btn:active {
        transform: scale(0.98);
        box-shadow: 0 3px 12px rgba(37, 99, 235, 0.4);
    }

    .mobile-sticky-quote-btn .msq-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.08rem;
        flex-shrink: 0;
    }

    .mobile-sticky-quote-btn .msq-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-sticky-quote-btn .msq-arrow {
        font-size: 1.08rem;
        flex-shrink: 0;
        transition: transform 0.2s ease;
    }

    .mobile-sticky-quote-btn:hover .msq-arrow {
        transform: translateX(3px);
    }
}

@keyframes msqShimmer {
    0% { left: -100%; }
    45%, 100% { left: 160%; }
}

@media (max-width: 480px) {
    body:not(.quotation-page-body) .float-btn {
        width: 44px;
        height: 44px;
        font-size: 1.12rem;
    }

    .mobile-sticky-quote-btn {
        font-size: 0.88rem;
        padding: 11px 14px;
        gap: 8px;
    }
}

@media print {
    .mobile-sticky-quote-bar {
        display: none !important;
    }
}