:root {
    --primary-orange: #FF6B35;
    --vibrant-blue: #1E88E5;
    --clean-white: #FFFFFF;
    --professional-dark: #2C3E50;
    --soft-grey: #F8F9FA;
    --accent-orange: #FF8F65;
    --accent-blue: #42A5F5;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--professional-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-orange) !important;
}

.brand-text {
    background: linear-gradient(45deg, var(--primary-orange), var(--vibrant-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    color: var(--professional-dark) !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-orange) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(45deg, var(--primary-orange), var(--vibrant-blue));
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--vibrant-blue) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('/static/images/islamic-pattern.svg') no-repeat center right;
    background-size: contain;
    opacity: 0.05;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.1), rgba(30, 136, 229, 0.1));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 2rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--clean-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--clean-white);
    font-family: 'Source Sans Pro', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hero-image {
    position: relative;
    z-index: 3;
}

.image-placeholder {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--clean-white);
}

/* Buttons */
.btn-islamic-green {
    background: linear-gradient(45deg, var(--primary-orange), var(--accent-orange));
    border: 2px solid var(--clean-white);
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-islamic-green:hover {
    background: var(--clean-white);
    color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* Sections */
.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--professional-dark);
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-orange), var(--vibrant-blue));
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    font-weight: 300;
}

/* About Cards */
.about-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.1);
    height: 100%;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-orange), var(--vibrant-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

/* Value Items */
.value-item {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 10px;
    background: white;
    border: 1px solid rgba(255, 107, 53, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: var(--soft-grey);
    transform: translateY(-3px);
}

.value-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-orange);
}

.value-item h5 {
    color: var(--professional-dark);
    margin-bottom: 1rem;
}

.value-item p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Program Cards */
.program-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-orange), var(--vibrant-blue));
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-orange), var(--vibrant-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

.program-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.program-features li {
    padding: 0.5rem 0;
    color: #6c757d;
    position: relative;
    padding-left: 1.5rem;
}

.program-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-orange), var(--vibrant-blue));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 2rem;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: var(--primary-orange);
    border: 4px solid white;
    top: 50%;
    border-radius: 50%;
    z-index: 1;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-year {
    background: linear-gradient(45deg, var(--primary-orange), var(--vibrant-blue));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    margin-bottom: 1rem;
    font-family: 'Source Sans Pro', sans-serif;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.timeline-content h4 {
    color: var(--professional-dark);
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Contact Section */
.bg-islamic-green {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--vibrant-blue) 100%);
}

.text-islamic-green {
    color: var(--primary-orange);
}

.contact-item {
    text-align: center;
    padding: 1.5rem;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    backdrop-filter: blur(10px);
}

.social-links-large a {
    transition: all 0.3s ease;
}

.social-links-large a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 21px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(even)::after {
        left: 21px;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-card,
    .program-card {
        padding: 2rem 1.5rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Islamic Pattern Background */
.pattern-bg {
    background-image: url('/static/images/islamic-pattern.svg');
    background-repeat: repeat;
    background-size: 200px;
    opacity: 0.03;
}

/* Utilities */
.text-orange {
    color: var(--primary-orange);
}

.bg-soft-grey {
    background-color: var(--soft-grey);
}

.text-blue {
    color: var(--vibrant-blue);
}
