/* Global Styles */
:root {
    --primary-color: #0D3B66;
    --accent-color: #F95738;
    --light-bg: #F8F9FA;
    --dark-text: #2C3E50;
    --white: #FFFFFF;
    --gray: #6C757D;
    --light-gray: #E9ECEF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Remove all margins and padding */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

.container-fluid {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    direction: rtl;
    text-align: right;
    margin: 0;
    padding: 0;
    padding-top: 80px;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.75rem 1.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0a2d4f;
    border-color: #0a2d4f;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

.btn-accent:hover {
    background-color: #e54a2b;
    border-color: #e54a2b;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(13, 59, 102, 0.3);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
}

/* Desktop Header */
@media (min-width: 992px) {
    .floating-toggle {
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        border-radius: 0 50px 50px 0;
        min-width: 200px;
        animation: attentionBounce 2s ease-in-out infinite;
    }
    
    .navbar .container {
        max-width: 1200px;
    }
    
    .navbar .d-lg-flex {
        width: 100%;
    }
    
    .navbar .navbar-brand {
        margin-right: 0;
    }
    
    .navbar .btn-accent {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        white-space: nowrap;
    }
    
    .navbar .navbar-nav {
        flex-direction: row;
        margin: 0 2rem;
    }
    
    .navbar .navbar-nav .nav-link {
        margin: 0 1rem;
        padding: 0.5rem 0;
    }
}

/* Mobile Header Optimization */
@media (max-width: 991.98px) {
    .navbar {
        box-shadow: 0 4px 20px rgba(13, 59, 102, 0.4);
    }
    
    .navbar .container {
        padding: 0;
        margin: 0;
        max-width: 100%;
        width: 100%;
    }
    
    .navbar .row {
        margin: 0;
        padding: 0 10px;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        min-height: 60px;
    }
    
    .navbar .navbar-toggler {
        order: 1;
        margin-left: 0;
        margin-right: auto;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
        border: 1px solid rgba(13, 59, 102, 0.3);
        color: var(--primary-color);
    }
    
    .navbar .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(13, 59, 102, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    .navbar .navbar-brand {
        order: 2;
        margin: 0 auto;
        flex-shrink: 0;
        max-width: 140px;
        text-align: center;
    }
    
    .navbar .navbar-brand img {
        height: 40px !important;
        max-width: 140px !important;
        width: auto;
    }
    
    .navbar .btn-accent {
        order: 3;
        margin-right: 0;
        margin-left: auto;
        flex-shrink: 0;
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
        white-space: nowrap;
        min-width: 120px;
    }
    
    .navbar .navbar-collapse {
        margin-top: 1rem;
        background-color: rgba(255, 255, 255, 0.95);
        border-radius: 8px;
        padding: 1rem;
        border: 1px solid rgba(13, 59, 102, 0.1);
    }
    
    .navbar .navbar-nav {
        text-align: center;
    }
    
    .navbar .navbar-nav .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(13, 59, 102, 0.1);
        margin: 0;
        color: var(--primary-color) !important;
    }
    
    .navbar .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

/* Logo Styling */
.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 36px !important;
        max-width: 120px !important;
    }
    
    .navbar .row {
        padding: 0 5px;
        min-height: 55px;
    }
    
    .navbar .navbar-toggler {
        width: 35px;
        height: 35px;
        padding: 0.2rem 0.4rem;
        font-size: 0.9rem;
    }
    
    .navbar .navbar-brand {
        max-width: 120px;
    }
    
    .navbar .btn-accent {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
        min-width: 100px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .navbar .row {
        padding: 0 3px;
        min-height: 50px;
    }
    
    .navbar .navbar-toggler {
        width: 32px;
        height: 32px;
        padding: 0.15rem 0.3rem;
        font-size: 0.8rem;
    }
    
    .navbar .navbar-brand {
        max-width: 100px;
    }
    
    .navbar .navbar-brand img {
        height: 32px !important;
        max-width: 100px !important;
    }
    
    .navbar .btn-accent {
        font-size: 0.75rem;
        padding: 0.25rem 0.4rem;
        min-width: 90px;
    }
    
    .hero-buttons {
        margin-bottom: 80px;
        gap: 0.5rem;
    }
    
    .hero-buttons .btn {
        max-width: 260px;
        margin: 0;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(13, 59, 102, 0.2), rgba(13, 59, 102, 0.2)), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 59, 102, 0.7);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-motto {
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.motto-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.hero-buttons {
    margin-top: 2rem;
    margin-bottom: 120px;
    text-align: center;
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-buttons .btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0;
    position: relative;
    z-index: 20;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 33.33%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(5px);
}

.scroll-indicator-text {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
    text-align: center;
}

.scroll-indicator-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(-10px);
    }
    60% {
        transform: rotate(45deg) translateY(-5px);
    }
}

/* Content Preview */
.content-preview {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(255,255,255,0.1), transparent);
    pointer-events: none;
    z-index: 1;
}

