@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@300&family=Redressed&family=Ubuntu:wght@400;500;700&family=Poppins:wght@300;400;500&display=swap');

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

body.disableScroll {
  overflow: hidden;
}

:root {
  --black: #000000;
  --red: #f01843;
  --lightgrey: #f0f0f0;
  --white: #fff;
}

.max-width {
  max-width: 1300px;
  padding: 0 15px;
  margin: 0 auto;
  width: 100%;
}

/* All content container reused styles */
.services,
.projects,
.teams,
.about,
.contact {
  margin: 100px 0;
}

/* All headers reused styles */
.header {
  text-align: center;
}

.header h1 {
  font-family: 'Redressed', cursive;
  font-size: 50px;
  background: linear-gradient(to top right, #ff305a, #764ba2);
  background-clip: border-box;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
}

.header p {
  font-size: 20px;
  padding-bottom: 50px;
}

/* All buttons reused styles */
.btn {
  padding: 15px 25px;
  display: inline-block;
  background: linear-gradient(to top right, #ff305a, #764ba2);
  color: var(--white);
  font-size: 19px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all cubic-bezier(0.42, 0, 0, 1.57) 0.2s;
}

.btn:hover {
  transform: scale(1.1);
}

/* Page loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top right, crimson, #be33ff);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 600;
}

.loader.disable {
  display: none;
}

.loader .line_counter_container {
  position: relative;
  box-shadow: inset 2px 2px 12px rgba(0,0,0,0.3);
  padding: 2px;
  height: 15px;
  width: 200px;
  border-radius: 30px;
  border: 1px solid #fff;
  overflow: hidden;
}

.count {
  height: 100%;
  width: 0;
  background: linear-gradient(to bottom left, #fff, #fff);
  border-radius: 30px;
}

.load_message {
  text-align: center;
  font-size: 17px;
  color: #fff;
  padding: 12px;
}

/* Nav styling */
nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  height: 80px;
  z-index: 500;
  transition: 0.2s all cubic-bezier(0.6, -0.28, 0.74, 0.05);
}

nav .max-width {
  display: flex;
  height: 100%;
  justify-content: space-between;
  align-items: center;
}

nav.active {
  background: var(--white);
  box-shadow: 2px 2px 7px rgba(0,0,0,0.3);
}

nav .logo {
  font-size: 50px;
  font-family: 'Redressed', cursive;
  font-weight: bold;
  background: linear-gradient(to top right, #ff305a, #764ba2);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

nav ul li {
  display: inline-block;
}

/* Nav link styling */
nav ul li .navBtn {
  font-size: 20px;
  margin: 0 10px;
  padding: 5px;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
}

/* Language Switcher Styling */
.nav-actions {
  display: flex;
  align-items: center;
}
p.inline {
  display: inline;
  margin: 0;
}

#language-switcher {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 8px 30px 8px 12px;
  border: 1px solid #ff305a;
  border-radius: 10px;
  background: linear-gradient(to top right, #ff305a, #764ba2);
  color:#4000ff;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.42, 0, 0, 1.57);
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath fill='%23fff' d='M0 0l4 5 4-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 8px;
  width:100%;
}

#language-switcher:hover {
  transform: scale(1.05);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
}

#language-switcher:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 48, 90, 0.3);
}

#language-switcher option {
  background: var(--white);
  color: var(--black);
  font-weight: 400;
}

/* Menu animation styling */
.menuBtn {
  position: fixed;
  right: 15px;
  top: 17.3px;
  cursor: pointer;
  padding: 5px;
  width: 35px;
  height: 35px;
  align-items: center;
  z-index: 501;
  display: none;
}

.bar {
  position: absolute;
  width: 35px;
  height: 4px;
  transition: 0.4s;
  border-radius: 5px;
}

.bar1 {
  top: 10px;
}

.bar3 {
  bottom: 10px;
}

.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px);
  transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {
  margin-bottom: -50px;
  opacity: 0;
}

