* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Signika', sans-serif;
  list-style: none;
  text-decoration: none;
  scroll-behavior: smooth;
}

:root {
  --bg-color: #020415;
  --text-color: #fff;
  --main-color: #eb4a4a;
  --second-color: gray;
  --other-color: #12141c;
  --h1-font: 5.2rem;
  --h2-font: 3.5rem;
  --p-font: 1.1rem;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  width: 100%;
}

a {
  color: inherit;
}

/*** Header Section CSS Styles ***/
header {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  padding: 22px 16%;
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
}

header .sticky {
  padding: 10px 16%;
  background: var(--bg-color);
  border-bottom: 1px solid #102a7e;
}

.logo img {
  width: 135px;
  height: auto;
}

.navbar {
  display: flex;
}

.navbar a {
  color: var(--second-color);
  font-size: var(--p-font);
  font-weight: 600;
  padding: 10px 25px;
  margin: 0 2px;
  border-bottom: 0.5rem;
  transition: all 0.4s ease;
}

.navbar a:hover {
  background: var(--main-color);
  color: var(--text-color);
}

#menu-icon {
  font-size: 36px;
  color: var(--text-color);
  z-index: 10001;
  cursor: pointer;
  display: none;
}

/***********************
   Main Section CSS Styles 
   ************************/

section {
  /* border: 1px solid red; */
  padding: 80px 16% 40px;
  margin: 0;
}

/*** Home Section CSS Styles ***/
.home {
  height: 80vh;
  width: 100%;
  position: relative;
  background: url(./img/5.png);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.img-responsive {
  width: 24rem;
  z-index: 9999;
  position: absolute;
  right: 10rem;
  bottom: 0;
}

.title-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.title-text h1 {
  margin: 20px 0;
  font-size: var(--h1-font);
  font-weight: bold;
  line-height: 1.1;
  letter-spacing: 2px;
}

span {
  color: var(--main-color);
}
.title-text h4 {
  color: var(--main-color);
  font-size: 27px;
  font-weight: 600;
}

.title-text h4 {
  font-size: 27px;
  font-weight: 600;
  margin-bottom: 3rem;
}

.btn {
  display: inline-block;
  text-align: center;
  margin-top: 2rem;
  padding: 10px 40px;
  width: 50%;
  border-radius: 0.5rem;
  font-size: 17px;
  font-weight: 500;
  background: var(--main-color);
  color: var(--text-color);
  border: 1px solid var(--main-color);
  transition: all 0.4s ease;
}

.btn:hover {
  transform: scale(1) translateY(-5px);
  background: transparent;
  border: 1px solid var(--main-color);
}

/*** About Section CSS Styles ***/

.about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 3rem;
}

.about-text h4 {
  margin: 10px 0;
  color: var(--main-color);
  font-size: 20px;
  font-weight: 600;
}

.about-text h2 {
  font-size: var(--h2-font);
}

.about-text p {
  color: var(--second-color);
  font-size: var(--p-font);
  line-height: 30px;
  margin-bottom: 2rem;
}

.about-gri {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, auto));
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.about-in h5 {
  font-size: 22px;
  font-weight: 600;
}

.about-img video {
  height: auto;
  width: 100%;
  max-width: 460px;
}

/*** Services Section CSS Styles ***/
.main-text {
  text-align: center;
}

.main-text h2 {
  font-size: var(--h2-font);
  margin-bottom: 10px;
}

.main-text h4 {
  color: var(--main-color);
  font-size: 24px;
  font-weight: 600;
}

.services-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, auto));
  align-items: center;
  text-align: center;
  gap: 2rem;
  margin-top: 5rem;
}

.box {
  padding: 45px;
  background: #12141c;
  border-top: 5px solid transparent;
  border-radius: 00.5rem;
  transition: all 0.4s ease;
  cursor: pointer;
}

.box h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 15px 0;
  transition: all 0.4s ease;
}

.box p {
  color: var(--second-color);
  font-size: var(--p-font);
  line-height: 30px;
}

.box:hover {
  transform: scale(1.01) translateY(-5px);
  border-top: 5px solid var(--main-color);
}

.box:hover h3 {
  color: var(--main-color);
}

/*** Portfolio Section CSS Styles ***/
.portfolio-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, auto));
  align-items: center;
  gap: 2rem;
  margin-top: 5rem;
}