/* Content Preview Icons */
.content-preview-icons {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 2;
}

.preview-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: previewPulse 3s infinite;
}

.preview-icon:nth-child(1) { animation-delay: 0s; }
.preview-icon:nth-child(2) { animation-delay: 0.5s; }
.preview-icon:nth-child(3) { animation-delay: 1s; }

.preview-text {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.8rem;
    opacity: 0.6;
    text-align: center;
    z-index: 2;
    white-space: nowrap;
}

@keyframes previewPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Counters Section */
.counters-section {
    background-color: var(--light-bg);
}

.counter-item {
    padding: 2rem 1rem;
    text-align: center;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.counter-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Products Section */
.products-section {
    background-color: var(--white);
}

/* Product Cards Styling */
.product-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: scale-down;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 59, 102, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-actions {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.product-actions .btn {
    min-width: 120px;
}

.product-content {
    padding: 1.5rem;
}

.product-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    flex: 1;
}

.product-price {
    background: var(--accent-color);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(249, 87, 56, 0.3);
    margin-right: 0.5rem;
}

.product-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-unique {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.product-unique i {
    margin-top: 2px;
}

.product-unique span {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.4;
}

.product-features {
    margin-bottom: 1.5rem;
}

.feature-text {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.5;
    margin-bottom: 0;
}

.product-actions-bottom {
    text-align: center;
}

.product-actions-bottom .btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-actions-bottom .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Modal Styling */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal-header {
    background: var(--primary-color);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-header .btn-close {
    filter: invert(1);
    margin-right: auto;
    margin-left: 0;
}

/* Product Modal Enhancements */
#productModal .modal-dialog {
    max-width: 90vw;
    margin: 2.5vh auto;
}

#productModal .modal-header {
    flex-direction: row-reverse;
}

#productModal .modal-header .btn-close {
    margin-left: 0;
    margin-right: auto;
    order: -1;
}

#productModal .modal-body {
    padding: 2rem;
}

#productModal .product-info {
    position: sticky;
    top: 0;
}

#productModal .carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#productModal .carousel-item img {
    max-height: 500px;
    object-fit: cover;
    width: 100%;
}

#productModal .carousel-control-prev,
#productModal .carousel-control-next {
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
}

#productModal .carousel-indicators {
    bottom: 10px;
}

#productModal .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: 2px solid rgba(255,255,255,0.8);
}

#productModal .carousel-indicators button.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

#productModal .table th {
    background-color: var(--light-bg);
    font-weight: 600;
    color: var(--primary-color);
    border: none;
}

#productModal .table td {
    border: none;
    border-bottom: 1px solid var(--light-gray);
}

#productModal .alert-info {
    background-color: rgba(13, 202, 240, 0.1);
    border-color: rgba(13, 202, 240, 0.3);
    color: var(--primary-color);
}

#productModal .text-muted {
    line-height: 1.6;
}

#productModal .product-details-section {
    border-top: 2px solid var(--light-gray);
    padding-top: 2rem;
    margin-top: 2rem;
}

#productModal .product-details-section h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Product Details in Section Styling */
#featured-products .product-details-section {
    border-top: 2px solid var(--light-gray);
    padding-top: 2rem;
    margin-top: 2rem;
}

#featured-products .modal-body {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin: 1rem 0;
    padding: 2rem;
}

