/* START NAVBAR */
.logo {
  fill: currentColor;
  flex-shrink: 0; /* Don't allow shrinking */
  width: 2rem;
  height: 2rem;
  max-width: 150%;
}

.topnav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(var(--blue500), 0.05);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);/* for Safari */
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  padding: 0.5rem;
  gap: 1rem;
  border: rgb(var(--gray200)) solid 0.03rem;
  border-radius: 1rem;
  z-index: 998;
  transition: color 0.3s ease;
}

.topnav a{
text-transform: uppercase;
}

.nav_link{
  padding: 1rem 0;
}
.nav_link:hover {
  text-decoration: underline wavy rgba(var(--orange500)) 0.03125rem;
  text-underline-offset: 0.2rem;
}

.topnav .menu_nav, .topnav .icon{
  display: none;
}

@media screen and (max-width: 600px) {
  .nav_link{
    display: none;
    padding: 0;
  }
  .button_menu{
    display: none;
  }
  .topnav a.menu_nav {
    float: right;
    display: block;
  }
  .topnav.responsive {
    display: inline-flex;
    flex-direction: column;
  }
  .topnav.responsive .menu_nav{
    display: none;
  }
  .topnav.responsive a {
    display: block;
    float: none;
    text-align: left;
  }
}

.icon, .menu_nav{
  cursor: pointer;
  text-decoration: none !important; 
}

.icon{
  font-weight: 400;
  font-size: 2rem;
  color: rgb(var(--gray50));
}
/*END NAVBAR*/

/*____________________START HERO____________________*/
.hero{
  text-align: center;
  margin: 10rem 0;
  padding:0rem 12.5rem;
}
.hero h1{
  margin: 0;
}

.hero .subtitle {
  max-width: 55rem;
  margin: 2rem auto;
  text-align: center;
}

@media (max-width: 900px) {
	.hero{
      margin: 6rem 2rem;
      padding: 0rem;
  	}
}

/* END HERO */


/* START CLIENT */
/* .clients{
  width: 100%;
  overflow: hidden;
  margin-bottom: 2rem;
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.carousel_loop{
  display: flex;
  align-items: center;
  gap: 12rem;
  width: calc(200%);
  animation: scroll 15s linear infinite;

}
.svg_cl{
  width: 8rem;
  fill: rgba(var(--secondary));
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
} */

/* END CLIENTS */
/* ________________________START SERVICES_____________________________ */

.service {
  min-height: 100vh;
  margin: 10rem 0;
}

.service-left {
  flex: 1.5;
  position: sticky;
  top: 0;
  height: 100vh;
  padding-left: 6rem;
  padding-top: 6rem;
  box-sizing: border-box;
}
.service-right {
  flex: 2;
  padding: 6rem;
  margin-top: 20rem;
  box-sizing: border-box;
}
.content-block {
  margin-top: 5rem;
  margin-right: 10rem;
}
@media (max-width: 900px) {
	.service-left{
		width: 100%;
		padding: 3rem;
		position:relative;
		height: auto;
	}
	.service-right{
		width: 100%;
		margin-top: 0;
      	padding: 3rem;
	}
	.content-block{
		margin-right: 0;
	}
}

.content-block h3 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 2.125rem;
}

/* Create the animated underline */
.hover-underline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.underline-text {
  position: relative; /* Underline only this part */
}
.underline-text::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(to right, rgb(var(--blue700)), rgb(var(--blue200)));
  transform: skewX(-40deg);
  border-radius: 1px;
  transition: width 0.4s ease;
}
.content-block:hover .underline-text::after {
  width: 100%;
}

/* icon arrow moving from right to top-right */
.content-block .icons i:nth-child(1), .icons-block .icons i:nth-child(1) {
  display: inline-block;
}
.content-block .icons i:nth-child(2), .icons-block .icons i:nth-child(2)  {
  display: none;
}
.content-block:hover .icons i:nth-child(1), .icons-block:hover .icons i:nth-child(1)  {
  display: none;
}
.content-block:hover .icons i:nth-child(2), .icons-block:hover .icons i:nth-child(2)  {
  display: inline-block;
}

/* END SERVICES */

/* __________________________SHOW DATA_______________________ */

