/* ===================================
   General Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.8;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #0d6efd !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    right: 0;
    background-color: #0d6efd;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('../../cover.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Section Styles
   =================================== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #764ba2);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* ===================================
   About Section
   =================================== */
.about-content {
    padding: 2rem;
}

.about-content h3 {
    color: #333;
    font-weight: 600;
}

.about-image img {
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.about-image img:hover {
    transform: scale(1.05);
}

.stats-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.stat-item {
    padding: 1rem;
}

.stat-item h4 {
    color: #0d6efd;
    font-weight: 700;
    margin: 0.5rem 0;
}

.stat-item p {
    color: #666;
    margin: 0;
}

/* ===================================
   Mission Cards
   =================================== */
.mission-card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.icon-box {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 1rem;
}

.mission-card .card-title {
    color: #333;
    font-weight: 600;
}

.mission-card .card-text {
    color: #666;
    line-height: 1.8;
}

.mission-card ul li {
    padding: 0.5rem 0;
    color: #666;
}

/* ===================================
   Brands Section
   =================================== */
.brand-card {
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.brand-logo {
    max-height: 150px;
    width: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.brand-card:hover .brand-logo {
    filter: grayscale(0%);
}

/* ===================================
   Contact Section
   =================================== */
.contact-info {
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(-5px);
}

.contact-icon {
    min-width: 50px;
}

.contact-item h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-item a {
    color: #0d6efd;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #764ba2;
}

.social-links {
    margin-top: 2rem;
}

.social-icon {
    display: inline-block;
    color: #0d6efd;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    color: #764ba2;
}

.contact-form {
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact-form .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .input-group-text {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.contact-form .input-group-text {
    background: #f8f9fa;
    color: #0d6efd;
}

/* ===================================
   Buttons
   =================================== */
.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #764ba2 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
    background: linear-gradient(135deg, #0b5ed7 0%, #6a3d8f 100%);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ===================================
   Footer
   =================================== */
footer {
    margin-top: 0;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .about-content,
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    
    .stats-box {
        padding: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .brand-logo {
        max-height: 100px;
    }
}

/* ===================================
   Loading Animation
   =================================== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