#featured-products .modal-body .container {
    max-width: 100%;
    padding: 0;
}

#featured-products .product-details-section h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

#featured-products .carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#featured-products .carousel-item img {
    max-height: 500px;
    object-fit: cover;
    width: 100%;
}

#featured-products .carousel-control-prev,
#featured-products .carousel-control-next {
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
}

#featured-products .carousel-indicators {
    bottom: 10px;
}

#featured-products .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: 2px solid rgba(255,255,255,0.8);
}

#featured-products .carousel-indicators button.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Mobile Responsive for Product Modal */
@media (max-width: 768px) {
    #productModal .modal-dialog {
        max-width: 90vw;
        max-height: 90vh;
        margin: 5vh auto;
    }
    
    #productModal .modal-content {
        max-height: 90vh;
        border-radius: 15px;
    }
    
    #productModal .modal-body {
        padding: 1rem;
        overflow-y: auto;
        max-height: calc(90vh - 120px); /* Account for header and footer */
    }
    
    #productModal .carousel-item img {
        max-height: 300px;
    }
    
    #productModal .product-info {
        position: static;
        margin-top: 1rem;
    }
    
    #productModal .d-grid {
        grid-template-columns: 1fr;
    }
    
    #productModal .table-responsive {
        font-size: 0.9rem;
    }
    
    /* Mobile styling for product details in section */
    #featured-products .carousel-item img {
        max-height: 300px;
    }
    
    #featured-products .product-info {
        margin-top: 1rem;
    }
    
    #featured-products .d-grid {
        grid-template-columns: 1fr;
    }
    
    #featured-products .table-responsive {
        font-size: 0.9rem;
    }
}

/* Extra Small Screens */
@media (max-width: 576px) {
    #productModal .modal-dialog {
        max-width: 95vw;
        max-height: 95vh;
        margin: 2.5vh auto;
    }
    
    #productModal .modal-content {
        max-height: 95vh;
    }
    
    #productModal .modal-body {
        padding: 0.75rem;
        max-height: calc(95vh - 100px);
    }
    
    #productModal .carousel-item img {
        max-height: 250px;
    }
}

/* Gallery Modal */
#galleryModal .modal-dialog {
    max-width: 90vw;
}

#galleryModal .carousel-item img {
    max-height: 70vh;
    object-fit: contain;
}

/* How It Works Section */
.how-it-works-section {
    background-color: var(--light-bg);
}

.step-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 1rem 0;
}

/* Comparison Table */
.comparison-section {
    background-color: var(--white);
}

.comparison-table {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    padding: 1rem;
}

.comparison-table td {
    padding: 1rem;
    vertical-align: middle;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--light-bg);
}

/* Reviews Section */
.reviews-section {
    background-color: var(--light-bg);
}

.review-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin: 0 1rem;
}

.stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.review-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.review-card h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

/* Portfolio Section */
.portfolio-section {
    background-color: var(--white);
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(13, 59, 102, 0.9));
    color: var(--white);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(0);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(100%);
}

/* SEO Section */
.seo-section {
    background-color: var(--light-bg);
}

.seo-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.seo-content p {
    margin-bottom: 1.5rem;
}

/* Tips Section */
.tips-section {
    background-color: var(--white);
}

.tip-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--light-gray);
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.tip-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.tip-card:hover .tip-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(13, 59, 102, 0.3);
}

.tip-icon i {
    font-size: 2rem;
    color: var(--white);
}

.tip-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.tip-card p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.tips-content ul {
    list-style: none;
    padding: 0;
}

.tips-content ul li {
    padding: 0.75rem 0;
    position: relative;
    padding-right: 2rem;
    font-size: 1.1rem;
}

.tips-content ul li:before {
    content: "🔒";
    position: absolute;
    right: 0;
    top: 0.75rem;
}

.tips-image img {
    box-shadow: var(--shadow);
}

/* Camera Types Section */
.camera-types-section {
    background-color: var(--light-bg);
}

