/* assets/css/components.css */

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    height: 48px;
    padding: 0 28px;
    border-radius: 24px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    text-align: center;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--brand-gradient-animated);
    background-size: 300% 300%;
    color: var(--primary-bg);
    box-shadow: 0 6px 20px rgba(99, 50, 215, 0.25);
    animation: gradientMove 10s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 50, 215, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--primary-bg);
    color: var(--primary-purple);
    border: 1px solid rgba(99, 50, 215, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: var(--lavender-bg);
    border-color: var(--primary-purple);
    box-shadow: 0 8px 20px rgba(99, 50, 215, 0.1);
}

.btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

/* Specific small button for Navbar */
.btn-nav {
    height: 40px;
    padding: 0 20px;
    font-size: 13.5px;
    border-radius: 20px;
}

/* --- Card Base Styles --- */
.card-base {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(100, 90, 180, 0.08);
    border-radius: 18px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 24px;
}

.card-base:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

/* --- Brand Carousel Cards --- */
.brand-carousel-container {
    position: relative;
    max-width: var(--max-width);
    margin: 30px auto 0;
    padding: 0 45px;
    display: flex;
    align-items: center;
}

.brand-viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.brand-track {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
    animation: brandAutoSlide 20s linear infinite;
}

.brand-carousel-container:hover .brand-track,
.brand-track:hover {
    animation-play-state: paused;
}

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

.brand-card {
    min-width: 180px;
    height: 64px;
    background: #ffffff;
    border: 1px solid rgba(100, 90, 180, 0.08);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(37, 40, 90, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    user-select: none;
}

.brand-card:hover {
    border-color: rgba(99, 50, 215, 0.3);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(99, 50, 215, 0.12);
}

.brand-logo-img {
    height: 24px;
    opacity: 0.85;
}

.carousel-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-bg);
    border: 1px solid rgba(100, 90, 180, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.carousel-nav-btn:hover {
    color: var(--primary-purple);
    border-color: var(--primary-purple);
    box-shadow: 0 4px 12px rgba(99, 50, 215, 0.15);
}

.carousel-nav-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

.carousel-nav-prev { left: 4px; }
.carousel-nav-next { right: 4px; }

/* --- Purple Statistics Bar --- */
.stats-bar {
    max-width: 1140px;
    margin: 0 auto;
    border-radius: 24px;
    background: linear-gradient(135deg, #3714A8 0%, #5B28D9 45%, #7C1FDA 80%, #9024E8 100%);
    box-shadow: 0 20px 50px rgba(55, 20, 168, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.16) inset;
    padding: 28px 36px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    z-index: 10;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.stats-bar-decor {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    pointer-events: none;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 4px 22px;
    position: relative;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0.05) 100%);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.05);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
    stroke-width: 2.2;
    fill: none;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.5px;
    font-family: var(--font-heading);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.stat-label {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 3px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* --- Customer Experience Cards (Side-by-Side Cards) --- */
.cx-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 48px 0;
}

.cx-card {
    height: auto;
    min-height: 250px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(100, 90, 180, 0.08);
    box-shadow: 0 10px 30px rgba(37, 40, 90, 0.04);
    padding: 32px 22px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.cx-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(75, 45, 160, 0.12);
}

.cx-card-1 {
    border-top: 4px solid #10B981;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, rgba(255, 255, 255, 0.95) 45%, #ffffff 100%);
}
.cx-card-2 {
    border-top: 4px solid #F59E0B;
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.06) 0%, rgba(255, 255, 255, 0.95) 45%, #ffffff 100%);
}
.cx-card-3 {
    border-top: 4px solid #3B82F6;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.06) 0%, rgba(255, 255, 255, 0.95) 45%, #ffffff 100%);
}
.cx-card-4 {
    border-top: 4px solid #EC4899;
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.06) 0%, rgba(255, 255, 255, 0.95) 45%, #ffffff 100%);
}

.cx-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.cx-card:hover .cx-icon-wrapper {
    transform: scale(1.1);
}

