/*enhanced-main-style.css*/
/* Enhanced Main Stylesheet for Rasayily Website */
/* Version 2.0.1 - Optimized for Performance and UX */

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors */
    --primary-color: #198754;
    --primary-dark: #146c43;
    --primary-light: #20c997;
    --primary-gradient: linear-gradient(135deg, #198754, #20c997);

    /* Secondary Colors */
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --accent-dark: #f39c12;
    --danger-color: #dc3545;
    --warning-color: #fd7e14;
    --info-color: #0dcaf0;

    /* Text Colors */
    --text-dark: #212529;
    --text-light: #6c757d;
    --text-muted: #8e8e93;
    --text-white: #ffffff;

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-light: #f1f3f4;
    --bg-dark: #343a40;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;

    /* Border Radius */
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --border-radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 15px 50px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-family-primary: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;

    /* Z-index layers */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ===== ENHANCED NAVIGATION ===== */
.navbar {
    backdrop-filter: blur(15px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    padding: var(--spacing-sm) 0;
    z-index: var(--z-fixed);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-xs) 0;
}

.navbar-brand {
    transition: var(--transition-fast);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.logo-img {
    transition: var(--transition-fast);
    border-radius: var(--border-radius-sm);
}

.brand-text {
    font-size: var(--font-size-xl);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: var(--spacing-sm) var(--spacing-md) !important;
    border-radius: var(--border-radius-md);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: var(--transition-normal);
    z-index: -1;
    opacity: 0.1;
}

.nav-link:hover::before {
    left: 0;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.nav-link i {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

.main_section{
    padding-top: 80px;
}

/* Mobile Navigation Improvements */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98);
        border-radius: var(--border-radius-md);
        margin-top: var(--spacing-md);
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
    }

    .nav-link {
        margin: var(--spacing-xs) 0;
        text-align: center;
    }
}

/* ===== ENHANCED BUTTONS ===== */
.btn {
    font-weight: 600;
    border-radius: var(--border-radius-md);
    padding: var(--spacing-sm) var(--spacing-lg);
    transition: var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-normal);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-gradient);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: var(--primary-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Special Button Styles */
.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
    border-radius: var(--border-radius-lg);
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-sm);
}

/* ===== ENHANCED CARDS ===== */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    overflow: hidden;
    background: var(--bg-primary);
}

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

.card-body {
    padding: var(--spacing-xl);
}

.card-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.card-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* Special Card Variants */
.card-gradient {
    background: var(--primary-gradient);
    color: var(--text-white);
}

.card-gradient .card-title,
.card-gradient .card-text {
    color: var(--text-white);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.05) 0%, rgba(32, 201, 151, 0.05) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(25,135,84,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: -1;
}

.hero .display-4,
.hero .display-5 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
}

.hero .display-4 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-secondary);
}

.features .card {
    height: 100%;
    transition: var(--transition-normal);
    border: 1px solid rgba(25, 135, 84, 0.1);
}

.features .card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.features .card-body {
    text-align: center;
    padding: var(--spacing-xl);
}

.features i {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: rgba(25, 135, 84, 0.1);
    border-radius: var(--border-radius-full);
    transition: var(--transition-normal);
}

.features .card:hover i {
    background: var(--primary-gradient);
    color: var(--text-white);
    transform: scale(1.1);
}

/* ===== CAROUSEL ENHANCEMENTS ===== */
.carousel {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative; /* Ensure relative positioning for controls */
}

.carousel-item img {
    border-radius: var(--border-radius-lg);
    transition: var(--transition-slow);
    width: 100%; /* Ensure image fills its container */
    height: 100%; /* Ensure image fills its container */
    object-fit: cover; /* Crop image to fit, maintaining aspect ratio */
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-full);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: var(--transition-fast);
    position: absolute; /* Ensure absolute positioning */
    z-index: 1; /* Ensure controls are above images */
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.carousel-indicators {
    bottom: 20px;
    position: absolute; /* Ensure absolute positioning */
    left: 50%;
    transform: translateX(-50%);
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: var(--border-radius-full);
    border: none;
    background: rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
    margin: 0 5px; /* Add some spacing between indicators */
}

