:root {
    --primary-color: #2c5aa0;
    --primary-color-rgb: 44, 90, 160;
    --secondary-color: #f8f9fa;
    --accent-color: #ffc107;
    --accent-color-rgb: 255, 193, 7;
    --text-color: #333;
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --border-color: #dee2e6;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
    --section-padding: 100px 0;
}

[data-theme="dark"] {
    --primary-color: #4a90e2;
    --primary-color-rgb: 74, 144, 226;
    --secondary-color: #1a1a1a;
    --accent-color: #ffc107;
    --accent-color-rgb: 255, 193, 7;
    --text-color: #ffffff;
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --border-color: #333;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

* {
    transition: var(--transition);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .navbar-nav {
    margin-right: auto;
    margin-left: 0;
}

[dir="rtl"] .text-end {
    text-align: left !important;
}

[dir="rtl"] .me-3 {
    margin-left: 1rem !important;
    margin-right: 0 !important;
}

/* Navigation */
.navbar {
    background-color: var(--bg-color); /* Changed from transparent to solid */
    backdrop-filter: none; /* Removed blur effect */
    transition: all 0.4s ease;
    padding: 0 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Update nav links for solid navbar */
.nav-link {
    color: var(--text-color) !important; /* Changed from white to text color */
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    padding: 8px 0 !important;
    transition: all 0.3s ease;
    opacity: 0.9;
}

/* Update nav action buttons for solid navbar */
.btn-nav-action {
    /*background-color: rgba(var(--primary-color-rgb), 0.1);*/
    color: var(--primary-color);
    background-color: var(--accent-color)!important;
    border: none;
    border-radius: 50px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.scrolled .nav-link {
    color: var(--text-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
    color: var(--accent-color) !important;
}

.nav-link:hover::after {
    width: 100%;
}

/* Theme & Language Switchers */
.btn-nav-action {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-nav-action.dropdown-toggle {
    width: auto;
    padding: 0 15px;
}

.scrolled .btn-nav-action {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
}

.btn-nav-action:hover {
    background-color: var(--accent-color);
    color: #333;
    transform: translateY(-3px);
}

.dropdown-menu {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: none;
    background-color: var(--card-bg);
    padding: 10px;
    margin-top: 10px;
    min-width: 160px;
}

.dropdown-item {
    color: var(--text-color);
    transition: all 0.2s ease;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    margin-bottom: 5px;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item:hover {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
}

/* Navbar Toggler */
.navbar-toggler {
    border: none;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.scrolled .navbar-toggler {
    background-color: rgba(var(--primary-color-rgb), 0.1);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 24px;
    height: 24px;
}

.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(44, 90, 160, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Language & Theme Switchers */
.dropdown-menu {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: none;
    background-color: var(--card-bg);
}

.dropdown-item {
    color: var(--text-color);
    transition: all 0.2s ease;
    padding: 10px 20px;
}

.dropdown-item:hover {
    background-color: rgba(74, 144, 226, 0.1);
    color: var(--primary-color);
}

.btn-outline-primary, .btn-outline-secondary, .btn-outline-light {
    border-radius: 50px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover, .btn-outline-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(125deg, #2c5aa0 0%, #1e3c72 50%, #2c5aa0 100%);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7 3.134 7 3.134 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.8;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 15s infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.1;
        transform: scale(1.2);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s;
    animation-fill-mode: both;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #333;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:hover {
    background-color: #ffb700;
    border-color: #ffb700;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
}

.btn-primary span, .btn-outline-light span {
    position: relative;
    z-index: 2;
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-outline-light {
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-logo-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.floating-badge {
    position: absolute;
    background: white;
    color: var(--primary-color);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    font-size: 0.9rem;
}

.badge-quality {
    top: 20%;
    left: 0;
    animation: floatBadge 5s ease-in-out infinite;
}

.badge-experience {
    bottom: 20%;
    right: 0;
    animation: floatBadge 5s ease-in-out 2.5s infinite;
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0) rotate(-3deg);
    }
    50% {
        transform: translateY(-10px) rotate(3deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries for Hero Section */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons .btn {
        padding: 10px 20px;
    }
    
    .hero-image-container {
        margin-top: 3rem;
    }
    
    .floating-badge {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons .btn-outline-light {
        margin-top: 1rem;
        margin-left: 0 !important;
    }
}

/* Sections */
section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.bg-light {
    background-color: var(--secondary-color) !important;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Product Cards */
.product-card {
    background-color: var(--card-bg);
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-card .card-img-container{
    height: 300px;
}

.product-card img {
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.08);
}

.card-body {
    padding: 25px;
}

.card-title {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.card-text {
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 20px;
}

/* Features */
.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), #1e3c72);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(44, 90, 160, 0.3);
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 2.5rem;
    color: white;
}

.text-center:hover .feature-icon {
    transform: translateY(-10px) rotate(10deg);
    box-shadow: 0 15px 30px rgba(44, 90, 160, 0.4);
}

/* Contact Form */
.form-control {
    padding: 12px 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
    border-color: var(--primary-color);
}

.contact-info {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
}

.contact-info h5 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info p i {
    width: 30px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Google Maps */
iframe {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 30px;
}

/* Footer */
footer {
    background-color: #0a1f44 !important;
    color: white;
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.15) 0%, rgba(10, 31, 68, 0) 50%);
    z-index: 1;
}

footer .container {
    position: relative;
    z-index: 2;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 10px;
}

[dir="rtl"] footer h5::after {
    left: auto;
    right: 0;
}

footer p {
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links li a:hover {
    color: white;
    transform: translateX(5px);
}

[dir="rtl"] .footer-links li a:hover {
    transform: translateX(-5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    color: var(--accent-color);
    margin-right: 15px;
    margin-top: 5px;
}

[dir="rtl"] .footer-contact li i {
    margin-right: 0;
    margin-left: 15px;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
}

[dir="rtl"] .social-icons a {
    margin-right: 0;
    margin-left: 10px;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: #0a1f44;
    transform: translateY(-5px);
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

footer .copyright {
    opacity: 0.8;
    font-size: 0.9rem;
}

footer .copyright a {
    color: var(--accent-color);
    text-decoration: none;
}

footer .copyright a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in.animate-in {
    opacity: 1;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.slide-in-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.slide-in-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .navbar-collapse {
        background-color: var(--bg-color);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        padding: 20px;
        margin-top: 15px;
    }
    
    [data-theme="dark"] .navbar-collapse {
        background-color: var(--card-bg);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }
    
    section {
        padding: 60px 0;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon i {
        font-size: 1.8rem;
    }
}

/* Add Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');