.row img {
  height: auto;
  width: 100%;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.row {
  padding: 25px;
  background: #12141c;
  border-radius: 0.5rem;
  transition: all 0.4s ease;
}

.main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.row h3 {
  font-size: 25px;
  font-weight: 700;
}

.row h6 {
  color: var(--main-color);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
}

.row-icon i {
  font-size: 21px;
}
.row:hover {
  transform: scale(1.01) translateY(-5px);
  cursor: pointer;
}

/*** Contact US Section CSS Styles ***/
.contact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 3rem;
}

.contact-text h4 {
  margin: 15px 0;
  color: var(--main-color);
  font-size: 20px;
  font-weight: 600;
}

.contact-text h2 {
  font-size: var(--h2-font);
}

.contact-text p {
  color: var(--second-color);
  font-size: var(--p-font);
  line-height: 30px;
  margin-bottom: 2rem;
}

.contact-list {
  margin-bottom: 3rem;
}

.contact-list li {
  margin-bottom: 10px;
  display: block;
}

.contact-list li a {
  display: block;
  color: var(--second-color);
  font-size: var(--p-font);
  font-weight: 600;
  transition: all 0.4s ease;
}

.contact-list li a:hover {
  transform: scale(1.01) translateY(-5px);
  color: var(--main-color);
}

.contact-icons i {
  height: 40px;
  width: 40px;
  background: #12141c;
  border-radius: 0.5rem;
  color: var(--main-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18;
  margin-right: 10px;
  transition: all 0.4s ease;
}

.contact-icons i:hover {
  transform: scale(1.01) translateY(-5px);
  color: var(--text-color);
  background: var(--main-color);
}

.contact-form form {
  position: relative;
}

.contact-form form input,
form textarea {
  border: none;
  outline: none;
  width: 100%;
  padding: 18px;
  background: #12141c;
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
}

.contact-form textarea {
  resize: none;
  height: 220px;
}

.contact-form form .send {
  display: inline-block;
  font-size: 17px;
  font-weight: 500;
  background: var(--main-color);
  color: var(--text-color);
  width: 190px;
  transition: all 0.4s ease;
  cursor: pointer;
}

.last-text p {
  text-align: center;
  padding: 15px;
  color: var(--second-color);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
}

.top {
  position: fixed;
  bottom: 2.1rem;
  right: 2.1rem;
}

.top i {
  color: var(--text-color);
  background: var(--main-color);
  font-size: 20px;
  padding: 10px;
  border-radius: 0.5rem;
}

/* Mobile Responsive with Media Query  */
@media (max-width: 1440px) {
  header {
    padding: 16px 3%;
  }
  header.sticky {
    padding: 8px 3%;
  }
  section {
    padding: 70px 3% 20px;
  }

  .title-text h1 {
    margin: 0px 0;
    font-size: var(--h1-font);
    font-weight: bold;
    line-height: 1;
    letter-spacing: 2px;
  }

  .title-text h4 {
    font-size: 27px;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .img-responsive {
    width: 30rem;
    z-index: 0;
    position: absolute;
    right: 0;
    bottom: 0;
  }

}




@media (max-width: 1024px) {
  :root {
    --h1-font: 4.2rem;
    --h2-font: 2.9rem;
    --p-font: 1rem;
  }
  section {
    padding: 70px 3% 60px;
  }
  .home {
    height: 85vh;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .about-img {
    text-align: center;
  }
  .about-img video {
    width: 320px;
  }
  .contact {
    grid-template-columns: 1fr;
  }

  .hidden {
    display: none;
  }


  .title-text h1 {
    margin: 0px 0;
    font-size: var(--h1-font);
    font-weight: bold;
    line-height: 1;
    letter-spacing: 2px;
  }

  .title-text h4 {
    font-size: 27px;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .img-responsive {
    width: 35rem;
    z-index: 0;
    position: absolute;
    right: 0;
    bottom: 0;
  }
}

@media (max-width: 830px) {
  #menu-icon {
    display: block;
  }
  .navbar {
    position: absolute;
    top: -600px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    background: #12141c;
    text-align: left;
    transition: all 0.4s ease;
  }
  .navbar a {
    display: block;
    padding: 1rem;
    margin: 1rem;
  }
  .navbar.active {
    top: 100%;
  }
  :root {
    --h1-font: 2.7rem;
    --h2-font: 2.7rem;
  }

  .title-text h1 {
    margin: 5px 0;
    font-size: var(--h1-font);
    font-weight: bold;
    line-height: 1;
    letter-spacing: 2px;
  }

  .title-text h4 {
    font-size: 27px;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .img-responsive {
    z-index: 0;
    position: absolute;
    right: 0;
    bottom: 0;
  }
}

@media (max-width: 778px) {
  section {
    /* border: 1px solid red; */
    padding: 80px 5px;
  }

  :root {
    --h1-font: 6.2rem;
  }

  .title-text {
    margin-left: 1rem;
  }

  .title-text h3 {
    margin-top: 1rem;
  }

  .about-img video {
    width: 80%;
  }

  .img-responsive {
    width: 29rem;
    z-index: 0;
    position: absolute;
    right: -3rem;
    bottom: 0;
  }

  .box {
    padding: 1.1rem 5px;
    background: #12141c;
    border-top: 5px solid transparent;
    border-radius: 00.5rem;
    transition: all 0.4s ease;
    cursor: pointer;
  }

  .services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90%, auto));
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-top: 5rem;
  }

  .portfolio-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90%, auto));
    align-items: center;
    gap: 1rem;
    margin-top: 5rem;
  }
}

