/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 0.6rem 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-left {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.top-bar-item {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s;
}

.top-bar-item:hover {
    opacity: 0.8;
}

.top-bar-item i {
    font-size: 0.85rem;
}

.lang-switcher-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-switcher-top a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.lang-switcher-top a.active,
.lang-switcher-top a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s;
}

.logo-link:hover {
    transform: translateY(-2px);
}

.logo img {
    height: 55px;
    width: auto;
    transition: transform 0.3s;
}

.logo-link:hover img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    display: none;
}

.company-tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 400;
    display: none;
}

@media (min-width: 769px) {
    .company-name {
        display: block;
    }
}

@media (min-width: 992px) {
    .company-tagline {
        display: block;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-menu li a i {
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

.nav-menu li a span {
    display: inline;
}

.nav-menu li a:hover {
    color: var(--primary-color);
    background-color: rgba(30, 58, 138, 0.08);
    transform: translateY(-1px);
}

.nav-menu li a.active {
    color: var(--primary-color);
    background-color: rgba(30, 58, 138, 0.1);
    font-weight: 600;
}

.nav-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px 2px 0 0;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-switcher a {
    font-weight: 600;
    font-size: 0.9rem;
}

.lang-switcher a.active {
    color: var(--primary-color);
}

/* Mobile Menu Toggle - Hidden on Desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
    border-radius: 4px;
}

.mobile-menu-toggle:hover {
    opacity: 0.8;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background-color: var(--primary-color);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background-color: var(--primary-color);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Slideshow */
.hero-slideshow {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.slideshow-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.prev-slide,
.next-slide {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.prev-slide:hover,
.next-slide:hover {
    background-color: var(--white);
}

.slide-indicators {
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.indicator.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* Professional Section */
.professional-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Page */
.about-content {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.important-section {
    margin-top: 4rem;
}

.important-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.important-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.important-item {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.important-item i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.important-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.important-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Products Page */
.products-section {
    padding: 80px 0;
}

.product-category {
    margin-bottom: 4rem;
}

.product-category h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.product-image-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.product-image-item:hover {
    transform: scale(1.05);
}

.product-image-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-map-wrapper {
    display: flex;
    flex-direction: column;
}

.contact-map-wrapper h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.google-map {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.google-map iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--white);
    margin-top: 4rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.footer-top {
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.footer-about {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-logo h3 {
    margin: 0;
    font-size: 1.2rem;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.4);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    padding: 0.3rem 0;
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-left: 0.5rem;
}

.footer-section ul li a i {
    font-size: 0.7rem;
    color: var(--primary-color);
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-info-list li i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-info-list li strong {
    display: block;
    color: var(--white);
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.contact-info-list li p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.2rem 0;
    font-size: 0.9rem;
}

.contact-info-list li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-list li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom-content p {
    margin: 0;
}

.footer-powered {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-powered i {
    color: #e74c3c;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* RTL Support */
/* RTL Support for Mobile Menu */
[dir="rtl"] .nav-menu {
    left: auto;
    right: -100%;
    border-right: none;
    border-left: 2px solid var(--primary-color);
    box-shadow: -2px 0 15px rgba(0, 0, 0, 0.1);
}

[dir="rtl"] .nav-menu.active {
    right: 0;
    left: auto;
}

[dir="rtl"] .nav-menu li a::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .nav-menu li a:hover,
[dir="rtl"] .nav-menu li a.active {
    padding-left: 1.5rem;
    padding-right: 2rem;
}

[dir="rtl"] .lang-switcher {
    flex-direction: row-reverse;
}

[dir="rtl"] .about-grid {
    direction: rtl;
}

[dir="rtl"] .contact-wrapper {
    direction: rtl;
}

[dir="rtl"] .important-item {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

[dir="rtl"] .footer-section ul li i {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-menu {
        gap: 0.25rem;
    }

    .nav-menu li a {
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
    }

    .nav-menu li a i {
        width: 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 0.8rem;
        padding: 0.5rem 0;
    }

    .top-bar-left {
        gap: 1rem;
    }

    .top-bar-item span {
        display: none;
    }

    .navbar {
        padding: 1rem 0;
    }

    .logo img {
        height: 45px;
    }

    .company-name {
        font-size: 1.1rem;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Hide desktop menu */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        flex-direction: column;
        background: var(--white);
        padding: 4rem 0 2rem;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 999;
        border-right: 2px solid var(--primary-color);
        align-items: stretch;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-menu li:first-child {
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-menu li a {
        width: 100%;
        justify-content: flex-start;
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
        border-radius: 0;
        position: relative;
        transition: all 0.25s ease;
        white-space: normal;
        background-color: transparent;
    }

    .nav-menu li a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
        transform: scaleY(0);
        transition: transform 0.25s ease;
    }

    .nav-menu li a:hover {
        background-color: rgba(30, 58, 138, 0.06);
        padding-left: 2rem;
        color: var(--primary-color);
        transform: none;
    }

    .nav-menu li a.active {
        background-color: rgba(30, 58, 138, 0.1);
        padding-left: 2rem;
        color: var(--primary-color);
        font-weight: 600;
    }

    .nav-menu li a.active::after {
        display: none;
    }

    .nav-menu li a:hover::before,
    .nav-menu li a.active::before {
        transform: scaleY(1);
    }

    .nav-menu li a i {
        width: 22px;
        text-align: center;
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .nav-menu li a span {
        font-weight: 500;
        flex: 1;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .hero-slideshow {
        height: 400px;
    }

    .section-header h2,
    .page-header h1 {
        font-size: 2rem;
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .google-map iframe {
        height: 300px;
    }

    .features-grid,
    .important-grid {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .slide-content {
        padding: 1rem;
    }

    .slide-content h1 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }
}

