/*
Theme Name: Azaran Shabakeh
Theme URI: azaranshabakeh.com
Author: Arash Aryan
Author URI: 
Description: 
Version: 1.0
License: Free
License URI:
Tags: 
Text Domain: 
*/
:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary: #6f42c1;
    --accent: #0dcaf0;
    --dark: #1a1d3e;
    --light-bg: #f0f4f8;
    --card-shadow: 0 4px 24px rgba(0,0,0,0.08);
    --card-hover-shadow: 0 8px 40px rgba(13,110,253,0.18);
    --gradient-1: linear-gradient(135deg, #0d6efd 0%, #6f42c1 100%);
    --gradient-2: linear-gradient(135deg, #0dcaf0 0%, #0d6efd 100%);
}
@font-face {
	font-family: Vazirmatn;
	font-style: normal;
	font-weight: normal;
	src: url('fonts/Vazirmatn-wght.woff2');
}
@font-face {
	font-family: bootstrap-icons;
	font-style: normal;
	font-weight: normal;
	src: url('fonts/bootstrap-icons.woff2');
}
* { font-family: 'Vazirmatn', sans-serif; }

body {
    background: var(--light-bg);
    color: #333;
    overflow-x: hidden;
    direction: rtl;
}

.logo {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #0066ff, #00c6ff);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    margin-left: 0.5rem;
}
.main {
    padding-top: 66px;
}
.home-main {
    padding: 0;
}
.page-section {
    padding-bottom: 20px;
}
.home-main .page-section {
    padding-bottom: 0;
}
/* ===== NAVBAR ===== */
.navbar-custom {
    background: rgba(26, 29, 62, 0.97);
    backdrop-filter: blur(12px);
    padding: 0.6rem 0;
    transition: all 0.3s;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.navbar-custom .navbar-brand {
    font-weight: 900;
    font-size: 1.55rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
}
.navbar-custom .nav-link {
    color: rgba(255,255,255,0.82) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.25s;
    position: relative;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: #fff !important;
    background: rgba(13,202,240,0.13);
}
.navbar-custom .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 50%;
    transform: translateX(50%);
    width: 28px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
    background: var(--gradient-1);
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(13,110,253,0.3);
}
.btn-primary-custom:hover {
    box-shadow: 0 6px 25px rgba(13,110,253,0.4);
    color: #fff;
}
.btn-outline-custom {
    border: 2px solid rgba(255,255,255,0.3);
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    transition: all 0.3s;
}
.btn-outline-custom:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(13,202,240,0.08);
}
/* ===== HERO ===== */
.hero-section {
    min-height: calc(100vh - 45.39px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--dark);
    z-index: 0;
}
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(13,110,253,0.25) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(111,66,193,0.2) 0%, transparent 50%),
                radial-gradient(ellipse at 60% 80%, rgba(13,202,240,0.15) 0%, transparent 50%);
}
#heroParticles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.7;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    from {
        transform: translateY(100vh);
        opacity: 0;
    }
    to {
        transform: translateY(-10vh);
        opacity: 1;
    }
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13,202,240,0.12);
    border: 1px solid rgba(13,202,240,0.25);
    color: var(--accent);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 1.2rem;
}
.hero-title span {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.72);
    line-height: 2;
    margin-bottom: 2rem;
    max-width: 520px;
}
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
}
.hero-stat h3 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 0.2rem;
}
.hero-stat p {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
}
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-visual-circle {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,110,253,0.15) 0%, transparent 70%);
    border: 2px solid rgba(13,110,253,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseCircle 4s ease-in-out infinite;
    position: relative;
}
@keyframes pulseCircle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}
.hero-visual-icon {
    font-size: 7rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.speed-tag {
    position: absolute;
    background: rgba(26,29,62,0.92);
    border: 1px solid rgba(13,202,240,0.3);
    padding: 10px 20px;
    border-radius: 14px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    backdrop-filter: blur(8px);
    animation: floatTag 3s ease-in-out infinite;
}
.speed-tag:nth-child(2) { top: 15%; left: -10%; animation-delay: 0s; }
.speed-tag:nth-child(3) { bottom: 20%; right: -8%; animation-delay: 1s; }
.speed-tag:nth-child(4) { top: 50%; left: -18%; animation-delay: 2s; }
@keyframes floatTag {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}


/* ===== TARIFF PAGE ===== */
.page-header {
    background: var(--gradient-1);
    padding: 6rem 0 3rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 30px 30px;
}
.page-header h1 {
    color: #fff;
    font-weight: 900;
    font-size: 2.2rem;
}
.page-header p { color: rgba(255,255,255,0.8); }

/* Filter Sidebar */
.filter-sidebar {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem 1.5rem 100px 1.5rem;
    box-shadow: var(--card-shadow);
    position: sticky;
    top: 90px;
    height: 100vh;
    overflow: scroll;
}
.filter-title {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-group { margin-bottom: 1.5rem; }
.filter-group label {
    font-weight: 700;
    font-size: 0.92rem;
    color: #555;
    margin-bottom: 0.6rem;
    display: block;
}
.filter-group .form-check {
    margin-bottom: 0.5rem;
}
.filter-group .form-check-label {
    font-size: 0.9rem;
    cursor: pointer;
}
.filter-group .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #dee2e6;
  border-radius: 30px;
  transition: .3s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: .3s;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
}

.switch input:checked + .slider {
  background-color: #0d6efd;
}

.switch input:checked + .slider:before {
  transform: translateX(20px);
}




/* Tariff Cards */
.tariff-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.8rem;
    border: 2px solid #e9ecef;
    transition: all 0.35s;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.tariff-card:hover {
    border-color: var(--primary);
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-4px);
}
.tariff-card.popular {
    border-color: var(--primary);
    box-shadow: 0 4px 30px rgba(13,110,253,0.15);
}
.tariff-popular-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: var(--gradient-1);
    color: #fff;
    padding: 4px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
}
.tariff-speed {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}
.tariff-speed small {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 600;
    display: block;
}
.tariff-name {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--dark);
    margin: 0.8rem 0 0.4rem;
}
.tariff-type {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 1rem;
}
.tariff-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem;
    flex-grow: 1;
}
.tariff-features li {
    padding: 0.45rem 0;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #f0f0f0;
}
.tariff-features li:last-child { border: none; }
.tariff-features li i { color: #198754; font-size: 0.85rem; }
.tariff-price {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--dark);
}
.tariff-price small {
    font-size: 0.82rem;
    color: #6c757d;
    font-weight: 500;
}
.tariff-period {
    font-size: 0.82rem;
    color: #6c757d;
}

