*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    /* background-color: #c81616; */
    font-family: Arial, Helvetica, sans-serif;
}

.nav{
    width: 100%;
    justify-content: center ;
    margin: auto;
    padding: auto;
    color: #ffff;
    height: 400px;
    border: 1px solid black;
    background-color: #3e3c3c;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);

}

header{
    height: 300px;
    width: 85%;
    text-align: center;
    margin: auto;
}

.tabb{
    display: flex;
    margin-top: 25px;
}

.hh{
    padding-right: 20%;
}

.hh h2 a{
  text-decoration: none;
  color: #ffffff;
}

.tabb img{
    width: 15px;
    text-align: center;
    padding: auto;
}

.tabb button a{
    text-decoration: none;
    color: #000;
}

.tabb button{
    text-align: center;
    word-spacing: 5px;
    justify-content: space-evenly;
    font-size: 15px;
    border-radius: 10px;
    border: none;
    gap: 5px;
    padding: 5px 5px 5px 5px;
    
}

header .h1{
    padding-top: 120px;
}

.h1{
    width: 50%;
    text-align: center;
    margin: auto;
}

.h1 h3{
    font-size: 3rem;
}

.h1 p{
    padding-top: 10px;
    font-size: 1.5rem;
    color: #aaa1a1;
}



.wallets{
    padding-top: 80px;
    width: 60%;
    margin: auto;
    text-align: center;
}

.wallet{
    display: grid;
    grid-template-columns: auto auto auto auto;

}

.wallets button{
    width: 200px;
    height: 200px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    background: whitesmoke;
    cursor: pointer;
    border-radius: 10px;
}

.wallet button span{
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0px;
    text-transform: capitalize;
}

.wallets img{
    width: 70px;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 10px;
}

.semi{
    background-color: #3e3c3c;
    height: 250px;
    margin-top: 40px;
}

.semis{
    width: 50%;
    text-align: center;
    margin: auto;
}

.semis h2{
    color: #aaa1a1;
    font-size: 1.5rem;
    padding-top: 20px ;
    padding-bottom: 20px;
}

.semis p{
    color: #f5f0f0;
    font-size: 2rem;
}

.last{
    background-color: #3e3c3c;
    height: 250px;
}

.lasts{
    width: 50%;
    text-align: center;
    margin: auto;
    color: #f5f0f0;
}

.lasts p{
    padding-bottom: 20px;
    font-size: 1rem;
    color: #ffefef;
    word-spacing: 1.5px;
}

.footer{
    background-color: #ded2d2;
    height: 70px;
}

.footer .footers{
    width: 50%;
    text-align: center;
    margin: auto;
}

.footer .f1{
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-top: 20px;
}

.footer .f1 a {
  text-decoration: none;
  color: black;
}

.footer .f2{
    display: flex;
    gap: 5px;
    justify-content: center;
    padding-top: 5px;
}

.f2 img{
    width: 20px;
}

/* === MODAL OVERLAY FIX === */
#modalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: hidden;
}

/* Modal box (centered popup) */
#modalContent {
  width: 60%;
  /* max-width: 90%; */
  max-height: 100vh;
  overflow-y: auto;
  background: #fff;
  border: none;
  border-radius: 5px;
  padding: 25px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

/* Close button (X) */
#closeModal {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 30px;
  font-weight: bold;
  color: #444;
  cursor: pointer;
}

#closeModal:hover {
  color: red;
}

/* Disable background scroll when modal is open */
body.modal-open {
  overflow: hidden;
}


