* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: "Ubuntu", Sans-Serif;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  background-color: #181535;
  color: #181535;
}

/*-----HEADER-----*/

header {
  position: fixed;
  display: flex;
  justify-content: space-between;
  background: #181535;
  top: 0;
  left: 0;
  padding: 0 100px;
  width: 100%;
  box-sizing: border-box;
  z-index: 100;
}

header .logo {
  color: white;
  height: 60px;
  line-height: 60px;
  font-size: 24px;
  font-family: "Poppins", Sans-Serif;
  float: left;
  font-weight: bold;
}
#yaya-text {
  color: DodgerBlue;
}
a {
  color: #181535;
  text-decoration: none;
}
ul {
  color: white;
}
h6 {
  color: grey;
  margin-top: 0;
  margin-bottom: 15px;
}
h1 {
  font-family: "Poppins", sans-serif;
  margin-bottom: 0;
  margin-top: 0;
}
header nav {
  float: right;
}
header nav ul {
  margin: 0;
  padding: 0;
  display: flex;
}
header nav ul li {
  list-style: none;
}
header nav ul li a {
  color: white;
  height: 60px;
  line-height: 60px;
  padding: 0 20px;
  text-decoration: none;
  display: block;
  font-weight: bold;
}
header nav ul li a:hover {
  color: #181535;
  background-color: DodgerBlue;
}
.menu-toggle {
  color: white;
  float: right;
  line-height: 50px;
  font-size: 24px;
  cursor: pointer;
  display: none;
}
.non-active {
  font-family: "Ubuntu", Sans-Serif;
}

/* HEADER RESPONSIVE */

@media (max-width: 950px) {
  header {
    padding: 0 60px;
  }
  .menu-toggle {
    display: block;
  }
  header nav {
    position: absolute;
    width: 100%;
    height: calc(100vh - 50px);
    top: 60px;
    right: -100%;
    transition: 0.5s all;
  }
  header nav.active {
    right: 0;
  }
  header nav ul {
    display: block;
    text-align: center;
  }
  header nav ul li a {
    background: #181535;
    color: white;
    font-weight: bold;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0 60px;
  }
  .menu-toggle {
    display: block;
  }
  header nav {
    position: absolute;
    width: 100%;
    height: calc(100vh - 50px);
    top: 60px;
    right: -100%;
    transition: 0.5s all;
  }
  header nav.active {
    right: 0;
  }
  header nav ul {
    display: block;
    text-align: center;
  }
  header nav ul li a {
    background: #181535;
    color: white;
    font-weight: bold;
  }
}

@media (max-width: 480px) {
  header {
    padding: 0 20px;
  }
  .menu-toggle {
    display: block;
  }
  header nav {
    position: absolute;
    width: 100%;
    height: calc(100vh - 50px);
    top: 60px;
    right: -100%;
    transition: 0.5s all;
  }
  header nav.active {
    right: 0;
  }
  header nav ul {
    display: block;
    text-align: center;
  }
  header nav ul li a {
    background: #181535;
    color: white;
    font-weight: bold;
  }
}

/*-----BODY-----*/

.hero {
  list-style: none;
  font-family: "Poppins", sans-serif;
  height: 100vh;
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background: white;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
}
section {
  padding: 0 19%;
}
.hero-text h5 {
  font-size: 14px;
  font-weight: 400;
  color: #181535;
  margin-bottom: 40px;
}
.hero-text h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 90px;
  line-height: 1;
  color: #181535;
  margin: 0 0 45px;
}
.hero-text h4 {
  font-size: 18px;
  font-weight: 600;
  color: #181535;
  margin-bottom: 10px;
}
.hero-text p {
  color: #181535;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 40px;
}
.hero-img img {
  width: 380px;
  height: auto;
}
.cta {
  color: white;
}
.ctaa {
  color: #181535;
}
.hero-text a {
  text-decoration: none;
  display: inline-block;
  background: #181535;
  border: 1px solid transparent;
  padding: 12px 30px;
  line-height: 1.4;
  font-size: 14px;
  font-weight: 500;
  border-radius: 30px;
  text-transform: uppercase;
  transition: all 0.55s ease;
}
.hero-text a:hover {
  color: #181535;
  background: transparent;
  border: 1px solid #181535;
  transform: translateX(8px);
}
.hero-text a.ctaa {
  background: transparent;
  border: 1px solid #181535;
  margin-left: 20px;
}
.hero-text a.ctaa i {
  vertical-align: middle;
  margin-right: 5px;
}
.icons {
  position: absolute;
  top: 50%;
  padding: 0 9%;
  transform: translateY(-50%);
}
.icons i {
  display: block;
  margin: 26px 0;
  font-size: 30px;
  color: #181535;
  transition: all 0.5s ease;
}
.icons i:hover {
  color: #181535;
  transform: translateY(-5px);
}
.scroll-down {
  position: absolute;
  bottom: 6%;
  right: 9%;
}
.scroll-down i {
  display: block;
  padding: 12px;
  font-size: 25px;
  color: white;
  background: #181535;
  border-radius: 30px;
  transition: all 0.5s ease;
}
.scroll-down i:hover {
  transform: translateY(-5px);
}