.camera-type {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.camera-type h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.camera-types-image img {
    box-shadow: var(--shadow);
}

/* Installer Section */
.installer-section {
    background-color: var(--white);
}

.installer-criteria {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 8px;
    border-right: 4px solid var(--accent-color);
}

.installer-criteria h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.installer-image img {
    box-shadow: var(--shadow);
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-bg);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-button {
    background-color: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    border: none;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    background-color: var(--white);
    padding: 1.5rem;
    line-height: 1.8;
}

/* RTL Accordion Arrow Fix */
.accordion-button::after {
    transform: rotate(180deg) !important;
    margin-right: auto !important;
    margin-left: 0 !important;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(0deg) !important;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Floating Lead Form */
.floating-form {
    position: fixed;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    width: 380px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 45px 150px rgba(13, 59, 102, 1.2), 0 15px 60px rgba(13, 59, 102, 0.6);
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem;
    padding-top: 2rem;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: visible;
}

.floating-form:not(.active) {
    left: -400px;
    display: none;
}

    .floating-form.minimized {
        height: 60px;
        overflow: hidden;
    }
    
    /* Mobile Close Button */
    .close-form-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #dc3545;
        color: white;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 16px;
        font-weight: bold;
        box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
        transition: all 0.2s ease;
        z-index: 1002;
    }

/* Close Button Styles */
.close-form-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #dc3545;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    transition: all 0.2s ease;
    z-index: 1002;
}

.close-form-btn:hover {
    background: #c82333;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.close-form-btn:active {
    transform: scale(0.95);
}

/* Mobile Close Button at Bottom */
.mobile-close-form-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #dc3545;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    transition: all 0.2s ease;
    z-index: 1002;
}

@media (max-width: 768px) {
    .mobile-close-form-btn {
        display: none;
    }
}

.mobile-close-form-btn:hover {
    background: #c82333;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.mobile-close-form-btn:active {
    transform: scale(0.95);
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
}

.form-header h5 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.1rem;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.minimize-form {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    padding: 0.25rem;
}

.minimize-form:hover {
    color: var(--accent-color);
}

.floating-toggle {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 0 50px 50px 0;
    padding: 1rem 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(249, 87, 56, 0.4);
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    animation: attentionBounce 2s ease-in-out infinite;
}

/* Override for mobile devices */
@media (max-width: 991.98px) {
    .floating-toggle {
        top: auto !important;
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        border-radius: 25px !important;
        animation: none !important;
    }
}

@media (max-width: 576px) {
    .floating-toggle {
        bottom: 15px !important;
        min-width: 200px !important;
        max-width: 250px !important;
        height: 45px !important;
        font-size: 0.9rem !important;
    }
}

.floating-toggle:hover {
    transform: translateY(-50%) translateX(10px);
    box-shadow: 0 6px 20px rgba(249, 87, 56, 0.6);
    animation: none;
}

@keyframes attentionBounce {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    25% {
        transform: translateY(-50%) translateX(-8px);
    }
    75% {
        transform: translateY(-50%) translateX(8px);
    }
}

