/* Importing Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    width: 100vw;
    background-color: black;
    
}
canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}
        #page1 {
            margin: 0;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100vh;
            background-color: black;
            background: url('../images/bgg.jpeg') no-repeat center center/cover;
            font-family: Arial, sans-serif;
    
            text-align: center;
            animation: moveBackground 3s ease-in-out forwards;
        }
        @keyframes moveBackground {
    0% {
        background-position: -100vw center;
    }
    100% {
        background-position: 0 center;
    }
}
        .container {
            position: absolute;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            right: 7%;
            text-align: right;
           
            

            
        }
        h1 {
            font-size: 6vw;
            font-weight: bold;
            text-transform: uppercase;
            color: white;
            text-shadow: -2px -2px 0px #5c5c5c, 2px 2px 0px #6c6c6c, 4px 4px 0px #424242;
            transform: perspective(500px) scale(0);
            opacity: 0;
            text-shadow: 0 0 10px rgba(255, 0, 0, 0.8),
                 0 0 20px rgba(255, 0, 0, 0.6),
                 0 0 30px rgba(255, 0, 0, 0.4);
    
            animation: fadeInScale 1.5s ease-out forwards ;
            animation-delay: 3s;
        }
        h1 span {
            color: red;
            text-shadow: -2px -2px 0px #ffffff, 2px 2px 0px #d60000, 4px 4px 0px #a00000, 6px 6px 0px #600000;
            text-shadow: 0 0 5px rgba(255, 255, 255, 0.8),
                 0 0 10px rgba(255, 255, 255, 0.6),
                 0 0 15px rgba(255, 255, 255, 0.4);
    animation: glowWhite 1.5s ease-in-out infinite alternate;
    animation-delay: 3s;
        }
   
        @keyframes glowText {
            0% {
                text-shadow: 0 0 5px rgba(255, 0, 0, 0.6),
                             0 0 10px rgba(255, 0, 0, 0.5),
                             0 0 15px rgba(255, 0, 0, 0.4);
            }
            100% {
                text-shadow: 0 0 15px rgba(255, 0, 0, 1),
                             0 0 25px rgba(255, 0, 0, 0.9),
                             0 0 35px rgba(255, 0, 0, 0.8);
            }
        }
        
        .theme {
            font-size: 2vw;
            font-style: italic;
            color: white;
            text-shadow: 3px 3px 5px rgba(255, 255, 255, 0.3);
            transform: scale(0);
            opacity: 0;
            font-family: "DM Sans", sans-serif;
            animation: fadeInScale 1.5s ease-out forwards, glowText 1.5s ease-in-out infinite alternate;
            animation-delay: 3s;
            text-shadow: 0 0 10px rgba(0, 0, 0, 0.8),
                 0 0 20px rgba(255, 0, 0, 0.6),
                 0 0 30px rgba(255, 0, 0, 0.4);
        }
        
        @keyframes fadeInScale {
            from {
                transform: perspective(500px) scale(0);
                opacity: 0;
            }
            to {
                transform: perspective(500px) scale(1);
                opacity: 1;
            }
        }
        
        @media (max-width: 768px) {
            #page1 {
                display: flex;
                justify-content: center;
                background: url('../images/mb1.png') no-repeat center center/cover;
                animation: rotateBackground 30s linear infinite;
                align-items: center;
                text-align: center;
                border-bottom:none ;
            }
            .canvas{
                display:hidden;
            }
            .container {
                position: absolute;
                transform: rotate(-360deg);
                /* right:2px; */
                animation: counterRotate 30s linear infinite;
                /* animation: counterRotate 5s linear infinite; */
            }
            @keyframes counterRotate {
                0% { transform: rotate(0deg); }
                100% { transform: rotate(-360deg); }
        }
            h1 {
                
                font-size: 9vw;
                text-shadow: -1px -1px 0px #ffffff, 2px 2px 0px #d60000, 4px 4px 0px #a00000;
                /* animation: hide; */
            }
            .theme {
                font-size: 5vw;
            }
            @keyframes rotateBackground {
                from {
                    transform: rotate(0deg) scale(1.1);
                }
                to {
                    transform: rotate(360deg) scale(1.1);
                }
            }
        }

        .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 74px;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    border-bottom:1px solid black;
    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 ;
}

.nav-links a:hover {
    color: #ff2b06;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

/* 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;
    } */


/* Section Background */
#about-section {
    padding: 80px 10%;
    background-color: black;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-top:1px solid red;
    border-bottom: 1px solid black;
    background: url('../images/bg7.png') no-repeat center center/cover;
}

/* About Text */
.about-text h2, .why-attend h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #E62B1E;  /* TEDx red color */
    font-family: "DM Sans", sans-serif;

}

/* Paragraphs */
.about-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 20px;
    font-family: "DM Sans", sans-serif;
}

/* Card Section */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    width: 100%;
    max-width: 1000px;
}

/* Equal-Sized Cards */
.card {
    background: rgba(255, 255, 255, 0.15);
    /* background: black; */
    padding: 20px;
    border-radius: 10px;
    min-height: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition:  0.3s ease-in-out;
    backdrop-filter: blur(5px);
    font-family: "DM Sans", sans-serif;
    border:1px solid white;
}

