/* Nexora IT Custom Tech Theme Enhancements */
:root {
    --nx-primary: #f4623a;
    --nx-primary-hover: #e04a20;
    --nx-accent-blue: #2563eb;
    --nx-accent-cyan: #06b6d4;
    --nx-accent-emerald: #10b981;
    --nx-dark-bg: #0f172a;
    --nx-card-bg: #ffffff;
    --nx-card-border: #e2e8f0;
    --nx-text-main: #1e293b;
    --nx-text-muted: #64748b;
    --nx-whatsapp: #25D366;
    --nx-telegram: #229ED9;
    --nx-gradient-tech: linear-gradient(135deg, #f4623a 0%, #ff8a5c 100%);
    --nx-gradient-blue: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Top Floating Messengers Widget */
.floating-messengers {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.float-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 28px;
    position: relative;
}

.float-btn:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.float-btn.whatsapp {
    background: var(--nx-whatsapp);
}

.float-btn.telegram {
    background: var(--nx-telegram);
}

.float-btn .pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--nx-whatsapp);
    animation: floatPulse 2s infinite ease-out;
    pointer-events: none;
}

.float-tooltip {
    position: absolute;
    right: 70px;
    background: #0f172a;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.float-btn:hover .float-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes floatPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.35); opacity: 0.2; }
    100% { transform: scale(1.55); opacity: 0; }
}

/* Language Switcher in Navbar */
.lang-switcher {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2px 4px;
    margin-left: 15px;
    backdrop-filter: blur(8px);
}

.navbar-shrink .lang-switcher {
    background: #f1f5f9;
}

.lang-btn {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.navbar-shrink .lang-btn {
    color: #475569;
}

.lang-btn.active, .lang-btn:hover {
    background: var(--nx-primary);
    color: #fff !important;
}

/* Enhanced Section Headings */
.section-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.badge-primary-soft {
    background: rgba(244, 98, 58, 0.12);
    color: var(--nx-primary);
}

.badge-blue-soft {
    background: rgba(37, 99, 235, 0.12);
    color: var(--nx-accent-blue);
}

/* Interactive Calculator */
.calc-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid #edf2f7;
    overflow: hidden;
    padding: 35px;
}

.calc-progress {
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    margin-bottom: 30px;
    overflow: hidden;
}

.calc-progress-bar {
    height: 100%;
    background: var(--nx-gradient-tech);
    width: 25%;
    transition: width 0.4s ease;
}

.calc-step-header {
    margin-bottom: 25px;
}

.calc-step-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--nx-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calc-option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.calc-option {
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #f8fafc;
    user-select: none;
    position: relative;
}

.calc-option:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    background: #ffffff;
}

.calc-option.selected {
    border-color: var(--nx-primary);
    background: rgba(244, 98, 58, 0.04);
    box-shadow: 0 8px 20px rgba(244, 98, 58, 0.15);
}

.calc-option .option-icon {
    font-size: 32px;
    color: var(--nx-primary);
    margin-bottom: 12px;
}

.calc-option .option-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
    color: #1e293b;
}

.calc-option .option-desc {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.calc-result-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 30px;
    color: #fff;
    margin-bottom: 25px;
    text-align: center;
}

.calc-price-display {
    font-size: 36px;
    font-weight: 800;
    color: #38bdf8;
    margin: 10px 0;
}

.calc-time-badge {
    background: rgba(255, 255, 255, 0.15);
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 14px;
}

/* Tech Stack Cards */
.tech-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 20px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.tech-icon {
    font-size: 40px;
    margin-bottom: 14px;
    display: inline-block;
}

.tech-name {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 6px;
    color: #0f172a;
}

.tech-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
}

/* Process Timeline */
.process-step-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    height: 100%;
    transition: all 0.3s ease;
}

.process-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(244, 98, 58, 0.1);
    border-color: rgba(244, 98, 58, 0.3);
}

.step-num-badge {
    width: 46px;
    height: 46px;
    background: var(--nx-gradient-tech);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 20px;
    box-shadow: 0 6px 16px rgba(244, 98, 58, 0.3);
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 16px !important;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.faq-accordion .accordion-button {
    font-weight: 700;
    font-size: 17px;
    color: #1e293b;
    padding: 20px 24px;
    background: #ffffff;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--nx-primary);
    background: rgba(244, 98, 58, 0.05);
    box-shadow: none;
}

.faq-accordion .accordion-body {
    padding: 10px 24px 24px 24px;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
}

/* Blog Cards */
.blog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.08);
}

.blog-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--nx-accent-blue);
    display: inline-block;
    margin-bottom: 12px;
}

.blog-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #0f172a;
}

.blog-card-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

/* Service Page Badges & Cards */
.service-feature-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
    transition: all 0.25s ease;
}

.service-feature-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: #cbd5e1;
}

/* Navigation Dropdown custom style */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-menu {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 10px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 14px;
}

.dropdown-item:hover {
    background: rgba(244, 98, 58, 0.1);
    color: var(--nx-primary);
}

/* Portfolio Cards & Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 35px;
}

.portfolio-filter-btn {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.active {
    background: var(--nx-primary);
    color: #ffffff;
    border-color: var(--nx-primary);
    box-shadow: 0 4px 14px rgba(244, 98, 58, 0.25);
}

.portfolio-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.portfolio-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f1f5f9;
}

.portfolio-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-img-wrap img {
    transform: scale(1.05);
}

.portfolio-badge-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(6px);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.portfolio-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Contract & Legal Banner */
.contract-section-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px;
    padding: 40px;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.contract-badge-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.25s ease;
    height: 100%;
}

.contract-badge-item:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-3px);
}

/* Lead Magnet / Brief Banner */
.lead-magnet-card {
    background: linear-gradient(135deg, #f4623a 0%, #ff7b54 100%);
    border-radius: 24px;
    padding: 35px;
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(244, 98, 58, 0.25);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .floating-messengers {
        bottom: 20px;
        right: 20px;
    }
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .float-tooltip {
        display: none;
    }
    .calc-card {
        padding: 22px 18px;
    }
    .calc-price-display {
        font-size: 28px;
    }
    .lang-switcher {
        margin: 10px 0;
        width: fit-content;
    }
    .contract-section-card {
        padding: 24px 18px;
    }
}


