@import url(./utilities.css); 

.navbar, .nav-items{
    display: flex; 
    align-items: center;
}
 
.navbar{
    justify-content: space-between;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.logo img{
    width: 17rem;
}

.nav-items li{
    margin-left: 4rem;
}

.nav-items li a{
    font-weight: 600;
    color: white;
    font-size: 1.7rem;
}

.nav-items li a:hover{
    color: var(--bg-red);
    text-decoration: underline;
    transition: all .2s;
}

.nav-right{
    display: flex;
    align-items: center;
}

.login-btn:hover{
    border: 2px solid var(--bg-red);
    background-color: var(--bg-white);
    color: var(--bg-red);
    transition: all .2s;
}

.sign-up-btn:hover{
    border: 2px solid var(--bg-white);
    background-color: var(--bg-red);
    color: var(--bg-white);
    transition: all .2s;
}

/* .......................... Appointment .......................... */

.appointment{
    position: absolute;
    top: 86%;
    left: 88%;
    position: fixed;
    z-index: 995;
}

.appointment-circle{
    height: 7rem;
    width: 7rem;
    border-radius: 50%;
    position: relative;
    border: 2px solid var(--bg-white);
    background-color: var(--bg-red);
    z-index: 999;
}

.appointment-circle span{
    font-size: 3rem;
    font-weight: 700;
    position: absolute;
    padding: 1.5rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg-white);
    cursor: pointer;
}

.appointment-text{
    height: 4rem;
    width: 0rem;
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    padding: .8rem 0 0 1.5rem;
    font-weight: 600;
    border-radius: 3rem 0 0 3rem;
    background-color: var(--bg-red);
    border: 2px solid var(--bg-white);
    color: var(--bg-white);
    position: absolute;
    top: 21%;
    right: 52%;
}

.appointment-text p{
    display: none;
}

.appointment-circle:hover{
    border: 2px solid var(--bg-red);
    background-color: var(--bg-white);
}

.appointment-circle:hover span{
    color: var(--bg-red);
}

.appointment:hover .appointment-text{
    width: 23rem;
    transition: all ease-in .2s;
}

.appointment:hover .appointment-text p{
    display: block;
    transition: all ease-in 1s;
}

/* .......................... Showcase .......................... */

.showcase-bg{
    height: 80vh;
}

.bg-image img{
    width: 75rem;
    float: right;
    margin-top: 4rem;
    margin-left: 2rem;
    position: relative;
}

.search-box{
    height: 5rem;
    width: 65rem;
    border: 1px solid red;
    background-color: rgb(234, 209, 48);
    border-radius: 5rem;
    padding: 0 3rem 0 3rem;
    position: absolute;
    overflow: hidden;
    font-size: 1.5rem;
    top: 67%;
    left: 67%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 26px -13px;
}

.form-1 button.comp-btn{
    outline: hidden;
    color: var(--text-gray);
    border: 0;
    background: transparent;
    padding-top: 0.5rem;
    cursor: pointer;
    position: absolute;
    top: 67%;
    left: 86%;
    transform: translate(-50%, -50%);
}

.form-1 button.comp-btn:hover{
    color: var(--text-black);
}

