@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
  font-family: samarkan;
  src: url(assets/Font/SAMARN__.TTF);
}

:root {
  --primary-color: #fff;
  --secondary-color: #081158;
  --secondary-color-lite: #000;
  --button-color: #002D62;
  --primary-font: Montserrat, sans-serif;
  --secondary-font: Times New Roman;
}

* {
  margin: 0;
  padding: 0;
  font-family: var(--primary-font);
}

html,
body {
  text-align: justify;
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 18px;
  background-color: var(--primary-color);

}

a {
  text-decoration: none;
}

/*<-------------------------------------------------------------- This is main -------------------------------------------------------------->*/
#main {
  background-image: url(assets/svg/upar-poster.svg);
  background-position: top;
  background-size: cover;
  overflow: hidden;

}

/* <---------------------------------------------------This is nav ---------------------------------------------------> */
nav {
  height: 15vh;
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: space-between;
  position: relative;


}

nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  color: #11111191;
}

nav a:hover {
  text-decoration: none;
  color: var(--secondary-color);
}

#nav-right {
  display: flex;
  width: 60%;
  justify-content: center;
  align-items: center;
  margin: 3vw 5vw;
  gap: 50px;
}

#nav-left {
  width: 50%;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 1.5vw 0;
  color: var(--secondary-color);
  align-items: center;
}

#nav-left h3:nth-child(2) {
  font-size: .8rem;
}

.samarkan {
  font-family: samarkan;
}

.logo_text {
  font-size: 9vmin;
}

/*<-------------------------------------------------------- nav-mobile ------------------------------------------>*/
.nav-menu {
  display: none;
}

#checkbox {
  display: none;
}

.toggle {
  position: relative;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition-duration: .5s;
}

.bars {
  width: 100%;
  height: 4px;
  background-color: #111;
  border-radius: 4px;
}

#bar2 {
  transition-duration: .8s;
}

#checkbox:checked+.toggle .bars {
  position: absolute;
  transition-duration: .5s;
}

#checkbox:checked+.toggle #bar2 {
  transform: scaleX(0);
  transition-duration: .5s;
}

#checkbox:checked+.toggle #bar1 {
  width: 100%;
  transform: rotate(45deg);
  transition-duration: .5s;
}

#checkbox:checked+.toggle #bar3 {
  width: 100%;
  transform: rotate(-45deg);
  transition-duration: .5s;
}

#checkbox:checked+.toggle {
  transition-duration: .5s;
  transform: rotate(180deg);
}

/*<----------------------------------------------------- dropdown menu --------------------------------------->*/
.dropdown_menu {
  display: none;
  padding: 5px;
  border-radius: 12px;
  height: 265px;
  z-index: 555;
  position: absolute;
  right: 2rem;
  top: 70px;
  width: 300px;
  background-color: rgb(0 0 0 / 52%);
  backdrop-filter: blur(15px);
  transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dropdown_menu a {
  color: #fff;
  padding: 0.7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.dropdown_menu.open {
  height: 240px;
}

/*<-------------------------------------------------------- buttons ------------------------------------------>*/

/*<-------------------------------------------------------- nav buttons ------------------------------------------>*/

#nav_button {
  padding: 2vh 5vh;
  align-self: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: #000;
  background-color: #fff;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  outline: none;
}

#nav_button:hover {
  background-color: #1022aa;
  box-shadow: #37419283;
  color: #fff;
  transform: translateY(-7px);
}

#nav_button:active {
  transform: translateY(-1px);
}

/*<-------------------------------------------------------- Home button ---------------------------------------------------> */

.btn {
  position: relative;
  font-size: 17px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1em 2.5em;
  display: inline-block;
  border-radius: 6em;
  transition: all .2s;
  border: none;
  font-family: inherit;
  font-weight: 500;
  color: #ffffff;
  background-color: var(--button-color);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.btn::after {
  content: "";
  display: inline-block;
  height: 100%;
  width: 100%;
  border-radius: 100px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: all .4s;
}

.btn::after {
  background-color: var(--button-color);
}

.btn:hover::after {
  transform: scaleX(1.4) scaleY(1.6);
  opacity: 0;
}


#home_buttons {
  display: flex;
  gap: 9vh;
  margin: 4vh 0 0 15.5vh;

}

/*<-------------------------------------------------------- Tag's ---------------------------------------------------> */

.tag {
  font-family: var(--secondary-font);
  border: 1px solid #fef0d9;
  color: #FCC067;
  border-radius: 20px;
  padding: 0 1vh;
  background-color: #fef0d9;

}

.home_tag {
  margin: 4vh 0 0 8vmin;
  max-width: 45px;
}

.mission_tag {
  max-height: 18px;
  position: relative;
}


/*<-------------------------------------------------------- Home page---------------------------------------------------> */


#home {
  display: flex;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50px;
}

#home-right {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;


}

