:root {
    --primary-color: #3b82f6;
    --primary-light: #93c5fd;
    --primary-dark: #1d4ed8;
    --secondary-color: #f0f9ff;
    --gray-light: #f3f4f6;
    --gray-medium: #e5e7eb;
    --gray-dark: #9ca3af;
    --text-color: #1f2937;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.separator {
    height: 4px;
    width: 80px;
    background-color: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a {
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%);
    background-image: url('https://images.unsplash.com/photo-1596435163709-5aee4a6fc293?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2670&q=80');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    padding: 7rem 5% 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.92) 0%, rgba(255, 255, 255, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h1 .accent {
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
}

.hero h1 .accent::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--primary-light);
    z-index: -1;
    opacity: 0.6;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    flex: 1;
    position: relative;
    min-height: 400px;
    z-index: 5;
}

.floating-box {
    position: absolute;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: float 6s ease-in-out infinite;
    z-index: 5;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.floating-box i {
    font-size: 2rem;
    color: var(--primary-color);
    background-color: var(--primary-light);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.floating-box span {
    font-weight: 600;
    color: var(--primary-dark);
}

.floating-box small {
    font-size: 0.8rem;
    opacity: 0.9;
    color: var(--text-color);
}

.floating-box.one {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.floating-box.two {
    top: 50%;
    right: 30%;
    animation-delay: 1s;
}

.floating-box.three {
    top: 70%;
    right: 15%;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
}

.hero-scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator i {
    font-size: 1.5rem;
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--white);
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-image:hover {
    transform: scale(1.02);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-dark);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-card p {
    color: var(--text-color);
}

.services-tagline {
    text-align: center;
    padding: 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.services-tagline h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Products Section */
.products-section {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.products-section h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.products-section p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.products-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.product-tag {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.product-tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Industrial Section */
.industrial {
    padding: 6rem 0;
    background-color: var(--white);
}

.industrial-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.industrial-text {
    flex: 1;
}

.industrial-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.industrial-features {
    margin-top: 2rem;
}

.industrial-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.industrial-features li i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background-color: var(--primary-light);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.industrial-image {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
}

.industrial-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(29, 78, 216, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.industrial-image:hover {
    transform: scale(1.02);
}

.industrial-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

/* Clients Section */
.clients {
    padding: 6rem 0;
    background-color: var(--secondary-color);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.client-card {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.client-card:hover {
    background-color: var(--primary-light);
    transform: translateY(-5px);
}

.client-icon {
    margin-bottom: 1.5rem;
}

.client-icon i {
    font-size: 3rem;
    color: var(--primary-dark);
}

.client-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.why-us {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.why-us h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.why-us ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.why-us li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.why-us li i {
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--secondary-color);
}

.contact-content {
    display: flex;
    gap: 4rem;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.contact-info p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-phone i {
    color: var(--primary-color);
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background-color: var(--primary-dark);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding-top: 3rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo .logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-contact {
    flex: 1;
    min-width: 200px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animation Classes for AOS */
/* These custom classes can be removed since we're using AOS directly now */
.fade-up, .fade-right, .fade-left {
    opacity: 1 !important;
    transform: none !important;
}

/* Animation fixes to prevent layout shifts */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 0.5s ease-out;
    will-change: opacity;
}

[data-aos].aos-animate {
    opacity: 1 !important;
}

/* For RTL layout, ensure no horizontal movement */
html[dir="rtl"] [data-aos^=fade][data-aos^=fade] {
    transform: none !important;
}

html[dir="rtl"] [data-aos=fade-up] {
    transform: translate3d(0, 30px, 0) !important;
}

html[dir="rtl"] [data-aos=fade-up].aos-animate {
    transform: translate3d(0, 0, 0) !important;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        padding-top: 8rem;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
        margin-bottom: 4rem;
        padding: 2rem;
    }
    
    .about-content, .contact-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    /* Adjust floating boxes for tablet view */
    .hero-image {
        min-height: 300px;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 3rem;
    }
    
    .floating-box {
        position: relative;
        display: inline-flex;
        margin: 0 10px;
        position: static;
        width: 120px;
    }
    
    .floating-box.one, 
    .floating-box.two, 
    .floating-box.three {
        top: auto;
        right: auto;
    }
    
    /* Different animation delays for tablets */
    .floating-box.one {
        animation: float 6s ease-in-out infinite;
        animation-delay: 0s;
    }
    
    .floating-box.two {
        animation: float 5s ease-in-out infinite;
        animation-delay: 0.5s;
    }
    
    .floating-box.three {
        animation: float 7s ease-in-out infinite;
        animation-delay: 1s;
    }
    
    /* Adjust hero scroll indicator */
    .hero-scroll-indicator {
        display: none;
    }
    
    .industrial-content {
        flex-direction: column;
    }
    
    .industrial-image {
        order: -1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 3%;
    }

    nav ul {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.4rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .why-us ul {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-image {
        display: none;
    }

    .floating-box {
        padding: 1rem;
        animation: floatMobile 4s ease-in-out infinite;
    }

    .products-list {
        gap: 0.5rem;
    }

    .product-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    @keyframes floatMobile {
        0% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-10px);
        }
        100% {
            transform: translateY(0px);
        }
    }
}

@media (max-width: 576px) {
    nav ul {
        display: none;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
    }
    
    /* Further adjust floating boxes for small mobile */
    .floating-box {
        width: 90%;
        padding: 1rem;
    }
    
    /* Slightly shorter animation for small screens */
    @keyframes floatMobileSmall {
        0% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-8px);
        }
        100% {
            transform: translateY(0px);
        }
    }
    
    .floating-box.one,
    .floating-box.two,
    .floating-box.three {
        animation-name: floatMobileSmall;
    }
}

/* Burger Menu Styles */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1201;
}
.burger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: 0.3s;
}
.burger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.burger.open span:nth-child(2) {
    opacity: 0;
}
.burger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 576px) {
    .burger {
        display: flex;
    }
    nav ul {
        display: none;
    }
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80vw;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: -2px 0 16px rgba(0,0,0,0.08);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(.77,0,.18,1);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 2rem;
}
.mobile-menu li {
    text-align: right;
}
.mobile-menu a {
    font-size: 1.3rem;
    color: var(--primary-dark);
    font-weight: 600;
    transition: color 0.2s;
}
.mobile-menu a:hover {
    color: var(--primary-color);
}

/* Overlay for mobile menu */
.mobile-menu-overlay {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.25);
    z-index: 1199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background-color: var(--white);
}

.gallery-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.gallery-description p {
    font-size: 1.2rem;
    color: var(--text-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: 1.5rem;
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-info p {
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .gallery-item {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .gallery-info h3 {
        font-size: 1.1rem;
    }
    
    .gallery-info p {
        font-size: 0.8rem;
    }
} 