* {
    box-sizing: border-box;
}

    html{
        scroll-behavior: smooth;
    }
body {
    margin: 0;
    padding: 10px 15px;
    color: black;
    font-family: 'Montserrat', sans-serif;
}


:root {
    --praymary-color: #0A0D11;
    --secondary-color: #3ECEC6;
    --text-color: #555E67;
}

header {
    display: flex;
    color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background:linear-gradient(to right, var(--praymary-color), transparent); */
    border-radius: 12px;
    background-color: var(--praymary-color);
    padding: 20px;
    background-image: url('images/minimalistic-still-life-assortment-with-cryptocurrency.jpg');
    background-position: center;
    background-size: cover;
    background-blend-mode: overlay;
    /* position: relative; */
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    /* color: white; */
    width: 100%;
    border-radius: 12px;
    transition: 1s ease;
    /* position: fixed;
    top: 20px;
      z-index: 9999; */

}

.logo img{
    width: 100%;
}

.logo{
    width: 100px;
}


.logo.sec{
    display: none;
}
.navbar.scr_oll {
    position: fixed;
    top: 10px;
    z-index: 9999;
    width: 95%;
    backdrop-filter: blur(30px);
    background-color: #0a0d11;
}

.nav-link,.link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;


}

.nav-link a {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    transition: 0.5s ease;
}

.nav-link a:hover {
    color: var(--secondary-color);
}

.loginBTN {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}


.loginBTN button {
    width: 120px;
    height: 40px;
    border-radius: 12px;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
}


.loginBTN  button:nth-child(1) {
    border: 2px solid var(--secondary-color);
    background-color: transparent;
    color: white;

}


.loginBTN button:nth-child(2) {
    background-color: var(--secondary-color);
    color: black;
}

.loginBTN.nav {
    display: none;
}

.navmobile {
    display: none;
}


.link{
    width: 100%;
}

/* =====================================hero section ================= */
.heroSection {
    width: 100%;
}

.contHero {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
}

.contHero h1 {
    font-size: clamp(2.3rem, 7vw, 3.8rem);
    font-weight: 400;
}

.contHero p {
    font-size: 1rem, 5vw, 1.2rem;
}

.investBTN {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.trust {
    font-size: clamp(0.9rem, 5vw, 1rem);
    width: 100%;
    margin-top: 20px;
}

.investBTN button {
    width: 100%;
    max-width: 350px;
    height: 70px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    font-weight: 500;
    justify-content: space-between;
    border: none;
    border-radius: 8px;
}

button {
    color: black;
}

#arrow {
    position: absolute;
    right: 0;
    margin-right: 10px;
    transform: rotate(320deg);
    top: 0;
    margin-top: 10px;
    font-size: 1.2rem;
}

a {
    text-decoration: none;
}

.investBTN button:nth-child(1) {
    background-color: var(--secondary-color);
    position: relative;
}

.investBTN button:nth-child(2) {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: white;
}


/* =================================== about us ==================*/

.about {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    margin-top: 90px;
}

.about h1 {
    text-align: start;
    font-size: clamp(1.1rem, 5vw, 2rem);
    font-weight: 500;
}

.aboutCard {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;


}

.aboutCard.sec {
    flex-direction: row-reverse;
    align-items: center;

}

.aboutCard .AboutImage {
    width: 100%;
    max-width: 500px;
    height: 400px;
}

.AboutImage.ft {

    background-image: url('images/31827b4a0cff89d5cd00df5676764570.jpg');
    background-position: center;
    background-size: cover;
    border-radius: 8px;
}

.AboutImage.sec {
    background-image: url('images/moneybtc.jpg');
    background-position: center;
    background-size: cover;
    border-radius: 8px;


}

