/* HERO SECTION */

.hero {
    position: relative;
    /* background: radial-gradient(circle at top right, #1a2a6c, #0f1b3d, #050c23); */ /*UNDO IF*/

    color: #fff;
    padding: 70px 0;
    overflow: hidden;
}

/* Background glowing circles */

.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: #00c6ff;
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: #3f5efb;
    bottom: -100px;
    left: -100px;
}

/* Text Styling */

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: #00c6ff;
}

.hero-text p {
    color: #cfd8ff;
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-tag {
    font-size: 14px;
    letter-spacing: 2px;
    color: #00c6ff;
    display: block;
    margin-bottom: 15px;
}

/* Button */

.hero-btn,
.hero2-btn {
    display: inline-block;
    padding: 12px 30px;
    /* background: linear-gradient(90deg, #00c6ff, #0072ff); */
    border-radius: 30px;
    border: 2px solid #00c6ff;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}
.hero-btn {
    color: #fff;
}

.hero2-btn {
    color: #000;
}

.hero-btn:hover,
.hero2-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 198, 255, 0.7);
}

/* Image Animation */

.hero-img {
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}
.hero-wrapper {
    /* background: rgba(255, 255, 255, 0.05); */
    background: radial-gradient(
        circle at top right,

        #3553c8,
        #2f5be7,
        #5d78ff
    ) !important;
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 60px;
}
.hero-slider {
    position: relative;
    /* background: radial-gradient(
        circle at top right,

        #0f1b3d,
        #2847af,
        #3553c8
    ); */ /*UNDO IF REQ*/
    background: radial-gradient(
        circle at top right,

        #3553c8,
        #2f5be7,
        #5d78ff
    ) !important;
    color: #fff;
    overflow: hidden;
    padding: 120px 0;
}

.slides {
    position: relative;
}

.slide {
    display: none;
    animation: fadeIn 1s ease-in-out;
}

.slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Text */

.hero-text h1 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-text p {
    color: #cfd8ff;
    margin-bottom: 30px;
}

.hero-tag {
    font-size: 14px;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 15px;
    display: block;
}

/* Button */

/*.hero-btn {
     padding: 12px 30px;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
} */

/* .hero-btn:hover {
    box-shadow: 0 8px 20px rgba(0, 198, 255, 0.5);
} */

/* Dots */

.slider-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #777;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active,
.dot:hover {
    background-color: #00c6ff;
    transform: scale(1.3);
}

/* NAVBAR */

.custom-navbar {
    background: radial-gradient(
        circle at top right,

        #3553c8,
        #2f5be7,
        #5d78ff
    ) !important;
    padding: 18px 0;
    transition: all 0.3s ease;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important; */
}

.logo-text {
    color: #00c6ff;
    font-size: 20px;
}

.navbar-nav .nav-link {
    color: #ffffff;
    margin: 0 12px;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: "";
    width: 0;
    height: 2px;
    background: #00c6ff;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.nav-cta-btn {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
}
.nav-cta-btn:hover {
    box-shadow: 0 8px 20px rgba(0, 198, 255, 0.5);
    /* background: linear-gradient(90deg, #00c6ff, #0072ff); */
}

/* Logo */
/* Ensure the logo container is visible */
.logo-img {
    display: block;
    height: 50px; /* Adjust this to fit your navbar height */
    width: auto;
    object-fit: contain;
    /* Optional: If the logo is too dark, this adds a subtle glow */
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.9));
}

/* Ensure the navbar has a background when scrolling */
.custom-navbar.scrolled {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* MEGA MENU - SAME AS NAVBAR */
/* ===============================
   MEGA MENU - FULL PROFESSIONAL
================================= */

/* Make dropdown full width */
.mega-dropdown {
    position: static !important;
}

.mega-dropdown .mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 0;
    padding: 45px 0;
    border: none;
    border-radius: 0;

    /* SAME background as navbar */
    /* background: radial-gradient(
        circle at top right,

        #0f1b3d,
        #2847af,
        #3553c8
    ) !important; */
    background: radial-gradient(
        circle at top right,

        #3553c8,
        #2f5be7,
        #5d78ff
    ) !important;
    backdrop-filter: blur(15px);

    /* Smooth animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.35s ease;
}

/* Show on hover */
.mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

/* Remove bootstrap dropdown arrow spacing issue */
.mega-dropdown .dropdown-menu {
    inset: auto 0 auto 0 !important;
}

/* Container spacing */
.mega-menu .container {
    max-width: 1200px;
}

/* Column spacing */
.mega-menu .row > div {
    padding: 0 25px;
}

/* Column titles */
.mega-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
    position: relative;
}

/* Underline accent under title */
.mega-title::after {
    content: "";
    width: 35px;
    height: 2px;
    background: #00c6ff;
    position: absolute;
    left: 0;
    bottom: -6px;
}

