body{
    background-color: black;
    overflow-x: hidden;
    width:100vw;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "DM Sans", sans-serif;
}

#main {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    background-color: black;
}
.map {
    background-color: #0D0D0D; /* Dark background */
    color: #fff; /* White text */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width:100vw;
    padding: 20px;
}

/* Container Styling */
.map-container {
    background: #1C1C1C; /* Dark gray background */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(255, 0, 0, 0.4); /* Red glow */
    height:80vh;
    width: 60vw;
    /* width: 100%; */
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.map-container:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.6); /* Stronger glow on hover */
}
@media (max-width: 768px) {
    iframe {
       width:270px;
    }}
.countdown-container {
    margin-top: 70px;
    width: 100vw;
    height: 20rem;
    background: url('../images/wall5.png') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    
    border-bottom: 1px solid white;
}
@media (max-width: 768px) {
    .countdown-container .countdown {
        font-size: 3rem;
    }
    .countdown-container h2 {
        font-size: 1rem;
    }

}
.countdown-container h2 {
    font-size: 2rem;
    color: white;
    margin-top: 1.7rem;
}
.countdown {
    margin-top: 1rem;
    font-size: 5rem;
    font-weight: bold;
    color: red;
    box-shadow: none;
    padding:1rem;
    text-shadow: 0 0 10px rgb(0, 0, 0), 0 0 20px red, 0 0 30px rgba(255, 0, 0, 0.8);
    animation: glow 1s infinite alternate, scaleUpDown 1.5s infinite ease-in-out;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgb(0, 0, 0), 0 0 20px rgb(255, 0, 0), 0 0 30px rgba(255, 0, 0, 0.8);
    }
    to {
        text-shadow: 0 0 15px rgb(0, 0, 0), 0 0 25px rgb(255, 0, 0), 0 0 40px rgb(255, 0, 0);
    }
}

@keyframes scaleUpDown {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 70px;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    border-bottom:1px solid white;
    transition: background 0.3s;
    opacity: 0;
    animation: slideDown 0.5s ease-out 0.5s forwards, glow 1.5s infinite alternate; 
    
    /* position: sticky; */
}
@keyframes slideDown {
    0% {
        top: -70px;
        opacity: 0;
    }
    100% {
        top: 0;
        opacity: 1;
    }
}
.logo img {
    height: 40px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
    
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    font-family: "DM Sans", sans-serif ;
    margin-right: 15px;
}

.nav-links a:hover {
    color: #ff2b06;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
input::placeholder{
    color:rgba(255, 255, 255, 0.5);
}
textarea::placeholder{
    color:rgba(255, 255, 255, 0.5);
}
/* Hide menu on mobile */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: right;
}
@keyframes glow {
    0% { box-shadow: 0 0 10px rgba(255, 0, 0, 0.5); }
    100% { box-shadow: 0 0 20px rgba(255, 0, 0, 1); }
}

/* Default menu visibility for larger screens */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide initially */
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        width: 100vw;
        text-align: center;
        padding: 10px;
    }

    .nav-links.active {
        display: flex; /* Show when active */
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger .bar {
        width: 30px;
        height: 4px;
        background: white;
        margin: 5px;
        transition: 0.3s;
    }

    /* Hamburger Animation */
    .hamburger.toggle .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.toggle .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.toggle .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}


    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    /* .hamburger {
        display: flex;
    } */
    .ticket {
    margin-top:1rem;
    margin-bottom:1rem ;
    width: 95vw;
    height: 29rem;
    background: rgb(86, 86, 86);
    background: url("../images/TED1.png") no-repeat center center/cover; 
    border-radius: 15px;
    box-shadow: 0px 0px 15px rgba(255, 0, 0, 0.9);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: black;
    position: relative;
    margin-left: 10px;
    animation: scaleIn 0.5s ease-in-out forwards, glow 1.5s infinite alternate; 
}

.ticket::before, .ticket::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: black;
    border-radius: 50%;
}
@media screen and (max-width: 768px) {
.ticket {
width: 3.75in;
height: 5.75in;
background: url("../images/TEDM.png") no-repeat center center/cover;}
.ticket::before, .ticket::after{
    width:30px;
    height:30px;
}
}

.ticket::before {
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.ticket::after {
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
.register-btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    background: linear-gradient(45deg, red, black);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: 0.3s ease-in-out;
    animation: register 1s infinite alternate ease-in-out;
}
.register-btn:hover {
    background: linear-gradient(45deg, black, red);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
    border: 1px solid white;
}

@keyframes register {
    from {
        transform: scale(1);
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    }
    to {
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(255, 0, 0, 1);
    }
}
.carousel {
    position: relative;
    margin-top: 1rem;
    border-top: 1px solid white;
    width: 80%;
    max-width: 800px;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.5);
    margin-bottom: 1rem;
}
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
a {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}
.slide-title {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
}
.slide-number {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 16px;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}
.buttons button {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
}
.buttons button:hover {
    background: rgba(255, 0, 0, 0.8);
}
/* Footer Styling */
footer {
    background: #111;
    color: #fff;
    padding: 40px 10%;
    font-family: "DM Sans", sans-serif;
}

/* Footer Grid Layout */
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
    font-family:"DM Sans", sans-serif;
    font-weight: 600;
    color: #e62b1e; /* TEDx Red */
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    font-size: 24px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    color: #e62b1e;
    transform: scale(1.2);
}

/* FAQ & Navigation Links */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #bbb;
    transition: color 0.3s ease;
    font-family:"DM Sans", sans-serif;

}

.footer-section ul li a:hover {
    color: #e62b1e;
}

/* Contact Info */
.contact-info p {
    margin: 5px 0;
}

.contact-info a {
    text-decoration: none;
    color: #e62b1e;
    font-weight: 600;
    font-family:"DM Sans", sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        align-items: center;
    }
    .footer-section {
        align-items: center;
    }
    .social-icons {
        justify-content: center;
    }
    .carousel {
        height: 230px;
    }
  
}
.social-icons a {
    color: #fff; /* White color */
    font-size: 24px;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* On Hover - Keep White but Add a Glow Effect */
.social-icons a:hover {
    color: #e62b1e; /* TEDx Red */
    transform: scale(1.2);
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8); /* Glow effect */
}
