

:root {
    --teal: #4ba5a0;
    --teal-dark: #2d7a75;
    --gold: #005a9c;
    --dark: #1a1a1a;
    --light: #f5f5f5;
    --gray: #6b6b6b;
    --border: #e0e0e0;
}

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

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    background: #fafafa;
}

/* HERO */
.sponsorship-hero {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: white;
    padding: 120px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sponsorship-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .sponsorship-hero {
        padding: 60px 20px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}

/* CONTAINER - SINGLE COLUMN */
.sponsorship-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

@media (max-width: 1024px) {
    .sponsorship-container {
        padding: 60px 30px;
        gap: 40px;
    }
}

/* SECTION HEADING */
.sponsorship-section h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 50px;
    color: var(--dark);
    letter-spacing: -0.5px;
}

/* GRID - 3 COLUMNS */
.sponsorship-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

@media (max-width: 1400px) {
    .sponsorship-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}

@media (max-width: 1200px) {
    .sponsorship-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .sponsorship-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* CARD */
.sponsorship-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.sponsorship-card:hover {
    transform: translateY(-16px);
    box-shadow: 0 20px 40px rgba(75, 165, 160, 0.2);
    border-color: #005a9c;
}

.sponsorship-card.selected {
    border-color: #005a9c;
    box-shadow: 0 20px 40px rgba(217, 119, 6, 0.25);
    background: #fafaf8;
}

.sponsorship-card.selected .card-badge {
    display: flex;
}

.card-image {
    width: 100%;
    height: 260px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    font-weight: 900;
    color: rgba(255,255,255,0.2);
    overflow: hidden;
    position: relative;
}

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

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
    background: #005a9c;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: 900;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
}

.card-content {
    padding: 36px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--dark);
    line-height: 1.3;
}

.card-price {
    margin-bottom: 32px;
    flex: 1;
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 900;
    color: #005a9c;
    letter-spacing: -1px;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-actions {
    display: flex;
    gap: 12px;
}

.btn-select,
.btn-info {
    flex: 1;
    padding: 13px 14px;
    border: 2px solid;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-select {
    background: #005a9c;
    color: white;
    border-color: #005a9c;
}

.btn-select:hover {
    background: #003d73;
    border-color: #003d73;
}

.btn-info {
    background: white;
    color: #3A8C87;
    border-color: #3A8C87;
}

.btn-info:hover {
    background: #3A8C87;
    color: white;
}

/* FORM */
.form-section {
    background: white;
    padding: 50px 45px;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
}

@media (max-width: 768px) {
    .form-section {
        padding: 30px 25px;
    }
}

.sponsorship-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

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

.form-group label {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.form-input,
.form-textarea {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    color: var(--dark);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #bbb;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(75, 165, 160, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* SELECTED & PAYMENT */
.selected-sponsorship {
    background: linear-gradient(135deg, #f0fdfb 0%, #e8faf8 100%);
    border-left: 4px solid var(--teal);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(75, 165, 160, 0.2);
}

.selected-sponsorship.hidden {
    display: none;
}

.summary-box h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--teal-dark);
    margin-bottom: 8px;
}

.summary-box p {
    font-size: 1.1rem;
    color: #005a9c;
    font-weight: 700;
}

.payment-section {
    background: #fffbf5;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #ffe8cc;
}

.payment-section.hidden {
    display: none;
}

.stripe-element {
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: white;
}

.stripe-element.StripeElement--focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(75, 165, 160, 0.1);
}

.error-message {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 8px;
    display: none;
}

.error-message.show {
    display: block;
}

/* BUTTONS */
.btn-submit {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(75, 165, 160, 0.3);
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(75, 165, 160, 0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.spinner.hidden {
    display: none;
}

.form-message {
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 15px;
    display: none;
    animation: slideDown 0.3s ease;
}

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

.form-message.show {
    display: block;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* SIDEBAR - QUESTIONS AT BOTTOM */
.sponsorship-sidebar {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.sidebar-box {
    background: white;
    padding: 40px 45px;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.sidebar-box:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.sidebar-box h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--dark);
}

.sidebar-box p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.7;
}

.sidebar-box a {
    color: var(--teal);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.sidebar-box a:hover {
    color: var(--teal-dark);
}

.contact-info {
    margin-top: 12px;
}

.contact-info strong {
    color: var(--dark);
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
}

/* MODAL */
.modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}

.modal.hidden {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    z-index: 99998 !important;
    cursor: pointer !important;
}

.modal-content {
    position: relative !important;
    background: white !important;
    border-radius: 24px !important;
    max-width: 700px !important;
    width: 100% !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    padding: 50px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3) !important;
    z-index: 100000 !important;
    animation: modalSlideUp 0.4s ease !important;
}

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

@media (max-width: 640px) {
    .modal-content {
        padding: 30px !important;
        max-height: 90vh !important;
        border-radius: 16px !important;
    }
}

.modal-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    background: var(--light) !important;
    border: none !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    font-size: 28px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    color: var(--dark) !important;
    z-index: 100001 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.modal-close:hover {
    background: var(--teal) !important;
    color: white !important;
}

#modal-title {
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    margin-bottom: 24px !important;
    color: var(--teal) !important;
    letter-spacing: -0.5px !important;
}

.modal-body {
    color: var(--gray) !important;
    line-height: 1.8 !important;
    font-size: 0.95rem !important;
}

.modal-body h4 {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: var(--dark) !important;
    margin-top: 20px !important;
    margin-bottom: 12px !important;
}

.modal-body ul {
    margin-left: 24px !important;
    margin-bottom: 16px !important;
}

.modal-body li {
    margin-bottom: 8px !important;
}

.hidden {
    display: none !important;
}
