/* Islamic Modern Theme - Golden Ratio Design */
:root {
    --gold: #D4AF37;
    --emerald: #0C6B58;
    --navy: #1B3B6F;
    --teal: #008B8B;
    --cream: #F5F5DC;
    --dark: #2C3E50;
    --light: #ECF0F1;
    --golden: 1.618;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Amiri', 'Playfair Display', Georgia, serif;
    overflow-x: hidden;
}

.islamic-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(212,175,55,0.02) 35px, rgba(212,175,55,0.02) 70px);
    pointer-events: none;
    z-index: 1;
}

.hero-islamic {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy) 0%, var(--emerald) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-islamic::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212,175,55,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: movePattern 60s linear infinite;
}

@keyframes movePattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-bismillah {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-family: 'Amiri', serif;
    letter-spacing: 3px;
    font-weight: 400;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-title-highlight {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-university {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.85;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-hero {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    color: #1B3B6F;
    padding: 1rem 2rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(212,175,55,0.4);
}

.btn-primary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212,175,55,0.6);
    color: #1B3B6F;
}

.btn-secondary-hero {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 2rem;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary-hero:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
    color: white;
}

.hero-stats-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.stat-item-hero {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.stat-item-hero:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(10px);
}

.stat-item-hero i {
    font-size: 2.5rem;
    color: #FFD700;
    min-width: 50px;
}

.stat-item-hero h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #FFD700;
}

.stat-item-hero p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

.btn-islamic {
    display: inline-block;
    padding: 1rem 2.618rem;
    background: linear-gradient(135deg, var(--gold) 0%, #FFD700 100%);
    color: var(--navy);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(212,175,55,0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 1.6s ease;
}

.btn-islamic:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(212,175,55,0.6);
    color: var(--navy);
}

.geometric-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.shape-1 {
    top: 10%;
    left: 5%;
    width: 150px;
    height: 150px;
    border: 3px solid var(--gold);
    transform: rotate(45deg);
    animation: rotate 20s linear infinite;
}

.shape-2 {
    bottom: 15%;
    right: 8%;
    width: 200px;
    height: 200px;
    border: 3px solid var(--gold);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.08; }
    50% { transform: scale(1.1); opacity: 0.15; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-islamic {
    padding: 4.236rem 0;
    position: relative;
}

.section-title-islamic {
    text-align: center;
    font-size: 2.618rem;
    color: var(--navy);
    margin-bottom: 2.618rem;
    position: relative;
}

.section-title-islamic::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.card-islamic {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 4px solid var(--gold);
    position: relative;
    overflow: hidden;
}

.card-islamic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.1), transparent);
    transition: left 0.6s;
}

.card-islamic:hover::before {
    left: 100%;
}

.card-islamic:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.card-icon-islamic {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--emerald), var(--teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.618rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 5px 20px rgba(12,107,88,0.3);
}

.stats-islamic {
    background: linear-gradient(135deg, var(--navy) 0%, var(--emerald) 100%);
    padding: 4.236rem 0;
    color: white;
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 1.618rem;
}

.stat-number {
    font-size: 3.236rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
    margin-bottom: 0.618rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.loader-islamic {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--emerald) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader-islamic.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-icon {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(212,175,55,0.3);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 4rem 1.5rem;
    }
    .hero-bismillah { font-size: 1.2rem; }
    .hero-title { font-size: 2rem; }
    .hero-university { font-size: 1rem; }
    .hero-description { font-size: 0.95rem; }
    .hero-actions {
        flex-direction: column;
    }
    .btn-primary-hero, .btn-secondary-hero {
        width: 100%;
        text-align: center;
    }
    .section-title-islamic { font-size: 1.8rem; }
}