.carousel-indicators button.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive adjustments for carousel controls */
@media (max-width: 767.98px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        left: 10px; /* Adjust position for smaller screens */
        right: 10px; /* Adjust position for smaller screens */
    }
    .carousel-indicators {
        bottom: 10px; /* Adjust position for smaller screens */
    }
}

/* ===== PRICING SECTION ===== */
.payment-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-light) 100%);
}

.payment-section .card {
    position: relative;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.payment-section .card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px) scale(1.02);
}

/* Recommended and Popular Card Styles */
.recommended-card {
    border-color: var(--primary-color) !important;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.05) 0%, rgba(32, 201, 151, 0.05) 100%);
    transform: scale(1.05);
}

.popular-card {
    border-color: var(--accent-color) !important;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(243, 156, 18, 0.05) 100%);
}

.recommended-badge,
.popular-badge {
    position: absolute;
    top: 20px;
    left: -35px;
    padding: var(--spacing-xs) var(--spacing-xl);
    color: var(--text-white);
    font-weight: 700;
    font-size: var(--font-size-xs);
    transform: rotate(-45deg);
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.recommended-badge {
    background: var(--primary-gradient);
}

.popular-badge {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
}

/* ===== FOOTER ENHANCEMENTS ===== */
.footer-bg {
    background: linear-gradient(135deg, var(--text-dark) 0%, #2c3e50 100%);
    color: var(--text-white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    position: relative;
}

.footer-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.footer-bg h3 {
    color: var(--text-white);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
}

.footer-bg .custom-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-xs) 0;
}

.footer-bg .custom-link:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-bg .custom-link i {
    color: var(--primary-light);
    width: 20px;
}

/* Social Icons */
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-radius: var(--border-radius-full);
    margin: 0 var(--spacing-xs);
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Newsletter Form */
.newsletter-form .form-control {
    border: none;
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    backdrop-filter: blur(10px);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.newsletter-form .btn {
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    background: var(--primary-gradient);
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
}

/* ===== FLOATING ELEMENTS ===== */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: var(--text-white);
    border: none;
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.whatsapp-floating-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--text-white);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    z-index: var(--z-fixed);
    animation: pulse 2s infinite;
}