.aboutTXT {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.aboutTXT button {
    width: 120px;
    height: 45px;
    border: 2px solid var(--secondary-color);
    background-color: transparent;
    border-radius: 12px;

}

.aboutTXT span {
    font-weight: 600;
    font-size: 1.1rem;
}

.aboutCard p {
    width: 100%;
    max-width: 500px;
    line-height: 1.5;
    font-size: 1rem;
}




/* ========= features ======================== */



.features {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: auto;
    justify-content: end;
    margin-top: 80px;


}

.features h1 {
    font-size: clamp(1.1rem, 5vw, 2rem);
    font-weight: 500;
    width: fit-content;
    padding: 20px 0px;
    margin-left: 30px;

}

.why-cardDiv {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;


}

.why-cardDiv .card {

    width: 100%;
    max-width: 400px;
    padding: 20px;
    border: 1px solid var(--text-color);
    border-radius: 8px;
    /* background-image: url('images/3d-cryptocurrency-rendering-design.jpg'); */
    
    height: 400px;
    color: white;
    background-position: center;
    background-size: cover;
    background-blend-mode: overlay;
    background-color: #0a0d11f8;
    transition: 0.5s ease;
    display: flex;
    justify-content: end;
    align-items: start;
    flex-direction: column;
}




.why-cardDiv .card:hover {
    background-color: #0A0D11;
    transform: translateY(-10px);
}


/* .card.spec{
    width: 100%;
    max-width: 800px;
    display:flex;
justify-content:center;
gap:60px;
margin-top:80px;
flex-wrap:wrap;
} */

.why-cardDiv .card:nth-child(1) {
    background-image: url('images/gold-bitcoin-padlock.jpg');

}

.why-cardDiv .card:nth-child(2) {
    background-image: url('images/3d-cryptocurrency-rendering-design.jpg');

}

.why-cardDiv .card:nth-child(3) {
    background-image: url('images/cryptocurrency-distribution-with-plane.jpg');

}

.why-cardDiv .card:nth-child(5) {
    background-image: url('images/stack-five-rows-coins-alarm-clock.jpg');

}

.why-cardDiv .card:nth-child(4) {
    /* background:linear-gradient(to right, var(--praymary-color),var(--praymary-color), transparent); */
    order: 5;
    border: none;
    width: 100%;
    max-width: 1300px;
    display: flex;
    justify-self: center;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 30px;
    background-image: url('images/glowing-blue-pulse-trace-analyzing-healthcare-data-generated-by-ai.jpg');
}



.progress-box {
    text-align: center;
    color: white;
}

.circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    background: conic-gradient(var(--secondary-color) 0deg, var(--text-color) 0deg);
    position: relative;
}

.circle::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: #111;
    border-radius: 50%;
}

.circle span {
    position: relative;
    z-index: 2;
}

.progress-box p {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 500;
    color: #ccc;
}



/* ====================================plan ==================== */

/* From Uiverse.io by Yaya12085 */ 

.invest{
    margin-top: 80px;
     color: black;
   
}
 


 .invest h1{
     font-size: clamp(1.1rem, 5vw, 2rem);
    font-weight: 500;
   
    padding: 20px 0px;
    text-align: center;
    margin-bottom:30px;

 }
.planCard .card {
 /* background-color: var(--praymary-color); */
    display: flex;
    flex-direction: column;
   
    padding: 15px;
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0px 2px 10px rgba(128, 128, 128, 0.616)
}

.planCard .card:nth-child(1) .planDetails{
    margin-top: -15px;
}

.header {
  display: flex;
  flex-direction: column;
}

.title {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;

}

.price {
  font-size: 3.75rem;
  line-height: 1;
  font-weight: 700;
 
}

.desc {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.625;
  color: black;
}

.planDetails{
     color: black;
}
.planDetails ul{
    line-height: 1.8;
}

.action {
  border: none;
  outline: none;
  display: inline-block;
  border-radius: 0.25rem;
  background-color: var(--secondary-color);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(17, 24, 39, 1);
  font-family: 'Montserrat', sans-serif;
}

.planCard{
    display:flex ;
    justify-content: center;
    align-items: center;
    gap:20px;
    flex-wrap: wrap;
}



/* =============== */
.marketCap{
    margin-top: 50px;
}
.carousel {
  overflow: hidden;
  width: 100%;
  background: white;
 padding: 10px;
 border-top:1px solid #808080a8 ;
  border-bottom:1px solid #808080a8  ;
  height: 50px;
}

