@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&display=swap');

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

:root {
    --primary-blue: #0D47A1;
    --secondary-blue: #2196F3;
    --accent-yellow: #FFC107;
    --dark-yellow: #F57C00;
    --success-green: #10B981;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --bg-light: #F3F4F6;
}

body {
    font-family: 'Cairo', sans-serif;
    background: 
        url('assets/islamic-pattern.svg'),
        linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    background-size: 300px 300px, cover;
    background-position: center, center;
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    animation: movePattern 60s linear infinite;
}

@keyframes movePattern {
    0% {
        background-position: 0 0, center;
    }
    100% {
        background-position: 300px 300px, center;
    }
}

/* Additional Subtle Pattern Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 193, 7, 0.05) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.sponsored-label {
    font-size: 32px;
    font-weight: 600;
    color: var(--accent-yellow);
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.mosque-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 15px;
    border: 3px solid rgba(255, 193, 7, 0.5);
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.mosque-icon::before,
.mosque-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(255, 193, 7, 0.6);
    animation: wave 2s ease-out infinite;
}

.mosque-icon::before {
    width: 100%;
    height: 100%;
}

.mosque-icon::after {
    width: 100%;
    height: 100%;
    animation-delay: 1s;
}

@keyframes wave {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }
    100% {
        width: 160%;
        height: 160%;
        opacity: 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.mosque-icon img {
    width: 120%;
    height: 120%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.title-section {
    text-align: center;
}

.webinar-label {
    font-size: 56px;
    font-weight: 300;
    font-style: italic;
    color: var(--white);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
}

.main-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.main-title .highlight {
    color: var(--accent-yellow);
    position: relative;
}

/* Speakers Section */
.speakers {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.speaker-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-10px);
}

.speaker-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 6px solid var(--accent-yellow);
    overflow: hidden;
    margin: 0 auto 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: var(--white);
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-name {
    font-size: 20px;
    font-weight: 700;
    background: var(--white);
    color: var(--secondary-blue);
    padding: 10px 25px;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Partners Section */
.partners {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.partner-logo {
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.partner-logo img {
    width: 110%;
    height: 110%;
    object-fit: contain;
}

/* Event Date */
.event-date {
    text-align: center;
    margin-bottom: 60px;
}

.date-text {
    font-size: 48px;
    font-weight: 900;
    color: var(--accent-yellow);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.time-text {
    font-size: 32px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.book-now {
    font-size: 36px;
    font-style: italic;
    font-weight: 300;
    color: var(--white);
}

/* Registration Form */
.registration-section {
    margin-bottom: 60px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.form-title {
    color: var(--primary-blue);
    font-size: 32px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
}

.form-group label .required-note {
    color: #10B981;
    font-weight: 500;
    font-size: 13px;
    display: block;
    margin-top: 3px;
}

.form-group input,
.form-group select {
    padding: 15px 20px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
}

.form-group input::placeholder {
    color: var(--text-light);
}

.submit-btn {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    color: var(--white);
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.5);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px;
    background: #F0FDF4;
    border-radius: 20px;
    border: 2px solid var(--success-green);
}

.success-message svg {
    margin-bottom: 20px;
}

.success-message h4 {
    color: var(--success-green);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.success-message p {
    color: var(--text-dark);
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.success-message .verify-note {
    background: #E3F2FD;
    border: 2px solid #2196F3;
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    color: #1565C0;
    font-weight: 600;
    font-size: 16px;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.15) 100%);
    border-radius: 30px 30px 0 0;
}

.sponsors {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 40px;
    border-radius: 50px;
    display: inline-flex;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.sponsor-logo {
    height: 50px;
    object-fit: contain;
}

.separator {
    color: var(--text-dark);
    font-size: 40px;
    font-weight: 300;
    opacity: 0.3;
}

.powered-by {
    color: var(--text-dark);
    font-size: 24px;
    font-weight: 600;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

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

    .webinar-label {
        font-size: 38px;
    }

    .mosque-icon {
        width: 200px;
        height: 200px;
        padding: 15px;
    }

    .mosque-icon img {
        width: 140%;
        height: 140%;
    }

    .sponsored-label {
        font-size: 32px;
    }

    .speakers {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .speaker-image {
        width: 180px;
        height: 180px;
    }

    .speaker-name {
        font-size: 22px;
    }

    .form-container {
        padding: 40px 25px;
    }

    .form-title {
        font-size: 24px;
    }

    .date-text {
        font-size: 36px;
    }

    .time-text {
        font-size: 24px;
    }

    .book-now {
        font-size: 28px;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 20px;
        left: 20px;
    }

    .whatsapp-float svg {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
    }

    .main-title {
        font-size: 32px;
    }

    .webinar-label {
        font-size: 28px;
    }

    .mosque-icon {
        width: 150px;
        height: 150px;
        padding: 12px;
    }

    .mosque-icon img {
        width: 110%;
        height: 110%;
    }

    .sponsored-label {
        font-size: 24px;
    }

    .speakers {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .speaker-image {
        width: 160px;
        height: 160px;
    }

    .speaker-name {
        font-size: 20px;
        padding: 10px 25px;
    }

    .form-container {
        padding: 30px 20px;
    }

    .partner-logo {
        width: 80px;
        height: 80px;
    }
}

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

.header,
.speakers,
.partners,
.event-date,
.registration-section {
    animation: fadeInUp 0.8s ease-out;
}

.speaker-card:nth-child(1) {
    animation-delay: 0.1s;
}

.speaker-card:nth-child(2) {
    animation-delay: 0.2s;
}

.speaker-card:nth-child(3) {
    animation-delay: 0.3s;
}
