/* Other stylesheets */

@import "project.css";

/* General Elements */
::selection {
  background: #2654c8;
  color: #ffffff;
}

html {
  scroll-behavior: smooth;
}
* {
  font-family: "manrope", sans-serif;
}

body {
  margin: 0px;
  font-family: "manrope", sans-serif;
  font-weight: 400;
  letter-spacing: 0.3px;
  margin-bottom: 0px;
}

b {
  color: #1d242f;
}

p {
  color: #3a4253;
}

/*

.bg-pattern {
    background-color: #fff;
    background-image: url('images/bg-pattern.png');
    background-repeat: repeat-x, repeat;
    background-position: 50% 50%;
    background-attachment: fixed;
}
*/
.main-logo {
  width: 125px;
  transition: all 150ms ease-out;
}

.main-logo:active {
  opacity: 40%;
}

.container {
  margin-left: 4vw;
  margin-right: 4vw;
}

a {
  color: #1d242f;
  text-decoration: none;
  transition: all 150ms ease-out;
}

a:hover {
  color: #2654c8;
}

a:active {
  color: #7ca1ff;
}

.inline-link {
  color: #2654c8;
  text-decoration: none;
  transition: all 150ms ease-out;
}

.inline-link:hover {
  color: #2654c8;
  text-decoration: none;
  transition: all 150ms ease-out;
}
.inline-link:active {
  color: #7ca1ff;
}

.bold {
  font-weight: 700;
}

.section-muted {
  background-color: #f7f8fa;
  padding-left: 3vw;
  padding-right: 3vw;
}

/* spacing */

.margin-top-default {
  margin-top: 3rem;
}

.margin-top-large {
  margin-top: 4rem;
}

.margin-bottom-large {
  margin-bottom: 4rem;
}

.margin-top-xlarge {
  margin-top: 5rem;
}

.margin-bottom-xlarge {
  margin-bottom: 5rem;
}

.margin-bottom-default {
  margin-bottom: 3rem;
}

.padding-top-default {
  padding-top: 3rem;
}
.padding-top-large {
  padding-top: 4rem;
}

.padding-bottom-default {
  padding-bottom: 3rem;
}

.margin-top-small {
  margin-top: 1rem;
}

.margin-top-none {
  margin-top: 0px;
}

.margin-bottom-none {
  margin-bottom: 0px;
}

.margin-bottom-small {
  margin-bottom: 1.5rem !important;
}

.no-margin-vert {
  margin-top: 0px;
  margin-bottom: 0px;
}

/* Buttons */

.btn-text {
  transition: all 200ms ease-out;
  color: #2654c8;
  font-size: 15px;
  padding: 0px;
  text-align: left;
  width: fit-content;
  border: 0px;
  background-color: #2654c800;
  cursor: pointer;
  width: 190px;
  background-position: 56% 50%;
  background-size: 12px 30px;
  background-image: url("/images/arrow-right.svg");
  background-repeat: no-repeat;
  font-weight: 600;
  letter-spacing: 0px;
}

/* .grid-item-text .btn-text {
  margin-top: 0.5rem;
} */

.btn-text:hover {
  background-position: 58% 50%;
}

.btn-text:active {
  color: #7ca1ff;
}

.button-primary {
  transition: all 200ms ease-in-out;
  padding: 13px 19px;
  border-radius: 5px;
  border: 0px solid #2654c8;
  text-transform: capitalize;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(
    90deg,
    rgba(45, 87, 193, 1) 0%,
    rgba(32, 70, 166, 1) 100%
  );
  letter-spacing: 0.3px;
  box-shadow: 0px 0px 15px -5px rgba(45, 87, 193, 1);
}

.button-primary:hover {
  cursor: pointer;
  background: linear-gradient(
    90deg,
    rgb(36, 68, 154) 0%,
    rgb(36, 68, 154) 100%
  );
}

.button-primary:active {
  opacity: 70%;
  color: #ffffff;
}

.button-secondary {
  transition: all 200ms ease-out;
  padding: 11px 17px;
  border-radius: 5px;
  background-color: transparent;
  border: 2px solid #2654c8;
  text-transform: capitalize;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
  color: #2654c8;
  box-shadow: 0px 0px 15px -5px rgba(45, 87, 193, 1);
}

