
/* Normalize Css */

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

main {
    display: block;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

a {
    background-color: transparent;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0; /* 3 */
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

details {
    display: block;
}

summary {
    display: list-item;
}

template {
    display: none;
}

[hidden] {
    display: none;
}

/*fonts*/
@font-face {
    font-family: "Dana";
    src: url("../fonts/Epic\ Dana-Regular.woff") format("woff");
}
@font-face {
    font-family: "Dana-Bold";
    src: url("../fonts/Epic\ Dana-Bold.woff") format("woff");
}
@font-face {
    font-family: "Dana-Medium";
    src: url("../fonts/Epic\ Dana-Medium.woff") format("woff");
}
@font-face {
    font-family: "Dana";
    src: url("../fonts/Epic\ Dana-Medium.woff") format("woff");
}
  .poppins-black {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
  }



/* Start Project */

html {
    box-sizing: border-box;
    
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

:root{
  --primary-blue:#1d89e4;
  --primary-hover:#0c72c5;
  --dark-blue:#0e47a1;
  --dark-hover: #093885;
  --white:#ffff;      
  --body-color: #fafbff;
  --tiny-font-size: .625rem;
  --grey-1:#202427;
  --grey-2:#444b53;
  --grey-3:#8d97a0;
  --grey-4:#c0c5c9;
  --grey-5:#f0f0f0;
  --box-shadow:rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
h4{
  text-align: center;
  padding-top: 1.5rem;
  font-size: 18px;
}
*{
    padding:0;
    margin:0;
}
body{
    background-color: var(--body-color);
    font-family: "Dana",sans-serif;
    font-size: 16px;
    display: flex;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
}
.container {
  max-width: 80rem;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}



/* search-bar */
.search-bar {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 45% 50%;
  border-radius: 50px;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
}

.dropdown, .dropdown2{
  position: relative;
  width: 16rem;
  border-radius: 50px;
  background-color: var(--primary-blue);
  cursor: pointer;
  color: var(--white);
}

.dropdown-text , .dropdown-text2{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 16px;
  background-color: transparent;
  padding: 0.7rem 1rem;
  color: var(--white);
}

.dropdown-list ,
.dropdown-list2 {
  display: block;
  position: absolute;
  top: 4rem;
  left: 0;
  width: 100%;
  border-radius: 15px;
  max-height: 0;
  overflow: hidden;
  background-color: var(--primary-blue);
  color: var(--white);
  transition: max-height 0.5s;
}

.dropdown-list-item,
.dropdown-list-item2 {
  font-size: 1rem;
  font-weight: 500;
  border-radius: 15px;
  padding: 0.7rem 1rem 0.7rem 0;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.3s ease, margin-left 0.2s ease;
}

.dropdown-list-item:hover ,
.dropdown-list-item2:hover {
  background-color: var(--primary-hover);
}

#list2 {
  overflow-y: auto;
}

::-webkit-scrollbar {
  background: #000;
  border-radius: 10px 0px 0px 10px;
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--dark-blue);
  border-radius: 10px;
}


#list.show {
  max-height: 300px;
}
#list2.show2 {
  max-height: 300px;
}
.span2 , .span{
  text-wrap: nowrap;
}
/*  */
.search-box {
  display: flex;
  align-items: center;
  padding-right: 1rem;
  width: 100%;
}

.search-box input {
  background-color: transparent;
  padding: 1rem 0;
  width: 100%;
  font-size: 1rem;
  font-weight: 500;
  border: 0;
  outline: 0;
}

.search-box i {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-blue);
  padding-left: 1rem;
}

.search-box input::placeholder {
  font-size: 1rem;
  font-weight: 500;
  color: var(--grey-2);
}
.dropdown_wrapper{
  display: flex;
  
}

/* contact-box */
/*  */

.contact_box_bottom .text{
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  text-overflow: ellipsis;
  overflow: hidden;
  padding-top: 0.5rem ;
}
.contact_box_bottom{
  display: flex;
  gap: 1rem;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid var(--grey-3);
  margin-top: 0.7rem;
  padding-top: 0.5rem;
}
.contact_box_bottom .btn {
 outline: none;
 border: none;
  background: var(--primary-blue);
  width: 8rem;
  text-align: center;
  padding: 0.5rem 1.1rem;
  align-self: flex-end;
  margin-top: 0.5rem;
  border-radius: 1rem;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s;
}
.contact_box_bottom .btn:hover{
  background-color: var(--primary-hover);
 }
/* contact-box */
.box-wrapper{
  margin-top: 4rem;
  display: grid;
  row-gap: 1.5rem;
  column-gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
  
}
.contact_box{
  min-height: 11rem;
  display: grid;
  grid-template-rows: 6rem auto;
  background-color: var(--white);
  box-shadow: 0px 0px 10px rgba(128, 128, 128, 0.19);
  border-radius: 1rem;
  padding:  1rem;
  height: auto;
}
.contact_box_top{
  display:grid;
  grid-template-columns:6rem auto;
  gap: 1rem;

}
.contact_box_right img{
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  overflow: hidden;
  border-radius: 50%;
  padding: 0.3rem;
}
.contact_box_right{
  overflow: hidden;
  border: 2px solid var(--primary-blue);
  width: 5.3rem;
  height: 5.3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact_box_left{
  display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--grey-2);
    padding: 1rem 0;
}
.contact_box_left .name{
  font-size: 16px;
}

.name i, .work i{
  font-size: 20px;
  color: var(--primary-blue);
}
.contact_box_left .detail{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0 1rem 1rem;
}

.contact_box_bottom{
  

}