.about_mosaic{
  column-count: 2;
  column-gap: 2rem;
  gap: 2rem;
  margin-top: 5rem;
}

@media (max-width: 900px) {
	.about_mosaic{
		column-count: 1;
	}
}
.about_sec{
  break-inside: avoid;
  background-color: rgba(var(--gray100), 0.3);
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 0.05rem solid rgb(var(--gray400));
  margin-bottom: 2rem;
}
.illustr{
  width: 70%;
  height: auto;
  display: block;
  margin: 1rem auto;
}
.tools_group{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.tool_logo {
  padding: 0.5rem;
  background-color: rgba(var(--gray50));
  border-radius: 1rem;
  border: 0.05rem solid rgba(var(--gray300));
  width: 2.5rem;
}
/* END */

/*___________________START CONTACT FORM___________________*/
.contact {
  margin: 6rem 12rem;
  align-items: center; 
}
@media (max-width: 900px) {
	.contact{
		margin:8rem 3rem;
	}
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}
.form-row{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.form-row .form-group{
width: 45%;
}
.form-group label, legend, p{
  margin-bottom: 1rem;
  font-size: 1rem;
}
.form-group input {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(var(--gray50));
  padding: 4px 0;
  color: rgba(var(--gray50));
}

.form-group textarea{
  background-color: transparent;
  border: 1px solid rgb(var(--gray50));
  border-radius: 1rem;
  color: rgba(var(--gray50));
}
input,
textarea {
  color: rgba(var(--gray50));
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  line-height: 1.5rem;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  border: none;
  padding: 0;
}

.service-option {
  cursor: pointer;
  border: 1px solid rgb(var(--gray50));
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  position: relative;
}

/* Hide checkbox but keep it focusable */
.service-option input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

/* Draw outline around the whole option when input inside is focused */
.service-option:focus-within {
  outline: 2px solid rgb(var(--blue500));
  outline-offset: 4px;
}

/* Checked style */
.service-option:has(input:checked) {
  background-color: rgb(var(--orange500));
  color: rgba(var(--orange50));
  border-color: rgb(var(--orange600));
}

input[type="file"] {
  cursor: pointer;
  color: rgb(var(--gray50));
  background-color: transparent;
  display: inline-block;
  transition: all 0.3s ease;
}

input[type="file"]:focus {
  outline: 2px solid rgb(var(--blue500)); /* visible focus outline */
}

.onboarding-step {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 2rem;
}

.step-id {
  font-size: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.step-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 0;
}

/* CARD */

.rtop{
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 400;
  margin: 0;
}
.rbottom{
  font-size: 2.25rem;
  margin-top: 0;
}

.card-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

  
 /* START FOOTER */
footer{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 10rem;
}
@media (max-width: 900px) {
  footer{
    margin:3rem;
  }
  footer div{
    margin: 1rem;
  }
}

footer a {
  display: block;
  margin-top: 0.5rem;
}

/*__________CASE CARDS__________*/
.case_cards{
  margin:4rem 12rem;
  padding:6.25rem;
  border-radius: 5rem;
  background-color: rgba(var(--blue50), 0.06);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);/* for Safari */
  border: rgb(var(--gray200)) solid 0.03rem;
}
.order1{
  order: 1;
}
.order2{
  order: 2;
}
@media (max-width: 900px) {
	.case_cards{
      margin: 4rem 2rem;
      padding: 4rem;
    }
    .order1{
      order: 2;
    }
    .order2{
      order: 1;
    }
}


/*__________TAGS__________*/
.tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  border: 1px solid rgba(var(--gray50), 0.2);
  background-color: transparent;
  padding: 0 0.75rem;
  border-radius: 1rem;
  color: rgb(var(--gray50));
}


/*__________AGENCY__________*/
.ill_ag {
  width: 20rem;
  height: 20rem;
  opacity: 0.65;
}
.project{
  margin: 0 20rem;
}
@media (max-width: 900px) {
	.project{
      margin: 0 2rem;
    }
}
.project div {
  margin: 6.25rem 0;
}

.agency_div{
  margin: 2rem 12rem;
}

@media (max-width: 900px) {
	.agency_div{
      margin: 2rem 2rem;
    }
}