.whatsapp-floating-btn:hover {
    background: #128c7e;
    color: var(--text-white);
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.whatsapp-floating-btn i {
    font-size: var(--font-size-2xl);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #25d366;
    border-radius: var(--border-radius-full);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ===== MODAL ENHANCEMENTS ===== */
.modal-content {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
}

.modal-header {
    background: var(--primary-gradient);
    color: var(--text-white);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    border-bottom: none;
}

.modal-title {
    font-weight: 700;
}

.btn-close {
    filter: invert(1);
}

/* ===== FORM ENHANCEMENTS ===== */
.form-control {
    border: 2px solid rgba(25, 135, 84, 0.1);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    transition: var(--transition-fast);
    background: var(--bg-primary);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
    background: var(--bg-primary);
}

.form-select {
    border: 2px solid rgba(25, 135, 84, 0.1);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    transition: var(--transition-fast);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--primary-gradient);
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

.border-radius-custom {
    border-radius: var(--border-radius-lg);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-down {
    animation: fadeInDown 0.6s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1199.98px) {
    :root {
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
    }
}

@media (max-width: 991.98px) {
    :root {
        --spacing-xxl: 2rem;
        --spacing-xl: 1.5rem;
    }

    .hero {
        min-height: 80vh;
        padding-top: 100px;
    }

    .hero .display-4,
    .hero .display-5 {
        font-size: var(--font-size-3xl);
    }

    .features,
    .payment-section {
        padding: var(--spacing-xl) 0;
    }

    .recommended-card {
        transform: none;
        margin-bottom: var(--spacing-lg);
    }

    .whatsapp-floating-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
    }

    .whatsapp-floating-btn i {
        font-size: var(--font-size-xl);
    }

    .scroll-to-top-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 767.98px) {
    :root {
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
        --spacing-xxl: 1.5rem;
    }

    .hero {
        min-height: 70vh;
        text-align: center;
    }

    .hero .display-4,
    .hero .display-5 {
        font-size: var(--font-size-2xl);
    }

    .card-body {
        padding: var(--spacing-lg);
    }

    .btn-lg {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-base);
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 575.98px) {
    .container-fluid {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
.main_section{
    padding-top: 20px;
}
    .hero {
        padding-top: 80px;
    }

    .hero ul {
        text-align: right;
        padding-right: var(--spacing-md);
    }

    .features .card {
        margin-bottom: var(--spacing-lg);
    }

    .payment-section .card {
        margin-bottom: var(--spacing-lg);
    }

    .footer-bg {
        padding: var(--spacing-xl) 0 var(--spacing-md);
    }

    .social-icons a {
        width: 30px;
        height: 30px;
        margin: 0 var(--spacing-xs);
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
.btn:focus,
.nav-link:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --text-light: #000000;
        --border-color: #000000;
    }

    .card {
        border: 2px solid var(--border-color);
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .scroll-to-top-btn,
    .whatsapp-floating-btn,
    .modal,
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    a {
        text-decoration: underline;
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.img-fluid {
    height: auto;
    max-width: 100%;
}

/* Lazy loading placeholder */
.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; }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: var(--border-radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-light);
}

/* Video Card Specific Styles */
.video-card .video-thumbnail {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-card .video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.video-card .play-button {
    font-size: 3rem;
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-card .play-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Customer Reviews Carousel Specific Styles */
.review-card {
    background: var(--bg-primary);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
}

.review-card .reviewer-avatar img {
    border: 3px solid var(--primary-color);
    object-fit: cover;
}
.reviewer-avatar img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.review-card .rating i {
    color: var(--accent-color);
}

.review-card blockquote p {
    font-size: var(--font-size-lg);
    font-style: italic;
    color: var(--text-dark);
}

.review-card .reviewer-info h5 {
    color: var(--primary-color);
    font-weight: 700;
}

.review-card .reviewer-info a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.review-card .reviewer-info a:hover {
    color: var(--primary-color);
}



#reviewCarousel .carousel-item.active {
    opacity: 1;
}


#reviewCarousel .card.review-card {
    width: 100%;
    max-width: 100%;
    height: 100%;
}
/* Card inside the item centered */
#reviewCarousel .card {
    margin: auto;
    max-width: 600px;
}

/* Carousel controls positioned on left and right edges */
#reviewCarousel .carousel-control-prev,
#reviewCarousel .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 10;
}

#reviewCarousel .carousel-control-prev {
    left: 10px;
}

#reviewCarousel .carousel-control-next {
    right: 10px;
}

#reviewCarousel .carousel-control-prev:hover,
#reviewCarousel .carousel-control-next:hover {
    opacity: 1;
}

/* Indicators below */
#reviewCarousel .carousel-indicators {
    position: static;
    margin-top: 20px;
    transform: none;
}

/* Responsive */
@media (max-width: 767.98px) {
    #reviewCarousel .carousel-control-prev,
    #reviewCarousel .carousel-control-next {
        width: 30px;
        height: 30px;
    }
}




/* ���� �� �� ����� ���� RTL */
html[dir="rtl"] .carousel-control-prev {
    right: auto;
    left: 0;
}

html[dir="rtl"] .carousel-control-next {
    left: auto;
    right: 0;
}