/* pagination */
.pagination{
  text-align: center;
  margin: 2rem 0 1rem 0;
  user-select: none;
  display: flex;
  justify-content: center;
  padding-top: 2rem;
  align-items: center;
}
.pagination a{
  display:in-block;
  margin: 5px;
  box-shadow: 0 5px 25px  rgb(1 1 1/10%);
  list-style: none;
}
.pagination a{
  color: var(--white);
  text-decoration: none;
  line-height: 45px;
  font-size: 1.2rem;
}
.previos-page,.next-page{
  background-color: var(--midnight-blue);
  width: 80px;
  cursor: pointer;
  border-radius: 45px;
  transition: 0.3s ease;
}
.previos-page:hover{
  transform: translateX(5px);
}
.next-page:hover{
  transform: translateX(-5px);
}
.dots-page , .current-page{
  background-color: var(--glass-color);
  width: 45px;
  cursor: pointer;
  border-radius: 50%;
}

.disable{
  background-color: var(--glass-color);
}
.active{
  background-color: var(--midnight-blue);
}




/* */
@media only screen and (max-width: 1200px) {
.container {
     max-width: 960px;
 }
}
  @media only screen and (max-width: 992px) {
    .container {
            max-width: 720px;
        }
        .dropdown-text, .dropdown-text2 {
          padding: 1rem 1rem;
        }
  }
  @media only screen and (max-width: 768px){
    .container {
            max-width: 540px;
        }
        
        .search-bar {
          background-color: var(--body-color);
          box-shadow: none;
        }
        .dropdown-text, .dropdown-text2 {
          padding: 0.5rem;
        }
        .contact_box_left .btn {
          justify-self: end;
        }
        .contact_box_left {
          height: 100%;
          
      }
        
        .contact_box_right{
          padding: 0;
        }
      
        .search-bar{
          display: flex;
          align-items: center;
          flex-direction: column-reverse;
          background-color: transparent;
          margin-top: 4rem;
          gap: 1rem;
        }
        .search-box{
          background: var(--white);
          box-shadow: var(--box-shadow);
          border-radius: 50px;

        }
        .dropdown_wrapper{
          width: 80%;
        }
        .box-wrapper{
          
          grid-template-columns: 1fr;
          
        }


.contact_box_bottom{
  flex-basis: 20rem;
  width: 100%;
}
}
  @media only screen and (max-width: 576px) {
    .container {
           max-width: 100%;
       }
       
       .contact_box_left .text{
        -webkit-box-orient: vertical;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        text-overflow: ellipsis;
        overflow: hidden;
        padding-top: 0.5rem;
      }
      .pagination li{
        display:in-block;
        margin: 5px;
        box-shadow: 0 5px 25px  rgb(1 1 1/10%);
        list-style: none;
      }
      .pagination li a{
        color: var(--white);
        text-decoration: none;
        line-height: 40px;
        font-size: 1rem;
      }
      .previos-page,.next-page{
        background-color: var(--midnight-blue);
        width: 70px;
        cursor: pointer;
        border-radius: 45px;
        transition: 0.3s ease;
      }
      .previos-page:hover{
        transform: translateX(4px);
      }
      .next-page:hover{
        transform: translateX(-4px);
      }
      .dots-page , .current-page{
        background-color: var(--glass-color);
        width: 40px;
        cursor: pointer;
        border-radius: 50%;
      }
      
      .dropdown-text, .dropdown-text2 {
        padding: 0.4rem;
      }
      
      .search-bar{
        
        max-width: 28rem;

      }
      .dropdown_wrapper{
        width: 80%;
      }     
  }
  
  @media only screen and (max-width: 476px) {
    .search-bar{
      max-width: 23rem;
      
    }
    .contact_box{
      padding: 0.5rem;
      grid-template-rows: 6rem auto;
     
    }
    .contact_box_top{
      grid-template-columns: 6rem auto;
    }
    .container {
      max-width: 100%;
      margin-right: auto;
      margin-left: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      padding-right: 1rem;
      padding-left: 1rem;
    }
      
  
    .dropdown_wrapper{
        width: 90%;
      }     
      .contact_box_bottom {
        margin-top: 0.5rem;
      }
      .contact_box_left {

        gap: 1rem;
        padding: 0.5rem 0;
    }
  }
  @media only screen and (max-width: 376px) {
    .container {
           max-width: 100%;
           padding: 0;
       }
       .contact_box{
        margin: 0 1rem ;
       }
       
      .search-bar{

        max-width: 20rem;

      }
      .pagination li{
        display:in-block;
        margin: 4px;
        box-shadow: 0 5px 25px  rgb(1 1 1/10%);
        list-style: none;
      }
      .pagination li a{
        color: var(--white);
        text-decoration: none;
        line-height: 38px;
        font-size: 1rem;
      }
      .previos-page,.next-page{
        background-color: var(--midnight-blue);
        width: 65px;
        cursor: pointer;
        border-radius: 45px;
        transition: 0.3s ease;
      }
      .previos-page:hover{
        transform: translateX(4px);
      }
      .next-page:hover{
        transform: translateX(-4px);
      }
      .dots-page , .current-page{
        background-color: var(--glass-color);
        width: 38px;
        cursor: pointer;
        border-radius: 50%;
      }
      
      .contact_box_left .title{
        font-size: 16px;
      }
      .contact_box_left .text {
       font-size: 14px;
    }
    .contact_box_left .btn {
      padding: 0.3rem 0.7rem;
      justify-self: end;
    }
    .contact_box_left {
      height: 100%;
  }
      
      
        
  }