/* ===== MODEM PAGE ===== */
.modem-card {
    background: #fff;
    border-radius: 18px;
    border: 2px solid #e9ecef;
    padding: 1.5rem;
    transition: all 0.35s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.modem-card:hover {
    border-color: var(--primary);
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-4px);
}
.modem-img-wrap {
    background: var(--light-bg);
    border-radius: 14px;
    text-align: center;
    margin-bottom: 1rem;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modem-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.modem-img-wrap i {
    font-size: 5rem;
    color: var(--primary);
}
.modem-brand {
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
}
.modem-name {
    font-weight: 800;
    font-size: 1.08rem;
    color: var(--dark);
    margin: 0.3rem 0 0.7rem;
}
.modem-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    flex-grow: 1;
}
.modem-specs li {
    font-size: 0.85rem;
    color: #555;
    padding: 0.35rem 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.modem-specs li i { color: var(--primary); font-size: 0.8rem; }
.modem-price {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--dark);
}
.modem-price small {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}
.modem-stock {
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== PRICE RANGE SLIDER ===== */
.price-range-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    margin-top: 0.3rem;
}
input[type="range"] {
    accent-color: var(--primary);
}

/* ===== NO RESULTS ===== */
.no-results {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}
.no-results i { font-size: 3rem; margin-bottom: 1rem; display: block; }

/* ===== SINGLE PAGE ===== */
.single-post-thumbnail {
    width: 75px;
    height: 75px;
    overflow: hidden;
}
.single-post-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.single-post-thumbnail span {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ===== FORM PAGE ===== */
.form-page { padding: 2rem 0 4rem; }
.order-form-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
}
.order-summary {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px dashed #c5ccd6;
}
.order-summary h5 {
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}
.form-floating > .form-control,
.form-floating > .form-select {
    border-radius: 12px;
    border: 2px solid #e0e4ea;
    padding-right: 1rem;
}
.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,110,253,0.1);
}