.toggle-text {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.floating-toggle i {
    font-size: 1.2rem;
    transition: var(--transition);
}

.floating-toggle:hover i {
    transform: translateX(-3px);
}

/* Installation Info Styles */
.installation-info {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 8px;
    padding: 1rem;
}

.info-message {
    display: flex;
    align-items: center;
    color: #1976d2;
    font-weight: 500;
}

.info-message i {
    color: #2196f3;
    font-size: 1.2rem;
}

/* Shipping Warning Styles */
.shipping-warning-display {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 1rem;
    animation: pulse 2s infinite;
}

.warning-message {
    display: flex;
    align-items: flex-start;
    color: #856404;
}

.warning-message i {
    color: #ffc107;
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.warning-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.warning-content strong {
    color: #856404;
    font-weight: 600;
}

.shipping-cost {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 90px;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        width: 100%;
    }
    
    .floating-form {
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
        width: calc(100vw - 40px);
        max-width: 350px;
        margin: 0;
        z-index: 1001;
    }
    
    .floating-toggle {
        position: fixed !important;
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        border-radius: 25px;
        min-width: 250px;
        max-width: 300px;
        height: 50px;
        background: var(--accent-color);
        color: white;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 1.5rem;
        box-shadow: 0 4px 20px rgba(249, 87, 56, 0.4);
        animation: none;
        font-size: 1rem;
        font-weight: 600;
        z-index: 999;
        cursor: pointer;
        transition: all 0.3s ease;
        top: auto !important;
    }
    
    .carousel-control-prev {
        left: 8px;
        width: 45px;
        height: 45px;
    }
    
    .carousel-control-next {
        right: 8px;
        width: 45px;
        height: 45px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .counter {
        font-size: 2rem;
    }
    
    .floating-form {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        width: calc(100vw - 40px);
        max-width: 350px;
        background: var(--white);
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        z-index: 1001;
        transition: var(--transition);
        padding: 1.5rem;
        padding-top: 2rem;
        max-height: 90vh;
        overflow-y: auto;
        overflow-x: visible;
        margin: 0;
        display: none;
    }
    
    .floating-form:not(.active) {
        display: none;
    }
    
    .floating-form.active {
        display: block;
    }
    
    .floating-form.minimized {
        transform: translateY(-100%);
        height: 60px;
    }
    
    .floating-toggle {
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        min-width: 180px;
        padding: 0.75rem 1rem;
    }
    
    .floating-toggle:hover {
        transform: translateY(-50%) translateX(5px);
    }
    
    .toggle-text {
        font-size: 0.8rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: block;
    }
    
    .form-header {
        position: sticky;
        top: 0;
        background: var(--white);
        z-index: 10;
        margin-bottom: 1rem;
    }
    
    .price-calculation {
        font-size: 0.85rem;
    }

    .product-image-container {
        height: auto;
        min-height: 200px;
    }
    
    .product-image {
        max-height: 180px;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 1.2rem;
    }
    
    .product-actions {
        flex-direction: row;
        gap: 5px;
    }
    
    .product-actions .btn {
        min-width: auto;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        margin-bottom: 100px;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 0;
    }
    
    .counter-item {
        margin-bottom: 1rem;
    }
    
    .product-card,
    .step-card,
    .portfolio-item {
        margin-bottom: 2rem;
    }
    
    .tip-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .tip-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .tip-icon i {
        font-size: 1.5rem;
    }
    
    .tip-card h4 {
        font-size: 1.1rem;
    }
    
    .tip-card p {
        font-size: 0.9rem;
    }
}

/* Mobile Small */
@media (max-width: 576px) {
    body {
        padding-top: 80px;
    }
    
    .navbar {
        box-shadow: 0 4px 25px rgba(13, 59, 102, 0.5);
    }
    
    .navbar .row {
        padding: 0 5px;
    }
    
    .floating-form {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        width: calc(100vw - 40px);
        max-width: 350px;
        background: var(--white);
        border-radius: 12px;
        box-shadow: 0 45px 150px rgba(13, 59, 102, 1.2), 0 15px 60px rgba(13, 59, 102, 0.6);
        z-index: 1001;
        transition: var(--transition);
        padding: 1.5rem;
        padding-top: 2rem;
        max-height: 90vh;
        overflow-y: auto;
        overflow-x: visible;
        margin: 0;
        display: none;
    }
    
    .floating-form.active {
        display: block;
    }
    
    .floating-toggle {
        position: fixed !important;
        bottom: 15px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        min-width: 200px;
        max-width: 250px;
        height: 45px;
        padding: 0 1.2rem;
        border-radius: 20px;
        animation: none;
        font-size: 0.9rem;
        font-weight: 600;
        background: var(--accent-color);
        color: white;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 20px rgba(249, 87, 56, 0.4);
        z-index: 999;
        cursor: pointer;
        transition: all 0.3s ease;
        top: auto !important;
    }
    
    .container {
        padding-left: 5px;
        padding-right: 5px;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        width: 100%;
    }
    
    .carousel-control-prev {
        left: 5px;
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-next {
        right: 5px;
        width: 40px;
        height: 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .counter-item {
        margin-bottom: 2rem;
    }
    
    .product-card,
    .tip-card {
        margin-bottom: 2rem;
    }
    
    .tip-card {
        padding: 1.5rem;
    }
    
    .tip-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .tip-icon i {
        font-size: 1.5rem;
    }
    
    .tip-card h4 {
        font-size: 1.1rem;
    }
    
    .tip-card p {
        font-size: 0.9rem;
    }
}

/* RTL Specific Adjustments */
.navbar-nav {
    margin-right: 0;
    margin-left: auto;
}

/* RTL Carousel Controls - Swap arrow directions for RTL */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    transform: scaleX(-1);
}

/* Ensure carousel controls work correctly in RTL */
.carousel-control-prev {
    left: -25px !important;
}

.carousel-control-next {
    right: -25px !important;
}

/* Form Styles */
.form-control,
.form-select {
    border-radius: 8px;
    border: 2px solid var(--light-gray);
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 59, 102, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--primary-color);
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Hover Effects */
.btn:hover {
    transform: translateY(-2px);
}

.product-card:hover,
.step-card:hover,
.portfolio-item:hover {
    transform: translateY(-10px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
} 

.logo-bg {
    background: #fff;
    border-radius: 14px;
    padding: 4px 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    min-width: 120px;
    max-width: 220px;
}

@media (max-width: 576px) {
    .logo-bg {
        padding: 2px 8px;
        height: 32px;
        min-width: 60px;
        max-width: 120px;
    }
    .logo-bg img {
        height: 22px !important;
        max-width: 80px !important;
    }
} 

 

/* Navbar RTL Fixes */
.navbar-brand {
    order: 2;
}

.navbar-collapse {
    order: 1;
}

.navbar-nav {
    margin-right: auto !important;
    margin-left: 0 !important;
}

/* במובייל - הלוגו מימין והתפריט מימין */
@media (max-width: 991.98px) {
    .navbar-brand {
        order: 2;
    }
    
    .navbar-toggler {
        order: 1;
    }
    
    .navbar-collapse {
        order: 3;
    }
    
    .navbar-nav {
        text-align: right;
    }
    
    .navbar-nav .nav-link {
        text-align: right;
        padding-right: 0;
        padding-left: 1rem;
    }
} 

/* --- Navbar Layout Custom --- */
.container.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .navbar-brand {
    order: 4;
    margin-left: 0;
    margin-right: 0;
}

.navbar .navbar-toggler {
    order: 2;
}

.navbar .collapse {
    order: 3;
}

.navbar .d-flex.align-items-center {
    order: 1;
}

@media (max-width: 991.98px) {
    .navbar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .navbar .navbar-toggler {
        order: 1;
    }
    .navbar .d-flex.align-items-center {
        order: 2;
        flex: 1 1 auto;
        justify-content: center;
        display: flex !important;
    }
    .navbar .navbar-brand {
        order: 3;
        margin-left: 0;
        margin-right: 0;
    }
    .navbar .collapse {
        order: 4;
    }
    .navbar .btn-accent {
        margin: 0 auto;
        display: block;
    }
}

/* כפתור טלפון תמיד באמצע במובייל */
@media (max-width: 991.98px) {
    .navbar .d-flex.align-items-center {
        position: absolute;
        left: 0; right: 0;
        top: 0; bottom: 0;
        margin: auto;
        z-index: 1050;
        justify-content: center;
        pointer-events: none;
    }
    .navbar .btn-accent {
        pointer-events: auto;
    }
} 

/* Featured Products Section */
.featured-products-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
}

.featured-product-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    margin: 0 10px;
}

.featured-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.featured-product-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: scale-down;
    object-position: center;
    transition: var(--transition);
}

.featured-product-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
}