/* ����� ���� ������ */
.carousel-control-prev {
    right: 0;
    left: auto;
}

.carousel-control-next {
    left: 0;
    right: auto;
}

.carousel-inner {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}




/* ��� ��� ����� ����� ����� ���� ���� */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.broken-image {
    filter: grayscale(100%);
    opacity: 0.7;
}

/* ���� ������ ������ �� 48x48 ���� */
/*.btn, button, [role="button"] {*/
/*    min-width: 48px;*/
/*    min-height: 48px;*/
/*    padding: 12px 24px;*/
/*}*/

/* ������� ������� */
.btn-sm {
    padding: 8px 16px;
}

/* ������� ��� ������� ������� ����� */
.btn + .btn {
    margin-left: 12px;
}
/* ����� ����� ������� */
*:focus {
    outline: 3px solid #ffbf47;
    outline-offset: 2px;
}

/* ����� ������� ��� ������� ������ ��� */
body.using-mouse *:focus {
    outline: none;
}



.footer-link {
    color: #98deea;
    padding: 6px 0;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #007bff;
    text-decoration: none;
}














.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
/*h1, h2, h3, h4, h5, h6 {*/
/*    font-weight: 700;*/
/*    margin-bottom: 1rem;*/
/*    color: #2c3e50;*/
/*}*/

/*h1 {*/
/*    font-size: 3rem;*/
/*    line-height: 1.2;*/
/*}*/

/*h2 {*/
/*    font-size: 2.5rem;*/
/*    line-height: 1.3;*/
/*}*/

/*h3 {*/
/*    font-size: 2rem;*/
/*    line-height: 1.4;*/
/*}*/

/*h4 {*/
/*    font-size: 1.5rem;*/
/*}*/

/*h5 {*/
/*    font-size: 1.25rem;*/
/*}*/

/*h6 {*/
/*    font-size: 1rem;*/
/*}*/

/*p {*/
/*    margin-bottom: 1.5rem;*/
/*    font-size: 1.1rem;*/
/*    line-height: 1.8;*/
/*}*/

/*.lead {*/
/*    font-size: 1.25rem;*/
/*    font-weight: 300;*/
/*    line-height: 1.6;*/
/*}*/

/* ===== BUTTONS ===== */
/*.btn {*/
/*    display: inline-block;*/
/*    padding: 12px 30px;*/
/*    border: none;*/
/*    border-radius: 25px;*/
/*    font-size: 1rem;*/
/*    font-weight: 600;*/
/*    text-decoration: none;*/
/*    text-align: center;*/
/*    cursor: pointer;*/
/*    transition: all 0.3s ease;*/
/*    box-shadow: 0 4px 15px rgba(0,0,0,0.1);*/
/*}*/

/*.btn-primary {*/
/*    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);*/
/*    color: white;*/
/*}*/

/*.btn-primary:hover {*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);*/
/*}*/

/*.btn-secondary {*/
/*    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
/*    color: white;*/
/*}*/

/*.btn-secondary:hover {*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);*/
/*}*/

/*.btn-outline {*/
/*    background: transparent;*/
/*    border: 2px solid #25D366;*/
/*    color: #25D366;*/
/*}*/

/*.btn-outline:hover {*/
/*    background: #25D366;*/
/*    color: white;*/
/*}*/

/*.btn-lg {*/
/*    padding: 18px 45px;*/
/*    font-size: 1.2rem;*/
/*}*/

/*.btn-sm {*/
/*    padding: 8px 20px;*/
/*    font-size: 0.9rem;*/
/*}*/

/*!* ===== CARDS ===== *!*/
/*.card {*/
/*    background: white;*/
/*    border-radius: 20px;*/
/*    box-shadow: 0 10px 30px rgba(0,0,0,0.1);*/
/*    padding: 30px;*/
/*    margin-bottom: 30px;*/
/*    transition: transform 0.3s ease, box-shadow 0.3s ease;*/
/*}*/

