/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.banner-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.banner-image {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Speaker Section */
.speaker-section {
    padding: 100px 0;
    background: linear-gradient(to top, #FF8C00 0%, #FF8C00 20%, #00BFFF 80%, #00BFFF 100%);
    position: relative;
    overflow: hidden;
}

.speaker-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 192, 203, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 192, 203, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

.speaker-section .section-title {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.speaker-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.speaker-info {
    padding: 40px;
}

.speaker-name {
    font-size: 2.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.speaker-title {
    font-size: 1.2rem;
    color: #8B1A3E;
    margin-bottom: 20px;
    font-weight: 500;
}

.speaker-bio {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1E3A8A;
}

.speaker-photo {
    text-align: center;
}

.speaker-photo img {
    width: 100%;
    max-width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Schedule Section */
.schedule-section {
    padding: 100px 0;
    background: linear-gradient(to top, #f7c548 0%, #f7c548 20%, #6B46C1 80%, #6B46C1 100%);
    position: relative;
    overflow: hidden;
}

.schedule-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 192, 203, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 192, 203, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

.schedule-section .section-title {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.schedule-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 5px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.schedule-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.schedule-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.schedule-description {
    color: #666;
    margin-bottom: 15px;
}

.schedule-datetime {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 5px;
}

.schedule-location {
    color: #888;
    font-size: 0.9rem;
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0 150px 0;
    background: linear-gradient(to bottom, #f7c548 0%, #f7c548 50%, #660033 70%, #660033 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #333;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 192, 203, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 192, 203, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

.benefits-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: #660033;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: translateY(50%);
    z-index: 1;
}

.benefits-section .container {
    position: relative;
    z-index: 2;
}

.benefits-section h2 {
    color: #333;
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.benefits-section .section-subtitle {
    color: #555;
    font-size: 1.2rem;
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: #660033;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.benefit-title {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.benefit-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.benefits-footer-text {
    margin-top: 80px;
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Registration Section */
.registration-section {
    padding: 100px 0;
    background: #660033;
    position: relative;
    overflow: hidden;
}

.registration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 192, 203, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 192, 203, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

.registration-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: #FFD700;
    border-radius: 50%;
    z-index: 1;
}

.registration-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.registration-info {
    color: white;
}

.registration-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.registration-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.5;
}

.registration-subtitle strong {
    font-weight: 700;
}

.registration-form-container {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.registration-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #D98C4A;
    box-shadow: 0 0 0 2px rgba(217, 140, 74, 0.2);
}

.form-group input::placeholder {
    color: #999;
}

.phone-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background: white;
    overflow: hidden;
}

.phone-country {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-right: 1px solid #e1e5e9;
    font-weight: 500;
    color: #333;
}

.phone-country img {
    width: 20px;
    height: 15px;
    margin-right: 8px;
    border-radius: 2px;
}

.phone-input {
    flex: 1;
    border: none;
    padding: 15px;
    font-size: 1rem;
    outline: none;
}

.phone-input:focus {
    box-shadow: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 2px;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 0;
}

.checkbox-group a {
    color: #007bff;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.success-message {
    display: flex;
    align-items: center;
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.success-message i {
    color: #28a745;
    margin-right: 10px;
    font-size: 1.2rem;
}

.cloudflare-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    font-size: 0.8rem;
    color: #666;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: #D98C4A;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: #c77a3a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 140, 74, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    margin-right: 10px;
}


/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-info p {
    color: #ccc;
    line-height: 1.6;
}

.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    pointer-events: auto;
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: white;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 20px;
    transition: transform 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
    z-index: 1000;
    position: relative;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
}

.whatsapp-btn i {
    margin-right: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-title {
        font-size: 2.5rem;
    }
    
    .banner-subtitle {
        font-size: 1.1rem;
    }
    
    .speaker-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .speaker-section {
        padding: 60px 0;
    }
    
    .speaker-section::before {
        background-size: 15px 15px;
    }
    
    .speaker-info {
        padding: 20px;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-section {
        padding: 60px 0;
    }
    
    .schedule-section::before {
        background-size: 15px 15px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-section {
        padding: 80px 0 120px 0;
    }
    
    .benefits-section h2 {
        font-size: 2.5rem;
    }
    
    .benefits-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .benefit-item {
        min-height: 180px;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .benefit-title {
        font-size: 1.2rem;
    }
    
    .benefit-description {
        font-size: 0.9rem;
    }
    
    .benefits-footer-text {
        font-size: 1.4rem;
        margin-top: 60px;
    }
    
    .registration-form {
        padding: 30px 20px;
    }
    
    .registration-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .registration-title {
        font-size: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .speaker-name {
        font-size: 1.8rem;
    }
    
    .registration-form {
        padding: 20px 15px;
    }
    
    .speaker-section {
        padding: 40px 0;
    }
    
    .speaker-section::before {
        background-size: 12px 12px;
    }
    
    .speaker-section .section-title {
        font-size: 2rem;
    }
    
    .schedule-section {
        padding: 40px 0;
    }
    
    .schedule-section::before {
        background-size: 12px 12px;
    }
    
    .schedule-section .section-title {
        font-size: 2rem;
    }
    
    .registration-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .registration-title {
        font-size: 2.5rem;
    }
    
    .registration-subtitle {
        font-size: 1rem;
    }
    
    .benefits-section h2 {
        font-size: 2rem;
    }
    
    .benefits-section .section-subtitle {
        font-size: 0.9rem;
    }
    
    .benefits-footer-text {
        font-size: 1.2rem;
    }
}