#home-left {
  width: 50%;
  height: 100%;
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
}

#home_text {
  width: 100%;
  padding: 0 0 0 8vh;
}

#home_text1 {
  font-size: 80px;
  font-family: Times New Roman;
  padding: 0 8vmin;
  color: var(--secondary-color);
}

#home_text2 {
  font-size: 15px;
  padding: 0 8vmin;
  align-self: center;
  font-weight: 300;
  color: var(--secondary-color-lite);
}



/* <----------------------------------------Second page--------------------------------------------------> */


#sec_page {
  width: 100%;
  height: auto;
}

#mission {
  width: 100%;
  height: 100%;
  position: relative;

}

/* <-----------------------------------------------------Mission upper-------------------------------------------------------------> */

#mission_upper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 13px;
}

.mission_logo {
  height: 20vh;
  width: 30vh;
}

.mission_logoM {
  height: 38vh;
  width: 38vh;
}

.mission_heading {
  font-weight: 800;
  color: var(--secondary-color);
}

/* <-----------------------------------------------------Mission bottom-------------------------------------------------------------> */
#mission_bottom {
  display: flex;
  margin: 5vw;
}

.mission_sec {
  gap: 13px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mission_discription_upper {
  max-width: 35%;
  font-weight: 400;
  font-size: 12px;
  color: var(--secondary-color-lite);
}

.mission_discription {
  max-width: 80%;
  font-size: 12px;
  font-weight: 400;
  color: var(--secondary-color-lite);
}

.mission_tittle {
  color: #000000;
  font-size: 1.5rem;

}


/* <-----------------------------------------------------what_we_do-------------------------------------------------------------> */

#what_we_do {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F8F9FA;
}

#what_we_do_left {

  width: 60%;
}

#what_we_do_left img {
  width: 80%;
  margin: calc(100% - 90%);
}

#What_We_Do_Right {
  width: 40%;
}

.whatwedo_discription {
  max-width: 80%;
  font-size: 14px;
  font-weight: 400;
  color: var(--secondary-color-lite);
}

.what_we_do_heading {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary-color);
}

.what_we_do_tag {
  max-width: 12vh;
}

.tick {
  width: .85rem;
}

#tick_list {
  gap: 9px;
  margin: 12px 0 12px 12px;
}



/* <-----------------------------------------------------Foooter-----------------------------------------------> */
footer {
  width: 100%;
  height: 35vh;
  background-color: #fff;
  color: #111;
  padding: 10vw 0 0 0;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.footer-section {

  max-width: 300px;
  padding: 0 20px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-section p {
  font-size: 14px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 5px;
}

.footer-section ul li a {
  color: #111;
  text-decoration: none;
}

.tooltip-container {
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 17px;
  border-radius: 10px;
}

.tooltip {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  border-radius: 15px;
  box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.2),
    inset -5px -5px 15px rgba(255, 255, 255, 0.1),
    5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.1);
}

.profile {
  background: #2a2b2f;
  border-radius: 10px 15px;
  padding: 10px;
  border: 1px solid #52382f;
}

.tooltip-container:hover .tooltip {
  top: -150px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.icon {
  text-decoration: none;
  color: #fff;
  display: block;
  position: relative;
}

.layer {
  position: relative;
  right: 27px;
  width: 55px;
  height: 55px;
  transition: transform 0.3s;
}

.icon:hover .layer {
  transform: rotate(-35deg) skew(20deg);
}

.layer span {
  position: absolute;
  /* top: 0;
  left: 0; */
  right: 0;
  height: 100%;
  width: 55px;
  border: 1px solid #fff;
  border-radius: 15px;
  transition: all 0.3s;
}

.layer span,
.text {
  color: #e6683c;
  border-color: #e6683c;
}

.icon:hover.layer span {
  box-shadow: -1px 1px 3px #e6683c;
}

.icon .text {
  position: absolute;
  /* left: 50%; */
  bottom: -5px;
  opacity: 0;
  font-weight: 500;
  transform: translateX(-50%);
  transition: bottom 0.3s ease, opacity 0.3s ease;
}

.icon:hover .text {
  bottom: -35px;
  opacity: 1;
}

.icon:hover .layer span:nth-child(1) {
  opacity: 0.2;
}

.icon:hover .layer span:nth-child(2) {
  opacity: 0.4;
  transform: translate(5px, -5px);
}

.icon:hover .layer span:nth-child(3) {
  opacity: 0.6;
  transform: translate(10px, -10px);
}

.icon:hover .layer span:nth-child(4) {
  opacity: 0.8;
  transform: translate(15px, -15px);
}

.icon:hover .layer span:nth-child(5) {
  opacity: 1;
  transform: translate(20px, -20px);
}

.instagramSVG {
  font-size: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: -webkit-linear-gradient(45deg,
      #f09433 0%,
      #e6683c 25%,
      #dc2743 50%,
      #cc2366 75%,
      #bc1888 100%);
  background: linear-gradient(45deg,
      #f09433 0%,
      #e6683c 25%,
      #dc2743 50%,
      #cc2366 75%,
      #bc1888 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f09433', endColorstr='#bc1888', GradientType=1);
}

.user {
  display: flex;
  gap: 10px;
}

.img img {
  width: 50px;
  height: 50px;
  font-size: 25px;
  font-weight: 700;
  border: 1px solid #e6683c;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.name {
  font-size: 17px;
  font-weight: 700;
  color: #e6683c;
}

.details {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: #fff;
}

.about {
  color: #ccc;
  padding-top: 5px;
}


/* <-----------------------------------------------------Responsive-----------------------------------------------> */
@media (max-width:600px) {
  .tooltip-container:hover .tooltip {
    top: -150px;
    opacity: 1;
    left: 20px;
    visibility: visible;
    pointer-events: auto;
  }

  #nav-left {
    margin: 5.5vw 0;
  }

  #mission_bottom {
    flex-wrap: wrap;
    gap: 60px;
  }

  #home_buttons {
    flex-direction: column;
  }

  #home_text1 {
    font-size: 6vmax;
  }

  #sec_page {
    width: 100%;
    height: auto;
  }

  .mission_discription_upper {
    max-width: 70%;
  }

  .what_we_do_heading {
    font-size: 8vmin;
  }

  #what_we_do_left img {
    width: 130%;
    margin: 0;
  }

}