/*.card:hover {*/
/*    transform: translateY(-5px);*/
/*    box-shadow: 0 20px 40px rgba(0,0,0,0.15);*/
/*}*/

/*.card-header {*/
/*    border-bottom: 1px solid #eee;*/
/*    padding-bottom: 20px;*/
/*    margin-bottom: 20px;*/
/*}*/

/*.card-title {*/
/*    font-size: 1.5rem;*/
/*    color: #2c3e50;*/
/*    margin-bottom: 10px;*/
/*}*/

/*.card-subtitle {*/
/*    color: #666;*/
/*    font-size: 0.9rem;*/
/*}*/

/*.card-body {*/
/*    padding: 0;*/
/*}*/

/*.card-footer {*/
/*    border-top: 1px solid #eee;*/
/*    padding-top: 20px;*/
/*    margin-top: 20px;*/
/*}*/

/* ===== HERO SECTIONS ===== */
.hero-section {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* ===== ARTICLE STYLES ===== */
.article-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
}

.article-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.article-subtitle {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 0.9rem;
    opacity: 0.9;
    flex-wrap: wrap;
}

.article-body {
    padding: 40px 0;
}

.article-section {
    background: white;
    padding: 50px;
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
    border-bottom: 3px solid #25D366;
    padding-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #25D366, #128C7E);
    border-radius: 2px;
}

/* ===== TABLE OF CONTENTS ===== */
.toc, .table-of-contents {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: -60px auto 60px;
    position: relative;
    z-index: 3;
    max-width: 900px;
}

.toc-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

.toc-list, .toc ol {
    list-style: none;
    columns: 2;
    gap: 20px;
}

.toc-item, .toc li {
    margin-bottom: 15px;
    break-inside: avoid;
}

.toc-link, .toc a {
    color: #25D366;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.toc-link:hover, .toc a:hover {
    color: #128C7E;
    padding-right: 10px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb, .breadcrumb-nav {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-list, .breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    color: #666;
    font-size: 0.9rem;
}

.breadcrumb-item:not(:last-child)::after {
    content: '?';
    margin-right: 10px;
    color: #25D366;
    font-weight: bold;
}

.breadcrumb-link {
    color: #25D366;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #128C7E;
    text-decoration: underline;
}

/* ===== STATS & METRICS ===== */
.stat-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    display: block;
    margin-bottom: 10px;
    color: #25D366;
}

.stat-label {
    font-size: 1.1rem;
    /*opacity: 0.9;*/
    color: #666;
    text-align: center;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.metric-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-5px);
}

.metric-value {
    font-size: 2rem;
    font-weight: 900;
    color: #25D366;
    display: block;
}

.metric-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* ===== HIGHLIGHT BOXES ===== */
.highlight-box {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: '??';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
}

.highlight-content {
    margin-right: 60px;
}

.alert {
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 5px solid;
}

.alert-info {
    background: #e8f4fd;
    border-color: #25D366;
    color: #2980b9;
}

.alert-warning {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.alert-success {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

/* ===== CASE STUDY CARDS ===== */
.case-study-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.case-study-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.case-study-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    margin-left: 15px;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.case-study-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.case-study-subtitle {
    color: #666;
    font-size: 0.9rem;
}

/* ===== STEP CARDS ===== */
.step-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.step-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-top: 5px solid #25D366;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-number {
    background: #25D366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #25D366;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 1rem;
    color: #25D366;
    margin-bottom: 5px;
}

.feature-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    text-align: right;
    margin: 20px 0;
}

.feature-list li {
    padding: 8px 0;
    position: relative;
    padding-right: 25px;
}

.feature-list li::before {
    content: '?';
    position: absolute;
    right: 0;
    color: #25D366;
    font-weight: bold;
}

