/* =============== BASE =============== */
:root {
    --primary: #3498db;
    --secondary: #2c3e50;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* =============== HEADER =============== */
header {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* =============== HERO =============== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://placehold.co/1200x600') no-repeat center center/cover;
    color: white;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    -webkit-animation: fadeIn 1s ease-in;
    animation: fadeIn 1s ease-in;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    -webkit-animation: fadeIn 1s ease-in 0.3s forwards;
    animation: fadeIn 1s ease-in 0.3s forwards;
    opacity: 0;
}

.countdown {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    -webkit-animation: fadeIn 1s ease-in 0.6s forwards;
    animation: fadeIn 1s ease-in 0.6s forwards;
    opacity: 0;
}

.countdown-item {
    margin: 0 1rem;
    text-align: center;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 0.5rem 1rem;
    min-width: 70px;
    display: inline-block;
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    -webkit-animation: fadeIn 1s ease-in 0.9s forwards;
    animation: fadeIn 1s ease-in 0.9s forwards;
    opacity: 0;
}

.btn:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* =============== ABOUT =============== */
.about {
    padding: 5rem 0;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: var(--accent);
    margin: 1rem auto;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.about-text h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.about-img {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-img img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* =============== SPEAKERS =============== */
.speakers {
    padding: 5rem 0;
    background-color: white;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.speaker-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.speaker-img {
    height: 250px;
    overflow: hidden;
}

.speaker-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    transition: transform 0.5s;
}

.speaker-card:hover .speaker-img img {
    transform: scale(1.1);
}

.speaker-info {
    padding: 1.5rem;
    text-align: center;
}

.speaker-info h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.speaker-info p {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    color: var(--primary);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent);
}

/* =============== SCGEDULE =============== */
.schedule {
    padding: 5rem 0;
    background-color: var(--light);
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #777;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.schedule-item {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.schedule-item:hover {
    transform: translateY(-5px);
}

.schedule-time {
    min-width: 100px;
    font-weight: bold;
    color: var(--primary);
}

.schedule-details {
    flex: 1;
    padding: 0 1rem;
}

.schedule-details h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.schedule-details p {
    color: #777;
    font-size: 0.9rem;
}

.schedule-speaker {
    display: flex;
    align-items: center;
    margin-top: 0.8rem;
}

.schedule-speaker img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    -o-object-fit: cover;
    object-fit: cover;
    margin-right: 1rem;
}

/* =============== REGISTRATION =============== */
.registration {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
}

.registration .section-title::after {
    background-color: white;
}

.registration p {
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ticket-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.ticket-card {
    background-color: white;
    color: #333;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.ticket-card:hover {
    transform: translateY(-10px);
}

.ticket-card h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.ticket-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
}

.ticket-price span {
    font-size: 1rem;
    color: #777;
}

.ticket-features {
    list-style: none;
    margin-bottom: 2rem;
}

.ticket-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.ticket-features li:last-child {
    border-bottom: none;
}

/* =============== CONATACT =============== */
.contact {
    padding: 5rem 0;
    background-color: white;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.contact-details {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-details li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-details li i {
    margin-right: 1rem;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

/* =============== VENUE =============== */
.venue {
    padding: 5rem 0;
    background-color: var(--light);
}

.venue-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.venue-info {
    flex: 1;
    min-width: 300px;
}

.venue-info h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.venue-details {
    list-style: none;
    margin-bottom: 1.5rem;
}

.venue-details li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
}

.venue-details li i {
    margin-right: 1rem;
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.venue-map {
    flex: 1;
    min-width: 300px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* =============== SPONSORS =============== */
.sponsors {
    padding: 5rem 0;
    background-color: white;
    text-align: center;
}

.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
}

.sponsor-logo {
    max-width: 180px;
    height: 80px;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo:hover {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    opacity: 1;
}

/* =============== FOOTER =============== */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 3rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s;
}

.footer-socials a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
}

/* =============== MODAL =============== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    transform: translateY(-50px);
    transition: all 0.3s;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #777;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent);
}

/* =============== ANIMATIONS =============== */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============== RESPONSIVE =============== */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--secondary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .countdown-item {
        margin: 0 0.5rem;
    }

    .countdown-number {
        font-size: 2rem;
        min-width: 60px;
    }

    .venue-map {
        height: 300px;
    }
}