        :root {
            --navy: #0c1f35;
            --border: #e2ddd6;
        }
        
/* --- LOGO SIZING FIX --- */
.custom-navbar .navbar-brand img {
    max-height: 55px; /* Change this number to make it bigger/smaller */
    width: auto; /* Ensures the logo doesn't stretch horizontally */
    object-fit: contain; /* Keeps the image sharp and perfectly scaled */
    transition: all 0.3s ease; /* Smooth transition if navbar shrinks on scroll */
}

/* Optional: Make it slightly smaller on mobile devices */
@media (max-width: 768px) {
    .custom-navbar .navbar-brand img {
        max-height: 40px; 
    }
}        

/* HERO SECTION */

.hero {
    position: relative;
    /* background: radial-gradient(circle at top right, #1a2a6c, #0f1b3d, #050c23); */ /*UNDO IF*/

    color: #fff;
    padding: 30px 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 {
    width: 100%;
    min-width: 520px;

    height: 100% ;
    max-height: 510px;
    

    object-fit: contain;
    display: block;

    margin: 0 auto;   /* center properly */

    
}


.hero-slider .row {
    margin: 0;
}

.hero-slider .col-md-6 {
    padding: 0 15px;
}



.hero-slider .row {
    display: flex;
    align-items: center;
}

@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,
        #3553c8,
        #2f5be7,
        #5d78ff
    ) !important;
    color: #fff;
    overflow: hidden;
    padding: 30px 0;
}

/* GRID LAYER */
.hero-slider::before {
    content: "";
    position: absolute;
    inset: 0;

    /* grid lines */
    background-image:
        linear-gradient(rgba(255,255,255,0.9) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.9) 1px, transparent 1px);
    background-size: 25px 25px;

    /* hide by default */
    opacity: 0;

    /* smooth */
    transition: opacity 0.2s ease;

    pointer-events: none;

    /* MOVE MASK AND FILTER TO THE BASE STATE */
    -webkit-mask-image: radial-gradient(
        circle 150px at var(--x, 50%) var(--y, 50%),
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,0.8) 30%,
        rgba(0,0,0,0.4) 55%,
        transparent 80%
    );

    mask-image: radial-gradient(
        circle 150px at var(--x, 50%) var(--y, 50%),
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,0.8) 30%,
        rgba(0,0,0,0.4) 55%,
        transparent 80%
    );

    filter: drop-shadow(0 0 6px rgba(255,255,255,0.4))
            drop-shadow(0 0 12px rgba(255,255,255,0.25));
}