/* BODY RESPONSIVE */

@media (max-width: 1535px) {
  .icons {
    padding: 0 3%;
    transition: 0.2s;
  }
  .scroll-down {
    right: 3%;
    transition: 0.2s;
  }
}

@media (max-width: 1460px) {
  section {
    padding: 0 12%;
    transition: 0.2s;
  }
}

@media (max-width: 1340px) {
  .hero-img img {
    height: auto;
  }
  .hero-text h1 {
    font-size: 75px;
    margin: 0 0 30px;
  }
  .hero-text h5 {
    margin-bottom: 25px;
  }
}

@media (max-width: 950px) {
  section {
    padding: 3%;
    transition: 0.2s;
  }

  .hero-img {
    text-align: center;
  }
  .hero-img img {
    width: 300px;
    height: auto;
  }
  .hero {
    height: 100%;
    gap: 1rem;
    grid-template-columns: 1fr;
    padding-top: 5rem;
  }
  .icons {
    display: none;
  }
  .scroll-down {
    display: none;
  }
}

@media (max-width: 650px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .hero-text {
    padding-bottom: 100px;
  }
  section {
    padding: 0 15px;
  }
  .hero-text h1 {
    font-size: 70px;
  }
  .hero-img img {
    padding-top: 100px;
    width: 250px;
    height: auto;
  }
  .icons {
    padding: 0 10px;
  }
  .icons i {
    font-size: 16px;
    margin: 8px 0;
  }
  .scroll-down {
    right: 10px;
  }
  .scroll-down i {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }
  section {
    padding: 0 10px;
  }
  .hero-text h1 {
    font-size: 60px;
  }
  .hero-img img {
    width: 200px;
    height: auto;
  }
  .icons {
    padding: 0 5px;
  }
  .icons i {
    font-size: 16px;
  }
  .scroll-down {
    right: 5px;
  }
  .scroll-down i {
    font-size: 18px;
  }
}

@media (max-width: 375px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }
  section {
    padding: 0 10px;
  }
  .hero-text h1 {
    font-size: 60px;
  }
  .hero-img img {
    width: 120px;
  }
  .icons {
    padding: 0 5px;
  }
  .icons i {
    font-size: 18px;
  }
  .scroll-down {
    right: 5px;
  }
  .scroll-down i {
    font-size: 20px;
  }
}

@media (max-width: 320px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 0 8px;
  }
  section {
    padding: 0 8px;
  }
  .hero-text h1 {
    font-size: 50px;
  }
  .hero-img {
    width: 100px;
  }
  .icons {
    padding: 0 4px;
  }
  .icons i {
    font-size: 16px;
  }
  .scroll-down {
    right: 4px;
  }
  .scroll-down i {
    font-size: 18px;
  }
}

/* SECTION CONTENT */

.section-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.about-text,
.certificate-text {
  color: #fff;
}
.section-content h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 3rem;
}
.section-content p {
  max-width: 500px;
  margin: 0px auto 10px auto;
  line-height: 28px;
  font-size: 16px;
  color: #fff;
  font-family: "Ubuntu", Sans-Serif;
}

/* SECTION ABOUT */

.about {
  background-color: #181535;
  margin: 0;
  padding: 2rem;
}

/* SECTION PROJECT */

