:root {
    --primary-color: #FFD700;
    --primary-color-hover: #ffd90070;
    /* Industrial Yellow */
    --secondary-color: #006400;
    --secondary-color-hover: #00640054;
    /* Dark Green */
    --dark-bg: #1a1a1a;
    --light-bg: #f5f5f5;
    --text-color: #333;
    --text-light: #fff;
    --font-family: 'Cairo', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: top 0.3s ease-in-out;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    /* مهم جدًا لقصّ أطراف الخريطة */
}


.map-container iframe {
    border: 0;
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.nav a:hover {
    color: var(--primary-color);
    transform: translateY(2px);
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}

.btn-primary:hover {
    background-color: var(--primary-color-hover);
    color: var(--text-light);
    transform: translateY(2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--secondary-color-hover);
    transform: translateY(2px);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.line {
    width: 100px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto;
}

/* About */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 200px;
    background-color: #f0f0f0;
    margin-bottom: 15px;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.product-card:hover .card-image {
    transform: scale(1.05);
}

/* Partnership */
.partnership {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.partnership-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.partnership-text {
    flex: 1;
}

.partnership-image {
    flex: 1;
    height: 300px;
    background-color: #333;
    border-radius: 10px;
}

.features-list {
    list-style: none;
    margin-top: 20px;
}

.features-list li {
    margin-bottom: 10px;
    padding-right: 20px;
    position: relative;
}

.features-list li::before {
    content: '✔';
    color: var(--primary-color);
    position: absolute;
    right: 0;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}


.contact-card {
    background: linear-gradient(135deg, #006400, #e6c200);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    backdrop-filter: none;
}


.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #00640080, #e6c40041);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

.contact-card .icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.contact-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-card p {
    color: #e0e0e0;
}

.copy-tooltip {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: var(--dark-bg);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.contact-card:active .copy-tooltip,
.contact-card.copied .copy-tooltip {
    opacity: 1;
}

.location-card {
    cursor: default;
}

.location-card:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

/* Footer */
.footer {
    background-color: #111;
    color: #aaa;
    padding: 40px 0;
    text-align: center;
}

.footer-links ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.footer-social img {
    width: 30px;
    height: 30px;
    transition: var(--transition);
    filter: grayscale(100%) brightness(200%);
    /* Make them white/grey initially */
}

.footer-social a:hover img {
    transform: scale(1.2);
    filter: none;
    /* Show original color on hover */
}

.legal-info {
    margin: 15px 0;
    font-size: 0.9rem;
    color: #888;
    direction: rtl;
}

.legal-info p {
    transition: transform 0.3s ease, color 0.3s ease;
}

.legal-info p:hover {
    transform: scale(1.1);
    /* يكبر بنسبة 10٪ */
    color: var(--primary-color);
    /* اختيارياً تغير اللون عند المرور */
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .partnership-content,
    .contact-wrapper {
        flex-direction: column;
    }

    .hero-content h2 {
        font-size: 2rem;
    }
}

/* Animations */
.hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.developer-info {
    margin-top: 15px;
    font-size: 0.85rem;
}

.developer-info a {
    color: #666;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.developer-info a:hover {
    color: #ff0000d8;
    font-size: 1.2rem;
}

.dev-logo {
    width: 20px;
    /* حجم الشعار */
    height: 20px;
    opacity: 0;
    /* مخفي افتراضياً */
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-5px);
}

.developer-info a:hover .dev-logo {
    opacity: 1;
    /* يظهر عند المرور */
    transform: translateX(0);
}