.button-secondary:hover {
  cursor: pointer;
  color: rgb(36, 68, 154);
  background-color: #ffffff;
  box-shadow: 0px 0px 15px -10px rgba(45, 87, 193, 1);
}

.button-secondary:active {
  opacity: 70%;
}

.double-btns {
  display: flex;
  justify-content: left;
  gap: 1.25rem;
}

/* Text */

.lead-text {
  font-weight: 400;
  letter-spacing: 0.4px;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 3.5vh;
}

.text-large {
  font-size: 19px;
}

.text-meta {
  color: rgb(155, 155, 155);
  font-size: 0.9rem;
  padding-bottom: 1vh;
}

.text-meta a {
  color: rgb(155, 155, 155);
}

.text-meta a:hover {
  color: #2654c8;
}

.text-meta a:active {
  color: #7ca1ff;
}

.h1 {
  font-weight: 500;
  font-size: 3.2rem;
  line-height: 1.25;
  letter-spacing: 0.5px;
  color: #1d242f;
}

.hp-h1 {
  margin-top: 0px;
}

.h2 {
  font-weight: 500;
  font-size: 2.25rem;
  line-height: 1.3;
  color: #1d242f;
}

.h3 {
  font-size: 1.7rem;
  font-weight: 500;
  margin-bottom: 0px;
  color: #1d242f;
}

.h4 {
  font-size: 1rem;
  font-weight: 500;
  color: #1d242f;
}

.text-muted {
  color: #3a425375;
  margin-top: 1.5vh;
  margin-bottom: 1.6vh;
}

.text-muted a {
  color: #8a91a1;
}

.text-muted a:hover {
  color: #2654c8;
}

.text-muted a:active {
  color: #7ca1ff;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "manrope";
  height: 5rem;
}

.navbar-right-list {
  list-style-type: none;
  display: flex;
  gap: 2rem;
}

.navbar-right-list li a {
  text-decoration: none;
}

/* Horizontal Rule */
hr {
  border-top: 1px solid #e0e5ef;
  border-bottom: none;
}

.nav-hr {
  margin-top: 0px;
}

.hide {
  display: none;
}

/* Hero Section */
.hero {
  display: flex;
  gap: 3.5rem;
}

.hero-left,
.hero-right {
  width: 50%;
  align-self: center;
}

.recent-projects {
  margin-top: 1.5rem;
}

.hp-h1-mobile {
  display: none;
}

.hero-pills {
  display: flex;
  gap: 14px;
  margin-top: 0px;
  flex-wrap: wrap;
}

.hero-pills span {
  background-color: #f7f8fa;
  padding: 0px 15px 0px 15px;
  line-height: 2.3;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #3a425375;
}

/* Grid */

.grid-container {
  display: grid;
  column-gap: 2.5rem;
  row-gap: 3rem;
  grid-template-columns: 1fr 1fr;
}

.grid-item {
  text-align: left;
}

.grid-item-img {
  min-width: 100%;
  height: 30rem;
  object-fit: cover;
  object-position: top;
  border-radius: 7px;
  /*
  -webkit-box-shadow: 0px 12px 29px -19px rgba(0, 0, 0, 0.33);
  -moz-box-shadow: 0px 12px 19px -19px rgba(0, 0, 0, 0.33);
  box-shadow: 0px 12px 29px -19px rgba(0, 0, 0, 0.33);
  
  cursor: pointer; */
  transition: all 200ms ease-out;
  border: 0px solid #fff;
}

.grid-item-img:hover {
  -webkit-box-shadow: 0px 18px 29px -19px rgba(0, 0, 0, 0.33);
  -moz-box-shadow: 0px 18px 29px -19px rgba(0, 0, 0, 0.33);
  box-shadow: 0px 18px 29px -19px rgba(0, 0, 0, 0.33);
  transform: scale(1.015);
  cursor: url("/images/Group-2.png") 30 30, auto;
}

.grid-item-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 0rem;
}

