/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #2C19BC, #1880C6);
    color: #DAD2F0;
    overflow-x: hidden;
}

header {
    background: #1880C6;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .logo {
    font-size: 24px;
    font-weight: bold;
    color: #04D3FC;
}

header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #DAD2F0;
    text-decoration: none;
    padding: 10px 15px;
    transition: background-color 0.3s, color 0.3s;
}

header nav ul li a:hover {
    background: #04D3FC;
    color: #1880C6;
    border-radius: 5px;
}

.hero {
    text-align: center;
    padding: 100px 20px;
    position: relative;
    background: url('tech.webp') no-repeat center center/cover;
}
.hero2{
    background: url('tech2.webp') no-repeat center center/cover;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-content {  /* Wrapper to position text above the overlay */
    position: relative;
    z-index: 1; /* Ensures text appears above the overlay */
}

.hero .typing-effect {
    font-size: 48px;
    font-weight: bold;
    color: #04D3FC;
}

.hero p {
    font-size: 24px;
    color: white; /* Makes text readable on dark overlay */
}

.hero .cta-button {
    display: inline-block;
    padding: 10px 20px;
    color: #DAD2F0;
    background-color: #1880C6;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    margin-top: 20px;
    transition: background-color 0.3s;
    position: relative;
    z-index: 1; /* Ensures button is above the overlay */
}

.hero .cta-button:hover {
    background: #2C19BC;
}
.highlights,
.speakers,
.schedule,
.countdown,
.stats {
    padding: 50px 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-in.appear {
    opacity: 1;
}
.highlights {
    max-width: 80vw;
    margin: auto;
    font-size: 19px;
}
h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #04D3FC;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.card {
    width: 200px;
    height: 300px;
    position: relative;
    perspective: 1000px;
}

.card .front,
.card .back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    transition: transform 0.6s;
}

.card .front {
    background: #1880C6;
    color: #DAD2F0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.card .back {
    background: #2C19BC;
    color: #DAD2F0;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.card:hover .front {
    transform: rotateY(180deg);
}

.card:hover .back {
    transform: rotateY(0deg);
}


.speaker-img {
    cursor: pointer;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}
.schedule-table {
    max-width: 85vw;
    min-width: 60vw;
    margin: 0 auto;
    border-collapse: collapse;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: #2C19BC;
    border-radius: 10px;
    overflow: hidden;
}

.schedule-table th,
.schedule-table td {
    padding: 15px;
    text-align: center;
    color: #DAD2F0;
    border-bottom: 1px solid #4A3C8C;
}

.schedule-table th {
    background: #1880C6;
    font-size: 18px;
    font-weight: bold;
}

.schedule-table tr:hover {
    background: rgba(0, 0, 0, 0.1);
}

.schedule-table td {
    font-size: 16px;
}

.schedule-table td:first-child {
    width: 150px;
    text-align: center;
}
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    max-width: 90vw;
    margin: auto;
}

.time-box {
    background: #2C19BC;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 6rem;
}

.time {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: #04D3FC;
}

.label {
    font-size: 18px;
    color: #DAD2F0;
}
.stats-container {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.stat {
    background: #2C19BC;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 150px;
}

.stat .counter {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: #04D3FC;
}

.stat p {
    margin-top: 10px;
    font-size: 18px;
    color: #DAD2F0;
}
footer {
    background: linear-gradient(to right, hsl(247, 77%, 43%), hsl(204, 78%, 45%));
    color: #DAD2F0;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 50px 20px;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    margin: 20px;
    min-width: 250px;
}

.footer-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #04D3FC;
}

.footer-section p,
.footer-section ul,
.footer-section a {
    color: #DAD2F0;
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a:hover {
    color: #04D3FC;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a i{
    width: 32px;
    height: 32px;
    font-size: 2rem;
    color: white; /* Ensures the exact turquoise color */
    transition: color 0.3s;
}

.social-links a:hover i {
    color:#04D3FC;
}

.footer-bottom {
    background: linear-gradient(to right, hsl(247, 77%, 43%), hsl(204, 78%, 45%));
    padding: 10px 0;
    text-align: center;
    color: #DAD2F0;
    font-size: 14px;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    padding: 10px 15px;
    background-color: #04D3FC;
    color: #1880C6;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
}

.back-to-top:hover {
    background: #1880C6;
    color: #DAD2F0;
    transform: translateY(-3px);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: #2C19BC;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    color: #DAD2F0;
    border-radius: 10px;
}

.close {
    color: #DAD2F0;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #04D3FC;
    text-decoration: none;
    cursor: pointer;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.stat {
    font-size: 36px;
    font-weight: bold;
    color: #04D3FC;
}

.stat p {
    margin-top: 10px;
    font-size: 18px;
}

@media (max-width: 768px) {
    body{
        width: 100vw;
    }
    .cards {
        flex-direction: column;
        align-items: center;
    }

    .stat {
        font-size: 28px;
        width: 20%;
    }

    .stat p {
        font-size: 16px;
    }
    .countdown-timer .time-box{
        width:15%;
    }
    .time{
        font-size: 1.7rem;
    }
}

.event-details {
    padding: 50px 20px;
    max-width: 85vw;
    margin: auto;
    text-align: center;
}
.event-details table {
    width: 80%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.event-details table, .event-details th, .event-details td {
    border: 1px solid #DAD2F0;
}

.event-details th, .event-details td {
    padding: 10px;
    text-align: left;
}
.event-details section iframe {
    width: 80%;
    height: 450px;
    border: 0;
    margin-bottom: 20px;
}

.event-details ul {
    list-style: none;
    padding: 0;
    max-width: 70%;
    margin: auto;
}

.event-details ul li {
    padding: 10px;
    background: #1880C6;
    margin-bottom: 10px;
    border-radius: 5px;
}

.event-details .faq p {
    margin: 10px 0;
}

.event-details section form {
    display: flex;
    flex-direction: column;
    width: 70%;
    margin: auto;
}

.event-details form label {
    margin-bottom: 5px;
}

.event-details form input,
.event-details form textarea {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #DAD2F0;
    border-radius: 5px;
    background: #2C19BC;
    color: #DAD2F0;
}

.event-details form button {
    padding: 10px 20px;
    color: #DAD2F0;
    background-color: #1880C6;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.event-details form button:hover {
    background: #2C19BC;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}