/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8f4f8 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    background: linear-gradient(135deg, #4a90a4 0%, #5cb3a0 50%, #8fbc8f 100%);
    border-radius: 8px;
    color: white;
}

header h1 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header h2 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    font-weight: normal;
}

/* Form Section Styles */
.form-section {
    margin-bottom: 40px;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: linear-gradient(135deg, #fafafa 0%, #f8fdfd 100%);
    border-left: 4px solid #5cb3a0;
}

.form-section h3 {
    background: linear-gradient(135deg, #4a90a4 0%, #5cb3a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-decoration: underline;
}

/* Membership Options */
.membership-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.membership-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.membership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a90a4 0%, #5cb3a0 50%, #a569bd 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.membership-card:hover {
    border-color: #5cb3a0;
    box-shadow: 0 4px 8px rgba(91, 179, 160, 0.2);
}

.membership-card:hover::before {
    opacity: 1;
}

.membership-card input[type="radio"] {
    display: none;
}

.membership-card input[type="radio"]:checked + label {
    border-color: #5cb3a0;
    background: linear-gradient(135deg, #f8fdfd 0%, #f0faf8 100%);
}

.membership-card input[type="radio"]:checked + label::before {
    opacity: 1;
}

.membership-card label {
    display: block;
    padding: 20px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.card-content h4 {
    background: linear-gradient(135deg, #4a90a4 0%, #5cb3a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-decoration: underline;
}

.price {
    background: linear-gradient(135deg, #a569bd 0%, #8fbc8f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.benefits {
    list-style: none;
    padding-left: 0;
}

.benefits li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    color: #555;
}

.benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #5cb3a0;
    font-weight: bold;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4a90a4;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5cb3a0;
    box-shadow: 0 0 0 3px rgba(91, 179, 160, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Payment Information */
.payment-info {
    background: linear-gradient(135deg, #f0faf8 0%, #e8f7f5 100%);
    border-color: #5cb3a0;
}

.payment-details {
    background-color: white;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #5cb3a0;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(91, 179, 160, 0.1);
}

.bank-details {
    background: linear-gradient(135deg, #f8fdfd 0%, #f0faf8 100%);
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    border: 1px solid rgba(91, 179, 160, 0.2);
}

.bank-details h4 {
    background: linear-gradient(135deg, #4a90a4 0%, #5cb3a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.bank-details p {
    margin-bottom: 5px;
    color: #4a90a4;
}

/* Checkbox Styling */
input[type="checkbox"] {
    width: auto !important;
    margin-right: 10px;
    transform: scale(1.2);
    accent-color: #5cb3a0;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin: 40px 0;
}

.submit-btn {
    background: linear-gradient(135deg, #4a90a4 0%, #5cb3a0 50%, #a569bd 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(91, 179, 160, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(91, 179, 160, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Footer */
.contact-info {
    background: linear-gradient(135deg, #4a90a4 0%, #5cb3a0 50%, #a569bd 100%);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-20px, -20px) rotate(120deg); }
    66% { transform: translate(20px, -10px) rotate(240deg); }
}

.contact-info h3 {
    margin-bottom: 20px;
    text-decoration: underline;
    position: relative;
    z-index: 1;
}

.contact-info p {
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.contact-info a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #8fbc8f;
}

.thank-you {
    font-style: italic;
    font-weight: 600;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.9) 0%, rgba(91, 179, 160, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    color: white;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #8fbc8f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.success-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-top: 4px solid #5cb3a0;
}

.success-content h3 {
    background: linear-gradient(135deg, #5cb3a0 0%, #8fbc8f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.success-content p {
    margin-bottom: 25px;
    color: #666;
}

.success-content button {
    background: linear-gradient(135deg, #4a90a4 0%, #5cb3a0 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.success-content button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(91, 179, 160, 0.3);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    header h2 {
        font-size: 1.2rem;
    }
    
    .membership-options {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .form-section {
        padding: 15px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .membership-card label {
        padding: 15px;
    }
    
    .card-content h4 {
        font-size: 1.1rem;
    }
    
    .benefits li {
        font-size: 0.85rem;
    }
    
    .contact-info {
        padding: 20px;
    }
}