/* ===== PRICING CARDS ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border: 3px solid #25D366;
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: '������ �����';
    position: absolute;
    top: 20px;
    right: -30px;
    background: #25D366;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    color: #25D366;
    margin-bottom: 10px;
}

.pricing-period {
    color: #666;
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: right;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-right: 25px;
}

.pricing-features li::before {
    content: '?';
    position: absolute;
    right: 0;
    color: #25D366;
    font-weight: bold;
}

.pricing-features li.unavailable {
    color: #ccc;
}

.pricing-features li.unavailable::before {
    content: '?';
    color: #dc3545;
}

/* ===== FAQ STYLES ===== */
.faq-section {
    margin: 50px 0;
}

.faq-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.category-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.category-card i {
    font-size: 2.5rem;
    color: #25D366;
    margin-bottom: 15px;
}

.category-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.category-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-accordion .accordion-header {
    background: #f8f9fa;
}

.faq-accordion .accordion-button {
    background: #f8f9fa;
    border: none;
    padding: 20px;
    font-weight: 600;
    color: #2c3e50;
    text-align: right;
    direction: rtl;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: #25D366;
    color: white;
}

.faq-accordion .accordion-body {
    padding: 20px;
    background: white;
    color: #666;
    line-height: 1.6;
}

/* ===== SEARCH STYLES ===== */
.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-container input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
}

.search-container input:focus {
    outline: none;
    border-color: #25D366;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1.2rem;
}

/* ===== DEMO STYLES ===== */
.demo-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 40px 0;
}

.demo-tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    overflow-x: auto;
}

.demo-tab {
    padding: 15px 25px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.demo-tab.active {
    color: #25D366;
    border-bottom-color: #25D366;
}

.demo-tab:hover {
    color: #25D366;
}

.demo-content {
    min-height: 400px;
}

.demo-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.demo-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}

.valid-feedback {
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 5px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
}

/* ===== CONTACT STYLES ===== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    color: #25D366;
    margin-bottom: 15px;
}

.contact-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.contact-details {
    color: #666;
    line-height: 1.6;
}

.contact-details a {
    color: #25D366;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* ===== BLOG STYLES ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #999;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-read-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== PROTECTION STYLES ===== */
.protection-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.protection-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-left: 5px solid #25D366;
}

.protection-card:hover {
    transform: translateY(-5px);
}

.protection-icon {
    font-size: 2.5rem;
    color: #25D366;
    margin-bottom: 20px;
}

.protection-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.protection-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.protection-benefits {
    list-style: none;
}

.protection-benefits li {
    padding: 5px 0;
    position: relative;
    padding-right: 20px;
}

.protection-benefits li::before {
    content: '???';
    position: absolute;
    right: 0;
    font-size: 0.9rem;
}

