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

body {
    body {font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;}
    background: #f5f5f0;
    color: #1a1a1a;
    line-height: 1.5;
    padding: 2rem 1rem;
}

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

/* Header */
.header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.logo-row {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.isf-logo {
    color: #1a1a1a;
}

.separator {
    color: #999;
    margin: 0 0.5rem;
}

.ddd-logo {
    color: #1a1a1a;
}

.tagline {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.25rem;
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

h1 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

h1 span {
    color: #666;
}

.subhead {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #666;
}

.event-meta span {
    background: #f0f0f0;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

/* Two Column Description */
.two-col-description {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.card p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #333;
}

.card ul {
    margin: 0.75rem 0 1rem 1.25rem;
    font-size: 1rem;
    color: #444;
}

.card li {
    margin-bottom: 0.4rem;
}

.outcome {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
    font-weight: 500;
    font-size: 0.85rem;
}

/* Form */
.registration-form {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.form-section {
    margin-bottom: 1.8rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

/* Radio Options */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem;
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.radio-option:hover {
    background: #f5f5f5;
}

.radio-option input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.radio-option span {
    font-size: 0.9rem;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-field.full-width {
    grid-column: span 2;
}

label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #333;
}

input, select, textarea {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #888;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: normal;
    font-size: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    font-size: 1rem;
    cursor: pointer;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 0.9rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 40px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.submit-btn:hover {
    background: #333;
}

.submit-btn:disabled {
    background: #999;
    cursor: not-allowed;
}

/* Partners Section */
.partners-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.partners-section h3 {
    margin-bottom: 1rem;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    margin: 1rem 0;
}

.logo-placeholder {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    letter-spacing: 1px;
}

.logo-placeholder span {
    font-weight: normal;
    font-size: 0.7rem;
    color: #888;
}

.partner-note {
    font-size: 0.7rem;
    color: #888;
    margin-top: 0.75rem;
}

/* Partner CTA */
.partner-cta {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.partner-cta h3 {
    margin-bottom: 0.5rem;
}

.partner-cta p {
    font-size: 0.85rem;
    color: #444;
    margin-bottom: 1rem;
}

.partner-cta ul {
    margin: 0.75rem 0 1rem 1.25rem;
    font-size: 0.8rem;
    color: #444;
}

.partner-cta li {
    margin-bottom: 0.3rem;
}

.partner-btn {
    display: inline-block;
    background: transparent;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: background 0.2s;
}

.partner-btn:hover {
    background: #1a1a1a;
    color: #fff;
}

/* Footer */
.footer {
    text-align: center;
    font-size: 0.7rem;
    color: #888;
    border-top: 1px solid #e0e0e0;
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.footer a {
    color: #555;
    text-decoration: none;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader {
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    border-top-color: #1a1a1a;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Conditional Sections */
.conditional {
    transition: all 0.2s;
}

/* Responsive */
@media (max-width: 700px) {
    .two-col-description {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-field.full-width {
        grid-column: span 1;
    }
    
    .registration-form {
        padding: 1.25rem;
    }
    
    h1 {
        font-size: 1.4rem;
    }
    
    .logo-grid {
        gap: 1rem;
    }
}
/* Logo Grid - Uniform Sizing */
.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 1rem 0;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 70px;
    padding: 0.5rem;
    background: #fff;
    border-radius: 8px;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* For text-based logos (fallback) */
.logo-item.text-logo {
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    text-align: center;
    line-height: 1.3;
}