.featured-product-grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.featured-product-grid-image:hover {
    transform: scale(1.05);
}

.featured-product-card:hover .featured-product-image {
    transform: scale(1.05);
}

.featured-product-content {
    padding: 1.5rem;
}

.featured-product-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.featured-product-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.featured-product-price {
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(249, 87, 56, 0.3);
    margin-right: 0.3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.product-price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.product-price-container .price-note {
    font-size: 0.6rem;
    color: #6c757d;
    font-weight: 400;
    line-height: 1.1;
    text-align: center;
}

.price-note {
    font-size: 0.65rem;
    color: #6c757d;
    font-weight: 400;
    line-height: 1.1;
    text-align: center;
}

.product-price-section {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 1rem;
}

.product-price-section .product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.featured-product-unique {
    background: #f8f9fa;
    color: #495057;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
    line-height: 1.4;
}

.featured-product-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.featured-product-actions .btn {
    flex: 1;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
}

/* Carousel Controls for Featured Products */
#featuredProductsCarousel .carousel-control-prev,
#featuredProductsCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: var(--transition);
}

#featuredProductsCarousel .carousel-control-prev:hover,
#featuredProductsCarousel .carousel-control-next:hover {
    opacity: 1;
    background: var(--accent-color);
}

#featuredProductsCarousel .carousel-control-prev {
    left: -25px;
}

