/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 0;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    background-color: #fff !important;
}

.navbar-brand img {
    margin-right: 10px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
    color: #333 !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #667eea !important;
}

.navbar-toggler {
    border-color: #333;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%),
                url('cover.jpg') center center / cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 50px;
    position: relative;
}

.hero-logo {
    max-width: 400px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 60px;
    margin-top: 76px;
}

/* Divider */
.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 20px auto;
    border-radius: 2px;
}

.divider-white {
    width: 80px;
    height: 4px;
    background: #fff;
    margin: 20px auto;
    border-radius: 2px;
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}

.card-img-wrapper {
    height: 300px;
    overflow: hidden;
    background: #f8f9fa;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-item {
    padding: 2rem;
}

.contact-item i {
    display: block;
    margin-bottom: 1rem;
}

.contact-item h5 {
    margin-bottom: 1rem;
    color: #fff;
}

.contact-item p {
    margin: 0;
    line-height: 1.8;
}

.contact-item a:hover {
    color: #0d6efd !important;
    text-decoration: underline !important;
}

/* About Content */
.about-content {
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.about-content h2 {
    color: #333;
    font-weight: 700;
}

.about-content h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-content p {
    text-align: justify;
    line-height: 1.8;
    color: #555;
}

/* Stat Box */
.stat-box {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box h2 {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-outline-light {
    border: 2px solid #fff;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background: #fff;
    color: #667eea;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 80px;
    }
    
    .hero-logo {
        max-width: 250px;
        margin-top: 2rem;
    }
    
    .about-content {
        padding: 2rem 1.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Section Spacing */
section {
    padding: 80px 0;
}

/* Card Hover Effects */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* Vision, Mission, Goals Cards */
.vision-card,
.mission-card,
.goals-card {
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.vision-card:hover,
.mission-card:hover,
.goals-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2) !important;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    transition: transform 0.3s;
}

.vision-card:hover .icon-wrapper,
.mission-card:hover .icon-wrapper,
.goals-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.vision-card .card-title,
.mission-card .card-title,
.goals-card .card-title {
    color: #333;
    font-weight: 700;
}

.vision-card .card-text,
.mission-card .card-text,
.goals-card .card-text {
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