.grid-container a:hover {
  opacity: 100%;
}

.box-shadow-default {
  box-shadow: 0px 5px 29px -15px rgba(0, 0, 0, 0.24);
}

/* cta */

.cta {
  transition: all 500ms ease-out;
  text-align: center;
}

.cta:hover {
  color: #2b2b2b18;
}
.cta-links {
  transition: all 200ms ease-out;
  border-bottom: 0.5px solid #1d242f;
}

.cta-links:hover {
  border-bottom: 0.5px solid #2654c8;
}

.cta-links:active {
  border-bottom: 0.5px solid #7ca1ff;
}

/*
.cta-links-bold {
  font-weight: 400;
  }
*/
.muted-inner {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.cta .muted-inner {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.muted-inner .h1 {
  margin-top: 16px;
  margin-bottom: 16px;
}

/* Footer */

.self-img {
  width: 13rem;
  border-radius: 7px;
  object-fit: cover;
  height: 13rem;
}

.footer-intro {
  margin-bottom: 3rem;
  max-width: 80vw;
}

.row-layout {
  display: flex;
  gap: 2rem;
}

.row-left {
  width: 50%;
  line-height: 2rem;
}

.row-right {
  text-align: left;
  line-height: 2rem;
  max-width: 50%;
  word-wrap: break-word;
  /* word-break: break-all; */
}

.footer .h4 {
  line-height: 1.7rem;
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Skill logos */

.slider-logo-card {
  box-shadow: 0px 2px 28px -12px rgba(0, 0, 0, 0.3);
  padding: 0px;
  height: 13rem;
  width: 13rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-out;
  border-radius: 7px;
}

.skill-icons {
  display: flex;
  gap: 1.5rem;
}

.logo-scroller {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 85%;
  align-content: center;
  bottom: 32px;
}

.scroller-track {
  display: flex;
  gap: 1.5rem; /* Adjust spacing */
  animation: scroll 25s linear infinite;
  width: max-content; /* Ensure it stretches */
}

.scroller-track img {
  width: 100px; /* Adjust logo size */
  display: inline-block;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.slider-logo-card:hover {
  transform: scale(1.05);
}

/* Gallery page 

.gallery-full-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.gallery-full-flex div {
  flex: 1 1 20%;
  min-width: 280px; 

.gallery-full-flex img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 3rem;
  -webkit-box-shadow: 0px 12px 29px -19px rgba(0, 0, 0, 0.33);
  -moz-box-shadow: 0px 12px 19px -19px rgba(0, 0, 0, 0.33);
  box-shadow: 0px 12px 29px -19px rgba(0, 0, 0, 0.33);
}

@media (max-width: 1200px) {
  .gallery-full-flex div {
    flex: 1 1 45%; 
  }
}

@media (max-width: 768px) {
  .gallery-full-flex div {
    flex: 1 1 100%; 
  }
}

*/

/* Banner Background
/*---------------------------------------------*/

.banner {
  min-width: 100%;
  max-width: 100%;
  height: 67vh;
  border-radius: 7px;
  background-size: cover;
  background-position: top;
  -webkit-box-shadow: 0px 17px 29px -19px rgba(0, 0, 0, 0.33);
  -moz-box-shadow: 0px 17px 29px -19px rgba(0, 0, 0, 0.33);
  box-shadow: 0px 17px 29px -19px rgba(0, 0, 0, 0.33);
  transition: all 150ms ease-out;
  /* Enable smoother rendering in Firefox */
  will-change: background-image;
  transform: translateZ(0); /* Forces GPU acceleration */
  image-rendering: -moz-crisp-edges;
}

.img-1,
.img-2,
.img-3,
.img-4,
.img-5,
.img-6,
.img-7,
.img-8,
.img-9,
.img-10,
.img-11,
.img-12,
.img-13,
.img-14,
.img-15,
.img-16,
.img-17,
.img-18 {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  z-index: -18;
  opacity: 0;
  animation-name: fade;
  animation-duration: 54s;
  animation-iteration-count: infinite;
  border-radius: 7px;
}

.img-1 {
  animation-delay: 0s;
}
.img-2 {
  animation-delay: 3s;
}
.img-3 {
  animation-delay: 6s;
}
.img-4 {
  animation-delay: 9s;
}
.img-5 {
  animation-delay: 12s;
}
.img-6 {
  animation-delay: 15s;
}
.img-7 {
  animation-delay: 18s;
}
.img-8 {
  animation-delay: 21s;
}
.img-9 {
  animation-delay: 24s;
}
.img-10 {
  animation-delay: 27s;
}
.img-11 {
  animation-delay: 30s;
}
.img-12 {
  animation-delay: 33s;
}
.img-13 {
  animation-delay: 36s;
}
/* .img-14 {
  animation-delay: 39s;
}
.img-15 {
  animation-delay: 42s;
}
.img-16 {
  animation-delay: 45s;
}
.img-17 {
  animation-delay: 48s;
}
.img-18 {
  animation-delay: 51s;
} */

/* Banner Animations (4s per image, 16s total timeline)
/*---------------------------------------------*/

@keyframes fade {
  /* By offsetting the fade out and animating z-index, we can prevent the background from showing up at all*/
  0% {
    opacity: 0;
    z-index: -10;
  }
  2% {
    opacity: 1;
    z-index: -10;
  }
  98% {
    opacity: 1;
    z-index: -20;
  }
  100% {
    opacity: 0;
    z-index: -20;
  }
}

/* Adjust Responsive */

@media (min-width: 1600px) {
  p,
  .navbar,
  .h4 {
    font-size: 1.12rem;
  }

  .text-meta p {
    font-size: 1rem;
  }

  .h3 {
    font-size: 1.62rem;
  }

  .h1,
  .h2 {
    font-size: 2.75rem;
  }

  .lead-text {
    font-size: 1.12rem;
  }

  .hero-left-text {
    max-width: 790px;
  }
}

@media (min-width: 1400px) and (max-width: 1599px) {
  .banner {
    min-height: 480px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .grid-item-img {
    height: 25rem;
  }

  .banner {
    min-height: 450px;
  }
}

@media (min-width: 960px) and (max-width: 1199px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .banner {
    min-height: 600px;
  }

  .h1 {
    margin-top: 0rem;
    font-size: 3.4em;
  }

  .cta .h1 {
    font-size: 2.8rem;
  }

  .lead-text {
    max-width: 100%;
  }

  .hero-pills {
    justify-content: center;
  }

  .hero-left {
    width: 70%;
  }

  .hero-right {
    width: 100%;
  }

  .grid-item-img {
    height: 20rem;
  }

  .h2 {
    max-width: 95%;
  }

  .self-img {
    width: 12rem;
    height: 12rem;
  }

  .slider-logo-card {
    height: 12rem;
    width: 12em;
  }

  .text-muted {
    line-height: 1.5;
  }
  .double-btns {
    display: flex;
    justify-content: center;
  }

  .logo-scroller {
    width: 75%;
  }
}

@media (min-width: 450px) and (max-width: 639px) {
  .banner {
    min-height: 54vh;
  }

  .grid-item-img {
    min-height: 45vh;
  }
}

@media (min-width: 640px) and (max-width: 959px) {
  .nav-hr {
    margin-bottom: 0px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    gap: 0px;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero-right {
    padding-top: 4rem;
  }

  .h1 {
    margin-top: 0rem;
    font-size: 3em;
  }
  .cta .h1 {
    font-size: 2.3rem;
  }

  .h3 {
    font-size: 1.3rem;
    font-weight: 500;
  }

  .hero-left {
    text-align: left;
  }

  .recent-projects {
    margin-bottom: 0px;
  }

  .text-muted {
    line-height: 1.5;
    font-size: 0.95rem;
  }

  .lead-text {
    max-width: 100%;
    line-height: 1.5;
  }

  .hero-left,
  .hero-right {
    width: 100%;
  }

  /*  
  .hero-left {
    order: 2;
  }
  .hero-right {
    order: 1;
  }
  */

  .hero-right img {
    max-height: 30rem;
  }

  .grid-container {
    row-gap: 3rem;
    column-gap: 2rem;
  }

  .grid-item-img {
    height: 16rem;
    width: 100%;
  }

  .margin-top-default {
    margin-top: 2.5rem;
  }

  .self-img {
    width: 12rem;
    height: 12rem;
  }

  .slider-logo-card {
    height: 12rem;
    width: 12em;
  }

  .logo-scroller {
    width: 75%;
  }

  .h2 {
    max-width: 100%;
    font-size: 2em;
  }

  .row-left {
    width: 35%;
  }

  .row-right {
    text-align: left;
    line-height: 1.7rem;
  }

  .double-btns {
    display: flex;
    justify-content: left;
  }

  .cta .muted-inner {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .cta .h1 {
    margin-top: 0px;
  }

  .cta .lead-text {
    margin-bottom: 0px;
  }
}

@media (max-width: 639px) {
  .nav-hr {
    margin-bottom: 0px;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .navbar-left {
    font-size: 1.87rem;
    height: 4.5rem;
  }

  .navbar-right-list {
    padding-left: 0rem;
    gap: 2.5rem;
  }

  .navbar-right-list li a {
    text-decoration: none;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .lead-text {
    max-width: 100%;
    line-height: 1.5;
  }

  .hero-left,
  .hero-right {
    width: 100%;
  }

  .banner {
    height: 40vh;
  }

  .hero-left {
    order: 2;
    text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .hero-right {
    order: 1;
  }

  .grid-item-img {
    height: 15rem;
    width: 100%;
  }

  .recent-projects {
    margin-bottom: 0px;
  }

  .grid-container {
    grid-template-columns: 1fr;
  }

  .margin-top-default {
    margin-top: 1.3rem;
  }

  .margin-top-large {
    margin-top: 3rem;
  }

  .self-img {
    width: 100%;
    height: auto;
    margin-top: 0rem;
    margin-bottom: 1rem;
  }

  .h2 {
    max-width: 100%;
    font-size: 1.7rem;
  }

  .h3 {
    font-size: 1.37rem;
    font-weight: 400;
  }

  .row-left {
    width: 100%;
  }

  .row-left p {
    line-height: 1.7rem;
  }

  .row-layout {
    flex-direction: column;
    gap: 0rem;
  }

  .h4 {
    font-size: 1.37rem;
    margin-bottom: 1.5vh;

    font-weight: 400;
  }

  .smallest-screen-hide {
    display: none;
  }

  .hide {
    display: block;
  }

  .row-right {
    text-align: left;
    line-height: 1.7rem;
    max-width: 100%;
    word-wrap: break-word;
    /* word-break: break-all; */
  }

  .row-right p {
    margin-top: 0px;
  }

  .double-btns {
    display: flex;
    justify-content: left;
  }

  .main-logo {
    width: 225px;
  }

  .navbar-left-link {
    margin-top: 1.5rem;
  }

  .navbar-right-list {
    gap: 2rem;
    margin-top: 0px;
  }

  .nav-hr {
    margin-top: 2rem;
  }

  .text-muted {
    line-height: 1.5;
    font-size: 0.95rem;
  }

  .cta {
    text-align: left;
  }

  .cta .muted-inner {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .cta .h1 {
    margin-top: 0px;
  }

  .cta .lead-text {
    margin-bottom: 0px;
  }

  .skill-icons {
    flex-direction: column;
    gap: 0px;
  }

  .logo-scroller {
    width: 100%;
  }

  .scroller-track {
    gap: 1rem;
    height: 8.8rem;
    align-items: center;
  }

  .logo-scroller {
    align-items: center;
    bottom: -4px;
  }

  .slider-logo-card {
    height: 7rem;
    width: 7rem;
  }

  .scroller-track img {
    width: 55%;
  }

  .grid-item-text .btn-text {
    margin-top: 0rem;
  }

  .hp-h1 {
    display: none;
  }

  .hp-h1-mobile {
    display: block;
  }

  .h1 {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 0rem;
  }

  .row-left p {
    margin-bottom: 1.5vh;
  }
  .hero-left {
    order: 1;
  }
  .hero-right {
    order: 2;
  }
}