/* ===== CTA SECTIONS ===== */
.cta-section {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    border-radius: 20px;
    margin: 50px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 18px 45px;
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.cta-btn-primary {
    background: white;
    color: #25D366;
}

.cta-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* ===== SIDEBAR STYLES ===== */
.sidebar {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.sidebar-widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    margin-bottom: 8px;
}

.sidebar-list a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.sidebar-list a:hover {
    color: #25D366;
}

/* ===== CONTENT GRID ===== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-top: 40px;
}

.main-content {
    font-size: 1.1rem;
    line-height: 1.9;
}

.main-content h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #25D366;
}

.main-content h3 {
    font-size: 1.5rem;
    color: #34495e;
    margin: 30px 0 15px 0;
}

.main-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.main-content ul, .main-content ol {
    margin-bottom: 20px;
    padding-right: 30px;
}

.main-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ===== LOADING & ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #25D366;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: #25D366; }
.text-secondary { color: #667eea; }
.text-success { color: #28a745; }
.text-danger { color: #dc3545; }
.text-warning { color: #ffc107; }
.text-info { color: #17a2b8; }
.text-muted { color: #666; }

.bg-primary { background-color: #25D366; }
.bg-secondary { background-color: #667eea; }
.bg-light { background-color: #f8f9fa; }
.bg-white { background-color: white; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-around { justify-content: space-around; }
.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.align-items-end { align-items: flex-end; }

.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.rounded { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 1rem; }
.rounded-full { border-radius: 50%; }

.shadow { box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075); }
.shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075); }
.shadow-lg { box-shadow: 0 1rem 3rem rgba(0,0,0,0.175); }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    .hero-title, .article-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: -1;
        position: static;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .toc ol, .toc-list {
        columns: 1;
    }
}

@media (max-width: 768px) {
    .hero-title, .article-title {
        font-size: 2.2rem;
    }

    .hero-subtitle, .article-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .article-section {
        padding: 30px 20px;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-cards {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .demo-tabs {
        flex-direction: column;
    }

    .demo-tab {
        text-align: center;
        border-bottom: 1px solid #eee;
        border-radius: 0;
    }

    .demo-tab.active {
        border-bottom-color: #25D366;
        background: #f8f9fa;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }

    .hero-title, .article-title {
        font-size: 1.8rem;
    }

    .hero-subtitle, .article-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .article-section {
        padding: 20px 15px;
    }

    .card {
        padding: 20px;
    }

    .feature-card, .pricing-card, .protection-card {
        padding: 25px;
    }

    /*.stat-number {*/
    /*    font-size: 2.5rem;*/
    /*}*/

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 15px 35px;
        font-size: 1.1rem;
    }

    .toc, .table-of-contents {
        padding: 20px;
        margin: -40px auto 40px;
    }

    .search-container input {
        padding: 12px 45px 12px 15px;
        font-size: 1rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .hero-section,
    .cta-section,
    .sidebar,
    .breadcrumb,
    .demo-container,
    .btn,
    .search-container {
        display: none;
    }

    .article-section,
    .content-section {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }

    .main-content {
        font-size: 12pt;
        line-height: 1.5;
    }

    .section-title {
        font-size: 16pt;
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    body {
        background: #1a1a1a;
        color: #e0e0e0;
    }

    .card,
    .article-section,
    .content-section,
    .sidebar {
        background: #2d2d2d;
        color: #e0e0e0;
    }

    .section-title,
    .article-title,
    .hero-title {
        color: #ffffff;
    }

    .form-control {
        background: #3d3d3d;
        border-color: #555;
        color: #e0e0e0;
    }

    .form-control:focus {
        border-color: #25D366;
        background: #3d3d3d;
    }

    .breadcrumb {
        background: #2d2d2d;
        border-color: #555;
    }

    .alert-info {
        background: #1e3a5f;
        color: #87ceeb;
    }

    .alert-warning {
        background: #5d4e00;
        color: #ffd700;
    }

    .alert-success {
        background: #1e5d2e;
        color: #90ee90;
    }

    .alert-danger {
        background: #5d1e1e;
        color: #ffb6c1;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.toc-link:focus,
.breadcrumb-link:focus {
    outline: 2px solid #25D366;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border: 2px solid #fff;
    }

    .btn-secondary {
        background: #fff;
        color: #000;
        border: 2px solid #000;
    }

    .card,
    .article-section {
        border: 2px solid #000;
    }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #25D366;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #128C7E;
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #25D366 #f1f1f1;
}

/* ===== SELECTION STYLES ===== */
::selection {
    background: #25D366;
    color: white;
}

::-moz-selection {
    background: #25D366;
    color: white;
}

/* ===== END OF ENHANCED MAIN STYLE ===== */
.social-share .social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;  /* ����� ������ */
    height: 40px; /* �������� ������ */
    border-radius: 50%; /* ����� ������ */
    background-color: #f1f1f1; /* ������� */
    margin: 5px;
    text-decoration: none;
}

.social-share .social-btn i {
    font-size: 20px; /* ��� �������� */
    color: #333; /* ����� ��������� */
}
