@import url(main_css.css);

* {
  font-family: "Readex Pro", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* animation */
@keyframes appear {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate {
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

/* font awesome css */

.fa-arrow-right {
  transform: rotate(-45deg);
}

/* scroll to top */
.scroll-to-top {
  height: 45px;
  width: 45px;
  text-align: center;
  line-height: 25px;
  position: fixed;
  right: 1rem;
  bottom: 1.5rem;
  background-color: var(--white);
  color: var(--primary-text);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  z-index: 9;
}

.scroll-to-top:hover {
  background-color: var(--muted-color);
}

.scroll-to-top .fa-solid {
  margin-left: 0px;
  font-size: 0.85rem;
}

/* theme change */
body.dark-theme {
  background: #121212;
  color: #f0f0f0;
}

/* smooth scroll */
/* html, body {
    height: 100%;
    margin: 0;
     overflow: hidden; 
  }

  #__smooth-wrapper {
    position: fixed;
    inset: 0;
    overflow: hidden;
    will-change: transform;
  }

  #__smooth-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(0);
    will-change: transform;
  }

  #__fixed-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
  }
  #__fixed-overlay > * {
    pointer-events: auto;
  } */
/* smooth scroll */

/* Open modal container starts here */
/* Modal background */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Modal content */
.modal-content {
  background: #fff;
  border-radius: 8px;
  max-width: 450px;
  width: 90%;
  overflow: hidden;
}

/* Header */
.modal-header {
  padding: 0.85rem 1rem;
  background: var(--modal-bg);
  color: var(--primary-text);
  font-size: 1.25rem;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header .close-btn {
  font-size: 22px;
  cursor: pointer;
  font-weight: bold;
}

.modal-body {
  padding: 20px;
  font-size: 0.85rem;
  line-height: 150%;
  font-weight: 300;
  color: #333;
}

.modal-footer {
  padding: 15px;
  background: var(--modal-bg);
  text-align: right;
}

.modal-footer button {
  padding: 8px 16px;
  border: none;
  background: var(--primary-color);
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.modal-footer button:hover {
  background: #005bb5;
}

/* Open modal container ends here */

/* navbar starts here */
.responsive-topbar {
  width: 100%;
  display: none;
  padding: 0.6rem 1rem;
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 9;
}

.responsive-topbar a {
  display: inline-flex;
  gap: 5px;
  color: var(--secondary-text);
  padding: 0.7rem 0;
  width: 100%;
  font-weight: 300;
}

.responsive-topbar span {
  font-weight: 400;
  color: var(--primary-text);
}

.responsive-topbar .fa-arrow-left {
  margin-left: 0;
}

.menu-btn {
  text-align: center;
  padding: 0.6rem;
  border: 1px solid var(--border);
  display: none;
  border-radius: 8px;
}

.fa-folder-open,
.fa-address-card,
.fa-file {
  display: none;
}

.fa-bars {
  font-size: 1.2rem !important;
  margin-left: 0 !important;
  color: var(--primary-text);
}

.menu-btn.active {
  display: none;
}

.navbar a:nth-child(1) {
  display: none;
}

.navbar-responsive {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: absolute;
  background-color: var(--white);
  top: 75px;
  box-shadow: 0px 10px 5px 2px rgba(0, 0, 0, 0.05);
  display: none;
  transition: all 0.3s ease-in-out;
}

.divider-pre,
.divider-post {
  width: 1.5px;
  height: 45px;
  background-color: var(--muted-color);
}

.divider-post {
  display: none;
}

.navbar-responsive ul {
  width: 100%;
}

.navbar-responsive ul li {
  list-style: none;
  display: block;
  margin: 1rem;
}

.navbar-responsive a {
  width: 100%;
  text-decoration: none;
  color: var(--primary-text);
  padding: 0.6rem 1rem;
  display: block;
  position: relative;
}

.nav_header {
  width: 100%;
  padding: 0 1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1;
}

.header_all {
  width: 35rem;
  max-width: 1440px;
  align-items: center;
  display: flex;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: saturate(180%) blur(20px);
  padding: 0.6rem 2rem;
  border: 1px solid #e8f1f9;
  border-top: none;
  border-radius: 0px 0px 1.45rem 1.45rem;
  overflow: hidden;
  box-shadow: inset 0 -1px 0 hsla(100, 100%, 100%, 0.2),
    0 8px 24px rgba(255, 255, 255, 0.05), 0 8px 24px rgba(119, 94, 253, 0.075);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  padding: 0.6rem 1rem;
  color: var(--primary-color);
}

.logo span {
  font-size: 1rem;
  line-height: 24px;
}

.navbar ul li {
  list-style: none;
  display: inline-flex;
  /* margin-left: 16px; */
}

.navbar a {
  text-decoration: none;
  color: var(--primary-text);
  padding: 0.6rem 1rem;
  display: inline-block;
  position: relative;
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
}

.navbar a:hover {
  background-color: var(--muted-color);
}

/* .navbar a::before{
    content: '';
    position: absolute;
    width: 0px;
    height: 1px;
    left: 0;
    bottom: 0;
    background-color: var(--primary-text);
    transition: all 0.3s ease-in-out;
}

.navbar a:hover::before{
    width: 100%;
} */

.fa-solid {
  margin-left: 8px;
  font-size: 10px;
  line-height: 20px !important;
}

/* navbar ends starts here */

/* banner starts here */
.banner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner_container {
  width: 100%;
  max-width: 1440px;
  margin: 65px auto 0;
  display: flex;
  flex-flow: column;
  gap: 36px;
  padding: 3.125rem;
}

.banner_container p {
  color: var(--secondary-text);
  line-height: 170%;
  font-size: 1.75rem;
  font-weight: 400;
}

.banner_container p span {
  color: var(--primary-color);
}

.banner_container .text-part {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.banner_container h3 {
  font-size: 3vw;
  font-weight: 500;
  color: var(--primary-text);
}

.typing {
  display: inline-block;
  border-right: 2px solid var(--primary-text, #222);
  padding-right: 4px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%,
  50%,
  100% {
    border-color: transparent;
  }
  25%,
  75% {
    border-color: var(--primary-text, #222);
  }
}

/* Make sure it scales well on small screens */
@media (max-width: 768px) {
  h3 {
    font-size: 5vw;
  }
}
@media (max-width: 480px) {
  h3 {
    font-size: 6vw;
  }
}

.CTAs a {
  color: var(--primary-text);
  display: inline-block;
  padding: 0.85rem;
  margin: 0 10px;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  background-color: var(--white);
  border: 1px solid var(--primary-text);
}

.CTAs .fa-brands {
  margin-left: 0;
  font-size: 1.5rem;
}

.CTAs a:hover {
  transform: translateY(-2px);
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05);
}

.CTAs a .fa-solid {
  line-height: 20px !important;
  font-size: 12px;
}

.CTAs a:nth-child(1) {
  margin-left: 0px;
}

.CTAs p {
  color: var(--secondary-text);
  line-height: 170%;
  font-size: 14px;
  margin: 24px 0;
}

.brands-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-direction: column;
}

.img-container {
  width: 100%;
  max-width: 1440px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.brand-img {
  width: 150px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
}

.brand-img h2 {
  font-size: 1.755rem;
  font-weight: 500;
  color: var(--primary-text);
}

.brand-img p {
  color: var(--secondary-text);
  font-size: 14px;
}

.brands-container a .fa-solid {
  line-height: 20px !important;
  font-size: 12px;
}

.brands-container a:hover {
  text-decoration: underline;
}
/* banner section ends here */

/* work-trailer section starts here */
.work-trailer {
  width: 100%;
  height: auto;
  padding: 0 2rem 2rem;
  display: inline-block;
}

.trailer-container {
  width: 100%;
  height: 100%;
  max-width: 1440px;
  /* background-color: var(--primary-text); */
  overflow: hidden;
  margin: 0 auto;
}

/* work-trailer section ends here */

/* featured work section starts here */
.featured-work {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.f-work-container {
  width: 100%;
  max-width: 1440px;
  padding: 5rem 2rem;
}

.f-work-container h2 {
  font-size: 2.575rem;
  margin-bottom: 2.455rem;
  font-weight: 400;
  color: var(--primary-text);
}

.f-work-container h2::before {
  content: "";
  display: block;
  background-image: linear-gradient(
    211.92deg,
    #fe7541 23%,
    #fe2a31 59.78%,
    #fe2a31 97.27%,
    #fe0e2b 158.81%,
    #341f22 158.81%
  );
  height: 3px;
  width: 60px;
  margin-bottom: 5px;
  border-radius: 3px;
}

.work-img {
  width: 100%;
  height: 500px;
}

.f-work {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin: 0 0 4rem;
}

.f-work > div {
  width: 50%;
}

.f-work:nth-child(even) {
  flex-direction: row-reverse;
}

.work-description h1 {
  margin: 0.8rem 0;
  font-size: 3rem;
  font-weight: 500;
  color: var(--primary-text);
}

.work-description p {
  font-weight: 300;
  color: var(--secondary-text);
  line-height: 150%;
}

.work-description a {
  padding: 1rem 0;
}

.work-description a:hover {
  text-decoration: underline;
}

.work-description span {
  font-size: 0.7rem;
  color: #757b93;
  padding: 0.4rem;
  display: inline-block;
  border-radius: 15px;
  font-weight: 300;
  background-color: #edeef2;
}

.work-description span:not(:first-child) {
  margin: 0 0 8px;
}
/* featured work section ends here */

/* other exploration section starts here */
.other-exploration {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fbfafb;
}

.exploration-container {
  width: 100%;
  max-width: 1440px;
  padding: 5rem 2rem;
}

.exploration-container h2 {
  font-size: 2.575rem;
  margin-bottom: 2.455rem;
  font-weight: 400;
  color: var(--primary-text);
}

.exploration-container h2::before {
  content: "";
  display: block;
  background-image: linear-gradient(
    211.92deg,
    #fe7541 23%,
    #fe2a31 59.78%,
    #fe2a31 97.27%,
    #fe0e2b 158.81%,
    #341f22 158.81%
  );
  height: 3px;
  width: 60px;
  margin-bottom: 5px;
  border-radius: 3px;
}

.exploration-all {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 1.855rem;
}

.exploration {
  width: 30%;
  border-radius: 8px;
}

.exploration-img {
  height: 250px;
}

.exploration h3 {
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--primary-text);
}

.exploration h3.truncate {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exploration-header {
  margin: 0.85rem 0 0.3rem;
}

.exploration-all .exploration p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--secondary-text);
  line-height: 150%;
}

.exploration a {
  margin: 16px 0;
  display: inline-block;
  text-decoration: none;
  font-size: 1rem;
  color: var(--link-color);
}

.exploration a:hover {
  text-decoration: underline;
}
/* other exploration section ends here */

/* blogs section starts here */
/* .blogs {
  width: 100%;
  background-image: var(--bg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blogs-container {
  width: 100%;
  max-width: 1440px;
  padding: 5rem 2rem;
}

.blogs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.455rem;
}

.blogs-header h2 {
  font-size: 2.575rem;
  font-weight: 400;
  color: var(--white);
}

.blogs-header a {
  color: var(--white);
  padding: 0.85rem 2rem;
  border: 1px solid var(--white);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.blogs-header a:hover {
  color: var(--primary-text);
  background-color: var(--white);
}

.blogs-container h2::before {
  content: "";
  display: block;
  background-image: linear-gradient(
    211.92deg,
    #fe7541 23%,
    #fe2a31 59.78%,
    #fe2a31 97.27%,
    #fe0e2b 158.81%,
    #341f22 158.81%
  );
  height: 3px;
  width: 60px;
  margin-bottom: 5px;
  border-radius: 3px;
}

.blogs-all {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 1.855rem;
}

.blog {
  width: 30%;
  padding: 1rem;
  border-radius: 8px;
  background-color: var(--white);
}

.blog-img {
  height: 250px;
}

.blog h3 {
  font-size: 1.575rem;
  font-weight: 400;
  color: var(--primary-text);
}

.blog-header {
  margin: 0.55rem 0;
}

.blog-date {
  display: block;
  font-size: 0.85rem;
  color: var(--primary-text);
  font-weight: 300;
  margin: 0.65rem 0;
}

.blogs-all .blog p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--secondary-text);
  line-height: 150%;
}

.blog a {
  margin: 16px 0;
  display: inline-block;
  text-decoration: none;
  font-size: 1rem;
  color: var(--link-color);
}

.blog-footer a {
  width: 100%;
  color: var(--white);
  padding: 0.85rem 2rem;
  border: 1px solid var(--white);
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  display: none;
} */

/* blogs section ends here */

/* mediaquery starts here */
@media (max-width: 800px) {
  .header_all {
    width: 100vw;
    padding: 0.6rem 1rem;
  }

  .banner_container h3 {
    font-size: 1.75rem;
  }

  .banner_container p {
    font-size: 1rem;
  }

  .CTAs {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }

  .CTAs a {
    margin: 0 0;
    width: 100%;
    text-align: center;
  }

  .img-container {
    justify-content: space-between;
  }

  .brand-img h2 {
    font-size: 1.5rem;
  }

  .brand-img p {
    font-size: 0.85rem;
  }

  .banner_container,
  .work-trailer,
  .f-work-container,
  .exploration-container,
  .blogs-container {
    padding: 1rem;
  }

  .f-work,
  .f-work:nth-child(even),
  .exploration {
    flex-direction: column;
    margin: 0 0 1.25rem;
    gap: 1rem;
  }

  .f-work > div {
    width: 100%;
  }

  .f-work-container h2,
  .exploration-container h2,
  .blogs-header h2 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
  }

  .work-img,
  .exploration-img {
    height: 250px;
  }

  .work-description h1,
  .exploration h3,
  .blog h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
  }

  .work-description p,
  .exploration-all .exploration p,
  .blogs-all .blog p {
    font-size: 0.85rem;
  }

  .exploration,
  .blog {
    width: 100%;
  }

  .exploration-all {
    flex-direction: column;
    gap: 0;
  }

  .blogs-all {
    flex-direction: column;
    gap: 1.25rem;
  }

  .exploration a,
  .work-description a,
  .blog a {
    width: 100%;
    text-align: center;
    border: 1px solid black;
    padding: 0.8rem 0;
    border-radius: 8px;
    margin: 1rem 0;
  }

  .blog a {
    margin: 0;
  }

  .blogs-header a {
    display: none;
  }

  .blog-footer a {
    display: block;
  }
}

@media (max-width: 480px) {
  .scroll-to-top {
    padding: 0.63rem 0.8rem;
  }

  .navbar a:nth-child(1) {
    display: block;
  }

  .responsive-topbar {
    display: block;
  }

  .logo,
  .divider-pre {
    display: none;
  }

  /* display block on pages other than homepage */
  /* .divider-post{
        display: block;
    } */

  .nav_header {
    bottom: 0;
    padding: 0;
  }

  .navbar {
    width: 100%;
    padding-left: 0.75rem;
  }

  .header_all {
    border-radius: 0;
    background-color: var(--white);
    border-top: 1px solid var(--border);
  }

  .banner_container {
    margin: 1.4rem 1.4rem 0;
    gap: 1rem;
  }

  .scroll-to-top {
    bottom: 6rem;
  }

  .navbar ul {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
  }

  .navbar ul li {
    flex-direction: column;
    gap: 4px;
  }

  .navbar ul li label {
    font-size: 0.85rem;
    font-weight: 300;
  }

  .navbar a {
    padding: 0.6rem 1rem;
    color: var(--secondary-text);
  }

  .navbar ul .fa-regular {
    font-size: 1rem;
    margin-left: 0;
    width: 100%;
  }

  .fa-folder-open,
  .fa-address-card,
  .fa-file {
    display: block;
  }

  .navbar ul .fa-solid:nth-child(3) {
    display: none;
  }
}
/* mediaquery ends here */
