/* 
   ==========================================================================
   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 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 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;
}

.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;
}

.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;
    }
}


