/* General Styles */
:root {
    --primary-color: #1e2a38;
    /* Navy Blue */
    --secondary-color: #ff6b00;
    /* Safety Orange */
    --text-color: #333;
    --light-bg: #f3f4f6;
    --white: #ffffff;
    --font-main: 'Cairo', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    font-size: 1.1rem;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

/* Navbar */
.navbar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--secondary-color);
}

.logo i {
    margin-left: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.language-switcher {
    display: flex;
    gap: 5px;
    margin-left: 20px;
}

.lang-btn {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    font-family: var(--font-main);
}

.lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(30, 42, 56, 0.8), rgba(30, 42, 56, 0.8)), url('hero.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header .line {
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.features-list li {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.features-list i {
    color: var(--secondary-color);
    margin-left: 10px;
}

.img-placeholder {
    width: 100%;
    height: 300px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary-color);
    border-radius: 10px;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 2.8;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    transform: scale(1.15);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 5px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eee;
}

.service-card:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Why Choose Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-box {
    text-align: center;
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: 0.3s;
}

.feature-box:hover .icon-box {
    background-color: var(--secondary-color);
    color: var(--white);
}

.feature-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
    border-bottom: 4px solid var(--secondary-color);
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Products Gallery */
.products-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-top: 60px;
    padding: 0 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 42, 56, 0.85), rgba(255, 107, 0, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: var(--white);
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1.2) rotate(5deg);
}

/* Contact Section */
.contact-section {
    background-color: var(--primary-color);
    color: var(--white);
}

.contact-section .section-header h2 {
    color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-left: 20px;
    width: 50px;
    text-align: center;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.info-item a {
    color: #ccc;
}

.info-item a:hover {
    color: var(--secondary-color);
}

.contact-cta {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.contact-cta h3 {
    margin-bottom: 15px;
}

.contact-cta p {
    margin-bottom: 25px;
    color: #ddd;
}

/* Footer */
footer {
    background-color: #111;
    color: #777;
    text-align: center;
    padding: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background-color: var(--primary-color);
        text-align: center;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .language-switcher {
        margin-left: 10px;
    }

    .lang-btn {
        padding: 5px 12px;
        font-size: 0.85rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .products-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-top: 40px;
    }

    .gallery-overlay i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .products-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}