@media (max-width: 850px) {


  #sec_page {
    margin-top: 50px;
  }

  #logo {
    width: 85%;
  }

  #home_buttons {
    margin: 4vh;
  }

  #home {
    flex-direction: column-reverse;
  }

  #home-left {
    width: 100%;
  }


  #home_right {
    width: 100%;
    height: 50%;
  }

  #logo {
    width: 85%;
  }

  #home_text {
    padding: 0;
  }

  #home_text2 {
    padding: 4vmin 6vmin;
}

  #home-right {
    width: 100%;
    height: 50%;
    justify-content: center;
    align-items: center;
    display: flex;

  }








  #what_we_do {
    flex-direction: column;
    gap: 50px;
  }

  #what_we_do_left {
    width: 75%;
  }

  #What_We_Do_Right {
    width: 80%;
    display: flex;
    justify-content: left;
    gap: 8px;
    flex-direction: column;
  }

  .whatwedo_discription {
    max-width: 95%;
  }

  #what_we_do_left img {
    width: 100%;
    margin: 0;
  }

  .layer {
    right: 0;
  }

  .icon .text {
    left: 50%;
  }


  .footer-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 55px;
    padding: 55px 0;
  }
}



@media (max-width: 1070px) {
  #nav-right {
    display: none;
  }

  .nav-menu {
    display: block;
    margin: 4vh;
  }




}

@media (max-width: 1177px) {

  #home_buttons {
    gap: 2vh;
    flex-direction: column;
  }

  .btn {
    display: flex;
    justify-content: center;
  }


}


@media screen and (min-width:1024px) {
  .mission_heading {
    font-size: 2rem;
  }

  #home_buttons {
    flex-direction: row;
  }
}




.slider-container {
  position: relative;
  width: 90%;
  max-width: 1200px; /* Prevent too large sliders */
  margin: auto;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 33.33%;
  transition: all 0.5s ease-in-out;
  text-align: center;
  opacity: 0.5;
  transform: scale(0.9);
  filter: blur(4px);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

/* 🔹 Navigation Buttons */
button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* 📌 Responsive Design for Tablets */
@media (max-width: 1024px) {
  .slide {
    min-width: 50%; /* Show 2 slides at a time */
  }
  .queBlock{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    flex-wrap: wrap;

  }
}

/* 📌 Responsive Design for Mobile */
@media (max-width: 768px) {
  .slide {
    min-width: 100%; /* Show 1 slide at a time */
  }
  .queBlock{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    flex-wrap: wrap;

  }

  /* Adjust navigation button size */
  button {
    padding: 8px;
    font-size: 18px;
  }
}


/* fAQ */

.faq-container {
  align-items: center;
  display: flex;
  flex-direction: column;
    margin-top: 10vh;
    margin-bottom: 10vh;
    margin-left: 40px;
    margin-right: 40px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .queBlock{
    display: flex;
    align-items: center;
    gap: 50px;

  }
  .queImg img{
    height: 70vh;
  }
  .faq-item {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
  }
  .faq-question {
    font-size: 18px;
    cursor: pointer;
    /* background: #42496e; */
    color: black;
    padding: 10px;
    border-radius: 5px;
  }
  .faq-answer {
    display: none;
    padding: 10px;
    background: #f9f9f9;
    border-left: 4px solid #007bff;
    margin-top: 5px;
  }