:root {
    --primary-color: #0a4a6e;
    --secondary-color: #5fa8d3;
    --accent-color: #81c3e8;
    --dark-green: #084263;
    --light-green: #e8f4f8;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #0a4a6e 0%, #084263 100%);
    --gradient-2: linear-gradient(135deg, #5fa8d3 0%, #81c3e8 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(95, 168, 211, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(129, 195, 232, 0.15) 0%, transparent 50%);
    animation: heroGlow 10s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.03) 2px,
        rgba(255, 255, 255, 0.03) 4px
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
}

.logo {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.bismillah {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: fadeIn 1s ease;
}

.title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
}

.event-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.detail-item.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.detail-item.clickable:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.icon {
    font-size: 1.3rem;
}

.cta-button {
    display: inline-block;
    padding: 18px 48px;
    background: var(--gradient-2);
    color: var(--dark-green);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(95, 168, 211, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(95, 168, 211, 0.5);
}

.cta-button.large {
    padding: 22px 56px;
    font-size: 1.2rem;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
}

.scroll-indicator span {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    width: 100%;
}

.arrow-down {
    width: 30px;
    height: 30px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
    margin: 0 auto;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(-45deg); }
    50% { transform: translateY(-10px) rotate(-45deg); }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease;
}

.fade-in-delay {
    animation: fadeIn 1s ease 0.3s backwards;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease 0.6s backwards;
}

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

.slide-up {
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
}

.slide-up-delay {
    opacity: 0;
    animation: slideUp 0.8s ease 0.2s forwards;
}

.slide-up-delay-2 {
    opacity: 0;
    animation: slideUp 0.8s ease 0.4s forwards;
}

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

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--gradient-2);
    margin: 20px auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 60px;
}

/* Content Box */
.content-box {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--secondary-color);
}

.content-box p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.content-box p:last-child {
    margin-bottom: 0;
}

.dua {
    font-style: italic;
    color: var(--primary-color) !important;
    font-weight: 500;
}

/* Success Section */
.success-section {
    background: var(--white);
}

.success-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.success-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(10, 74, 110, 0.2);
    background: #000;
    border: 3px solid var(--secondary-color);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.success-details {
    width: 100%;
}

.featured-achievement {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 15px 50px rgba(10, 74, 110, 0.3);
    position: relative;
    overflow: hidden;
    border: 4px solid var(--accent-color);
}

.featured-achievement::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(0, 0); opacity: 0.5; }
    50% { transform: translate(-30px, -30px); opacity: 0.8; }
}

.achievement-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.featured-achievement h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.achievement-detail {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.achievement-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.success-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    justify-items: center;
}

.stat-box {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    text-align: center;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(10, 74, 110, 0.15);
    border-color: var(--primary-color);
}

.stat-box h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.stat-box p {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .success-intro {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .featured-achievement {
        padding: 40px 25px;
    }
    
    .featured-achievement h3 {
        font-size: 1.8rem;
    }
    
    .achievement-detail {
        font-size: 1.1rem;
    }
    
    .success-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-box {
        padding: 25px 20px;
    }
}

/* Benefits Section */
.benefits-section {
    background: var(--light-green);
}

.hadith-box {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    border-top: 4px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.hadith-box::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: var(--light-green);
    font-family: 'Amiri', serif;
    line-height: 1;
}

.hadith-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
}

.hadith-text {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.hadith-reference {
    text-align: right;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.benefit-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Tiers Section */
.tiers-section {
    background: var(--white);
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.tier-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.tier-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.tier-card.featured {
    border: 3px solid var(--secondary-color);
    background: linear-gradient(135deg, #fffef7 0%, #fff9e6 100%);
}

.tier-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-2);
}

.tier-header {
    background: var(--gradient-1);
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.tier-header h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.tier-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tier-content {
    padding: 30px;
    text-align: center;
}

.tier-ajzaa {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.tier-content p {
    color: var(--text-light);
    font-size: 1rem;
}

.featured-badge {
    margin-top: 20px;
    display: inline-block;
    background: var(--gradient-2);
    color: var(--dark-green);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.tier-note {
    background: var(--light-green);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.tier-note p {
    color: var(--text-dark);
    font-size: 1rem;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    background: var(--light-green);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light-green);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 0;
    flex: 1;
}

.faq-icon {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: 300;
    transition: transform 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

/* Schedule Section */
.schedule-section {
    background: var(--white);
}

.schedule-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.schedule-day {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    padding: 30px;
}

.schedule-day.featured-day {
    border: 2px solid var(--secondary-color);
}

.day-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-green);
}

.schedule-timeline {
    position: relative;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--light-green);
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary-color);
    z-index: 1;
}

.timeline-item.highlight::before {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    width: 18px;
    height: 18px;
    left: 22px;
}

.timeline-item.special::before {
    background: var(--gradient-2);
    border: none;
    width: 20px;
    height: 20px;
    left: 21px;
    box-shadow: 0 0 15px rgba(95, 168, 211, 0.5);
}

.timeline-time {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.timeline-content {
    background: var(--light-green);
    padding: 15px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    background: #d4e9d5;
    transform: translateX(5px);
}

.timeline-item.highlight .timeline-content {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left: 3px solid var(--primary-color);
}

.timeline-item.special .timeline-content {
    background: linear-gradient(135deg, #fffef7 0%, #fff9e6 100%);
    border-left: 3px solid var(--secondary-color);
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--dark-green);
    margin-bottom: 5px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Venue Section */
.venue-section {
    background: var(--light-green);
}

.venue-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.venue-info {
    padding: 40px;
}

.venue-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.venue-address {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.venue-note {
    background: var(--light-green);
    padding: 20px;
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
}

.venue-map {
    width: 100%;
    height: 400px;
    background: var(--light-green);
}

.venue-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Register Section */
.register-section {
    background: var(--gradient-1);
    color: var(--white);
}

.register-card {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.register-card h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.register-card > p {
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 0.95;
}

.register-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.detail-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.detail-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.detail-box .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.detail-box h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.detail-box p {
    opacity: 0.9;
    font-size: 1rem;
}

.register-note {
    margin-top: 20px;
    font-size: 0.95rem;
    opacity: 0.85;
}

/* Footer */
.footer {
    background: var(--dark-green);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.8;
}

.arabic {
    font-family: 'Amiri', serif;
    font-size: 1.2rem;
    direction: rtl;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .bismillah {
        font-size: 1.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .event-details {
        flex-direction: column;
        gap: 15px;
    }

    .schedule-container {
        grid-template-columns: 1fr;
    }

    .tiers-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .register-details {
        grid-template-columns: 1fr;
    }

    .register-card h2 {
        font-size: 2rem;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 1rem;
    }

    .venue-map {
        height: 300px;
    }
}

/* Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
    .slide-up,
    .slide-up-delay,
    .slide-up-delay-2 {
        opacity: 0;
    }

    .slide-up.visible {
        animation: slideUp 0.8s ease forwards;
    }

    .slide-up-delay.visible {
        animation: slideUp 0.8s ease 0.2s forwards;
    }

    .slide-up-delay-2.visible {
        animation: slideUp 0.8s ease 0.4s forwards;
    }
}

/* Remove blue color from phone number links in footer */
.footer-section a {
    color: inherit;
    text-decoration: none;
}

/* Optional: add hover effect */
.footer-section a:hover {
    text-decoration: underline;
    opacity: 0.8;
}