@media(max-width: 1500px){
.nav{
    width: 100%;
    justify-content: center ;
    margin: auto;
    padding: auto;
    color: #ffff;
    height: 350px;
    border: 1px solid black;
    background-color: #3e3c3c;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);

}

header{
    height: 500px;
    width: 85%;
    text-align: center;
    margin: auto;
}

.tabb{
    display: flex;
    margin-top: 25px;
}

.hh{
    padding-right: 10%;
}

.tabb img{
    width: 15px;
    text-align: center;
    padding: auto;
}

.tabb button a{
    text-decoration: none;
    color: #000;
}

.tabb button{
    text-align: center;
    word-spacing: 5px;
    justify-content: space-evenly;
    font-size: 15px;
    border-radius: 10px;
    gap: 5px;
    padding: 5px 5px 5px 5px;
    
}

header .h1{
    padding-top: 80px;
}

.h1{
    width: 60%;
    text-align: center;
    margin: auto;
}

.h1 h3{
    font-size: 3rem;
}

.h1 p{
    padding-top: 10px;
    font-size: 1.5rem;
    color: #aaa1a1;
}



.wallets{
    padding-top: 80px;
    width: 60%;
    margin: auto;
    text-align: center;
     justify-content: center;
    align-items: center;
}

.wallet{
    display: grid;
    grid-template-columns: auto auto auto auto;

}

.wallets button{
    width: 200px;
    height: 200px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    background: whitesmoke;
    cursor: pointer;
    border-radius: 10px;
}

.wallet button span{
    font-size: 1rem;
    margin-top: 0px;
    text-transform: capitalize;
}

.wallets img{
    width: 70px;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 10px;
}

.semi{
    background-color: #3e3c3c;
    height: 200px;
    margin-top: 40px;
    margin-bottom: 0;
}

.semis{
    width: 70%;
    text-align: center;
    margin: auto;
}

.semis h2{
    color: #aaa1a1;
    font-size: 1.5rem;
    padding-top: 20px ;
    padding-bottom: 10px;
}

.semis p{
    color: #f5f0f0;
    font-size: 2rem;
}

.last{
    background-color: #3e3c3c;
    height: 230px;
    margin-top: -5px;
}

.lasts{
    width: 70%;
    text-align: center;
    margin: auto;
    color: #f5f0f0;
}

.lasts p{
    margin-top: 0px;
    font-size: 1rem;
    color: #ffefef;
    word-spacing: 1.5px;
}

.footer{
    background-color: #ded2d2;
    height: 70px;
}

.footer .footers{
    width: 50%;
    text-align: center;
    margin: auto;
}

.footer .f1{
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-top: 20px;
}

.footer .f2{
    display: flex;
    gap: 5px;
    justify-content: center;
    padding-top: 5px;
}

.f2 img{
    width: 20px;
}

}


@media(max-width: 1322px){
.nav{
    width: 100%;
    justify-content: center ;
    margin: auto;
    padding: auto;
    color: #ffff;
    height: 350px;
    border: 1px solid black;
    background-color: #3e3c3c;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);

}

header{
    height: 500px;
    width: 85%;
    text-align: center;
    margin: auto;
}

.tabb{
    display: flex;
    margin-top: 25px;
}

.hh{
    padding-right: 10%;
}

.tabb img{
    width: 15px;
    text-align: center;
    padding: auto;
}

.tabb button a{
    text-decoration: none;
    color: #000;
}

.tabb button{
    text-align: center;
    word-spacing: 5px;
    justify-content: space-evenly;
    font-size: 15px;
    border-radius: 10px;
    gap: 5px;
    padding: 5px 5px 5px 5px;
    
}

header .h1{
    padding-top: 80px;
}

.h1{
    width: 60%;
    text-align: center;
    margin: auto;
}

.h1 h3{
    font-size: 3rem;
}

.h1 p{
    padding-top: 10px;
    font-size: 1.5rem;
    color: #aaa1a1;
}



.wallets{
    padding-top: 80px;
    margin: auto;
    text-align: center;
}

.wallet{
    margin: auto;
    display: grid;
    grid-template-columns:auto auto auto auto;

}

.wallets button{
    width: 180px;
    height: 200px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    background: whitesmoke;
    cursor: pointer;
    border-radius: 10px;
}

.wallet button span{
    font-size: 1rem;
    margin-top: 0px;
    text-transform: capitalize;
}

.wallets img{
    width: 70px;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 10px;
}

.semi{
    background-color: #3e3c3c;
    height: 250px;
    margin-top: 40px;
}

.semis{
    width: 70%;
    text-align: center;
    margin: auto;
}

.semis h2{
    color: #aaa1a1;
    font-size: 1.5rem;
    padding-top: 20px ;
    padding-bottom: 20px;
}

.semis p{
    color: #f5f0f0;
    font-size: 2rem;
}

.last{
    background-color: #3e3c3c;
    height: 230px;
}

.lasts{
    width: 70%;
    text-align: center;
    margin: auto;
    color: #f5f0f0;
}

.lasts p{
    padding-bottom: 20px;
    font-size: 1rem;
    color: #ffefef;
    word-spacing: 1.5px;
}

.footer{
    background-color: #ded2d2;
    height: 70px;
}

.footer .footers{
    width: 50%;
    text-align: center;
    margin: auto;
}

.footer .f1{
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-top: 20px;
}

.footer .f2{
    display: flex;
    gap: 5px;
    justify-content: center;
    padding-top: 5px;
}

.f2 img{
    width: 20px;
}

}

