* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    padding-top: 80px;
    /* same height as navbar */
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #333;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    text-align: left;
}

.logo h1 {

}

.logo h1 {
    font-size: 30px;
    color: #080808;

}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    font-size: 20px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #c14244;
}

.login-btn {
    background: #6f42c1;
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
    transition: 0.3s ease;
}

.login-btn:hover {
    background: #ca202b;
    transform: translateY(-2px);
}


/* Hero Section */
.hero {
    position: relative;
    padding-top: -5px;
    height: 95vh;
    width: 100%;
    background: linear-gradient(135deg, #4e73df, #6f42c1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

/* Morphing Shapes */
.hero-bg-shapes .shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 15s ease-in-out infinite;
    z-index: 1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 15%;
    animation-delay: -2s;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg) translate(0, 0);
    }

    50% {
        border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%;
        transform: rotate(180deg) translate(20px, 30px);
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(360deg) translate(0, 0);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    padding-top: 5px;
    border-radius: 30px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 800px;
    margin: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: #44e4f3;
    text-decoration: underline;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.description {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Animations */
.animate-text {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-text-delay {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.animate-text-delay-2 {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.animate-text-delay-3 {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

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

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
}

.primary-btn {
    background: #44e4f3;
    color: #333;
    box-shadow: 0 0 20px rgba(68, 228, 243, 0.4);
    border: none;
}

.primary-btn:hover {
    transform: scale(1.05);
    background: white;
}

.secondary-btn {
    border: 3px solid white;
    color: white;
    animation: pulse 2s infinite;
}

.secondary-btn:hover {
    background: white;
    color: #6f42c1;
}


/* Ensure the dropdown container sits perfectly in the row */
.hero-btns .dropdown {
    position: relative;
    display: inline-flex;
    /* Ensures it respects the flex-gap of hero-btns */
    align-items: center;
    vertical-align: middle;
}

/* Force the Registration button to match others exactly */
.hero-btns .dropdown .secondary-btn {
    display: inline-block;
    height: 100%;
    /* Matches parent height */
    margin: 0;
    line-height: normal;
    /* Prevents text shifting */
}

/* Adjust the dropdown card position so it doesn't overlap the button */
.hero-btns .dropdown-card {
    top: 65px;
    /* Adjust this to sit right below the button edge */
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
}

/* Ensure the arrow matches the card's background color */
.hero-btns .arrow-up {
    border-bottom-color: #f0c5c5;
    /* Matches your specific pinkish background */
}

/* Invisible bridge: allows the user to move mouse to card without it closing */
.hero-btns .dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}


/* ============================= */
/* Upcoming Event Section */
/* ============================= */

.upcoming-event {
    padding: 80px 20px;
    text-align: center;
    background: #f3f3f7;
}

.section-title {
    font-size: 34px;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #555;
    max-width: 650px;
    margin: 0 auto 50px;
    line-height: 1.6;
}


/* Event Name Styling */

.event-name {
    max-width: 1100px;
    margin: 20px auto 30px;
    text-align: left;
}

.event-name h3 {
    font-size: 32px;
    font-weight: 600;
}



/* Purple Countdown Box */

.countdown-container {
    background: linear-gradient(90deg, #6a11cb, #8e2de2);
    padding: 50px 20px;
    border-radius: 18px;
    color: white;
    max-width: 1100px;
    margin: auto;
    margin-bottom: 60px;
}

.countdown-container h3 {
    margin-bottom: 30px;
    font-size: 22px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.time-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px 40px;
    border-radius: 15px;
    min-width: 130px;
    backdrop-filter: blur(10px);
}

.time-box span {
    font-size: 34px;
    font-weight: bold;
}

.time-box p {
    margin-top: 5px;
    font-size: 14px;
}

/* Bottom Cards */

.event-cards {
    display: grid;
    border: #f4d3d3;
    border-radius: 18px;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1072px;
    margin: auto;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 18px;
    border: 4px solid rgba(15, 15, 15, 0.614);
    text-align: left;
    box-shadow: 0 10px 25px rgba(79, 185, 191, 0.321);
    transition: 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.info-card p {
    color: #555;
}

/* Responsive */

@media (max-width: 900px) {
    .event-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .event-cards {
        grid-template-columns: 1fr;
    }
}


/* ============================= */
/* End Upcoming Event Section */
/* ============================= */



/* Event Details */

.details {
    padding: 80px 60px;
    text-align: center;
    background: #f4d3d3;
    color: #333;
}

.details h2 {
    font-size: 32px;
    margin-bottom: 50px;
}

/* Benefits Layout */
.benefits-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.benefit-box {
    flex: 1 1 220px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.benefit-box:hover {
    transform: translateY(-8px);
}

/* Responsive */
@media (max-width: 768px) {
    .benefits-container {
        flex-direction: column;
    }
}



/* Existing variables at the top of your CSS or inside :root */
:root {
    --accent-pink: #ed729b;
    --secondary-purple: #7b1fa2;
    --primary-purple: #4a148c;
    --white: #ffffff;
    --blue: #0ac5bf;
}

/* Updated Floating Developer Button Design */
.floating-dev-container {
    position: relative; /* Changed from absolute to work better in the flow */
    margin-top: -30px;  /* This pulls the button up to sit between sections */
    margin-bottom: -30px; /* Optional: adjust based on footer padding */
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    justify-content: center;
    background: transparent;
}

.horizontal-line {
    height: 7px;
    flex-grow: 1;
    max-width: 500px;
    background: linear-gradient(to right, transparent, var(--accent-pink), var(--blue));
}

.horizontal-line.right {
    background: linear-gradient(to left, transparent, var(--accent-pink), var(--blue));
}

.dev-btn {
    background: linear-gradient(135deg, var(--blue));
    color: rgb(26, 26, 26) !important;
    padding: 20px 85px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 1000;
    font-size: 1.3rem;
    border: 4px solid var(--white); /* Thick white border to see it clearly */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
}

.dev-btn:hover {
    background: var(--accent-pink);
    color:  rgb(0, 0, 0) !important;
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(243, 239, 239, 0.3);
}

/* Ensure sections have relative positioning for the button to overlay correctly */
.details {
    position: relative;
    z-index: 1;
}

footer {
    position: relative;
    z-index: 1;
    padding-top: 60px; /* Space for the overlapping button */
}


/* Footer */
footer {
    background: linear-gradient(135deg, #4a148c, #6a1b9a);
    color: white;
    gap: 40px;
    padding: 40px 60px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-content>div:nth-child(1) {
    flex: 3;
}

.footer-content>div:nth-child(2) {
    flex: 1;
}

.footer-content>div:nth-child(3) {
    flex: 1;
}

.footer-content h3 {
    margin-bottom: 15px;
}

.footer-content p {
    margin-bottom: 8px;
    flex: 1;
    font-size: 14px;
}

.Foot
.copyright {
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}