/* Card Hover Effect */
.card:hover {
    border:1px solid white;
  box-shadow : 0 0 20px rgba(255, 0, 0, 1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-container {
        grid-template-columns: 1fr;
    }
    .about-section{
        border-top:none;
    }
}
/* Learn More Button */
.learn-more-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    font-size: 1rem;
    color: white;
    background: #E62B1E;  /* TEDx red color */
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s, transform 0.2s;
    margin-bottom: 20px;
}
.card h3{
    color: #E62B1E;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-family: "DM Sans", sans-serif;
    ;
}
.card p{
    letter-spacing: 1px;
    font-family: "DM Sans", sans-serif;
}
/* Hover Effect */
.learn-more-btn:hover {
    background: #B22217;
    transform: scale(1.05);
}
.custom-cursor {
    position: fixed;
    width: 50px;
    height: 50px;
    background-color: black;
    border:2px solid white;
    background: url("../images/cursor.png") no-repeat center center / cover;
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.15s ease-out;
    transform: scale(0); /* Initially hidden */
}

/* Activate Cursor on Hover */
.custom-cursor.active {
    transform: scale(1); /* Cursor appears smoothly */
}

/* Theme Section */
/* Theme Section */
#theme {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 5%;
    background:black;
    color: white;
    border-bottom: 1px solid red;
    /* background: url("../images/bg7.jpg") no-repeat center center / cover; */
}
#theme h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #E62B1E;  /* TEDx red color */
    font-family: "DM Sans", sans-serif;
}

/* Theme Container */
.theme-container {
    display: flex;
    flex-direction: row;  /* Makes items appear in a row */
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 40px;
    /* border:1px solid red; */
    padding:1rem;
}

/* Theme Image */
theme-image {
    display: flex;
    height:30rem;
    justify-content: center;
    align-items: center;
    perspective: 1000px; /* Depth effect */
    

}

/* Image Styling */
.theme-image img {
   width: 25rem;
    height: 30rem;
    transition: transform 0.3s ease-out;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    border:1px solid black
}
/* Hover Animation - Tilt Effect */
.theme-image:hover img {
    transform: rotateY(-90deg) rotateX(90deg);
}

/* Reverse effect when mouse leaves */
.theme-image img:not(:hover) {
    transition: transform 0.4s ease-in-out;
}
.theme-text:hover img {
    transform: rotateY(-90deg) rotateX(90deg);
}

/* Reverse effect when mouse leaves */
.theme-text:not(:hover) {
    transition: transform 0.4s ease-in-out;}

    .theme-video:hover img {
        transform: rotateY(-90deg) rotateX(90deg);
    }
    
    /* Reverse effect when mouse leaves */
    .theme-video video:not(:hover) {
        transition: transform 0.4s ease-in-out;}
/* Theme Text */
.theme-text {
    padding-top: 1rem;
    max-width: 400px;
    font-size: 1rem;
    height:30rem;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.3s ease-out;
    transition: 0.3s ease-out;
    border:1px solid black;
    font-family: "DM Sans", sans-serif;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}
.theme-text h2{
    font-size: 1rem;
    color: #E62B1E;  /* TEDx red color */
    font-family: "DM Sans", sans-serif;
    margin-bottom: 5px;
}
.theme-text p{
    font-size: 1rem;
    color: white;
    font-family: "DM Sans", sans-serif;
    margin-top: 0.5rem;
    padding:0.5rem;
}
.theme-video{
    border:1px solid black;
    height:30rem;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}
/* Theme Video */
.theme-video video {
    height: 100%;
    width:auto;
    border-radius: 10px;
    opacity: 0;
    position: relative;
    top:-0px;
    transition: transform 0.3s ease-out;
    left:-50px;
   
}

/* Responsive Design */
@media (max-width: 900px) {
    .theme-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .theme-text {
        max-width: 90%;
        height:30rem;
        font-size: 1rem;
    }
    .theme-text h2{
        font-size: 1rem;
    }
    .theme-text p{
        font-size: 0.9rem;
    }
    .theme-video video,
    .theme-image img {
        width: 80%;
        padding-bottom: 0.5rem;
        padding-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
}

.background-section {
    display:flex;
    align-items: center;
    justify-content: center;
    width: 100vw; /* Full Width */
    height: 30rem; /* Fixed Height */
    background-image: url('../images/ticket.png'); /* Replace with your image URL */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid red;
}
@media screen and (max-width: 768px) {
    .background-section {
        display:flex;
        align-items: center;
        justify-content: center;
    width: 95vw;
    height: 8.75in;
    background: url("../images/ticketm.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;}
}
.map {
    background-color: #0D0D0D; /* Dark background */
    color: #fff; /* White text */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    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 */
    max-width: 900px;
    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 */
}

/* Heading Styling */
h2 {
    color: #FF0000; /* Red color */
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Map Frame Styling */
iframe {
    width: 100%;
    height: 450px;
    border: 3px solid #FF0000; /* Red border */
    border-radius: 10px;
}

/* 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;
    }
  
}
.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 */
}
.expand-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid red;
}
.expand-card h1{
    margin-top: 3rem;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #E62B1E;  /* TEDx red color */
    font-family: "DM Sans", sans-serif;
}

.ccard-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
}

.sspeaker-card {
    width: 280px;
    height: 500px;
    background: #222;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.5);
    overflow: hidden;
    transition: transform 0.3s ease-in-out, glow 1.5s infinite alternate; 
    cursor: pointer;
    position: relative;
    color: white;
    display: flex;
    font-family: "DM Sans", sans-serif;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sspeaker-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(255, 0, 0, 0.7);
}

.speaker-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.speaker-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.speaker-name {
    font-size: 18px;
    color: #ff4444;
    font-weight: bold;
}

.speaker-info {
    font-size: 14px;
    color: #ddd;
    margin: 5px 0;
}

.speaker-topic {
    font-weight: bold;
    color: #ff0000;
    margin-top: 10px;
}

@media (max-width: 1024px) {
    .ccard-container {
        flex-direction: column;
        align-items: center;
    }
}