/* ============================ style.css ============================ */

/* Example custom fonts */
@font-face {
    font-family: 'venera-900';
    src: url('../fonts/Venera-900.otf') format('otf');
}

/* Background image for hero section */
.bg-img {
  background-image: url('../images/bg.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  /* background-attachment: fixed;  We'll override on mobile below */
  width: 100%;

  /*
    We keep display: flex so the nav + hero-content can stack vertically,
    but do NOT remove or reorder any existing features.
  */
  display: flex;
  flex-direction: column;
}

/*
  The .hero-content wrapper ensures the hero text is centered on desktop
  and can shrink on mobile.
*/
.bg-img .hero-content {
  min-height: 100vh;  /* Full screen height on desktop */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 15px;    /* Horizontal padding on smaller screens */
}

/* On smaller screens, reduce the hero content's height so it doesn't overflow */
@media (max-width: 780px) {
  .bg-img .hero-content {
    min-height: 60vh;
  }
}

@media (max-width: 780px) {
    h1 {
      font-size: 2.4rem !important; /* or whatever smaller size you prefer */
    }
  }
  
/* Mobile-specific override for hero background (e.g. using a smaller image) */
@media (max-width: 780px) {
  .bg-img {
    background-image: url('../images/bg.png');
    background-size: cover;
    background-attachment: scroll;  /* remove fixed to fix iOS issues */
  }
}

/* Navbar links */
#navbarNav .nav-item .nav-link {
    font-family: 'venera-3', sans-serif;
    color: white !important;
    /* Adjust as needed; removing extra top margin can help alignment */
}

/* Gold-ish button style for Whitepaper link */
.btn-touch {
    background-color: #CF9944;
    padding: 0px 15px;
}

/* Headings */
h1 {
    font-family: 'venera-900';
    font-size: 3.7rem;
    font-weight: bold;
}

/* Hover float effect on cards */
.hvr-float {
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.hvr-float:hover,
.hvr-float:focus,
.hvr-float:active {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
}

/* Active nav link style */
.active {
    font-weight: bold !important;
}

/* Hero buttons */
.btn-call {
    background-color: #330045;
    padding: 8px 20px;
    font-family: 'Poppins', sans-serif;
}
.btn-call2 {
    border: 1px solid white;
    padding: 8px 20px;
    font-family: 'Poppins', sans-serif;
}

/* Paragraphs */
p {
    font-family: 'Poppins', sans-serif;
    color: #585858;
}

/* About card styling */
.about-card {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border: 1px solid transparent;
}
.about-card:hover {
    border: 1px solid rgba(51, 0, 69, 1);
    cursor: pointer;
}

/* Main color / headings */
.color-blue {
    color: #330045;
}

/* "How it works" cards */
.card-color {
    background-color: #FFFBF4;
}
.card-color p {
    font-size: 0.8rem;
}

/* Virtual World cards */
.virtual-card {
    background-color: #F6EEE9;
}
.virtual-card p {
    background-color: #F6EEE9;
    font-size: 0.8rem;
}

/* Social icon hover states */
#link a #b {
    display: none;
}
#link a:hover #b {
    display: inline;
}
#link a:hover #a {
    display: none;
}

/* Smaller text in footer */
.size {
    font-size: 0.8rem;
}

/* Footer background */
.fotor-bg {
    background-color: #330045;
    color: white;
}
.fotor-bg .footer-text {
    color: white;
}

/* Footer form input and button */
.input-group .rounded {
    padding: 21px 13px;
}
.input-group ::placeholder {
    font-size: 0.8rem;
}
.input-group .btn-search {
    position: absolute;
    right: 0;
    margin-top: 0.4rem;
    margin-right: 0.7rem;
}
.btn-search {
    background-color: #CF9944;
    border-radius: 3px;
    font-size: 0.7em;
    border: 1px solid #CF9944;
    font-weight: 500;
    color: white;
    padding: 6px 16px;
}

/* Roadmap background */
.bg-road {
    background-image: url('../images/bg-raod.png');
    background-repeat: no-repeat;
    width: 100%;
    background-size: 100% 100% !important;
    background-attachment: fixed;
    background-position: center;
}

/* Additional background for About us */
.bg-color {
    background-image: url('../images/bg-img.png');
    background-repeat: no-repeat;
    width: 100%;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

/* Adjust heading size on narrower screens */
@media (max-width: 400px) {
    h1 {
        font-size: 2.4rem;
    }
    .bg-road {
        background-image: url('../images/bg-raod.png');
        width: 100%;
        background-size: auto 100% !important;
    }
    .bg-color {
        background-image: url('../images/bg-img.png');
        width: 100%;
        background-size: auto 100% !important;
    }
}

/* Animated path lines (just for effect) */
.path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 5s linear forwards infinite;
}
@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}
