:root {
    --primary-color: #1a5d1a; /* Islamic Green */
    --secondary-color: #f1c40f; /* Gold */
    --text-color: #333;
    --bg-color: #f9f9f9;
    --white: #ffffff;
    --error: #dc3545;
    --success: #28a745;
}

body {
    font-family: 'Anek Bangla', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 93, 26, 0.8), rgba(26, 93, 26, 0.8)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80'); /* Placeholder image */
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.btn-cta {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.btn-cta:hover {
    transform: translateY(-2px);
}

/* Container */
.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Event Details */
.event-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    text-align: center;
}

.detail-item {
    flex: 1;
    min-width: 200px;
    padding: 20px;
}

.detail-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Registration Form */
.form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1rem;
    font-family: 'Anek Bangla', sans-serif;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

button[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Anek Bangla', sans-serif;
}

button[type="submit"]:hover {
    background-color: #144a14;
}

/* Messages */
.message {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 6px;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    background-color: #333;
    color: #aaa;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .form-container {
        padding: 20px;
    }
}