.carousel-tracker {
  display: flex;
  height: 100%;
  gap: 25px;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.caRd {
  display: flex;
  align-items: center;
  min-width: 100px;
  width: 200px;
  justify-content: space-between;

}

.namePic {
  display: flex;
  align-items: center;
  gap: 8px;
}

.crypto-name h5 {
  margin: 0;
  font-size: 14px;
  color: black;
}

.crypto-name p {
  margin: 0;
  font-size: 12px;
  opacity: 0.7;
  color: var(--text-color);
}

.priceRate {
  text-align: right;
  
}

.priceRate .price{
    color: black;
    font-size: 0.9rem;
}

.green {
  color: #22c55e;
}

.red {
  color: #ef4444;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}





/* ======== rate .card ==================*/

.popular-crypto {
  padding: 60px 5%;
  background-color: white;
  color: black;
  text-align: center;
  margin-top: 50px;
}

.popular-crypto h1 {
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 500;
}

.crypto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.crypto-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  transition: 0.3s;
  text-align: center;
  color: black;
  box-shadow: 0 0 4px rgba(128, 128, 128, 0.37);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.crypto-card  div:nth-child(1){
    display: flex;
    align-items: center;
    gap: 15px;
}

.crypto-card:hover {
  transform: translateY(-8px);
}

.crypto-card img {
  width: 50px;
  margin-bottom: 10px;
}

.crypto-card h3 {
  margin: 10px 0 5px;
  font-size: 18px;
}

.crypto-card .symbol {
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 10px;
}

.crypto-card .price {
  font-size: 18px;
  font-weight: bold;
}

.crypto-card .change {
  font-weight: bold;
}
.crypto-card .green { color: #22c55e; }
.crypto-card .red { color: #ef4444; }



/* ====== loader spin */

.loader{
    display: flex;
    justify-content:center;
    align-items: center;
    height: 400px;
    background-color: rgba(0, 0, 0, 0.603);
}

.spin{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid gray;
    border-top: 3px solid var(--praymary-color);
    animation: spin 2s infinite;
}


@keyframes spin {
    from{
        transform: rotate(0deg);
    }to{
        transform: rotate(360deg);
    }
}



/* =======faq===== */

.faq{
    padding: 20px;
    margin-top: 80px;
    
}

.faq h1{
    font-weight: 400;
    text-align: center;
}



footer{
    height: 80px;
    border-radius: 20px 20px 0px 0px ;
    width: 100%;
    background-color: var(--praymary-color);
    color: var(--text-color);
    justify-content: center;
    align-items: center;
    display: flex;
}

footer small{
    font-weight: 600;
}



/* ====================market-highlights"============= */

/* .market-highlights {
  background: #f9fafb;
  padding: 50px 5%;
  font-family: 'Inter', sans-serif;
}

.market-highlights h2 {
  font-size: 26px;
  margin-bottom: 25px;
  color: #111827;
}

.crypto-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.crypto-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
  text-decoration: none;
  color: #111827;
}

.crypto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.crypto-card .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.crypto-card .coin-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crypto-card .coin-info img {
  width: 30px;
  height: 30px;
}

.crypto-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.crypto-card p.symbol {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

.crypto-card .price {
  font-size: 20px;
  font-weight: 700;
  margin: 15px 0 5px;
}

.crypto-card .change {
  font-weight: 600;
  font-size: 14px;
}

.crypto-card .green {
  color: #22c55e;
}

.crypto-card .red {
  color: #ef4444;
}

.crypto-card canvas {
  width: 100%;
  height: 40px;
  margin-top: 10px;
} */

@media (max-width:900px) {


    .logo.sec{
        display: flex;
        position: absolute;
        top: 0;
        margin-top: 20px;
        border-bottom: 1px solid gray;
    }
    .aboutCard {
        justify-content: center;
        margin-bottom: 20px;

        gap: 20px;
    }

    .about {
        justify-content: center;
        align-items: center;
        color: black;
        padding: 8px;


    }

    .features h1 {
        margin-left: 0px;
        text-align: center;
    }

    .why-cardDiv .card {
        max-width: 100%;
    }

    .why-cardDiv .card:nth-child(4) {
        flex-direction: column;
        order: 5;
        height: auto;
        align-items: center;
    }

    .why-cardDiv {
        justify-content: center;
    }

    .navmobile {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 5px;
        border-radius: 3px;
        gap: 5px;
        transition: 0.5s ease;
    }

    .navmobile:hover {
        transform: scale(1.1);
        box-shadow: 0px 5px 5px var(--secondary-color);
    }

    .navmobile span {
        width: 20px;
        height: 2px;
        background-color: white;
    }

    .loginBTN {
        display: none;
    }

    .loginBTN.nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 20px;
        gap: 20px;
    }

    .loginBTN.nav button{
        width: 100%;
    }

    nav {
        padding: 5px;
    }

    .loginBTN {
        gap: 10px;
    }

    .loginBTN button {
        width: 90px;
    }

    .nav-link {
        position: fixed;
        background-color: var(--praymary-color);
        flex-direction: column;
        top: 0;
        left: -1000px;
        height: 100vh;
        width: 300px;
        align-items: start;
        justify-content: center;
        padding: 15px;
        display: flex;
        transition: 0.5s ease;
        z-index: 9999;
        gap: 50px;
    }

  .link{
            flex-direction: column;
            align-items: start;
            margin-top: 40px;
  }

    .open {
        left: 0px;
    }



}