.cx-card-1 .cx-icon-wrapper { background: rgba(16, 185, 129, 0.15); color: #10B981; }
.cx-card-2 .cx-icon-wrapper { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }
.cx-card-3 .cx-icon-wrapper { background: rgba(59, 130, 246, 0.15); color: #3B82F6; }
.cx-card-4 .cx-icon-wrapper { background: rgba(236, 72, 153, 0.15); color: #EC4899; }

.cx-icon-wrapper svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
}

.cx-metric {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.cx-label {
    font-size: 14.5px;
    line-height: 1.45;
    color: var(--text-muted);
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.cx-footer-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.cx-link-btn {
    font-weight: 600;
    color: var(--primary-purple);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.cx-link-btn:hover {
    color: var(--electric-blue);
}

.cx-link-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: transform 0.3s ease;
}

.cx-link-btn:hover svg {
    transform: translateX(4px);
}

/* --- Solutions Grid --- */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.solution-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sol-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.sol-icon-green { background: rgba(85,205,150,0.15); color: #10b981; }
.sol-icon-orange { background: rgba(245,158,11,0.15); color: #f59e0b; }
.sol-icon-blue { background: rgba(59,130,246,0.15); color: #3b82f6; }
.sol-icon-purple { background: rgba(139,92,246,0.15); color: #8b5cf6; }

.sol-icon svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.sol-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.sol-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.sol-btn {
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    color: var(--primary-bg);
    align-self: flex-start;
}

.sol-btn-green { background: #10b981; box-shadow: 0 4px 10px rgba(16,185,129,0.2); }
.sol-btn-orange { background: #f59e0b; box-shadow: 0 4px 10px rgba(245,158,11,0.2); }
.sol-btn-blue { background: #3b82f6; box-shadow: 0 4px 10px rgba(59,130,246,0.2); }
.sol-btn-purple { background: #8b5cf6; box-shadow: 0 4px 10px rgba(139,92,246,0.2); }

.sol-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* --- Testimonials Slider --- */
.testimonials-section {
    background-color: var(--secondary-bg);
}

.testimonial-container {
    max-width: 820px;
    margin: 40px auto 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.testimonial-viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.testimonial-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-slide {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 10px 0;
}

.testimonial-card {
    background: var(--primary-bg);
    border: 1px solid rgba(100, 90, 180, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 40px 48px;
    position: relative;
    box-sizing: border-box;
    max-width: 100%;
    margin: 0 auto;
}

.quote-icon {
    color: rgba(99, 50, 215, 0.08);
    position: absolute;
    width: 70px;
    height: 70px;
    fill: currentColor;
    z-index: 1;
}

.quote-icon-left {
    top: 20px;
    left: 20px;
}

.quote-icon-right {
    bottom: 20px;
    right: 20px;
    transform: rotate(180deg);
}

.testimonial-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--lavender-bg);
    border: 2px solid rgba(99, 50, 215, 0.2);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.testimonial-avatar svg {
    width: 36px;
    height: 36px;
    color: var(--primary-purple);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.testimonial-author-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-purple);
}

.testimonial-author-title {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

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

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(100, 90, 180, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--primary-purple);
    width: 20px;
    border-radius: 4px;
}

.testimonial-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-bg);
    border: 1px solid rgba(100, 90, 180, 0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.testimonial-nav-btn:hover {
    color: var(--primary-purple);
    border-color: var(--primary-purple);
    box-shadow: 0 4px 15px rgba(99, 50, 215, 0.15);
}

.testimonial-nav-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

.testimonial-prev { left: -60px; }
.testimonial-next { right: -60px; }

/* --- Ready to Talk Section --- */
.r2t-container {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 46% 54%;
    align-items: center;
    gap: 40px;
}

.r2t-left {
    display: flex;
    justify-content: center;
    position: relative;
}

/* Discussion Scene Illustration */
.discuss-illustration {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 320px;
}

.r2t-right-card {
    background: linear-gradient(135deg, #4B2AC8 0%, #6C2EDB 45%, #8A2BE2 100%);
    border-radius: 30px;
    box-shadow: 0 15px 45px rgba(75, 42, 200, 0.25);
    padding: 40px;
    color: var(--primary-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 300px;
}

.r2t-content {
    max-width: 55%;
    position: relative;
    z-index: 5;
}

.r2t-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-bg);
    margin-bottom: 24px;
}

.r2t-phone-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.r2t-phone-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.r2t-phone-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-bg);
    stroke-width: 2;
    fill: none;
}

.r2t-number {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.r2t-btn {
    background: var(--primary-bg) !important;
    color: var(--primary-purple) !important;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.r2t-btn:hover {
    background: var(--lavender-bg) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Customer Support Telecaller Image Wrapper */
.telecaller-image-wrapper {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    width: 44%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 0 30px 30px 0;
}

.telecaller-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.85) 30%, black 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.85) 30%, black 100%);
    transition: transform 0.5s ease;
}

.r2t-right-card:hover .telecaller-img {
    transform: scale(1.04);
}

/* Semi-transparent Purple Overlay */
.telecaller-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(76, 37, 195, 0.25), rgba(121, 45, 220, 0.45));
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 3;
}

/* --- Homepage Contact & Consultation Section Styles --- */
.home-contact-section {
    padding: 90px 0 110px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F7FF 100%);
    position: relative;
    overflow: hidden;
}

.home-contact-grid {
    display: grid;
    grid-template-columns: 46% 54%;
    gap: 36px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.home-contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home-contact-form-card {
    background: #FFFFFF;
    border-radius: 28px;
    padding: 40px 38px;
    border: 1px solid rgba(100, 90, 180, 0.1);
    box-shadow: 0 20px 50px rgba(37, 40, 90, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.home-contact-form-card:hover {
    box-shadow: 0 25px 60px rgba(99, 50, 215, 0.09);
    border-color: rgba(99, 50, 215, 0.18);
}

.home-contact-form-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy-purple);
    margin-bottom: 8px;
}

.home-contact-form-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.home-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

/* --- Contact Page Form Card & Grid Alignment --- */
.contact-form-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 38px 40px;
    border: 1px solid rgba(100, 90, 180, 0.1);
    box-shadow: 0 20px 50px rgba(37, 40, 90, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.contact-form-card:hover {
    box-shadow: 0 25px 60px rgba(99, 50, 215, 0.09);
    border-color: rgba(99, 50, 215, 0.18);
}

.contact-form-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy-purple);
    margin-bottom: 8px;
    line-height: 1.25;
}

.contact-form-desc {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.55;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 16px;
}

.contact-submit-btn {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(99, 50, 215, 0.25);
    transition: all 0.3s ease;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(99, 50, 215, 0.35);
}

.home-quick-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(100, 90, 180, 0.08);
    box-shadow: 0 6px 20px rgba(37, 40, 90, 0.03);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-quick-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 40, 90, 0.06);
}

.home-quick-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .home-contact-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .home-contact-info-col {
        width: 100% !important;
        max-width: 100% !important;
    }
    .home-contact-form-card,
    .contact-form-card {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .home-contact-section {
        padding: 50px 0 60px !important;
        overflow: hidden !important;
    }
    .home-contact-grid {
        gap: 20px !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .r2t-right-card {
        padding: 24px 18px !important;
        border-radius: 20px !important;
        min-height: 220px !important;
        height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .r2t-content {
        max-width: 60% !important;
    }
    .r2t-title {
        font-size: 22px !important;
        margin-bottom: 12px !important;
    }
    .r2t-phone-box {
        gap: 8px !important;
        margin-bottom: 14px !important;
    }
    .r2t-phone-icon {
        width: 34px !important;
        height: 34px !important;
    }
    .r2t-phone-icon svg {
        width: 16px !important;
        height: 16px !important;
    }
    .r2t-number {
        font-size: 19px !important;
    }
    .r2t-btn {
        font-size: 12px !important;
        padding: 8px 14px !important;
        border-radius: 18px !important;
        white-space: nowrap !important;
    }
    .r2t-btn svg {
        width: 12px !important;
        height: 12px !important;
    }
    .telecaller-image-wrapper {
        width: 46% !important;
        border-radius: 0 20px 20px 0 !important;
    }
    .home-quick-card {
        padding: 16px 16px !important;
        border-radius: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        gap: 14px !important;
    }
    .home-quick-icon {
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
    }
    .home-quick-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
    .home-form-row,
    .contact-form-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-bottom: 12px !important;
    }
    .home-contact-form-card,
    .contact-form-card {
        padding: 24px 18px !important;
        border-radius: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .home-contact-form-title,
    .contact-form-title {
        font-size: 22px !important;
        line-height: 1.25 !important;
    }
    .home-contact-form-desc,
    .contact-form-desc {
        font-size: 13px !important;
        margin-bottom: 18px !important;
    }
}

@media (max-width: 480px) {
    .r2t-right-card {
        padding: 20px 14px !important;
        border-radius: 16px !important;
    }
    .r2t-content {
        max-width: 62% !important;
    }
    .r2t-title {
        font-size: 20px !important;
        margin-bottom: 10px !important;
    }
    .r2t-number {
        font-size: 17px !important;
    }
    .r2t-btn {
        font-size: 11px !important;
        padding: 7px 11px !important;
        gap: 5px !important;
    }
    .telecaller-image-wrapper {
        width: 42% !important;
    }
    .home-contact-form-card,
    .contact-form-card {
        padding: 20px 14px !important;
        border-radius: 16px !important;
    }
    .home-quick-card {
        padding: 14px 12px !important;
        border-radius: 14px !important;
    }
}

/* --- Get a Demo Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 20, 61, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2000;
    overflow-y: auto;
}

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

.modal-container {
    background: var(--primary-bg);
    width: 540px;
    max-width: 100%;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(17, 20, 61, 0.25);
    border: 1px solid rgba(100, 90, 180, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95) translateY(12px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    margin: auto;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    background: var(--lavender-bg);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(100, 90, 180, 0.08);
    flex-shrink: 0;
}

.modal-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-dark);
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    color: var(--primary-purple);
    background: rgba(99, 50, 215, 0.08);
}

.modal-close-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

.modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    flex: 1 1 auto;
}

.modal-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

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

.form-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-control {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(100, 90, 180, 0.15);
    padding: 0 15px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    background: var(--secondary-bg);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-purple);
    background: var(--primary-bg);
    box-shadow: 0 0 0 3px rgba(99, 50, 215, 0.12);
}

textarea.form-control {
    height: 65px;
    padding-top: 10px;
    resize: vertical;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(100, 90, 180, 0.08);
}

@media (max-width: 520px) {
    .modal-overlay {
        padding: 10px;
    }
    .modal-container {
        width: 100% !important;
        max-height: calc(100dvh - 20px) !important;
        border-radius: 16px !important;
    }
    .modal-form-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    .modal-header {
        padding: 14px 18px !important;
    }
    .modal-body {
        padding: 16px 18px !important;
    }
}

.form-message {
    font-size: 14px;
    margin-top: 15px;
    display: none;
    font-weight: 500;
}

.form-message.success {
    color: #10b981;
    display: block;
}

.form-message.error {
    color: #ef4444;
    display: block;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- About Us - Horizon of Offerings Section --- */
.horizon-section {
    padding: 90px 0 110px;
    background: #ffffff;
    overflow: hidden;
}

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

.horizon-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--navy-purple);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.horizon-subtitle {
    font-size: 16.5px;
    color: var(--text-muted);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.6;
}

.radial-container {
    position: relative;
    width: 1020px;
    height: 600px;
    margin: 0 auto;
}

/* Center Hub */
.radial-hub {
    position: absolute;
    width: 220px;
    height: 220px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(100, 90, 180, 0.12), inset 0 2px 6px rgba(255, 255, 255, 0.8);
    z-index: 10;
    border: 1px solid rgba(100, 90, 180, 0.08);
}

.radial-hub-inner {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 60%, #f3effc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 4px 12px rgba(100, 90, 180, 0.06);
    border: 1px solid rgba(100, 90, 180, 0.05);
}

.radial-hub-text {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

/* Nodes */
.radial-node {
    position: absolute;
    width: 64px;
    height: 64px;
    margin-left: -32px;
    margin-top: -32px;
    z-index: 12;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.radial-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(100, 90, 180, 0.12);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.radial-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-purple);
    stroke-width: 2;
    fill: none;
    transition: all 0.3s ease;
}

/* Specific styling for fill icons */
.radial-icon svg.fill-icon {
    fill: var(--primary-purple);
    stroke: none;
}

.radial-text {
    position: absolute;
    width: 270px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.radial-node-left .radial-text {
    right: 84px;
    text-align: right;
    top: 50%;
    transform: translateY(-50%);
}

.radial-node-right .radial-text {
    left: 84px;
    text-align: left;
    top: 50%;
    transform: translateY(-50%);
}

.radial-node-bottom .radial-text {
    top: 84px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.radial-node-title {
    font-size: 17.5px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.radial-node-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    transition: all 0.3s ease;
}

/* Hover Actions */
.radial-node:hover .radial-icon {
    transform: scale(1.18);
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    box-shadow: 0 12px 30px rgba(100, 90, 180, 0.35);
}

.radial-node:hover .radial-icon svg {
    stroke: #ffffff;
}

.radial-node:hover .radial-icon svg.fill-icon {
    fill: #ffffff;
}

.radial-node:hover .radial-node-title {
    color: var(--primary-purple);
    transform: translateY(-2px);
}

.radial-node:hover .radial-node-desc {
    color: var(--text-dark);
}

/* Connector SVG */
.radial-connectors {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.radial-line {
    stroke: rgba(100, 90, 180, 0.12);
    stroke-width: 1.5;
    stroke-dasharray: 4 5;
    transition: all 0.3s ease;
}

.radial-line.active {
    stroke: var(--primary-purple);
    stroke-width: 2.5;
    stroke-dasharray: none;
    filter: drop-shadow(0 0 4px rgba(100, 90, 180, 0.3));
}

.radial-ring {
    stroke: rgba(100, 90, 180, 0.08);
    stroke-width: 1.5;
    stroke-dasharray: 3 4;
}

/* Responsive adjustment for Horizon of Offerings */
@media (max-width: 1024px) {
    .radial-container {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }
    .radial-hub, .radial-connectors {
        display: none !important;
    }
    .radial-node {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 16px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important;
        padding: 18px !important;
        border-radius: 14px !important;
        border: 1px solid rgba(100,90,180,0.08) !important;
        background: #ffffff !important;
        box-sizing: border-box !important;
    }
    .radial-text {
        position: relative !important;
        width: 100% !important;
        max-width: calc(100% - 70px) !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        text-align: left !important;
        pointer-events: auto !important;
        box-sizing: border-box !important;
    }
    .radial-node-bottom .radial-text {
        text-align: left !important;
    }
    .radial-icon {
        flex-shrink: 0 !important;
    }
}
@media (max-width: 768px) {
    .radial-container {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 0 !important;
    }
}

/* --- About Us Vision & Values Responsive Grid Layouts --- */
.about-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    width: 100%;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
}

.about-stats-full {
    grid-column: span 2;
}

.about-metric-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
}

@media (max-width: 992px) {
    .about-split-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        margin-bottom: 50px !important;
    }
    .about-values-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 600px) {
    .about-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .about-stats-full {
        grid-column: span 1 !important;
    }
    .about-metric-row {
        flex-direction: column !important;
        gap: 8px !important;
        text-align: center !important;
    }
    .about-metric-divider {
        display: none !important;
    }
    .about-values-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* Card Hover Accent Highlights */
.card-hover-effect:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 50, 215, 0.2) !important;
    box-shadow: 0 20px 40px rgba(100, 90, 180, 0.08) !important;
}

/* --- Mobile Testimonials Responsive Styles (< 768px) --- */
@media (max-width: 768px) {
    .testimonial-container {
        margin: 24px auto 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        position: relative !important;
    }
    .testimonial-nav-btn {
        display: none !important;
    }
    .testimonial-viewport {
        width: 100% !important;
        overflow: hidden !important;
    }
    .testimonial-track {
        width: 100% !important;
    }
    .testimonial-slide {
        padding: 6px 0 !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    .testimonial-card {
        padding: 32px 18px 24px !important;
        border-radius: 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: 0 8px 25px rgba(37, 40, 90, 0.06) !important;
    }
    .quote-icon {
        width: 34px !important;
        height: 34px !important;
        opacity: 0.35 !important;
    }
    .quote-icon-left {
        top: 12px !important;
        left: 12px !important;
    }
    .quote-icon-right {
        bottom: 12px !important;
        right: 12px !important;
    }
    .testimonial-avatar {
        width: 56px !important;
        height: 56px !important;
        margin: 0 auto 16px !important;
    }
    .testimonial-avatar svg {
        width: 26px !important;
        height: 26px !important;
    }
    .testimonial-text {
        font-size: 14.5px !important;
        line-height: 1.65 !important;
        margin-bottom: 18px !important;
        padding: 0 6px !important;
    }
    .testimonial-author-name {
        font-size: 15px !important;
    }
    .testimonial-author-title {
        font-size: 12px !important;
    }
    .testimonial-dots {
        margin-top: 16px !important;
    }
}

.card-hover-effect:hover .btn-secondary {
    background: var(--primary-purple) !important;
    color: #ffffff !important;
    border-color: var(--primary-purple) !important;
}

/* --- Services & Products Grid & Mobile Horizontal Side-by-Side Scroll --- */
.services-grid,
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.services-card,
.products-list .card-base {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(100, 90, 180, 0.08);
    box-shadow: 0 10px 30px rgba(37, 40, 90, 0.04);
    transition: all 0.3s ease;
}

.services-card:hover,
.products-list .card-base:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(99, 50, 215, 0.1);
}

.mobile-scroll-hint {
    display: none;
}

@media (max-width: 992px) {
    .services-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .services-content,
    .products-list {
        padding: 50px 0 !important;
        overflow: hidden !important;
    }
    .services-cards-container,
    .resources-cards-container {
        position: relative !important;
        width: 100% !important;
    }
    .services-grid,
    .products-grid,
    .resources-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 14px !important;
        padding: 8px 16px 22px !important;
        margin: 0 -16px !important;
        scrollbar-width: none !important;
    }
    .services-grid::-webkit-scrollbar,
    .products-grid::-webkit-scrollbar,
    .resources-grid::-webkit-scrollbar {
        display: none !important;
    }
    .services-card,
    .products-list .card-base,
    .resource-card {
        flex: 0 0 270px !important;
        min-width: 270px !important;
        max-width: 270px !important;
        scroll-snap-align: start !important;
        padding: 22px 18px !important;
        border-radius: 16px !important;
        box-shadow: 0 8px 24px rgba(37, 40, 90, 0.07) !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
    .resource-card-icon {
        width: 48px !important;
        height: 48px !important;
        border-radius: 12px !important;
    }
    .resource-card-icon svg {
        width: 24px !important;
        height: 24px !important;
    }
    .resource-badge {
        font-size: 10px !important;
        padding: 3px 8px !important;
        margin-bottom: 6px !important;
    }
    .services-card h3,
    .products-list .card-base h3,
    .resource-card .resource-title {
        font-size: 17px !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
    }
    .services-card p,
    .products-list .card-base p,
    .resource-card .resource-desc {
        font-size: 13px !important;
        line-height: 1.55 !important;
        margin-bottom: 14px !important;
    }
    .resource-card .resource-link {
        font-size: 13px !important;
        margin-top: auto !important;
    }
    .services-card ul {
        font-size: 12px !important;
        margin-bottom: 18px !important;
        padding-left: 16px !important;
    }
    .services-card ul li {
        margin-bottom: 4px !important;
    }
    .services-card .btn,
    .products-list .card-base .btn {
        height: 36px !important;
        font-size: 12.5px !important;
        padding: 0 14px !important;
        width: 100% !important;
        text-align: center !important;
    }
    .mobile-scroll-hint {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: var(--primary-purple);
        font-size: 12px;
        font-weight: 700;
        margin-top: 6px;
        background: rgba(99, 50, 215, 0.06);
        padding: 6px 14px;
        border-radius: 20px;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    .mobile-scroll-hint svg {
        animation: pulseSideways 1.5s infinite;
    }
}

@keyframes pulseSideways {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

/* ==========================================================================
   Mobile Bottom Sticky Footer Navigation (Curved Floating Dock & Glassmorphism)
   ========================================================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 480px;
    z-index: 9995;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(25px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(200%) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 38px !important;
    box-shadow: 0 10px 35px 0 rgba(31, 38, 135, 0.12), 0 2px 10px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    padding: 6px 12px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block !important;
    }
    
    /* Ensure page content isn't covered by sticky footer */
    body {
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

@media (max-width: 576px) {
    .mobile-bottom-nav {
        bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
        width: calc(100% - 18px) !important;
        border-radius: 34px !important;
        padding: 5px 8px !important;
    }
}

.mobile-bottom-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    gap: 4px;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    padding: 6px 4px 5px;
    text-decoration: none;
    color: #64748B;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 14px;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.mobile-nav-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 30px;
    border-radius: 10px;
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-nav-icon-wrap svg {
    width: 21px;
    height: 21px;
    stroke: currentColor;
    stroke-width: 1.9;
    fill: none;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), stroke 0.25s ease;
}

.mobile-nav-label {
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    color: inherit;
    letter-spacing: 0.1px;
    transition: color 0.25s ease, font-weight 0.25s ease;
}

.mobile-nav-dot {
    position: absolute;
    top: 2px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple, #6332D7), var(--electric-blue, #2563EB));
    opacity: 0;
    transform: scale(0);
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hover and Active State */
.mobile-nav-item:hover,
.mobile-nav-item:focus {
    color: var(--primary-purple, #6332D7);
}

.mobile-nav-item.active {
    color: var(--primary-purple, #6332D7);
}

.mobile-nav-item.active .mobile-nav-icon-wrap {
    background: linear-gradient(135deg, rgba(99, 50, 215, 0.14), rgba(37, 99, 235, 0.08));
    color: var(--primary-purple, #6332D7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 8px rgba(99, 50, 215, 0.15);
}

.mobile-nav-item.active .mobile-nav-icon-wrap svg {
    transform: translateY(-1px) scale(1.1);
    stroke: var(--primary-purple, #6332D7);
}

.mobile-nav-item.active .mobile-nav-label {
    color: var(--primary-purple, #6332D7);
    font-weight: 700;
}

.mobile-nav-item.active .mobile-nav-dot {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================================================
   Floating Call Popup Widget (Desktop & Mobile Right Side)
   ========================================================================== */
.floating-call-widget {
    position: fixed;
    right: 28px;
    bottom: 32px;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    .floating-call-widget {
        right: 18px !important;
        bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important; /* Floats cleanly above curved sticky bottom nav */
    }
}

.floating-call-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.45), 0 3px 10px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 576px) {
    .floating-call-btn {
        width: 50px;
        height: 50px;
    }
}

.floating-call-btn:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 14px 34px rgba(16, 185, 129, 0.55), 0 5px 14px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #ffffff !important;
}

.floating-call-btn:active {
    transform: translateY(1px) scale(0.95);
}

.floating-call-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.floating-call-icon svg {
    width: 26px;
    height: 26px;
    stroke: #ffffff;
    stroke-width: 2.2;
    fill: none;
    animation: phoneWiggle 2.8s infinite ease-in-out;
}

@media (max-width: 576px) {
    .floating-call-icon svg {
        width: 23px;
        height: 23px;
    }
}

/* Pulsing radar rings */
.floating-call-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(16, 185, 129, 0.65);
    animation: floatingPulseRing 2.4s infinite cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
    z-index: -1;
}

.floating-call-pulse.delay {
    animation-delay: 1.2s;
}

@keyframes floatingPulseRing {
    0% {
        transform: scale(0.92);
        opacity: 0.85;
    }
    70% {
        transform: scale(1.28);
        opacity: 0;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes phoneWiggle {
    0%, 80%, 100% { transform: rotate(0deg); }
    84% { transform: rotate(14deg); }
    88% { transform: rotate(-14deg); }
    92% { transform: rotate(10deg); }
    96% { transform: rotate(-6deg); }
}