.project {
  margin: 0;
  padding: 2rem;
  background-color: white;
  width: 100%;
  position: 0;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.section-project {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  margin-top: 20px;
}
.img-project {
  width: 90%;
}
.text-project {
  color: #fff;
  font-family: "Poppins", Sans-Serif;
  font-size: 20px;
  padding-top: 1rem;
}
.bg-project {
  text-align: center;
  height: auto;
  min-height: 420px;
  width: 320px;
  background-color: #181535;
  margin: 10px;
  border-radius: 20px;
  background-size: 100% 100%;
  margin-bottom: 50px;
  padding-bottom: 25px;
}

/* SECTION CERTIFICATION */

.certificate {
  background-color: #181535;
  margin: 0;
  padding: 2rem;
}
.text-certification {
  color: #181535;
  font-family: "Poppins", Sans-Serif;
  font-size: 15px;
  padding: 1rem;
}
.bg-certification {
  text-align: center;
  height: 300px;
  width: 320px;
  background-color: #fff;
  margin: 10px;
  border-radius: 20px;
  background-size: 100% 100%;
  margin-bottom: 50px;
}
.img-certification {
  width: 90%;
}

/* SECTION RESPONSIVE */

@media (max-width: 1040px) {
  .section-project {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 690px) {
  .section-project {
    grid-template-columns: repeat(1, 1fr);
  }
}

.desc-project {
    font-size: 13px;
    padding: 10px 15px;
    margin: 10px 0;
    line-height: 1.5;
    text-align: justify;
    color: #fff;
    font-family: "Ubuntu", Sans-Serif;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 0 15px;
    margin-top: 10px;
}

.project-tech span {
    background: rgba(255, 255, 255, 0.1);
    color: DodgerBlue;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
}

@media (max-width: 320px) {
    .text-project {
        font-size: 15px;
    }
    .img-project {
        width: 70%;
    }
    .bg-project {
        height: auto;
        padding-bottom: 15px;
        width: 270px;
    }
}

/*-----FOOTER-----*/

footer {
  position: 0;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  height: auto;
  width: 100%;
  color: #181535;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 1rem;
}
.footer-content h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 3rem;
}
.socials {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  gap: 20px;
}
.socials li {
  margin: 0;
}
.socials a {
  text-decoration: none;
  color: #181535;
  border: 1.2px solid #181535;
  padding: 8px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  transition: all 0.4s ease;
  min-width: 140px;
  justify-content: center;
}
.socials a i {
  font-size: 1.1rem;
  width: auto;
  transition: color 0.4s ease;
}
.socials a:hover {
  color: white;
  background-color: #181535;
  transform: translateY(-5px);
  border-color: #181535;
}
.footer-bottom {
  background: #181535;
  width: 100%;
  padding: 20px;
  padding-bottom: 25px;
  text-align: center;
}
.footer-bottom p {
  font-size: 16px;
  word-spacing: 2px;
  text-transform: capitalize;
  font-family: "Ubuntu", Sans-Serif;
}
.footer-bottom p {
  color: DodgerBlue;
  font-size: 16px;
  text-decoration: none;
}
.footer-bottom span {
  text-transform: uppercase;
  opacity: 0.4;
  font-weight: 200;
}

/*-----TECH STACK-----*/

.tech-stack-container {
  margin-top: 30px;
  width: 100%;
  max-width: 800px;
}
.tech-stack-title {
  color: DodgerBlue;
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
.tech-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 18px;
  border-radius: 12px;
  color: white;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  cursor: default;
}
.tech-item:hover {
  background: DodgerBlue;
  transform: translateY(-5px);
  color: #181535;
  border-color: DodgerBlue;
  font-weight: 600;
}
.tech-item i {
  font-size: 20px;
}
/*-----TECH STACK SECTION-----*/

.tech-stack-section {
    background-color: #fff;
    margin: 0;
    padding: 4rem 2rem;
}

.tech-stack-header {
    color: #181535 !important;
    margin-bottom: 2rem !important;
}

.tech-stack-section .tech-item {
    background: rgba(24, 21, 53, 0.05);
    border: 1px solid rgba(24, 21, 53, 0.1);
    color: #181535;
}

.tech-stack-section .tech-item:hover {
    background: #181535;
    color: #fff;
    border-color: #181535;
}

/*-----GALLERY SECTION-----*/

.gallery {
    background-color: #181535;
    margin: 0;
    padding: 4rem 2rem;
}

.gallery-text {
    color: #fff !important;
    margin-bottom: 2rem !important;
}

.bg-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin: 10px;
    width: 340px;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.bg-gallery:hover {
    transform: translateY(-8px);
}

.img-gallery {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bg-gallery:hover .img-gallery {
    transform: scale(1.08);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px 10px;
    background: linear-gradient(transparent, rgba(10, 8, 25, 0.95));
    color: white;
    text-align: left;
}

.gallery-info h3 {
    font-size: 1rem;
    margin-bottom: 2px;
    font-family: "Poppins", sans-serif;
    color: #fff;
}

.gallery-info p {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 0px !important;
}

@media (max-width: 690px) {
    .bg-gallery {
        width: 100%;
        max-width: 380px;
        margin: 10px auto;
    }
}