@media(max-width: 1134px){
.nav{
    width: 100%;
    justify-content: center ;
    margin: auto;
    padding: auto;
    color: #ffff;
    height: 400px;
    border: 1px solid black;
    background-color: #3e3c3c;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);

}

header{
    height: 500px;
    width: 90%;
    text-align: center;
    margin: auto;
}

.tabb{
    margin-top: 25px;
    flex-direction: column;
    gap: 25px;
}

.hh{
    padding-right: 0%;
}

.tabb img{
    width: 15px;
    text-align: center;
    padding: auto;
}

.tabb button a{
    text-decoration: none;
    color: #000;
}

.tabb button{
    text-align: center;
    word-spacing: 5px;
    justify-content: space-evenly;
    font-size: 15px;
    border-radius: 10px;
    gap: 5px;
    padding: 5px 5px 5px 5px;
    
}

header .h1{
    padding-top: 80px;
}

.h1{
    width: 70%;
    text-align: center;
    margin: auto;
}

.h1 h3{
    font-size: 3rem;
}

.h1 p{
    padding-top: 10px;
    font-size: 1.5rem;
    color: #aaa1a1;
}



.wallets{
    padding-top: 80px;
    margin: auto;
    text-align: center;
    align-items: center;
}

.wallet{
    align-items: center;
    margin: auto;
    display: grid;
    grid-template-columns: auto auto auto;

}

.wallets button{
    width: 170px;
    height: 200px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    background: whitesmoke;
    cursor: pointer;
    border-radius: 10px;

}

.wallet button span{
    font-size: 1rem;
    margin-top: 0px;
    text-transform: capitalize;
}

.wallets img{
    width: 70px;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 10px;
}

.semi{
    background-color: #3e3c3c;
    height: 250px;
    margin-top: 40px;
}

.semis{
    width: 80%;
    text-align: center;
    margin: auto;
}

.semis h2{
    color: #aaa1a1;
    font-size: 1.5rem;
    padding-top: 20px ;
    padding-bottom: 20px;
}

.semis p{
    color: #f5f0f0;
    font-size: 2rem;
}

.last{
    background-color: #3e3c3c;
    height: 250px;
}

.lasts{
    width: 80%;
    text-align: center;
    margin: auto;
    color: #f5f0f0;
}

.lasts p{
    padding-bottom: 20px;
    font-size: 1rem;
    color: #ffefef;
    word-spacing: 1.5px;
}

.footer{
    background-color: #ded2d2;
    height: 70px;
}

.footer .footers{
    width: 70%;
    text-align: center;
    margin: auto;
}

.footer .f1{
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-top: 20px;
}

.footer .f2{
    display: flex;
    gap: 5px;
    justify-content: center;
    padding-top: 5px;
}

.f2 img{
    width: 20px;
}

}