.form-1 button.mob-btn{
    display: none;
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bd-info-wrap{
    padding-top: 19rem;
    color: white;
}

.bd-info-head{
    color: red;
    font-size: 5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.bd-info-text{
    width: 40%;
    font-size: 1.4rem;
    margin-top: 1.2rem;
}

.know-more-btn button{
    margin-top: 2rem;
}

.know-more-btn button:hover{
    border: 2px solid var(--bg-red);
    background-color: var(--bg-white);
    color: var(--bg-red);
    transition: all .2s;
}

/* .......................... Blog .......................... */

.blog-wrap{
    height: 100vh;
    margin-top: 160px;
}

.blog-head{
    font-size: 4rem;
    font-weight: 500;
    margin-bottom: 5rem;
}
.blog-head{
    color: orangered;
}

.box-wrap{
    display: flex;
    justify-content: space-between;
}

.box-wrap .box img{
    width: 35rem;
    height: auto;
}

.box{
    color: white;
    position: relative;
    width: 35rem;
    height: 55rem;
}

.box-head{
    font-size: 2rem;
    font-weight: 500;
    margin-top: 2rem;
}

.box-text{
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 3rem;
}

.box-link-wrapper{
    position: absolute;
    width: 100%;
    bottom: 0;
    border-bottom: 2px solid var(--bg-red);
}

.box-btn{
    position: relative;
    height: 5rem;
    color: var(--bg-red);
}

.box-btn span{
    position: absolute;
    top: 50%;
    font-weight: 600;
    transform: translate(0, -50%);
}

.rm-text{
    margin-left: 2.8rem;
    font-size: 1.7rem;
}

.box:hover{
    color: red;
}

.box-btn:hover{
    background-color: var(--bg-red);
    color: var(--bg-white);
    padding-left: 1rem;
    transition: padding 0.2s ease-in-out;
}

/* .......................... Donate  .......................... */

.dr-wrap{
    height: 110vh;
}

.donate, .recieve{
    position: relative;
    width: 60rem;
    height: 63rem;
    margin-bottom: 10rem;
    margin-top: 5rem;
    padding: 4rem;
    border: 0.05px solid var(--olive);
}

.donate{
    float: left;
    background-color: var(--bg-green);
    box-shadow: 0px 0px 10px -3px var(--olive);
}

.recieve{
    float: right;
      background-color: var(--bg-green);
    box-shadow: 0px 0px 10px -5px;
}

.donate-head, .recieve-head{
    font-size: 2.7rem;
    font-weight: 500;
    margin-bottom: 3rem;
    margin-top: 2rem;
}

.donate img, .recieve img{
    width: 100%;
}

.dr-text{
    font-size: 1.5rem;
    font-weight: 400;
}

.donate-btn, .recieve-btn{
    position: absolute;
    bottom: 0;
    margin-bottom: 4rem;
    padding: 1.2rem 3rem;
    font-size: 1.5rem;
    font-weight: 600;
    outline: hidden;
    cursor: pointer;
    border: 3px solid var(--dark-green);
    background-color: var(--dark-green);
    color: var(--bg-white);
    border-radius: 0.3rem;
    box-shadow: 0px 0px 10px 0px var(--olive);
}

.donate-btn:hover, .recieve-btn:hover{
    background-color: var(--bg-green);
    color: var(--text-gray);
}

/* .......................... Footer  .......................... */

.footer{
    margin-top: 23px;
    height: 50vh;
    background-color: var(--text-gray);
}

.foot-wrap{
    display: flex;
}

.q-links, .imp-links{
    font-size: 2rem;
    margin-bottom: 1rem;
}

.q-links-wrapper, .imp-links-wrapper{
    width: 30rem;
}

.footer-link-wrapper{
    position: relative;
    height: 3rem;
}

.footer-link-wrapper span{
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    color: var(--bg-red);
}

.footer-link-wrapper span.footer-link-text{
    color: var(--bg-white);
}

.footer-link-text{
    margin-left: 2.8rem;
    font-size: 1.3rem;
}

.foot-links-wrap{
    display: flex;
    padding-top: 4rem;
    color: var(--bg-white);
}

.footer-link-wrapper:hover{
    padding-left: 1rem;
    transition: padding 0.2s ease-in-out; 
}

.cr-text{
    margin-top: 7rem;
    font-size: 1.4rem;
    color: var(--bg-white);
    text-align: center;
}

.sm-links  a img{
    margin-top: 5rem;
    width: 3.5rem;
    margin-right: 5rem;
    color: var(--bg-white);
}

.l-text{
    display: flex;
    font-size: 4rem;
    justify-content: end;
}

.right-text-wrap{
    margin-top: 4rem;
    font-size: 5rem;
    font-weight: 700;
    text-align: center;
    color: var(--bg-white);
}

.foot-l-text:hover{
    color: var(--bg-red);
}

.foot-breaker{
    margin-top: 5rem;
    background-color: var(--bg-white);
}

/* .......................... Media Queries .......................... */
/* Mobile Devices (≤580px) */
@media screen and (max-width: 525px) {
  html {
    font-size: 45%;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
  }

  .nav-items {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .nav-items li a {
    font-size: 1.6rem;
    font-weight: 600;
  }

  .nav-right {
    justify-content: center;
    gap: 1rem;
  }

  .logo img {
    width: 10rem;
    margin-bottom: 1rem;
  }

  .bg-image img {
    width: 95%;
    margin: 5rem 0.9rem 4rem 10rem;
    display: block;
  }


  .form-1 button.comp-btn {
    width: auto;
    padding: 0.5rem 1.5rem;
    margin-top: 1rem;
  }

  .appointment-wrap {
    display: none;
  }

  .box-wrap {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .bd-info-head {
    font-size: 2.8rem;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
  }

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

  .know-more-btn {
    margin: 3rem  2rem auto;
    display: block;
  }

  .donate,
  .recieve,
  .box {
    width: 90%;
    margin: 10px 35px auto -20px ;
    float: none;
  }

  .blog-head,
  .rm-text {
    text-align: center;
    margin: 0 3rem  auto;
  }

  .blog-wrap,
  .dr-wrap {
    margin: 0 2rem;
    margin-right: 5rem;
    height: auto;
  }

  .footer {
    padding: 2rem 1rem;
    height: auto;
  }

  .foot-wrap {
    flex-direction: column;
      text-align: center;
  }

  .cr-text {
    text-align: center;
    padding-bottom: 2rem;
  }
}

/* Tablets (581px to 768px) */
@media screen and (min-width: 526px) and (max-width: 768px) {
  html {
    font-size: 52%;
  }

  .navbar {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1.5rem;
  }

  .nav-items {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .nav-items li a {
    font-size: 1.8rem;
  }

  .logo img {
    width: 12rem;
  }

  .bg-image img {
    width: 90%;
    margin: 3rem auto;
    display: block;
  }

  .form-1 button.comp-btn {
    width: auto;
    padding: 0.7rem 2rem;
    margin-top: 1rem;
  }

  .box-wrap {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
  }

  .box {
    width: 45%;
    margin: 1rem 0;
  }

  .footer {
    padding: 2rem;
  }

  .foot-wrap {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .cr-text {
    text-align: center;
    padding-top: 2rem;
  }
}