.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-7px, -6px);
  transform: rotate(45deg) translate(-7px, -6px);
}

/* Home content styling */
.content {
  height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(/images/destiny\ studio.png);
  background-position: center;
  background-color: black;
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
}

.content .max-width {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.content .left_content {
  color: var(--white);
}

.content .left_content p:nth-child(1) {
  font-size: 25px;
}

.content .left_content p:nth-child(2) {
  font-family: 'Ubuntu', sans-serif;
  font-size: 65px;
  font-weight: 600;
  margin: 20px 0;
}

.content .left_content p:nth-child(3) {
  font-size: 30px;
  margin-bottom: 50px;
}

.content .right_content img {
  width: 80%;
  max-width: 100%;
}

/* To top styling */
.top {
  position: fixed;
  right: 15px;
  bottom: 50px;
  height: 50px;
  width: 50px;
  border-radius: 7px;
  background: linear-gradient(45deg, #ff305a, #764ba2);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
}

.top .fas {
  font-size: 25px;
  color: var(--white);
}

.top.active {
  opacity: 1;
  pointer-events: visible;
}

/* Services styling */
.services .container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-flow: wrap;
}

.services .container .col {
  height: 350px;
  width: 350px;
  border-radius: 50%;
  background: radial-gradient(at top right, #553179, #b82341);
  margin: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.services .container .col img {
  filter: invert(1);
  width: 60px;
}

.services .container .col h3 {
  font-family: 'Redressed', cursive;
  font-size: 30px;
  padding: 10px 0;
}

.services .container .col p {
  font-size: 20px;
  text-align: center;
  width: 80%;
  line-height: 1.3em;
  font-weight: lighter;
}

/* Projects styling */
.projects .container {
  width: 100%;
  padding: 12px 0;
}

.projects .container .row {
  display: flex;
  flex-direction: row;
  background: var(--lightgrey);
}

.projects .container .row img {
  width: 50%;
  max-width: 100%;
}

.projects .container .row .img_txt {
  width: 50%;
  height: 350px;
  display: flex;
  align-items: center;
}

.projects .container .row .img_txt .txt_container {
  height: 70%;
  width: 90%;
  margin-left: 0;
  background: var(--white);
  border-radius: 7px;
  box-shadow: 2px 2px 12px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4%;
}

.projects .container .row .img_txt .txt_container h3 {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.projects .container .row .img_txt .txt_container p {
  font-size: 19px;
  line-height: 1.3em;
  text-align: justify;
}

.projects .container .row .img_txt .txt_container .btn_container {
  margin: 25px 0 10px 0;
}

.projects .container .view_more_btn {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

/* More projects section */
.fa-times {
  font-size: 25px;
  padding: 10px 15px;
  color: #444;
  box-shadow: 2px 2px 7px rgba(0,0,0,0.3);
  cursor: pointer;
}

.more_projects {
  padding: 30px 0;
  position: fixed;
  height: 100vh;
  width: 100%;
  top: 0;
  left: 0;
  background: #fff;
  z-index: 500;
  overflow-y: auto;
  display: none;
}

.more_projects .header {
  text-align: center;
}

.more_projects .header h1 {
  font-family: 'Redressed', cursive;
  font-size: 50px;
}

.more_projects .header p {
  font-size: 20px;
  padding-bottom: 30px;
}

.more_projects .row {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 30px;
  border-top: 2px solid lightgray;
  box-shadow: 2px 2px 12px rgba(0,0,0,0.3);
}

.more_projects .row h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.more_projects .row p {
  font-size: 19px;
  line-height: 1.3em;
  text-align: justify;
}

.more_projects .row img {
  width: 50%;
  max-width: 100%;
}

.more_projects .row .text_container {
  padding: 50px;
}

.more_projects .row .btn_container {
  margin-top: 25px;
}

/* Teams section styling */
.teams {
  color: var(--white);
  padding: 30px 0 70px 0;
  background: var(--black);
  background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(/images/images.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  object-fit: cover;
}

.teams .carousel .card {
  background: var(--lightgrey);
  color: var(--black);
  border-radius: 7px;
  padding: 25px 35px;
  text-align: center;
  transition: all 0.1s ease;
}

.teams .carousel .card:hover {
  background: linear-gradient(45deg, #764ba2, #f830ff);
  color: var(--white);
}

.teams .carousel .card .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.1s ease;
}

.teams .carousel .card .box p {
  line-height: 1.3em;
}

.teams .carousel .card:hover .box {
  transform: scale(1.05);
}

.teams .carousel .card .text {
  font-size: 25px;
  font-weight: 500;
  margin: 10px 0 7px 0;
}

.teams .carousel .card img {
  height: 150px;
  width: 150px;
  object-fit: cover;
  border: 5px solid transparent;
  border-radius: 50%;
  background: linear-gradient(#111, #111) padding-box,
              linear-gradient(45deg, #ff305a, #764ba2) border-box;
  transition: all 0.3s ease;
}

.teams .carousel .card:hover img {
  border: 5px solid var(--white);
}

.owl-dots {
  text-align: center;
  margin-top: 20px;
}

.owl-dot {
  height: 13px;
  width: 13px;
  margin: 0 5px;
  outline: none !important;
  border-radius: 50%;
  border: 2px solid var(--lightgrey) !important;
  transition: all 0.3s ease;
}

.owl-dot.active {
  width: 35px;
  border-radius: 14px;
}

.owl-dot.active,
.owl-dot:hover {
  background: var(--lightgrey) !important;
}

/* About styling */
.email {
  word-break: break-all;
}

.about .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.about .container .left_content,
.about .container .right_content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.3em;
}

.about .container .left_content img {
  background: var(--black);
  width: 400px;
  height: 450px;
  object-fit: cover;
  border-radius: 7px;
}

.about .container .right_content {
  font-size: 19px;
  text-align: justify;
  padding-left: 100px;
}

.about .container .right_content .btn {
  width:auto;
  text-align: center;
}

/* Contact styling */
.contact .container {
  width: 100%;
  display: flex;
  flex-direction: row;
}

.contact .container .message {
  width: 50%;
}

.contact .container .message p:nth-child(1) {
  font-size: 22px;
  font-weight: 600;
}

.contact .container .message p:nth-child(3) {
  font-size: 19px;
  line-height: 1.3em;
}

.contact .container .message .address .info {
  display: flex;
  flex-direction: row;
  margin: 30px 0;
}

.contact .container .message .address .info .fas {
  background: linear-gradient(to top right, #ff305a, #764ba2);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  width: 20px;
  display: flex;
  align-items: center;
  font-size: 22px;
  padding: 5px;
}

.contact .container .message .address .info p {
  margin-left: 30px;
  font-size: 19px;
}

.inbox {
  height: 400px;
  width: 420px;
  box-shadow: 2px 2px 22px rgba(0, 0, 0, 0.164);
  margin-left: 55px;
  margin-top: 40px;
  padding: 40px;
  background: var(--white);
  border-radius: 7px;
  display: flex;
  flex-direction: column;
}

.inbox input,
.inbox textarea {
  padding: 12px;
  margin-bottom: 20px;
  font-size: 19px;
  outline: none;
  border: 1px solid lightgrey;
  border-radius: 7px;
  width: 100%;
}

.inbox textarea {
  height: 150px;
  resize: none;
}

.inbox p {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

.inbox form .field {
  width: 100%;
  display: grid;
}

.inbox form .two_field {
  display: flex;
}

.inbox form .two_field input {
  width: 100%;
}

.inbox .submit_btn {
  border: none;
  outline: none;
  background: linear-gradient(to top right, #ff305a, #764ba2);
  border-radius: 7px;
  color: var(--white);
  cursor: pointer;
  transition: all cubic-bezier(0.42, 0, 0, 1.57) 0.2s;
}

.inbox .submit_btn:hover {
  transform: scale(1.1);
}

/* Footer styling */
footer {
  height: 300px;
  background: var(--black);
  margin-top: -200px;
  font-size: 19px;
  color: #fff;
}

footer .social_link,
footer .copyright_message {
  height: 50%;
}

footer .social_link .container {
  width: 100%;
  text-align: center;
  padding: 20px 0;
}

footer .social_link .container .icon {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

footer .social_link .container .icon .fab {
  background: linear-gradient(to top right, #fff, #764ba2);
  background-clip: border-box;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  height: 35px;
  width: 35px;
  font-size: 25px;
  display: grid;
  place-items: center;
  margin: 17px 5px;
  border-radius: 2px;
  cursor: pointer;
}

footer .copyright_message {
  text-align: center;
}

footer .copyright_message p {
  padding-top: 30px;
}

footer .copyright_message p > a {
  background: linear-gradient(to top right, #ff305a, #764ba2);
  background-clip: border-box;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
}

/* Responsive Design */
@media only screen and (max-width: 1325px) {
  .content .left_content p:nth-child(1) {
    font-size: 20px;
  }
  
  .content .left_content p:nth-child(2) {
    font-size: 45px;
  }
  
  .content .left_content p:nth-child(3) {
    font-size: 25px;
  }
}

@media only screen and (max-width: 1240px) {
  .projects .container .row .img_txt .txt_container .btn {
    padding: 12px 15px;
    font-size: 15px;
  }
}

@media only screen and (max-width: 1074px) {
  nav ul li .navBtn {
    font-size: 17px;
    margin: 0 5px;
  }
}

@media only screen and (max-width: 1070px) {
  .about .container .left_content img {
    width: 360px;
    height: 410px;
  }
  
  .about .container .right_content {
    font-size: 17px;
    padding-left: 40px;
  }

  .inbox {
    height: 350px;
  }

  .inbox p {
    font-size: 19px;
  }

  .contact .container .message p:nth-child(1) {
    font-size: 19px;
  }
  
  .contact .container .message p:nth-child(3) {
    font-size: 17px;
  }
  
  .contact .container .message .address .info p {
    font-size: 17px;
  }
  
  .inbox input,
  .inbox textarea {
    padding: 9px;
    margin-bottom: 15px;
    font-size: 17px;
  }
}

@media only screen and (max-width: 1062px) {
  nav .logo {
    font-size: 40px;
  }
  
  nav ul li .navBtn {
    font-size: 18px;
    margin: 0 5px;
  }

  .content .left_content p:nth-child(1) {
    font-size: 17px;
  }
  
  .content .left_content p:nth-child(2) {
    font-size: 30px;
  }
  
  .content .left_content p:nth-child(3) {
    font-size: 19px;
  }

  .btn {
    padding: 10px 15px;
    font-size: 17px;
  }
}

@media only screen and (max-width: 990px) {
  .projects .container .row {
    flex-direction: column;
  }

  .projects .container .row img {
    box-shadow: 2px 2px 12px rgba(0,0,0,0.3);
    width: 100%;
  }

  .projects .container .row .img_txt {
    width: 100%;
    background: #fff;
    box-shadow: 2px 2px 12px rgba(0,0,0,0.3);
  }
  
  .projects .container .row .img_txt .txt_container {
    padding: 0 50px;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
}

@media only screen and (max-width: 940px) {
  .services .container .col {
    height: 270px;
    width: 270px;
  }

  .services .container .col img {
    width: 40px;
  }
  
  .services .container .col h3 {
    font-size: 22px;
  }
  
  .services .container .col p {
    font-size: 17px;
    width: 80%;
  }
}

@media only screen and (max-width: 900px) {
  .max-width {
    padding: 0 10px;
  }

  .content {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(/images/destiny\ studio.png);
  }

  .content .right_content {
    display: none;
  }

  .content .left_content p:nth-child(1) {
    font-size: 25px;
  }
  
  .content .left_content p:nth-child(2) {
    font-size: 45px;
  }
  
  .content .left_content p:nth-child(3) {
    font-size: 25px;
  }

  nav ul {
    position: fixed;
    height: 100vh;
    width: 100%;
    left: 0;
    top: -100vh;
    background: #000000de;
    transition: all cubic-bezier(0.42, 0, 0, 1.57) 0.5s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  nav ul.active {
    top: 0;
  }

  nav ul li {
    display: block;
    text-align: center;
    padding: 12px 0;
  }

  nav ul li:nth-child(1) {
    margin-top: 70px;
  }

  nav ul li .navBtn {
    font-size: 20px;
  }

  nav ul li .navBtn:hover {
    background: #d3d3d30c;
  }

  .menuBtn {
    display: flex;
  }

  .bar {
    background-color: #fff;
  }

  .nav-actions {
    position: fixed;
    top: 20px;
    right: 50px;
    z-index: 501;
  }

  #language-switcher {
    padding: 6px 25px 6px 10px;
    font-size: 14px;
  }

  .more_projects .row {
    flex-direction: column;
  }
 
  .more_projects .row img {
    width: 100%;
  }

  .teams {
    background-image: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.0)), url(/images/images.png);
  }

  .contact .container {
    flex-direction: column;
  }

  .contact .container .message {
    width: 100%;
  }
  
  .inbox {
    margin: 40px auto 0;
  }

  footer .social_link .container {
    width: 100%;
    padding: 150px 0 0 0;
  }

  footer .copyright_message {
    height: 20%;
    padding-top: 0;
  }
}

@media only screen and (max-width: 860px) {
  .about .container {
    flex-direction: column;
    align-items: center;
  }

  .about .container .left_content img {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url(/images/profile_background.jfif);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    max-width: 450px;
    height: auto;
    margin-bottom: 20px;
  }

  .about .container .right_content {
    padding-left: 0;
  }

  .about .container .right_content .btn {
    margin: 0 auto;
  }
}

@media only screen and (max-width: 780px) {
  .services .container {
    flex-direction: column;
    align-items: center;
  }
  
  .services .container .col:nth-child(2) {
    margin: 20px 0;
  }
}

@media only screen and (max-width: 670px) {
  .inbox {
    height: auto;
    width: 100%;
    max-width: 420px;
  }

  footer .copyright_message {
    font-size: 15px;
  }
}

@media only screen and (max-width: 600px) {
  .max-width {
    padding: 0 10px;
  }

  .menuBtn {
    right: 10px;
  }

  .nav-actions {
    right: 45px;
  }

  #language-switcher {
    padding: 5px 20px 5px 8px;
    font-size: 13px;
  }

  .top {
    right: 10px;
    height: 40px;
    width: 40px;
    border-radius: 5px;
  }

  .projects .container .row .img_txt .txt_container {
    padding: 15px;
  }

  .more_projects .row .text_container {
    padding: 30px 15px;
  }
}

@media only screen and (max-width: 480px) {
  .about .container .left_content img {
    width: 100%;
    height: auto;
  }

  .inbox {
    height: auto;
    width: 100%;
    box-shadow: none;
    margin-top: 40px;
    padding: 20px;
  }
  
  .inbox form .two_field {
    flex-direction: column;
  }

  .inbox form .two_field .space {
    display: none;
  }

  footer {
    margin-top: 0;
  }

  footer .social_link .container {
    padding: 70px 0 0 0;
  }

  footer .copyright_message {
    padding-top: 20px;
  }
}

@media only screen and (max-width: 400px) {
  .content .left_content p:nth-child(2) {
    font-size: 40px;
  }
  
  .content .left_content p:nth-child(3) {
    font-size: 25px;
  }
}

@media only screen and (max-width: 332px) {
  .content .left_content p:nth-child(2) {
    font-size: 30px;
  }

  .nav-actions {
    right: 40px;
  }
}