/* ------- Base Layout ---------- */
html, body {
    width: 100%;
    height:100%;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    color: white;
    overflow-x: hidden;
}

body {
    background: radial-gradient(circle at center, #141518, #01040a);
    min-height: 100vh;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
} 

.blur-background {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* ---------- Heading ---------- */

.heading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    padding-top: 120px;
    margin-bottom: 100px;
}

.blurred-heading {
    color: white;
    border-radius: 15px;
    text-align: center;
}

.main-heading{
    /* font-size: 4rem; */
    font-size: 3rem;
    font-family: 'Open Sans', sans-serif;
}

/*---------------------vault video------------------*/

/* #video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 9999;
}

#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#video-progress-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    display: flex;
    align-items: center;
    gap: 15px;
}

#video-progress {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

#progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 10px;
    transition: width 0.1s linear;
}

#progress-text {
    color: white;
    font-size: 16px;
    font-weight: bold;
    min-width: 45px;
    text-align: right;
} */

/*------------------------------cursor responsive bar graph --------------------------------------------*/

.info-image-card{
    gap: 20px;
}

.iso-bar-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.iso-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 60px;
  position: relative;
}

/* Each bar */
.iso-bar {
    position: relative;
    width: 60px;
    height: 240px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: visible;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
    z-index: 1;
    cursor: pointer;
}

/* Glowing fill (from previous favorite CSS) */
.iso-bar-inner {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 5%;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--color1), var(--color2));
  transition: height 0.8s cubic-bezier(0.25, 0.8, 0.3, 1);
  transform-origin: bottom;
}

/* Hover height expansion */
.iso-bar:hover .iso-bar-inner {
  height: var(--bar-height);
}

/* Labels */
.iso-label {
    position: absolute;
    bottom: -50px;           
    left: 50%;              
    transform: translateX(-50%);  
    width: 100%;             
    text-align: center;      
    color: white;
    font-size: 14px;
    font-weight: 500;
    white-space: normal;    
    text-shadow: 0 0 6px rgba(0,0,0,0.5);
    pointer-events: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    z-index: 2;
}


.iso-bar:hover .iso-label {
  color: var(--color1);
  text-shadow: 0 0 12px var(--color1);
}

/* Base glowing line (optional) */
.iso-bar-chart::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;             
    transform: translateX(-50%) translateZ(-50px);  
    width: calc(100%);      
    max-width: 100%;       
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    filter: blur(2px);
    z-index: 0;
}

/*-------------------------------------------------------------------------*/

.nested-info {
    border-radius: 20px;
    flex: 0 0 60%;
    max-width: 565px;
    color: white;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nested-info h3 {
    font-size: 28px;
    margin-top: 0;
    color: white;
}

.nested-info p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.custom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 38px;
    padding: 8px 10px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.2;
}

/* Quick Apply  button*/
.primary-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #00f2ff;
    animation: sparkle 2s linear infinite;
    backdrop-filter: blur(1px);
    text-decoration: underline;
    border: none;
}

/* Login / Logout */
.green-btn {
    background-color: #28a745;
    color: white;
    border: none;
}


/* Sign up */
.outline-btn {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.apply-button:hover {
    background-color: #009edc;
}

.text-center h4{
    font-size: 2.2rem;
}

.center-content{
    font-size: 1.1rem;
}

.funding-bar:hover{
    transform: translateY(-5px);
    box-shadow: 0 1px 10px #00f2ff, inset 0 1px 0 #00f2ff; 
}


/* ---------- Animations ---------- */

@keyframes floatIdle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes glowPulse {
    0% {
        filter: drop-shadow(0 0 20px rgba(0, 195, 255, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 50px rgb(0, 195, 255));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(0, 195, 255, 0.4));
    }
}

/* Shimmer animation */
@keyframes iridescentBW {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}

/* ---------- Footer ---------- */
.footer {
    position: relative;
    padding: 20px;
    text-align: center;
    min-height: 250px;
    flex-shrink: 0;
    background: radial-gradient(circle at center, #24262b, #01040a);
    z-index: 0; 
    overflow: hidden; 
    
}

.footer a {
    color: grey;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
    text-decoration: underline;
}

.footer-logo {
    max-width: 160px;
    height: auto;
    padding-left: 30px;
}

.col-md-4.text-md-end {
    display: flex;
    justify-content: flex-end; 
    align-items: flex-end;  
}

#vanta-footer {
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: 100%;
}

#vanta-footer .container-fluid {
  position: relative;
  z-index: 2; 
}

/* Make Vanta canvas cover full footer */
#vanta-footer canvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    background: radial-gradient(circle at center, #24262b, #01040a);
}


.footer-column {
  flex: 1 1 auto;
  margin: 20px 0; 
  padding: 0 10px; 
  max-width: 180px;
}

.footer-column h5 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #00f2ff;
  text-align: left;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
  text-align: left;
  justify-content: center;
}

.footer-column ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #0044ff;
}

.footer-whole-column {
    display: flex;           
    flex-wrap: wrap;        
    justify-content: center; 
    align-items: flex-start; 
    max-width: 1000px;       
    margin: 0 auto;         
}


@media (max-width: 1200px) {
    
    .main-heading {
        font-size: 45px;
    }

    .iso-bar-wrapper{
        width: 70vw;
        max-width: 350px;
        margin-bottom: 60px;
    }

    .iso-bar-chart::after{
        margin: 0 auto;
    }

    .iso-bar-chart{
        gap: 40px;
    }

    .iso-bar{
        width: 40px;
    }

    .iso-label{
        bottom: -60px;
    }

    .nested-info h3{
        font-size: 25px;
    }

    .nested-info p{
        font-size: 15px;
    }

    .navbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-brand {
        margin-bottom: 15px;
        margin-right: 0;
    }

    .navbar-collapse {
        width: 100%;
        padding: 0;
        margin-top: 0;
        box-shadow: none;
        background: none;
    }

}

@media (max-width: 768px) {
    
    .main-heading {
        font-size: 28px;
    }

    .heading-container{
        padding-top: 50px;
        margin-bottom: 40px;
    }

    .nested-info{
        margin-top: 60px !important;
    }

    .nested-info h3 {
        font-size: 20px;
    }

    .blurred-heading {
        padding: 40px 20px;
    }

    .nested-info p{
        justify-content: center;
        text-align: center;
    }

    .iso-bar-wrapper{
        width: 70vw;
        max-width: 300px;
    }

    .iso-label{
        white-space: normal;
        bottom: -60px;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .navbar-brand {
        margin-right: 10px;
    }

    .footer-logo{
        margin: 0 auto !important;
    }

    .navbar-brand img {
        width: 200px; 
    }

    .navbar-toggler {
        order: 2;
        margin-left: auto; 
    }

    .navbar-collapse {
        width: 100%;
        order: 3; 
        display: none; 
        flex-direction: column;
    }

    .navbar-collapse.show {
        display: flex; 
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .nav-item {
        margin: 8px 0;            
    }

    .nav-link {
        white-space: nowrap;     
    }

    .text-center h4{
        font-size: 22px;
    }

    .center-content{
        font-size: 17px;
    }
    
    .footer-column {
        display: flex;
        flex-direction: column;
        align-items: center !important;
    }

    .footer-logo {
        order: 1;
        margin: 0 auto;
        padding-left: 0 !important;
    }

    .footer-address {
        order: 2;
    }

    .col-md-4.text-md-end {
        display: flex;
        justify-content: center; 
        align-items: center;    
    }
}


