/* Font Display Optimization */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    font-display: swap;
}

:root {
    --primary-color: #2c5530;
    --secondary-color: #4a7c59;
    --accent-color: #8bc34a;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
    --border-color: #e9ecef;
    --shadow: 0 0 20px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --header-height: 85px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-bottom: 2rem;
}

.header {
    background: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(20px);
    transition: var(--transition);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header.scrolled {
    background: rgba(26, 26, 26, 0.6);
    box-shadow: var(--shadow);
    backdrop-filter: blur(25px);
}

.navbar-brand .logo {
    height: 60px;
    width: auto;
    max-width: 240px;
    opacity: 0.75;
    transition: var(--transition);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.navbar-brand {
    padding: 0.5rem 0;
}

.navbar-brand:hover .logo {
    transform: scale(1.05);
    opacity: 0.95;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.5));
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    font-size: 1.125rem;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: rgba(139, 195, 74, 0.9) !important;
    opacity: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.dropdown-menu {
    background: rgba(26, 26, 26, 0.5);
    border: none;
    box-shadow: var(--shadow);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
    padding: 0.5rem 1rem;
}

.dropdown-item:hover {
    background: rgba(44, 85, 48, 0.6);
    color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.6;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
}

.navbar-toggler:hover {
    opacity: 0.9;
    border-color: rgba(139, 195, 74, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
    filter: brightness(0.8) opacity(0.8);
}

.modal-content {
    background: rgba(0, 0, 0, 0.9);
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    border-bottom: none;
    padding: 1rem 1rem 0;
}

.modal-body {
    padding: 0 1rem 1rem;
}

#modal-video {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    outline: none;
}

#modal-video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.8);
}

.btn-video {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn-video::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.btn-video:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 30px rgba(139, 195, 74, 0.3);
}

.btn-video:hover::before {
    width: 100%;
    height: 100%;
}

.btn-video i {
    position: relative;
    z-index: 2;
    margin-left: 3px;
}

.video-section {
    overflow: hidden;
    min-height: 400px;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: blur(0.5px);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.7);
    z-index: 2;
}

.video-button-container {
    position: relative;
    z-index: 3;
}

.watch-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

@media (max-width: 768px) {
    .modal-dialog {
        margin: 1rem;
    }
    
    .btn-video {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .video-section {
        min-height: 300px;
    }
    
    .video-bg {
        opacity: 0.2;
        filter: blur(2px);
    }
    
    .watch-text {
        font-size: 1rem;
    }
}

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    padding-top: 120px;
}

.page-banner.hero-section {
    height: 60vh;
    min-height: 400px;
    padding-top: 80px;
    align-items: flex-start;
}

.page-banner .container {
    padding: 2rem 0;
}

.page-banner .breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 1rem;
}

.page-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.page-banner .breadcrumb-item a:hover {
    color: var(--accent-color);
}

.page-banner .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.8);
}

