/* Google Font - Tajawal */
* {
    font-family: 'Tajawal', sans-serif;
}

body {
    font-family: 'Tajawal', sans-serif;
    padding-top: 76px;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: #2c3e50 !important;
}

.logo-img {
    height: 50px;
    width: auto;
    margin-left: 10px;
}

.brand-text {
    color: #2c3e50;
}

.navbar-nav .nav-link {
    color: #2c3e50 !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #3498db !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    right: 0;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero Slider */
.hero-slider {
    margin-top: -76px;
    position: relative;
}

.hero-slider .carousel-item {
    height: 100vh;
    min-height: 600px;
    position: relative;
}

.hero-slider .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.6);
}

.hero-slider .carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    z-index: 10;
}

.hero-slider .carousel-caption h1 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
    font-weight: 900;
}

.hero-slider .carousel-caption .lead {
    color: #fff;
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 500;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    background-color: rgba(255,255,255,0.5);
    opacity: 1;
}

.hero-slider .carousel-control-prev {
    right: 30px;
    left: auto;
}

.hero-slider .carousel-control-next {
    left: 30px;
    right: auto;
}

.hero-slider .carousel-indicators {
    bottom: 30px;
}

.hero-slider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: 2px solid #fff;
    margin: 0 5px;
}

.hero-slider .carousel-indicators button.active {
    background-color: #fff;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
}

.text-center .section-title::after {
    right: 50%;
    transform: translateX(50%);
}

/* About Section */
#about {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

#about img {
    transition: transform 0.3s ease;
}

#about img:hover {
    transform: scale(1.05);
}

/* Mission Section */
.icon-box {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    color: #fff !important;
}

.icon-box i {
    color: #fff !important;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.card-title {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.5rem;
}

/* Products Section */
.product-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.product-icon {
    text-align: center;
}

/* Contact Section */
.contact-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.contact-info h3,
.contact-info h5 {
    color: #fff;
}

.contact-info .text-muted {
    color: rgba(255,255,255,0.8) !important;
}

.contact-info a {
    color: rgba(255,255,255,0.9) !important;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #fff !important;
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
}

.map-container iframe {
    border: none;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
}

.social-links a {
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-5px);
    color: #3498db !important;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .hero-slider .carousel-caption .lead {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-slider .carousel-item {
        height: 70vh;
        min-height: 400px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 70px;
    }
    
    .hero-slider {
        margin-top: -70px;
    }
    
    .hero-slider .carousel-item {
        height: 60vh;
        min-height: 350px;
    }
    
    .hero-slider .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