@media(max-width: 860px){
    .wallets button{
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    background: whitesmoke;
    cursor: pointer;
    border-radius: 10px;
}

.wallets img{
    width: 50px;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 10px;
}

.last{
    background-color: #3e3c3c;
    height: 250px;
    margin-top: 0px;
    border: none;
}

.semi{
    background-color: #3e3c3c;
    height: 220px;
    margin-top: 40px;
}


}

@media(max-width: 765px){
    .nav{
    width: 100%;
    justify-content: center ;
    margin: auto;
    padding: auto;
    color: #ffff;
    height: 450px;
    border: 1px solid black;
    background-color: #3e3c3c;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);

}

.wallets{
    padding-top: 80px;
    margin: auto;
    text-align: center;
    align-items: center;
}

.wallet{
    align-items: center;
    margin: auto;
    display: grid;
    grid-template-columns: auto auto auto;

}

.wallets button{
    width: 130px;
    height: 150px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    background: whitesmoke;
    cursor: pointer;
    border-radius: 10px;

}

.wallets img{
    width: 30px;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 10px;
}

.h1{
    width: 90%;
}

.semi{
    background-color: #3e3c3c;
    height: 220px;
    margin-top: 40px;
}

.footer .footers{
    width: 90%;
    text-align: center;
    margin: auto;
}


}


@media(max-width: 645px){
.nav{
    width: 100%;
    justify-content: center ;
    margin: auto;
    padding: auto;
    color: #ffff;
    height: 450px;
    border: 1px solid black;
    background-color: #3e3c3c;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);

}

header{
    height: 500px;
    width: 95%;
    text-align: center;
    margin: auto;
}

.tabb{
    display: flex;
    margin-top: 25px;
}

.hh{
    padding-right: 0%;
}

.tabb img{
    width: 15px;
    text-align: center;
    padding: auto;
}

.tabb button a{
    text-decoration: none;
    color: #000;
}

.tabb button{
    text-align: center;
    word-spacing: 5px;
    justify-content: space-evenly;
    font-size: 15px;
    border-radius: 10px;
    gap: 5px;
    padding: 5px 5px 5px 5px;
    
}

header .h1{
    padding-top: 80px;
}

.h1{
    width: 80%;
    text-align: center;
    margin: auto;
}

.h1 h3{
    font-size: 2rem;
}

.h1 p{
    padding-top: 10px;
    font-size: 1.5rem;
    color: #aaa1a1;
}



.wallets{
    padding-top: 80px;
    margin: auto;
    text-align: center;
}

.wallet{
    margin: auto;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: grid;
    grid-template-columns: auto auto;

}

.wallets button{
    width: 200px;
    height: 200px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    background: whitesmoke;
    cursor: pointer;
    border-radius: 10px;
}

.wallet button span{
    font-size: 1rem;
    margin-top: 0px;
    text-transform: capitalize;
}

.wallets img{
    width: 60px;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 10px;
}

.semi{
    background-color: #3e3c3c;
    height: 200px;
    margin-top: 30px;
}

.semis{
    width: 85%;
    text-align: center;
    margin: auto;
}

.semis h2{
    color: #aaa1a1;
    font-size: 1.5rem;
    padding-top: 20px ;
    padding-bottom: 20px;
}

.semis p{
    color: #f5f0f0;
    font-size: 1.5rem;
}

.last{
    background-color: #3e3c3c;
    height: 250px;
}

.lasts{
    width: 95%;
    text-align: center;
    margin: auto;
    color: #f5f0f0;
}

.lasts p{
    padding-bottom: 20px;
    font-size: 1rem;
    color: #ffefef;
    word-spacing: 1.5px;
}

.footer{
    background-color: #ded2d2;
    height: 70px;
}

.footer .footers{
    width: 90%;
    text-align: center;
    margin: auto;
}

.footer .f1{
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-top: 20px;
}

.footer .f2{
    display: flex;
    gap: 5px;
    justify-content: center;
    padding-top: 5px;
}

.f2 img{
    width: 20px;
}

}