/* Menu links */
.mega-item {
    display: block;
    color: #cfd8ff;
    text-decoration: none;
    padding: 6px 0;
    font-size: 14px;
    transition: all 0.25s ease;
}

/* Hover effect */
.mega-item:hover {
    color: #00c6ff;
    padding-left: 6px;
}

/* Optional subtle vertical divider */
.mega-menu .row > div:not(:last-child) {
    border-right: 1px solid #00c6ff;
}
/* Mobile Responsive Adjustments */
@media (max-width: 991.98px) {
    /* 1. Reset the mega menu for mobile */
    .mega-dropdown .mega-menu {
        display: none; /* Let Bootstrap handle toggling */
        position: relative;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        /* background: radial-gradient(
            circle at top right,

            #0f1b3d,
            #2847af,
            #3553c8
        ) !important;  */ /*Undo Color IF Req*/
        background: radial-gradient(
            circle at top right,

            #3553c8,
            #2f5be7,
            #5d78ff
        ) !important;
        padding: 20px 0;
        max-height: 400px; /* Prevents menu from being longer than screen */
        overflow-y: auto;
    }

    /* 2. Show menu when 'show' class is added by Bootstrap */
    .mega-dropdown .mega-menu.show {
        display: block;
    }

    /* 3. Adjust columns to stack */
    .mega-menu .row > div {
        border-right: none !important; /* Remove the vertical divider on mobile */
        border-bottom: 1px solid rgba(0, 198, 255, 0.2);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .mega-menu .row > div:last-child {
        border-bottom: none;
    }

    /* 4. Increase touch targets for mobile links */
    .mega-item {
        padding: 10px 0;
        font-size: 16px;
    }

    /* 5. Adjust the title for mobile */
    .mega-title {
        margin-bottom: 10px;
        color: #00c6ff;
    }
}

/* Ensure the navbar itself scrolls if too many items */
@media (max-width: 991px) {
    .navbar-collapse {
        max-height: 85vh;
        overflow-y: auto;
        padding-bottom: 20px;
    }
}

/* Responsive behavior */
@media (max-width: 991px) {
    .mega-dropdown .mega-menu {
        position: relative;
        transform: none;
        opacity: 1;
        visibility: visible;
        padding: 20px 15px;
        background: #0a1f44;
    }

    .mega-menu .row > div {
        border: none;
        padding: 10px 0;
    }
}
/* HERO Section 2 */

.hero {
    background: #ffffff;
    color: #000000;
    padding: 150px 0;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
}

.hero p {
    margin: 20px 0 30px;
}

/* Footer */
/* ===============================
   FOOTER
================================= */
/* UNDO COLOR IF REQUIRED */
/* .main-footer {
    background: radial-gradient(
        circle at top right,

        #12329c,
        #2844b5,
        #0f1b3d
    );
    color: #cfd8ff;
    padding: 70px 0 0;
} */
.main-footer {
    background: #ffffff;
    color: #000000;
    padding: 70px 0 0;
}

.footer-logo {
    color: #00c6ff;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-about {
    font-size: 14px;
    line-height: 1.7;
    /* color: #aeb8d8; */
    color: #000000;
}

.footer-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 18px;
    /* color: #ffffff; */
    color: #000000;
    position: relative;
}

.footer-title::after {
    content: "";
    width: 30px;
    height: 2px;
    background: #00c6ff;
    position: absolute;
    left: 0;
    bottom: -6px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-links a {
    text-decoration: none;
    /* color: #cfd8ff; */
    color: #000000;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #00c6ff;
    padding-left: 4px;
}

.footer-social {
    margin-top: 15px;
}

.footer-social a {
    /* color: #cfd8ff; */
    color: #000000;
    font-size: 18px;
    margin-right: 12px;
    transition: 0.3s;
}

.footer-social a:hover {
    color: #00c6ff;
}
/* UNDO COLOR IF REQ */
/* .footer-bottom {
    background: radial-gradient(circle at top right, #12329c, #2844b5, #0f1b3d);
    padding: 15px 0;

    font-size: 13px;
} */
.footer-bottom {
    background: #ffffff;
    padding: 15px 0;

    font-size: 13px;
}

/* Projects */

/* .projects-page {
    margin-top: 30px;
} */
.projects-page {
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
}

.project-card {
    border-radius: 16px;
    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: black;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.video-thumbnail:hover .thumbnail-img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: white;
    opacity: 0.9;
    pointer-events: none;
    transition: 0.3s;
}

.video-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
}

/* ********************************************************************* */
/* Workshops Section    */

body {
    background: #f4f6fb;
}

.workshops-page-container {
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
}

.page-wrapper {
    padding: 30px;
    margin: 0px 30px;
}