.parallax-section {
    position: relative;
    z-index: 5;
    background: white;
    margin-top: -50px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.about-section,
.welcome-section,
.product-content {
    position: relative;
    z-index: 5;
    background: white;
    margin-top: -50px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    padding-top: 3rem !important;
}

.quick-contact {
    position: relative;
    z-index: 12;
    background: var(--light-color);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.page-banner h1,
.page-banner .display-4 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.page-banner .lead {
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    display: inline-block;
    margin-top: 1rem;
}

.hero-content .btn {
    background: rgba(139, 195, 74, 0.9);
    border: 2px solid rgba(139, 195, 74, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(139, 195, 74, 0.3);
    transition: all 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content .btn:hover {
    background: rgba(139, 195, 74, 1);
    border-color: rgba(139, 195, 74, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(139, 195, 74, 0.4);
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(0.5px);
    opacity: 0.7;
    transform: scale(1.05);
    transition: opacity 0.3s ease;
    will-change: opacity, transform;
    z-index: 2;
}

/* Fix subtitle positioning to prevent CLS */
.hero-video::cue {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    max-width: 80%;
    text-align: center;
    line-height: 1.4;
    white-space: pre-wrap;
}

/* Mobile subtitle adjustments */
@media (max-width: 768px) {
    .hero-video::cue {
        font-size: 0.9rem;
        bottom: 30px;
        padding: 0.4rem 0.8rem;
        max-width: 90%;
    }
}

.hero-video-placeholder {
    background: linear-gradient(45deg, #2c5530, #4a7c59);
    opacity: 0.4;
}

.hero-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2c5530;
    z-index: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.hero-video-container.video-loaded::before {
    opacity: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    text-align: center;
}

.hero-title {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.hero-subtitle {
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    display: inline-block;
    margin: 1rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.about-section {
    padding: 100px 0;
}

.about-section img {
    box-shadow: var(--shadow);
    border-radius: 10px;
}

.choose-us-section {
    background: var(--light-color);
}

.feature-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

.feature-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;
    color: #fff;
    font-size: 2rem;
}

.feature-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.services-section {
    padding: 100px 0;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

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

.service-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-content h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.video-section {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    position: relative;
}

.btn-video {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-video:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: scale(1.1);
    color: #fff;
}

.who-we-are-section {
    padding: 100px 0;
    background: var(--light-color);
}

.expertise-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.expertise-item:hover {
    transform: translateX(10px);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.cta-item {
    text-align: center;
    padding: 1.5rem;
}

.cta-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.cta-item h5 {
    color: #fff;
    margin-bottom: 0;
}

.footer {
    background: var(--dark-color) !important;
}

.footer h5 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent-color);
}

.footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

.wow {
    visibility: hidden;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card,
    .service-card {
        margin-bottom: 2rem;
    }
    
    .hero-section {
        height: 70vh;
        min-height: 500px;
        padding-top: 100px;
    }
    
    .about-section,
    .services-section,
    .who-we-are-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding-top: 80px;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .feature-card,
    .service-content {
        padding: 2rem 1.5rem;
    }
    
    .cta-item {
        margin-bottom: 2rem;
    }
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.fade-out {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.product-info-widget {
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.85), rgba(74, 124, 89, 0.85)) !important;
    color: white;
    border-radius: 15px !important;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 5;
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-info-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.product-facts .fact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.product-facts .fact-item:last-child {
    border-bottom: none;
}

.fact-label {
    font-weight: 500;
}

.fact-value {
    font-weight: 700;
    color: var(--accent-color);
}

.contact-widget {
    position: relative;
    z-index: 10;
    background: white !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.support-widget {
    background: linear-gradient(135deg, rgba(74, 124, 89, 0.85), rgba(44, 85, 48, 0.85)) !important;
    color: white;
    border-radius: 15px !important;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 5;
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.support-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.support-item:last-child {
    border-bottom: none;
}

.calculator-widget {
    background: linear-gradient(135deg, rgba(74, 124, 89, 0.85), rgba(44, 85, 48, 0.85)) !important;
    color: white;
    border-radius: 15px !important;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 5;
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calculator-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.calculator-widget .form-control,
.calculator-widget .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

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

.calculator-widget .form-control:focus,
.calculator-widget .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 195, 74, 0.25);
    color: white;
}

.market-widget {
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.85), rgba(74, 124, 89, 0.85)) !important;
    color: white;
    border-radius: 15px !important;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 5;
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.market-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.widget {
    margin-bottom: 2rem;
    position: relative;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

html {
    scroll-behavior: smooth;
}

.language-option {
    transition: var(--transition);
}

.language-option:hover {
    background-color: rgba(44, 85, 48, 0.1) !important;
}

.language-option.active {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.language-option img {
    border-radius: 2px;
}

#current-lang {
    font-weight: 600;
    font-size: 0.9rem;
}

.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .navbar-nav {
    margin-left: auto;
    margin-right: 0;
}

.rtl .dropdown-menu-end {
    right: auto;
    left: 0;
}

.rtl .text-md-end {
    text-align: left !important;
}

.rtl .ms-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

.rtl .me-1,
.rtl .me-2,
.rtl .me-3 {
    margin-left: 0.25rem !important;
    margin-right: 0 !important;
}

.rtl .ms-1,
.rtl .ms-2,
.rtl .ms-3 {
    margin-right: 0.25rem !important;
    margin-left: 0 !important;
}

.rtl .hero-content {
    text-align: right;
}

.rtl .hero-title {
    text-align: center;
}

.rtl .navbar-nav .nav-link {
    text-align: right;
}

.rtl .dropdown-menu {
    text-align: right;
}

.rtl #languageDropdown {
    direction: ltr;
}

.language-loading {
    opacity: 0.6;
    pointer-events: none;
}

[lang="ar"] {
    font-family: 'Segoe UI', 'Tahoma', 'Arabic UI Text', 'Arabic UI Display', 'Simplified Arabic', sans-serif;
}

/* Анимация пульсации для подписи */
@keyframes gentlePulse {
    0% {
        opacity: 0.75;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
        transform: scale(1);
    }
    25% {
        opacity: 0.9;
        text-shadow: 0 1px 4px rgba(139, 195, 74, 0.2), 0 1px 3px rgba(0, 0, 0, 0.5);
        transform: scale(1.005);
    }
    50% {
        opacity: 1;
        text-shadow: 0 1px 6px rgba(139, 195, 74, 0.3), 0 1px 4px rgba(0, 0, 0, 0.5);
        transform: scale(1.01);
    }
    75% {
        opacity: 0.9;
        text-shadow: 0 1px 4px rgba(139, 195, 74, 0.2), 0 1px 3px rgba(0, 0, 0, 0.5);
        transform: scale(1.005);
    }
    100% {
        opacity: 0.75;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
        transform: scale(1);
    }
}

.navbar-brand .tagline {
    animation: gentlePulse 6s ease-in-out infinite;
    animation-delay: 3s; /* Задержка перед началом анимации */
    transition: all 0.3s ease;
    will-change: opacity, transform, text-shadow; /* Оптимизация для GPU */
    white-space: nowrap; /* На десктоп в една строчка */
    line-height: 1.2;
    font-size: 0.9rem;
}

.navbar-brand .tagline:hover {
    animation-play-state: paused;
    opacity: 1 !important;
    text-shadow: 0 1px 8px rgba(139, 195, 74, 0.5), 0 1px 4px rgba(0, 0, 0, 0.6) !important;
    transform: scale(1.02) !important;
    cursor: default;
}

/* Уменьшение анимации при предпочтении пользователя */
@media (prefers-reduced-motion: reduce) {
    .navbar-brand .tagline {
        animation: none;
        opacity: 0.9;
    }
}

@media (max-width: 768px) {
    .rtl .navbar-collapse {
        text-align: right;
    }
    
    .rtl .dropdown-menu {
        width: 100%;
        text-align: right;
    }
    
    #current-lang {
        font-size: 0.85rem;
    }
    
    .navbar-brand .tagline {
        font-size: 0.75rem;
        margin-left: 0.5rem !important;
        line-height: 1.1;
        display: block;
        white-space: normal; /* Позволява пренасяне на нов ред */
        word-break: break-word; /* Прекъсва думите при нужда */
        max-width: 120px; /* Контролира къде да се пренесе */
        text-align: left;
        /* Более медленная анимация для мобильных */
        animation: gentlePulse 8s ease-in-out infinite;
        animation-delay: 4s;
    }
    
    .navbar-brand {
        flex-direction: row;
        align-items: center;
        padding: 0.25rem 0;
        justify-content: flex-start;
    }
    
    .navbar-brand .logo {
        height: 45px;
        max-width: 200px;
    }
    
    /* Исправление для мобильного меню - обеспечиваем работу Bootstrap dropdown */
    .navbar-collapse .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
        padding: 0;
        margin-left: 1rem;
    }
    
    .navbar-collapse .dropdown-item {
        padding: 0.5rem 1rem;
        color: rgba(255, 255, 255, 0.75);
        background: none;
        border: none;
        display: block;
        width: 100%;
        text-align: left;
    }
    
    .navbar-collapse .dropdown-item:hover {
        background-color: rgba(44, 85, 48, 0.3);
        color: white;
    }
    
    .navbar-collapse .dropdown-toggle::after {
        transform: rotate(-90deg);
        transition: transform 0.3s ease;
    }
    
    .navbar-collapse .dropdown[aria-expanded="true"] .dropdown-toggle::after {
        transform: rotate(0deg);
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

@media (min-width: 1200px) {
    .navbar-brand .logo {
        height: 70px;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .page-banner.hero-section {
        height: 50vh;
        min-height: 300px;
        padding-top: 60px;
    }
    
    .page-banner .container {
        padding: 1.5rem 0;
    }
    
    .hero-subtitle {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .about-section,
    .welcome-section,
    .product-content {
        margin-top: -30px;
        border-radius: 15px 15px 0 0;
    }
    
    .navbar-brand .logo {
        height: 40px;
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .page-banner.hero-section {
        height: 40vh;
        min-height: 250px;
        padding-top: 50px;
    }
    
    .page-banner .container {
        padding: 1rem 0;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .page-banner .lead {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
    
    .about-section,
    .welcome-section,
    .product-content {
        margin-top: -20px;
        border-radius: 10px 10px 0 0;
    }
    
    .hero-video {
        filter: blur(1px);
        opacity: 0.5;
    }
    
    .navbar-brand .logo {
        height: 35px;
        max-width: 120px;
    }
    
    .navbar-brand {
        padding: 0.25rem 0;
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.live-metric {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.live-metric::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 195, 74, 0.4), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.live-metric.metric-updated::before {
    left: 100%;
}

.live-metric.metric-updated {
    transform: scale(1.05);
    color: #fff;
    text-shadow: 0 0 20px rgba(139, 195, 74, 0.8);
    background: rgba(139, 195, 74, 0.1);
}

@keyframes metricPulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(139, 195, 74, 0.4);
        background: rgba(139, 195, 74, 0.05);
    }
    70% { 
        box-shadow: 0 0 0 15px rgba(139, 195, 74, 0);
        background: rgba(139, 195, 74, 0.1);
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(139, 195, 74, 0);
        background: rgba(139, 195, 74, 0.05);
    }
}

.live-metric {
    animation: metricPulse 4s infinite;
}

.stat-item {
    transition: all 0.3s ease;
}

.stat-item:hover .live-metric {
    animation-duration: 2s;
    transform: scale(1.02);
}

.service-nav {
    position: sticky;
    top: var(--header-height);
    z-index: 15;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-nav.scrolled {
    background: rgba(248, 249, 250, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-nav .nav-pills {
    background: none;
    border: none;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
}

.service-nav .nav-pills .nav-link {
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(44, 85, 48, 0.2);
    margin: 0.25rem;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-nav .nav-pills .nav-link:hover {
    background: rgba(44, 85, 48, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.2);
}

.service-nav .nav-pills .nav-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.3);
}

.service-nav .nav-pills .nav-link.active:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    :root {
        --header-height: 75px;
    }
    
    .service-nav {
        padding: 0.8rem 0;
    }
    
    .service-nav .nav-pills {
        justify-content: center;
        gap: 0.3rem;
    }
    
    .service-nav .nav-pills .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        margin: 0.2rem;
    }
}

@media (max-width: 576px) {
    :root {
        --header-height: 65px;
    }
    
    .service-nav {
        padding: 1rem 0;
    }
    
    .service-nav .nav-pills {
        gap: 0.2rem;
    }
    
    .service-nav .nav-pills .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        border-radius: 20px;
        margin: 0.1rem;
    }
}

[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] body {
    text-align: right;
}

[dir="rtl"] .navbar-nav {
    margin-right: 0;
    margin-left: auto;
}

[dir="rtl"] .nav-item .dropdown-menu {
    right: 0;
    left: auto;
}

[dir="rtl"] .dropdown-menu {
    text-align: right;
}

[dir="rtl"] .language-selector .dropdown-menu {
    right: 0;
    left: auto;
}

[dir="rtl"] .hero-content {
    text-align: right;
}

[dir="rtl"] .card {
    text-align: right;
}

[dir="rtl"] .service-card {
    text-align: right;
}

[dir="rtl"] .feature-card {
    text-align: right;
}

[dir="rtl"] ul,
[dir="rtl"] ol {
    padding-right: 1.5rem;
    padding-left: 0;
}

[dir="rtl"] .list-unstyled {
    padding-right: 0;
}

[dir="rtl"] .btn-group {
    direction: rtl;
}

[dir="rtl"] .btn {
    text-align: center;
}

[dir="rtl"] .fas,
[dir="rtl"] .far,
[dir="rtl"] .fab {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .nav-link i {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .contact-info {
    text-align: right;
}

[dir="rtl"] .contact-info i {
    margin-right: 0;
    margin-left: 0.75rem;
    float: right;
}

[dir="rtl"] .footer {
    text-align: right;
}

[dir="rtl"] .footer .col-md-3,
[dir="rtl"] .footer .col-md-4,
[dir="rtl"] .footer .col-md-6 {
    text-align: right;
}

[dir="rtl"] .form-control {
    text-align: right;
}

[dir="rtl"] .form-label {
    text-align: right;
}

[dir="rtl"] .form-select {
    text-align: right;
    background-position: left 0.75rem center;
}

[dir="rtl"] .table {
    text-align: right;
}

[dir="rtl"] .table th,
[dir="rtl"] .table td {
    text-align: right;
}

[dir="rtl"] .service-nav .nav-pills {
    direction: rtl;
}

[dir="rtl"] .d-flex {
    direction: rtl;
}

[dir="rtl"] .justify-content-start {
    justify-content: flex-end !important;
}

[dir="rtl"] .justify-content-end {
    justify-content: flex-start !important;
}

[dir="rtl"] .text-start {
    text-align: right !important;
}

[dir="rtl"] .text-end {
    text-align: left !important;
}

[dir="rtl"] .me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

[dir="rtl"] .me-3 {
    margin-right: 0 !important;
    margin-left: 1rem !important;
}

[dir="rtl"] .ms-2 {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
}

[dir="rtl"] .ms-3 {
    margin-left: 0 !important;
    margin-right: 1rem !important;
}

[dir="rtl"] .ms-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

[dir="rtl"] .me-auto {
    margin-right: 0 !important;
    margin-left: auto !important;
}

[dir="rtl"] .position-absolute {
    right: auto;
    left: auto;
}

[dir="rtl"] .language-selector .dropdown-toggle::after {
    margin-right: 0.5rem;
    margin-left: 0;
}

[dir="rtl"] .hero .btn {
    margin-right: 1rem;
    margin-left: 0;
}

[dir="rtl"] .hero .btn:last-child {
    margin-right: 0;
}

[dir="rtl"] .animate__fadeInLeft {
    animation-name: fadeInRight;
}

[dir="rtl"] .animate__fadeInRight {
    animation-name: fadeInLeft;
}

.rtl {
    direction: rtl !important;
}

.rtl * {
    direction: rtl;
}

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

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

[dir="rtl"] .carousel-indicators {
    right: 50%;
    left: auto;
    transform: translateX(50%);
}

@media (max-width: 768px) {
    [dir="rtl"] .navbar-collapse {
        text-align: right;
    }
    
    [dir="rtl"] .hero-content {
        text-align: center;
    }
}

@media (max-width: 576px) {
    [dir="rtl"] .hero-content {
        text-align: center;
    }
    
    [dir="rtl"] .service-card,
    [dir="rtl"] .feature-card {
        text-align: center;
    }
}

.widget {
    background: #ffffff !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08) !important;
    position: relative;
}

.widget-title {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
    padding: 1.25rem 1.5rem !important;
    margin: 0 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-bottom: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.widget-title i {
    color: white !important;
    font-size: 1.2rem !important;
}

.calculator-widget {
    background: #ffffff !important;
    border: 1px solid rgba(44, 85, 48, 0.1) !important;
}

.calculator-widget .calculator-content,
.calculator-widget .calculator-form {
    padding: 1.5rem !important;
    background: white !important;
}

.calculator-widget .form-label {
    color: var(--dark-color) !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.95rem !important;
}

.calculator-widget .form-control,
.calculator-widget .form-select {
    border: 2px solid rgba(44, 85, 48, 0.2) !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    color: var(--text-color) !important;
    background-color: #ffffff !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.calculator-widget .form-control:focus,
.calculator-widget .form-select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(44, 85, 48, 0.25) !important;
    outline: none !important;
}

.calculator-widget .form-control::placeholder {
    color: rgba(51, 51, 51, 0.75) !important;
    font-style: italic !important;
}

.calculator-widget .btn-success,
.calculator-widget .btn-primary {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    border: none !important;
    font-weight: 600 !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 0.9rem !important;
}

.calculator-widget .btn-success:hover,
.calculator-widget .btn-primary:hover {
    background: linear-gradient(135deg, #218838, #1ba085) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3) !important;
}

.calculation-result,
.result-display {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05), rgba(32, 201, 151, 0.05)) !important;
    border: 1px solid rgba(40, 167, 69, 0.2) !important;
    border-radius: 10px !important;
    padding: 1rem !important;
    margin-top: 1rem !important;
}

.calculation-result h6 {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important;
    font-size: 1rem !important;
}

.result-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.5rem 0 !important;
    border-bottom: 1px solid rgba(40, 167, 69, 0.1) !important;
}

.result-item:last-child {
    border-bottom: none !important;
}

.result-item span {
    color: var(--text-color) !important;
    font-weight: 500 !important;
}

.result-item strong {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

.result-display .alert-info {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.1), rgba(13, 110, 253, 0.1)) !important;
    border: 1px solid rgba(13, 202, 240, 0.3) !important;
    color: var(--text-color) !important;
    border-radius: 10px !important;
}

.result-display .result-details p {
    color: var(--text-color) !important;
    margin-bottom: 0.5rem !important;
    font-weight: 500 !important;
}

.result-display .result-details strong {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.market-widget {
    background: #ffffff !important;
    border: 1px solid rgba(44, 85, 48, 0.1) !important;
}

.market-widget .market-content,
.market-widget .market-prices {
    padding: 1.5rem !important;
    background: white !important;
}

.market-widget .price-item {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8), rgba(233, 236, 239, 0.5)) !important;
    border: 1px solid rgba(44, 85, 48, 0.15) !important;
    border-radius: 12px !important;
    padding: 1rem !important;
    margin-bottom: 1rem !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.market-widget .price-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(44, 85, 48, 0.15) !important;
    border-color: var(--primary-color) !important;
}

.market-widget .price-item::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 4px !important;
    height: 100% !important;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    border-radius: 0 2px 2px 0 !important;
}

.market-widget .price-label,
.market-widget .product-name {
    color: var(--dark-color) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    margin-bottom: 0.25rem !important;
}

.market-widget .price,
.market-widget .price-value {
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    color: var(--primary-color) !important;
    margin: 0.25rem 0 !important;
}

.market-widget .price-term {
    font-size: 0.8rem !important;
    color: #6c757d !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.market-widget .price-change {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
}

.market-widget .text-success {
    background: rgba(40, 167, 69, 0.1) !important;
    color: #28a745 !important;
}

.market-widget .text-danger {
    background: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545 !important;
}

.market-widget .text-primary {
    background: rgba(13, 110, 253, 0.1) !important;
    color: #0d6efd !important;
}

.market-widget .text-warning {
    background: rgba(255, 193, 7, 0.1) !important;
    color: #ffc107 !important;
}

.market-status {
    margin-top: 1rem !important;
    padding-top: 1rem !important;
    border-top: 1px solid rgba(44, 85, 48, 0.1) !important;
}

.market-status .text-muted {
    color: #6c757d !important;
    font-size: 0.85rem !important;
}

.business-hours-widget,
.quick-facts-widget {
    background: #ffffff !important;
    border: 1px solid rgba(44, 85, 48, 0.1) !important;
}

.business-hours-widget h4,
.quick-facts-widget h4 {
    color: var(--dark-color) !important;
    margin-bottom: 1.5rem !important;
    font-weight: 600 !important;
}

.hours-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.hours-list li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid rgba(44, 85, 48, 0.1) !important;
}

.hours-list li:last-child {
    border-bottom: none !important;
}

.hours-list span {
    color: var(--text-color) !important;
    font-weight: 500 !important;
}

.current-status {
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-top: 1rem !important;
}

.bg-success-light {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(32, 201, 151, 0.1)) !important;
    color: #28a745 !important;
    border: 1px solid rgba(40, 167, 69, 0.2) !important;
}

.bg-warning-light {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 235, 59, 0.1)) !important;
    color: #ffc107 !important;
    border: 1px solid rgba(255, 193, 7, 0.2) !important;
}

.bg-danger-light {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(255, 82, 82, 0.1)) !important;
    color: #dc3545 !important;
    border: 1px solid rgba(220, 53, 69, 0.2) !important;
}

.contact-method-card {
    transition: all 0.3s ease !important;
    background: white !important;
    border: 1px solid rgba(44, 85, 48, 0.1) !important;
    border-radius: 15px !important;
    padding: 2rem !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
}

.contact-method-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
}

.contact-method-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(44, 85, 48, 0.2) !important;
    border-color: var(--primary-color) !important;
}

.contact-method-card h4 {
    color: var(--dark-color) !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
}

.contact-method-card p {
    color: #6c757d !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}

.contact-icon {
    width: 80px !important;
    height: 80px !important;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 1.5rem !important;
    color: white !important;
    font-size: 2rem !important;
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.3) !important;
}

.product-info-widget,
.product-facts {
    background: #ffffff !important;
    border: 1px solid rgba(44, 85, 48, 0.1) !important;
}

.product-facts .fact-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid rgba(44, 85, 48, 0.1) !important;
}

.product-facts .fact-item:last-child {
    border-bottom: none !important;
}

.fact-label {
    color: var(--text-color) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
}

.fact-value {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
}

.fact-item strong {
    color: var(--dark-color) !important;
    font-weight: 700 !important;
}

.fact-item .text-muted {
    color: #6c757d !important;
    font-size: 0.9rem !important;
}

.services-widget {
    background: #ffffff !important;
    border: 1px solid rgba(44, 85, 48, 0.1) !important;
}

.services-widget ul {
    list-style: none !important;
    padding: 1.5rem !important;
    margin: 0 !important;
}

.services-widget ul li {
    margin-bottom: 0.75rem !important;
}

.services-widget ul li:last-child {
    margin-bottom: 0 !important;
}

.services-widget a {
    color: var(--text-color) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    padding: 0.5rem !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
}

.services-widget a:hover {
    background: rgba(44, 85, 48, 0.1) !important;
    color: var(--primary-color) !important;
    transform: translateX(5px) !important;
}

.services-widget a i {
    color: var(--primary-color) !important;
    font-size: 0.9rem !important;
}

.download-widget {
    background: #ffffff !important;
    border: 1px solid rgba(44, 85, 48, 0.1) !important;
}

.download-links {
    padding: 1.5rem !important;
}

.download-link {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 1rem !important;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8), rgba(233, 236, 239, 0.5)) !important;
    border: 1px solid rgba(44, 85, 48, 0.15) !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    color: var(--text-color) !important;
    margin-bottom: 1rem !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
}

