* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    min-height: 100vh;
    background-color: #ffffff;
    margin: 0;
}

.hero {
    width: 100%;
    padding: 24px 16px;
    background-color: #4CAF50;
    text-align: left;
}

.hero h1 {
    font-size: 22px;
    font-weight: 600;
    color: white;
    margin: 0 0 4px 0;
}

.hero p {
    font-size: 16px;
    color: white;
    margin: 0 0 4px 0;
    font-weight: 500;
}

.hero .date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    display: block;
}

.hero-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    font-size: 14px;
}

html {
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

form {
    width: 100%;
    padding: 16px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    form {
        padding: 16px;
    }
    .form-group {
        padding: 0 16px;
    }
    h2 {
        padding: 0 16px;
    }
    .mandatory-note {
        padding: 0 16px;
    }
    button[type="submit"] {
        margin: 16px;
        width: calc(100% - 32px);
    }
}

h2 {
    font-size: 18px;
    font-weight: 500;
    margin: 8px 0 24px 0;
    color: #333;
}

.form-group {
    margin-bottom: 16px;
}

label {
    display: block;
    margin-bottom: 4px;
    color: #666;
    font-size: 14px;
    font-weight: 400;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 16px;
    margin-top: 5px;
}

input:focus, select:focus {
    outline: none;
    border-color: #4CAF50;
    border-width: 1px;
}

button {
    width: 100%;
    padding: 14px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 0;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

button:hover {
    background-color: #45a049;
}

input, select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    margin-top: 0;
    background-color: #f8f8f8;
    -webkit-appearance: none;
    appearance: none;
}

.file-upload input[type="file"] {
    padding: 10px;
    background-color: white;
    border: 1px dashed #4CAF50;
}

.file-upload input[type="file"]::file-selector-button {
    padding: 8px 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 16px;
    font-size: 14px;
}

.file-info {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    padding-left: 2px;
}

.payment-section {
    margin: 24px 0;
    padding: 16px;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
}

.payment-header {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
}

.payment-details {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.payment-method {
    font-size: 15px;
    color: #666;
}

.till-number {
    font-size: 18px;
    font-weight: 600;
    color: #4CAF50;
    letter-spacing: 0.5px;
}

.payment-note {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

/* Learn More Page Styles */
.learn-more-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 16px;
}

.learn-more-content {
    background: white;
}

.section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 24px;
    font-weight: 600;
}

.highlights-section {
    margin-bottom: 32px;
}

.intro-text {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 16px;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 8px 0;
    color: #333;
    font-size: 16px;
}

.event-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 32px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-icon {
    margin-right: 12px;
    font-size: 18px;
}

.payment-includes {
    margin-top: 16px;
}

.includes-list {
    list-style: none;
    padding: 0;
    margin-top: 8px;
}

.includes-list li {
    padding: 4px 0;
    color: #666;
}

.notice-section {
    margin: 32px 0;
    padding: 16px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
}

.action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.primary-btn, .secondary-btn {
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
}

.primary-btn {
    background: #4CAF50;
    color: white;
    border: none;
}

.secondary-btn {
    background: transparent;
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

@media screen and (max-width: 600px) {
    .learn-more-container {
        padding: 16px 12px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .event-details {
        padding: 16px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
    }
}

.required {
    color: #ff4444;
    margin-left: 2px;
}

.mandatory-note {
    font-size: 13px;
    color: #666;
    margin: 16px 0;
    font-style: italic;
}

input:required:invalid {
    border-color: #ff4444;
}

#otherExpertiseGroup {
    display: none;
}

#otherExpertiseGroup.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

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

button {
    width: 100%;
    padding: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 24px;
}

@media screen and (min-width: 601px) {
    body {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero {
        text-align: center;
        padding: 32px 16px;
    }
    
    .hero h1 {
        font-size: 26px;
        margin-bottom: 8px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero .date {
        font-size: 16px;
        margin-top: 4px;
    }
    
    .container {
        max-width: 500px;
    }
    
    input, select {
        background-color: white;
    }
}

@media screen and (max-width: 600px) {
    /* ensure full-bleed layout but keep a slight 8px horizontal gutter for readability */
    html, body {
        width: 100%;
        overflow-x: hidden;
    }

    .hero {
        padding: 16px 8px;
    }

    .container {
        padding: 0;
        max-width: 100%;
    }

    form {
        padding: 12px 8px; /* slight horizontal padding on mobile */
    }

    input, select {
        border-left: 0;
        border-right: 0;
        padding-left: 12px;
        padding-right: 12px;
        background-color: #f8f8f8;
    }
    
    button {
        margin: 16px 8px 24px 8px;
        padding: 14px;
    }
    
    .form-group {
        margin-bottom: 14px;
    }

    .form-group:last-of-type {
        margin-bottom: 8px;
    }
}

.error {
    border-color: #ff0000;
}

.error-message {
    color: #ff0000;
    font-size: 14px;
    margin-top: 5px;
}

/* Success Message Styles */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.success-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 90%;
    width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.success-content h3 {
    color: #333;
    margin: 0 0 15px;
    font-size: 24px;
}

.success-content p {
    color: #666;
    margin: 5px 0;
    line-height: 1.4;
}

.close-btn {
    margin-top: 20px;
    padding: 10px 25px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.close-btn:hover {
    background: #45a049;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