/* =============================
   BUTTON
============================= */

.hack-btn {
    background: #2f5be7;
    color: white;
    border-radius: 30px;
    padding: 10px;
    font-weight: 600;
    border: 2px solid #4a74ff !important;
    transition: all 0.25s ease;
}

.hack-btn:hover {
    background: #00c6ff !important;
    color: white !important;
    box-shadow: 0 8px 20px rgba(47, 91, 231, 0.7);
}

.hack-btn:disabled {
    background: #48494b !important;
    border: none !important;
    color: #fff !important;
    cursor: not-allowed !important;
}

/* =============================
   CAROUSEL WRAPPER
============================= */

.carousel-wrapper {
    position: relative;
    padding: 0 50px;
}

.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

/* =============================
   CARD WIDTH
============================= */

.carousel-item-card {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 12px;
}

/* =============================
   ARROWS
============================= */

.crousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    cursor: pointer;
    transition: all 0.2s ease;
}

.crousel-btn i {
    font-size: 20px;
    color: #333;
}

.left-btn {
    left: 0;
}

.right-btn {
    right: 0;
}

.crousel-btn:hover {
    background: #0d6efd;
}

.crousel-btn:hover i {
    color: #fff;
}

.crousel-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* =============================
   WORKSHOP CARD
============================= */

.hack-card {
    position: relative;
    background: #ffffff;
    margin-top: 90px;
    margin-bottom: 15px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    padding: 120px 20px 25px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
    text-align: center;
    min-height: 360px;
}

.hack-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

/* =============================
   IMAGE CONTAINER
============================= */

/* Image floating from top */
.hack-image-container {
    position: absolute;
    top: -75px;
    left: 50%;
    transform: translateX(-50%);

    width: 180px;
    height: 180px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #efefef; /* grey background like before */
    border-radius: 16px;

    padding: 14px;
}

/* Image */
.hack-image-container img {
    max-width: 180px;
    max-height: 180px;

    object-fit: contain; /* prevents cutting */
    object-position: center;

    display: block;
}

/* =============================
   CONTENT
============================= */

.hack-content {
    position: relative;
    z-index: 1;
}

/* Title */

.hack-title {
    font-weight: 700;
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 4px;
}

.hack-sub-title {
    font-size: 14px;
    margin-bottom: 10px;
    color: #374151;
}

/* Location */

.event-location {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
}

/* Mode */

.hack-mode {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 12px;
}

/* Date */

.event-date {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 18px;
}

/* =============================
   RESPONSIVE
============================= */

/* Tablet */

@media (max-width: 992px) {
    .carousel-item-card {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .carousel-wrapper {
        padding: 0 40px;
    }
}

/* Mobile */

@media (max-width: 576px) {
    .carousel-item-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .carousel-wrapper {
        padding: 0 20px;
    }

    .hack-card {
        padding: 100px 20px 25px;
        min-height: auto;
    }

    .hack-image-container {
        width: 140px;
        height: 140px;
        top: -60px;
    }

    .hack-title {
        font-size: 15px;
    }

    .hack-sub-title {
        font-size: 13px;
    }
}
/* **** GALLERY SECTION ***** */

.gallery-card {
    position: relative;
    overflow: hidden;
    cursor: none;
    border-radius: 6px;
    transition: 0.5s ease;
}

.gallery-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.5s ease;
}

/* Hover Zoom */
.gallery-card:hover img {
    transform: scale(1.05);
    object-fit: contain;
}

/* Expanded */
.gallery-item.expanded {
    flex: 0 0 100%;
    max-width: 100%;
}

.gallery-item.expanded img {
    height: auto;
    max-height: 90vh;
}

/* Blur Others */
.gallery-row.active .gallery-item:not(.expanded) {
    opacity: 0.4;
    transform: scale(0.98);
    transition: 0.4s ease;
}

/* Floating Cursor */
.zoom-cursor {
    position: absolute;
    pointer-events: none;
    transform: translate(-50%, -50%);
    background: black;
    color: white;
    padding: 10px 16px;
    font-size: 26px;
    border-radius: 4px;
    opacity: 0;
    transition: 0.15s ease;
    z-index: 9999;
}

/* UNDO COLOR */
.gallery-section {
    background: radial-gradient(
        circle at top right,

        #3553c8,
        #2f5be7,
        #5d78ff
    ) !important;
}

/* Publications CSS */

.publications-page-container {
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
}

.publication-card {
    border-radius: 14px;
    transition: all 0.3s ease;
    padding: 10px;
    background: #ffffff;
}

.publication-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

/* Title Styling */
.publication-title a {
    color: #000;
    text-decoration: underline; /* Underline initially */
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

/* Hover effect on title */
.publication-title a:hover {
    color: #0d6efd;
    text-decoration-thickness: 2px;
}
