/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
    font-weight: bold;
}

body {
    direction: rtl;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Navigation */
.top-nav {
    background-color: white;
    padding: 10px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
}

.nav-links a.active{
    text-decoration: none;
    color: red;
}

/* Slider Styles */
.header-slider {
    position: relative;
    background-color: #000;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
}

.slide {
    display: none;
    animation: fade 0.5s ease-in-out;
}

.slide.active {
    display: block;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.slider-content {
    position: relative;
    background-image: url('https://img.freepik.com/free-vector/abstract-blue-geometric-hexagon-pattern-background_1234-1368.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px;
    text-align: center;
}

.main-ac {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Feature Icons */
.feature-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
}

.feature-icons img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.slider-nav button {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 15px;
    cursor: pointer;
    color: white;
    font-size: 18px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.slider-nav button:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Categories */
.categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.category-card {
    text-align: center;
}

.category-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
}

.tab.active {
    border-bottom: 2px solid red;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px 50px;
}

.product-card {
    border-radius: 10px;
    border: 1px solid #ff0000;
    padding: 20px;
    text-align: center;
    transition: display 0.3s ease;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-card .view-more {
    background-color: #007bff;
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 40px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-container {
    width: 300px;
    height: 200px;
    margin-top: 10px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}

/* About Page Specific Styles */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.about-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.about-section h1 {
    color: #ff0000;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.about-content p {
    text-align: justify;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Goals Section */
.goals-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.5rem 1.5rem;
    font-size: 1.1rem;
    cursor: pointer;
    color: #666;
    position: relative;
}

.tab-btn.active {
    color: #ff0000;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ff0000;
}

.goals-content ul {
    list-style: none;
    padding: 0 1.5rem;
}

.goals-content li {
    margin-bottom: 1rem;
    position: relative;
    padding-right: 1.5rem;
}

.goals-content li::before {
    content: '•';
    color: #ff0000;
    position: absolute;
    right: 0;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-section {
        grid-template-columns: 1fr;
    }

    .tabs {
        flex-wrap: wrap;
    }

    .about-container {
        padding: 1rem;
    }
    
    .top-nav {
        padding: 10px 20px;
    }
    
    .products-grid {
        padding: 20px;
    }
} 

/* Tab Content Styles */
.tab-content {
    padding: 2rem 0;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

.tab-pane ul {
    list-style: none;
    padding: 0;
}

.tab-pane ul li {
    margin-bottom: 1rem;
    padding-right: 1.5rem;
    position: relative;
}

.tab-pane ul li::before {
    content: '•';
    color: #ff0000;
    position: absolute;
    right: 0;
    font-size: 1.2rem;
}

.tab-pane p {
    line-height: 1.8;
    text-align: justify;
    padding: 0 1.5rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
} 