@media(max-width: 580px){
.nav{
    width: 100%;
    justify-content: center ;
    margin: auto;
    padding: auto;
    color: #ffff;
    height: 450px;
    border: 1px solid black;
    background-color: #3e3c3c;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);

}

header{
    height: 500px;
    width: 95%;
    text-align: center;
    margin: auto;
}

.tabb{
    display: flex;
    margin-top: 25px;
}

.hh{
    padding-right: 0%;
}

.tabb img{
    width: 15px;
    text-align: center;
    padding: auto;
}

.tabb button a{
    text-decoration: none;
    color: #000;
}

.tabb button{
    text-align: center;
    word-spacing: 5px;
    justify-content: space-evenly;
    font-size: 15px;
    border-radius: 10px;
    gap: 5px;
    padding: 5px 5px 5px 5px;
    
}

header .h1{
    padding-top: 80px;
}

.h1{
    width: 80%;
    text-align: center;
    margin: auto;
}

.h1 h3{
    font-size: 2rem;
}

.h1 p{
    padding-top: 10px;
    font-size: 1.5rem;
    color: #aaa1a1;
}



.wallets{
    padding-top: 80px;
    margin: auto;
    text-align: center;
}

.wallet{
    width: 80%;
    justify-content: center;
    align-items: center;
    margin: auto;
    text-align: center;
    display: grid;
    grid-template-columns: auto auto;

}

.wallets button{
    width: 180px;
    height: 190px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    background: whitesmoke;
    cursor: pointer;
    border-radius: 10px;
}

.wallet button span{
    font-size: 1rem;
    margin-top: 0px;
    text-transform: capitalize;
}

.wallets img{
    width: 60px;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 10px;
}

.semi{
    background-color: #3e3c3c;
    height: 200px;
    margin-top: 20px;
}

.semis{
    width: 85%;
    text-align: center;
    margin: auto;
}

.semis h2{
    color: #aaa1a1;
    font-size: 1.5rem;
    padding-top: 20px ;
    padding-bottom: 20px;
}

.semis p{
    color: #f5f0f0;
    font-size: 1.5rem;
}

.last{
    background-color: #3e3c3c;
    height: 300px;
}

.lasts{
    width: 95%;
    text-align: center;
    margin: auto;
    color: #f5f0f0;
}

.lasts p{
    padding-bottom: 20px;
    font-size: 1rem;
    color: #ffefef;
    word-spacing: 1.5px;
}

.footer{
    background-color: #ded2d2;
    height: 80px;
}

.footer .footers{
    width: 95%;
    text-align: center;
    margin: auto;
}

.footer .f1{
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-top: 10px;
}

.footer .f2{
    display: flex;
    gap: 5px;
    justify-content: center;
    padding-top: 5px;
    font-size: 13px;
}

.f2 img{
    width: 20px;
}

}

@media(max-width: 1320px){
#modalContent {
  max-width: 75%;
  max-height: 100vh;
  overflow-y: auto;
  background: #fff;
  border: none;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

}

@media(max-width: 1105px){
#modalContent {
  max-width: 90%;
  max-height: 100vh;
  overflow-y: auto;
  background: #fff;
  border: none;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

}

@media(max-width: 800px){
#modalContent {
  width: 80%;
  max-height: 100vh;
  overflow-y: auto;
  background: #fff;
  border: none;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}
}

@media(max-width: 650px){
#modalContent {
  width: 90%;
  max-height: 100vh;
  overflow-y: auto;
  background: #fff;
  border: none;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}
}


@media(max-width: 490px){
#modalContent {
  width: 90%;
  max-height: 100vh;
  overflow-y: auto;
  background: #fff;
  border: none;
  border-radius: 5px;
  padding: 5px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}
}