.download-link:last-child {
    margin-bottom: 0 !important;
}

.download-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(44, 85, 48, 0.3) !important;
    border-color: var(--primary-color) !important;
}

.download-link i {
    font-size: 1.5rem !important;
    color: var(--primary-color) !important;
    transition: color 0.3s ease !important;
}

.download-link:hover i {
    color: white !important;
}

@media (max-width: 768px) {
    .widget {
        margin-bottom: 1.5rem !important;
    }
    
    .widget-title {
        padding: 1rem !important;
        font-size: 1rem !important;
    }
    
    .calculator-widget .calculator-content,
    .calculator-widget .calculator-form,
    .market-widget .market-content,
    .market-widget .market-prices {
        padding: 1rem !important;
    }
    
    .contact-method-card {
        padding: 1.5rem !important;
    }
    
    .contact-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }
}

/* Modern Forced Colors Mode support to replace deprecated -ms-high-contrast */
@media (forced-colors: active) {
    .btn,
    .card,
    .navbar,
    .hero-section {
        forced-color-adjust: auto;
    }
    
    .text-primary,
    .text-secondary {
        color: ButtonText !important;
    }
    
    .bg-primary,
    .bg-secondary {
        background-color: ButtonFace !important;
        border-color: ButtonText !important;
    }
}