@media (max-width: 640px) {
  section {
    /* border: 1px solid red; */
    padding: 80px 5px;
  }

  :root {
    --h1-font: 4.2rem;
  }

  .about-img video {
    width: 80%;
  }

  .img-responsive {
    width: 20rem;
    z-index: 0;
    position: absolute;
    right: -3rem;
    bottom: 0;
  }

  .box {
    padding: 1.1rem 5px;
    background: #12141c;
    border-top: 5px solid transparent;
    border-radius: 00.5rem;
    transition: all 0.4s ease;
    cursor: pointer;
  }

  .services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90%, auto));
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-top: 5rem;
  }

  .portfolio-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90%, auto));
    align-items: center;
    gap: 1rem;
    margin-top: 5rem;
  }

  .btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 10px 40px;
  width: 70%;
  border-radius: 0.5rem;
  font-size: 17px;
  font-weight: 500;
  background: var(--main-color);
  color: var(--text-color);
  border: 1px solid var(--main-color);
  transition: all 0.4s ease;
}



@media (max-width: 425px) {
  section {
    /* border: 1px solid red; */
    padding: 80px 5px;
  }

  :root {
    --h1-font: 3.2rem;
  }

  .about-img video {
    width: 80%;
  }

  .img-responsive {
    width: 20rem;
    z-index: 0;
    position: absolute;
    right: -3rem;
    bottom: 0;
  }

  .box {
    padding: 1.1rem 5px;
    background: #12141c;
    border-top: 5px solid transparent;
    border-radius: 00.5rem;
    transition: all 0.4s ease;
    cursor: pointer;
  }

  .services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90%, auto));
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-top: 5rem;
  }

  .portfolio-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90%, auto));
    align-items: center;
    gap: 1rem;
    margin-top: 5rem;
  }

  .btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 10px 40px;
  width: 70%;
  border-radius: 0.5rem;
  font-size: 17px;
  font-weight: 500;
  background: var(--main-color);
  color: var(--text-color);
  border: 1px solid var(--main-color);
  transition: all 0.4s ease;
}

}


@media (max-width: 390px) {
  section {
    /* border: 1px solid red; */
    padding: 80px 5px;
  }

  :root {
    --h1-font: 2.8rem;
  }

  .about-img video {
    width: 80%;
  }

  .img-responsive {
    width: 15rem;
    z-index: 0;
    position: absolute;
    right: -3rem;
    bottom: 0;
  }

  .box {
    padding: 1.1rem 5px;
    background: #12141c;
    border-top: 5px solid transparent;
    border-radius: 00.5rem;
    transition: all 0.4s ease;
    cursor: pointer;
  }

  .services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90%, auto));
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-top: 5rem;
  }

  .portfolio-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90%, auto));
    align-items: center;
    gap: 1rem;
    margin-top: 5rem;
  }
}


@media (max-width: 340px) {
  section {
    /* border: 1px solid red; */
    padding: 80px 5px;
  }

  :root {
    --h1-font: 2.2rem;
  }

  .about-img video {
    width: 80%;
  }

  .img-responsive {
    width: 11rem;
    z-index: 0;
    position: absolute;
    right: -1.7rem;
    bottom: 0;
  }

  .box {
    padding: 1.1rem 5px;
    background: #12141c;
    border-top: 5px solid transparent;
    border-radius: 00.5rem;
    transition: all 0.4s ease;
    cursor: pointer;
  }

  .services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90%, auto));
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-top: 5rem;
  }

  .portfolio-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90%, auto));
    align-items: center;
    gap: 1rem;
    margin-top: 5rem;
  }
}