.price-slider-wrap {
    position: relative;
    width: 100%;
    height: 35px;
}
.price-slider-wrap input[type=range] {
    position: absolute;
    width: 100%;
    pointer-events: none;
    background: none;
    -webkit-appearance: none;
    margin-top: 9px;
}
.price-slider-wrap input[type=range]::-webkit-slider-thumb {
    pointer-events: all;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0d6efd;
    border: 2px solid #fff;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
    cursor: pointer;
    -webkit-appearance: none;
}
.price-slider-wrap input[type=range]::-moz-range-thumb {
    pointer-events: all;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0d6efd;
    border: 2px solid #fff;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
    cursor: pointer;
}
.slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(180deg);
    height: 6px;
    border-radius: 4px;
    width: 100%;
    background: linear-gradient(to right, #e9ecef 0%, #e9ecef 100%);
    z-index: -1;
}
.steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
}
.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    border: 2px solid #d0d5dd;
    color: #6c757d;
    background: #fff;
    transition: all 0.3s;
}
.step-item.active .step-circle {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.step-item.done .step-circle {
    background: #198754;
    color: #fff;
    border-color: #198754;
}
.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
}
.step-item.active .step-label { color: var(--primary); }
.step-item.done .step-label { color: #198754; }
.step-line {
    width: 60px;
    height: 2px;
    background: #d0d5dd;
    margin: 0 10px;
}
.step-line.done { background: #198754; }

/* Upload Box Styles */
.hover-shadow:hover {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    border-color: var(--primary);
}
.transition-all {
    transition: all 0.3s ease;
}
.transition-transform {
    transition: transform 0.3s ease;
}
.transition-colors {
    transition: color 0.3s ease;
}
.duration-300 {
    transition-duration: 0.3s;
}
.hover\:scale-110:hover {
    transform: scale(1.1);
}
.hover\:text-primary:hover {
    color: var(--primary);
}
.cursor-pointer {
    cursor: pointer;
}

/* ===== SUCCESS MODAL ===== */
.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(25,135,84,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}
.success-icon i { font-size: 2.5rem; color: #198754; }

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    /* padding: 3.5rem 0 1.5rem; */
    color: rgba(255,255,255,0.7);
}
.footer h5 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 1rem;
}
.footer a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}
.footer a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: .75rem;
    padding-bottom: .75rem;
    /* margin-top: 2rem; */
    text-align: center;
    font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-title { font-size: 2.2rem; }
    .hero-visual-circle { width: 280px; height: 280px; }
    .hero-visual-icon { font-size: 5rem; }
    .hero-stats { gap: 1.5rem; }
    .speed-tag { display: none; }
    .filter-sidebar { margin-bottom: 1.5rem; position: static; }
}
@media (max-width: 576px) {
    .hero-title { font-size: 1.7rem; }
    .hero-stats { flex-wrap: wrap; gap: 1rem; }
    .tariff-speed { font-size: 2.2rem; }
    .steps-bar { flex-wrap: wrap; }
    .step-line { width: 30px; }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(13,110,253,0.4);
    transition: all 0.3s;
}
.scroll-top-btn:hover { transform: translateY(-3px); }

/* ===== MOBILE FILTER BUTTON ===== */
.mobile-filter-on-btn {
    display: none;
    margin-bottom: 1.5rem;
}
.mobile-filter-off-btn {
    display: none;
    position: absolute;
    left: 15px;
    border: 2px solid #000;
    border-radius: 3px;
    width: 25px;
    height: 25px;
}
.mobile-filter-off-btn i {
    height: 20px;
}
@media (max-width: 992px) {
    .mobile-filter-on-btn { display: block; }
    .mobile-filter-off-btn {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .filter-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        z-index: 9999;
        overflow-y: auto;
        transition: right 0.3s ease;
        box-shadow: -2px 0 15px rgba(0,0,0,0.1);
        background: #fff;
        padding: 2rem 1.5rem;
        border-radius: 0;
    }
    .filter-sidebar.slide-sidebar {
        right: 0;
    }
    .filter-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 9998;
        display: none;
    }
    .filter-overlay.slide-sidebar {
        display: block;
    }
    .close-filter-btn {
        position: absolute;
        top: 1rem;
        left: 1rem;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10000;
    }
}

@media (max-width: 768px) {
    .page-order-success {
        height: auto;
    }
}