/* SPOTLIGHT EFFECT */
.hero-slider:hover::before {
    /* HOVER ONLY TRIGGERS THE FADE IN */
    opacity: 1;
}
/*Plain BG*/
/*.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: 30px 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: 25px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #777;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active,
.dot:hover {
    background-color: #00c6ff;
    transform: scale(1.3);
}

.slider-toggle {
    border: 2px solid #ffffff;
    background: transparent;
    color: #fff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.slider-toggle:hover {
    background: #00c6ff;
    transform: scale(1.1);
}
.hero-frame {
    position: relative;
    width: 100%;
}

/* COMMON IMAGE STYLE */
.hero-frame img {
    width: 100%;
    height: 115%;
    object-fit: cover;   /* ensures proper cropping */
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* FIRST IMAGE */
.frame-top {
    width: 85%;                 /* increased width */
    aspect-ratio: 16 / 9;       /* controls height */
    margin-bottom: 25px;
   
    z-index: 2; 
}
.frame-top img {
    position: relative;
    z-index: 2;
}

/* SECOND IMAGE (starts AFTER first) */
.frame-bottom {
    width: 85%;                 /* increased width */
    aspect-ratio: 16 / 9;       /* shorter height */
    margin-left: auto;
}

.frame-bottom img {
    position: relative;
    z-index: 2;
}
/* SHAPES (keep absolute, they don't affect layout) */
.frame-square {
    position: absolute;
    width: 220px;
    height: 200px;
    border: 5px solid rgba(0, 198, 255, 0.6);
    top: 30%;
    left:65%;
    right: 1%;
    border-radius: 8px;
     z-index: 1; 
}

.frame-dots {
    position: absolute;
    width: 120px;
    height: 120px;
  
    top:83%;
    left: 2%;
    background: radial-gradient(#00c6ff 2px, transparent 2px);
    background-size: 10px 10px;
    border-radius: 50%;
    opacity: 0.3;
}

/* =============================================
   MOBILE VIEW — HERO SLIDER
   ============================================= */
@media (min-width: 769px) and (max-width: 991px) {

  /* --- Slider wrapper --- */
  .hero-slider {
    padding: 28px 0 65px;
  }

  /* --- Container padding --- */
  .slide .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* --- Row stays two-column but compressed --- */
  .slide .row {
    flex-wrap: nowrap;
    align-items: center;
    gap: 16px;
  }

  /* --- Text column --- */
  .col-md-7 {
    flex: 0 0 55%;
    max-width: 55%;
    padding-right: 10px;
  }

  .hero-tag {
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
  }

  .hero-text h1 {
    font-size: 28px;
    line-height: 1.35;
    margin-bottom: 14px;
  }

  .hero-text p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .hero-btn {
    padding: 10px 22px;
    font-size: 14px;
  }

  /* --- Image column --- */
  .col-md-5 {
    flex: 0 0 45%;
    max-width: 45%;
    padding-left: 0;
  }

  /* --- Hero frame --- */
  .hero-frame {
    width: 100%;
    position: relative;
  }

  /* Both image containers */
  .frame-top,
  .frame-bottom {
    width: 88%;
    aspect-ratio: 16 / 9;
  }

  .frame-top {
    margin-bottom: 16px;
    margin-left: 0;
  }

  .frame-bottom {
    margin-left: auto;
    margin-right: 0;
  }

  /* Decorative square */
  .frame-square {
    width: 130px;
    height: 115px;
    border-width: 4px;
    top: 30%;
    left: 62%;
  }

  /* Dot pattern */
  .frame-dots {
    width: 90px;
    height: 90px;
    background-size: 9px 9px;
    top: 82%;
    left: 2%;
  }

  /* --- Dots nav --- */
  .slider-dots {
    bottom: 18px;
    gap: 10px;
  }

  .dot {
    width: 9px;
    height: 9px;
  }

  .slider-toggle {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
}
/* =============================================
   COMBINED BELOW 991px — stack to column
   for narrow tablets and all phones
   ============================================= */

@media (max-width: 768px) {

  .hero-slider {
    padding: 24px 0 60px;
  }

  .slide .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .slide .row {
    flex-direction: column;
    gap: 24px;
  }

  .hero-text {
    text-align: center;
  }

  .col-md-7,
  .col-md-5 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
  }

  .hero-tag {
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .hero-text h1 {
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 12px;
  }

  .hero-text p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .hero-btn {
    padding: 10px 22px;
    font-size: 14px;
  }

  .hero-frame {
    width: 90%;
    margin: 0 auto;
  }

  .frame-top,
  .frame-bottom {
    width: 80%;
    aspect-ratio: 16 / 9;
  }

  .frame-top {
    margin-bottom: 14px;
    margin-left: 0;
  }

  .frame-bottom {
    margin-left: auto;
  }

  .frame-square {
    width: 100px;
    height: 90px;
    top: 32%;
    left: 60%;
    border-width: 3px;
  }

  .frame-dots {
    width: 70px;
    height: 70px;
    background-size: 8px 8px;
  }

  .slider-dots {
    bottom: 16px;
    gap: 8px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }

  .slider-toggle {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
}

@media (max-width: 400px) {
  .hero-text h1 {
    font-size: 19px;
  }

  .hero-frame {
    width: 100%;
  }

  .frame-top,
  .frame-bottom {
    width: 75%;
  }

  .frame-square {
    width: 80px;
    height: 72px;
    border-width: 2px;
  }
}
/*********** 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;
}
/*Check spacing*/
.navbar-nav .nav-link {
    color: #ffffff;
    margin: 0 9px;
    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, #33d4ff, #338eff);
    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 */
.logo-img {
    display: block;
    height: 50px;
    width: auto;
    object-fit: contain;
    
    /* Layered filter for maximum luminance */
    filter: 
        drop-shadow(0 0 4px #fff)   /* The bright "inner" core */
        drop-shadow(0 0 10px #fff)  /* The middle "hot" glow */
        drop-shadow(0 0 20px rgba(255, 255, 255, 0.99)); /* The wide "aura" */
}

/* 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 
================================= */

/* 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: #ffffff;
    text-decoration: none;
    padding: 6px 0;
    font-size: 14px;
    transition: all 0.25s ease;
}

/* Hover effect */
.mega-item:hover {
    color: #ffffff;
    font-weight:bold;
    padding-left: 6px;
}

/* Optional subtle vertical divider */
.mega-menu .row > div:not(:last-child) {
    border-right: 1px solid #00c6ff;
}

.nav-link.active, .mega-item.active {
    color:#ffd700;
    font-weight: bold;
    
}
/* 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;
    }
}
#userDropdown {
    color: #ffd700 !important; /* gold/yellow */
}

/* 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;*/
/*}*/


/*New CSS*/
.custom-mega {
    position: relative;
}

.custom-mega .mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 15px 20px;
       background: radial-gradient(
        circle at top right,
        #4a6cff,
        #3f6dff,
        #7a94ff
    );

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
}

.custom-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* Arrow base */
.nav-arrow {
    width: 6px;
    height: 6px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
    transition: all 0.3s ease;
    margin-top: 2px;
    
}

/* Rotate on hover */
.custom-mega:hover .nav-arrow {
    transform: rotate(225deg); /* flips upward */
}

/* Optional smooth color change */
.custom-mega:hover .nav-arrow {
    border-color: #00c6ff;
}

@media (max-width: 991.98px) {

    /* Make dropdown behave like normal block */
    .custom-mega .mega-menu {
        position: relative;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none; /* hidden initially */
        padding: 10px 15px;
    }

    /* Show when active */
    .custom-mega.active .mega-menu {
        display: block;
    }

    /* Arrow rotation on open */
    .custom-mega.active .nav-arrow {
        transform: rotate(225deg);
    }
}

/* ===== ACCOUNT DROPDOWN (MATCH MEGA MENU) ===== */

.custom-account {
    position: relative;
}

/* Same style as your custom mega menu */
.custom-account .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;

    padding: 15px 20px;

    background: radial-gradient(
        circle at top right,
        #4a6cff,
        #3f6dff,
        #7a94ff
    );

    border: none;
    border-radius: 8px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* SHOW ON HOVER (same as mega menu) */
.custom-account:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

/* Remove Bootstrap default styles */
.custom-account .dropdown-item {
    background: transparent !important;
    padding: 6px 0;
}

/* Arrow rotation like other menus */
.custom-account:hover .nav-arrow {
    transform: rotate(225deg);
    border-color: #00c6ff;
}
/* FORCE ACTIVE OVER text-white */
.dropdown-menu .mega-item.active {
    color: #ffd700 !important;
}

/* 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: 20px 0 0;
}

.footer-logo {
    color: #1e40af;
    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;
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 10px;

    background: radial-gradient(
        circle at top right,

        #3553c8,
        #2f5be7,
        #5d78ff
    );
    color: #fff;

    border: none;
    padding: 10px 16px;
    border-radius: 8px;

    font-size: 14px;
    cursor: pointer;

    display: none; /* hidden initially */
    z-index: 999;

    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


/* Hover effect */
.back-to-top:hover {
    background: #ffffff;
    color:#000;
    transform: translateY(-2px);
}
/* 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: #0056d2 !important;
    color: #fff !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: #374151;
    margin-bottom: 10px;
}

/* Mode */

.hack-mode {
    font-size: 13px;
    color:  #4b5563;
    margin-bottom: 12px;
}

/* Date */

.event-date {
    font-size: 13px;
    color: #374151;
    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;
}

/*Not Useful from Line 1587-1647*/
/*STEPPER*/

/*.step-wrapper {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: space-between;*/
/*    position: relative;*/
/*}*/

/*.step-item {*/
/*    text-align: center;*/
/*    position: relative;*/
/*    z-index: 2;*/
/*}*/

/*.step-circle {*/
/*    width: 40px;*/
/*    height: 40px;*/
/*    border-radius: 50%;*/
/*    background-color: #ddd;*/
/*    color: #555;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    font-weight: bold;*/
/*    margin: 0 auto;*/
/*}*/

/*.step-label {*/
/*    margin-top: 6px;*/
/*    font-size: 13px;*/
/*    color: #777;*/
/*}*/

/* Active Step */
/*.step-item.active .step-circle {*/
/*    background-color: #0d6efd;*/
/*    color: #fff;*/
/*}*/

/*.step-item.active .step-label {*/
/*    color: #0d6efd;*/
/*    font-weight: 600;*/
/*}*/

/* Completed Step */
/*.step-item.completed .step-circle {*/
/*    background-color: #28a745;*/
/*    color: #fff;*/
/*}*/

/* Line */
/*.step-line {*/
/*    position: absolute;*/
/*    top: 20px;*/
/*    left: 15%;*/
/*    right: 15%;*/
/*    height: 3px;*/
/*    background-color: #ddd;*/
/*    z-index: 1;*/
/*}*/
/*Not Useful upto Line 1587-1647*/

        .workshop-registration-container {
            border-bottom: 1px solid #eee;
            padding-bottom: 25px;
        }

        /* --- NEW PROGRESS BAR STYLES --- */
       
.progress-wrap { background: #fff; border-bottom: 1px solid var(--border); padding: 1.5rem 2rem; margin-bottom: 2.5rem; }
    
    .prog-step { display: flex; align-items: center; gap: 12px; opacity: 0.5; transition: 0.3s; }
    .prog-step.active, .prog-step.done { opacity: 1; }

    .prog-num {
        width: 42px; height: 42px; border-radius: 50%; background: #dee2e6;
        display: flex; align-items: center; justify-content: center; font-weight: 600; color: #6c757d; font-size: 14px; transition: 0.3s;
    }
    .prog-step.active .prog-num { background: #0d6efd; color: #fff; } /* Active Blue */
    .prog-step.done .prog-num { background: #84b79f; color: #fff; font-size: 18px; } /* Done Green */

    .prog-label { font-weight: 600; color: var(--navy); }
    .prog-sub { font-size: 12px; color: #6c757d; }

    .progress { height: 7px !important; background: #e9ecef; border-radius: 10px; overflow: hidden; margin-top: 15px; }
    .progress-bar { background: linear-gradient(90deg, #3553c8, #2f5be7); transition: width 0.4s ease; }