#featuredProductsCarousel .carousel-control-next {
    right: -25px;
}

/* Mobile Responsive for Featured Products */
@media (max-width: 768px) {
    .featured-product-card {
        margin: 0 5px;
    }
    
    .featured-product-image {
        height: auto;
        max-height: 200px;
        object-fit: scale-down;
        object-position: center;
    }
    
    .featured-product-image-grid {
        height: 200px;
        gap: 3px;
    }
    
    .featured-product-content {
        padding: 1rem;
    }
    
    .featured-product-title {
        font-size: 1.2rem;
    }
    
    #featuredProductsCarousel .carousel-control-prev,
    #featuredProductsCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    #featuredProductsCarousel .carousel-control-prev {
        left: -20px;
    }
    
    #featuredProductsCarousel .carousel-control-next {
        right: -20px;
    }
}

@media (max-width: 576px) {
    .featured-product-image {
        height: auto;
        max-height: 180px;
        object-fit: scale-down;
        object-position: center;
    }
    
    .featured-product-image-grid {
        height: 180px;
        gap: 2px;
    }
    
    .featured-product-title {
        font-size: 1.1rem;
    }
    
    .featured-product-actions {
        flex-direction: column;
    }
    
    .featured-product-price {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .price-note {
        font-size: 0.6rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
}

/* Thank You Message */
.thank-you-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
    z-index: 9999;
    opacity: 0;
    transition: all 0.5s ease;
    max-width: 400px;
    text-align: center;
}

.thank-you-message.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.thank-you-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.thank-you-content i {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 10px;
}

.thank-you-content h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.thank-you-content p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

/* Mobile responsive for thank you message */
@media (max-width: 768px) {
    .thank-you-message {
        top: 10px;
        left: 10px;
        right: 10px;
        transform: translateY(-100px);
        max-width: none;
    }
    
    .thank-you-message.show {
        transform: translateY(0);
    }
    
    .thank-you-content h3 {
        font-size: 1.3rem;
    }
    
    .thank-you-content p {
        font-size: 0.9rem;
    }
}

/* Mobile responsive for scroll indicators */
@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
    
    .content-preview-icons {
        bottom: 15px;
        gap: 15px;
    }
    
    .preview-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .preview-text {
        bottom: 60px;
        font-size: 0.7rem;
    }
} 

/* Lazy Loading Styles */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lazy.loaded {
    opacity: 1;
}

/* Placeholder for lazy images */
.lazy-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Lazy loading for portfolio images */
.portfolio-item img.lazy {
    min-height: 300px;
    background: #f8f9fa;
}

/* Lazy loading for camera types image */
.camera-types-image img.lazy {
    min-height: 400px;
    background: #f8f9fa;
}

/* Lazy loading for installer image */
.installer-image img.lazy {
    min-height: 300px;
    background: #f8f9fa;
}

/* RTL spacing for buttons */
.btn .bi {
    margin-left: 0.5rem;
    margin-right: 0;
}

[dir="rtl"] .btn .bi {
    margin-left: 0;
    margin-right: 0.5rem;
}

/* RTL spacing for info messages */
.info-message .bi {
    margin-left: 0.75rem;
    margin-right: 0;
}

[dir="rtl"] .info-message .bi {
    margin-left: 0;
    margin-right: 0.75rem;
}

/* Footer links styling */
.footer-links a,
.footer-link {
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    color: #6c757d !important;
}

.footer-links a:hover,
.footer-link:hover {
    color: var(--accent-color) !important;
}

@media (max-width: 768px) {
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-links a {
        margin: 0 !important;
    }
}