/* Modern Theme Variables */
:root {
    --primary: #951d5d;
    --secondary: #7a1548;
    --accent: #951d5d;
    --text-dark: #333;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #f8f8f8;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 8px 25px rgba(149, 29, 93, 0.15);
    --gradient-primary: linear-gradient(45deg, #951d5d, #7a1548);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Modern Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--bg-light);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    overflow: hidden;
    padding: 2rem;
}

/* Left Content Side */
.hero-content {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.badge {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(149, 29, 93, 0.2);
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.5s ease forwards;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary);
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.5s ease forwards 0.2s;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.5s ease forwards 0.4s;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.hero-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    max-width: 500px;
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.5s ease forwards 0.6s;
    line-height: 1.8;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.5s ease forwards 0.8s;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(149, 29, 93, 0.15);
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--primary);
    font-size: 2rem;
    color: var(--accent);
}

.feature-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary);
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.5s ease forwards 1s;
}

.cta-button:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Right Media Side */
.hero-media {
    position: relative;
    height: 100%;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
    transform: translateX(50px);
    opacity: 0;
    animation: slideIn 0.8s ease forwards 0.5s;
}

.video-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(26, 35, 126, 0.7),
        rgba(41, 98, 255, 0.3)
    );
    z-index: 1;
}

/* Animations */
@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Floating Elements */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    opacity: 0.1;
    z-index: 0;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: 10%;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        padding: 4rem 3rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-content {
        padding: 4rem 2rem;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 3rem auto;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-media {
        height: 50vh;
        clip-path: none;
        order: -1;
    }

    .floating-shape {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .hero-media {
        height: 40vh;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 3rem 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* Welcome Section Styles */
.welcome-section {
    position: relative;
    padding: 6rem 0;
    background: var(--bg-light);
    overflow: hidden;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.03), rgba(41, 98, 255, 0.05));
    z-index: 1;
}

.welcome-section .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.title-wrapper {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 2px;
}

.welcome-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.welcome-text {
    color: var(--text-dark);
}

.welcome-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.welcome-text p:last-child {
    margin-bottom: 0;
}

.welcome-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.welcome-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.welcome-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.speaker-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--text-light);
    text-align: center;
}

.speaker-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.speaker-title {
    font-size: 1rem;
    opacity: 0.9;
}

/* Welcome Section Responsive Design */
@media (max-width: 1200px) {
    .welcome-section {
        padding: 5rem 0;
    }

    .welcome-content {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .welcome-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .welcome-text {
        order: 2;
    }

    .welcome-image {
        order: 1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .welcome-section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .welcome-text p {
        font-size: 1rem;
    }

    .speaker-info {
        padding: 1rem;
    }

    .speaker-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .welcome-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .welcome-image {
        margin: 0 -1rem;
        border-radius: 0;
    }

    .welcome-image img {
        border-radius: 0;
    }
}

.error-message {
    background-color: #fff5f5;
    color: #dc3545;
    border: 1px solid #f5c6cb;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}

#formError {
    margin: 10px 0;
    width: 100%;
}
