@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: "Ubuntu", sans-serif;
}
#preloader {
  width: 100%;
  height: 100vh;
  background: #1e1e1e;
  background-size: 60px;
  position: fixed;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  width: 80px;
  aspect-ratio: 1;
  display: grid;
  border: 5px solid #0000;
  border-radius: 50%;
  border-right-color: #0085ff;
  animation: l15 1s infinite linear;
}
.loader::before,
.loader::after {
  content: "";
  grid-area: 1/1;
  margin: 2px;
  border: inherit;
  border-radius: 50%;
  animation: l15 2s infinite;
}
.loader::after {
  margin: 8px;
  animation-duration: 3s;
}
@keyframes l15 {
  100% {
    transform: rotate(1turn);
  }
}
html {
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
}
/* li {
  list-style: none;
  display: inline-block;
} */
/* custom scroll bar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #e0e0e0;
}
::-webkit-scrollbar-thumb {
  background: #0085ff;
}

::-webkit-scrollbar-thumb:hover {
  background: #0085ff;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #333;
}

section {
  padding: 80px 0;
}

.max-width {
  max-width: 1300px;
  padding: 0 30px;
  margin: auto;
}
.about,
.service,
.contact,
footer,
.privacy {
  font-family: "Poppins", sans-serif;
}
.about .about-content,
.service .serv-content,
.contact .contact-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
section .title {
  position: relative;
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 40px;
  padding-bottom: 20px;
  font-family: "Ubuntu", sans-serif;
}

/* Navbar style */

.navbar {
  background: #ffffff;
  position: fixed;
  width: 100%;
  z-index: 999;
  padding: 15px 0;
  font-family: "Ubuntu", sans-serif;
  transition: all 0.3s ease;
}
.navbar.sticky {
  padding: 10px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.navbar .max-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar .logo-container .logo {
  height: 60px;
  width: auto;
  margin-right: 20px;
}
.navbar .menu li {
  list-style: none;
  display: inline-block;
}
.navbar .menu li a {
  display: block;
  color: #000;
  font-size: 18px;
  font-weight: 500;
  margin-left: 25px;
  transition: color 0.3s ease;
}

.navbar .menu li a.active {
  color: #0085ff;
  font-weight: 600;
  border-bottom: 2px solid #0085ff;
}

.navbar .menu li a:hover {
  color: #0085ff;
}
/* menu btn styling */
.menu-btn {
  font-size: 23px;
  cursor: pointer;
  display: none;
  color: #0085ff;
}
.scroll-up-btn {
  position: fixed;
  height: 45px;
  width: 42px;
  background: #0085ff;
  right: 30px;
  bottom: 10px;
  text-align: center;
  line-height: 45px;
  color: #fff;
  z-index: 9999;
  font-size: 30px;
  border-radius: 6px;
  border-bottom-width: 2px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.scroll-up-btn.show {
  bottom: 30px;
  opacity: 1;
  pointer-events: auto;
}
/* Hero */
.home {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)),
    url("assets/banner.jpg") no-repeat center/cover;
  height: 100vh;
  color: #fff;
  background-size: cover;
  background-attachment: fixed;
  font-family: "Ubuntu", sans-serif;
}

.home-content h1 {
  font-size: 3rem;
  letter-spacing: 1px;
  margin-bottom: 0.5em;
  animation: slideInDown 1.3s ease forwards;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.home-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.home-content p {
  width: 75%;
  text-align: center;
  font-size: 1.3em;
  margin-bottom: 1.2em;
  color: #c4c4c4;
  z-index: 2;
}
.home-content a {
  display: inline-block;
  background: #0085ff;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  padding: 10px 30px;
  margin-top: 20px;
  border-radius: 6px;
  border: 2px solid #0085ff;
  transition: all 0.4s ease;
}

.home-content a:hover {
  color: #0085ff;
  background: none;
}

/* Sections */

.about {
  background-color: #f8f8f8;
}
.about .about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about .about-img {
  flex: 1 1 40%;
}

.about .about-img img {
  width: 100%;
  height: 450px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.about .about-text {
  flex: 1 1 55%;
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}
.about .about-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  text-align: justify;
}
/* Service / Portfolio */

.service .serv-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.service .title {
  margin-bottom: 20px;
}
.service p {
  margin-bottom: 2rem;
  text-align: center;
}
.service .serv-content .card {
  flex: 1 1 calc(30% - 20px);
  background: #f8f8f8;
  text-align: center;
  border-radius: 6px;
  padding: 40px 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.service .serv-content .card:hover {
  background: #efefef;
}
.service .serv-content .card .box {
  transition: all 0.3s ease;
}
.service .serv-content .card:hover .box {
  transform: scale(1.05);
}
.service .serv-content .card .svg-icons {
  height: 50px;
}
.service .serv-content .card:hover i {
  color: var(--font-yellow);
}
.service .serv-content .card .text {
  font-size: 25px;
  font-weight: 500;
  margin: 10px 0 7px 0;
}

/* Contact */
.contact {
  background-color: #f8f8f8;
}

.contact .contact-content .column {
  width: calc(50% - 30px);
}
.contact .contact-content .text {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #0085ff;
}

.contact .right form .fields {
  display: flex;
}
.contact .right form .field,
.contact .right form .fields .field {
  height: 45px;
  width: 100%;
  margin-bottom: 15px;
}
.contact .right form .textarea {
  height: 80px;
  width: 100%;
}
.contact .right form .name {
  margin-right: 10px;
}
.field input,
textarea {
  background: transparent;
  color: #3a3a3a;
}
.contact .right form .field input,
.contact .right form .textarea textarea {
  height: 100%;
  width: 100%;
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  outline: none;
  padding: 0 15px;
  font-size: 17px;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}
.contact .right form .field input:focus,
.contact .right form .textarea textarea:focus {
  border-color: #3a3a3a;
}
.contact .right form .textarea textarea {
  padding-top: 10px;
  resize: none;
}
.contact .right form .button-area {
  display: flex;
  align-items: center;
}
.right form .button-area button {
  color: #fff;
  display: block;
  width: 160px !important;
  height: 45px;
  outline: none;
  font-size: 18px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  flex-wrap: nowrap;
  background: #0085ff;
  border: 2px solid #0085ff;
  transition: all 0.3s ease;
}
.right form .button-area button:hover {
  color: #0085ff;
  background: none;
}
/* footer section styling */
footer {
  background: #616161;
  padding: 15px 23px;
  color: #fff;
  text-align: center;
  transition: all 0.3s ease;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  /* align-items: center; */
  justify-content: space-between;
  margin-bottom: 1rem;
}

.sub-content {
  flex: 0 0 auto;
  width: 25%;
  text-align: start;
}

.sub-content h3 {
  margin-bottom: 1.2rem;
  margin-top: 0.5rem;
  font-weight: 500;
  font-size: 25px;
}
.sub-content p {
  font-size: 16px;
}

.sub-content .logo-container {
  display: flex;
  align-items: center;
  justify-content: start;
  margin-bottom: 1.2rem;
}
.sub-content .logo-container .logo {
  height: 60px;
  width: auto;
}
.sub-content .menu {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  text-align: start;
}
.sub-content .menu li {
  list-style: none;
}
.sub-content .menu li a {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-align: start;
  transition: color 0.3s ease;
}
.footer-contact a {
  color: #fff;
  font-size: 16px;
}
.footer-contact p {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.contact-detail .contact-text {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
footer .copyright-text a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}
.copyright-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-icons a i {
  font-size: 22px;
  color: #fff;
}
.privacy {
  background: #f8f8f8;
}

@media (max-width: 1300px) {
  .map-responsive-container iframe {
    width: 550px;
  }
}
@media (max-width: 1024px) {
  .service .serv-content {
    gap: 20px;
  }
  .service .serv-content .card {
    flex: 1 1 calc(50% - 20px);
  }
  .map-responsive-container iframe {
    width: 450px;
    height: 250px;
  }
  .map-responsive-container iframe {
    width: 450px;
    /* height: 250px; */
  }
}

@media (max-width: 991px) {
  .menu-btn {
    display: block;
    z-index: 999;
  }
  .menu-btn i.active:before {
    content: "\f00d";
    color: #0085ff;
  }
  .navbar .menu {
    position: fixed;
    height: 100vh;
    width: 100%;
    left: -100%;
    top: 85px;
    background: #e1e1e1;
    text-align: center;
    padding-top: 70px;
    transition: all 0.3s ease;
  }
  .navbar .menu.active {
    left: 0;
  }
  .navbar .menu li {
    display: block;
  }
  .navbar .menu li a {
    display: inline-block;
    margin: 20px 0;
    font-size: 25px;
  }

  .max-width {
    max-width: 930px;
    padding: 0 25px;
  }
  .about .about-content .column {
    width: 100%;
  }
  .about .about-content .left {
    display: flex;
    justify-content: center;
    margin: 0 auto 60px;
  }
  .about .about-content .right {
    flex: 100%;
  }

  .contact .contact-content .column {
    width: 100%;
    margin-bottom: 35px;
  }
  .map-responsive-container iframe {
    width: 100%;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .max-width {
    padding: 0 15px;
  }
  .sub-content {
    flex: 0 0 auto;
    width: 15%;
    text-align: start;
  }
  .about .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about .about-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 500px) {
  .max-width {
    padding: 0 20px;
  }
  .home-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .home p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--font-color);
  }
  .home-content a {
    font-size: 16px;
  }
  .about .about-content .right a {
    font-size: 16px;
  }
  .home .home-content .text-2 {
    font-size: 50px;
  }
  .home .home-content .text-3 {
    font-size: 27px;
  }
  .about .about-content .right .text,
  .skills .skills-content .left .text {
    font-size: 19px;
  }
  .contact .right form .fields {
    flex-direction: column;
  }
  .contact .right form .name,
  .contact .right form .email {
    margin: 0;
  }
  .right form .error-box {
    width: 150px;
  }
  .scroll-up-btn {
    right: 15px;
    bottom: 15px;
    height: 38px;
    width: 35px;
    font-size: 23px;
    line-height: 38px;
  }
  .service .serv-content {
    gap: 20px;
  }
  .service .serv-content .card {
    flex: 1 1 calc(100% - 20px);
  }
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
  }
  .sub-content {
    text-align: center;
    width: 100%;
    margin-bottom: 1.5rem;
  }
  .sub-content .menu {
    text-align: center;
  }

  .sub-content .menu li a {
    text-align: center;
  }
  .sub-content h3 {
    margin-bottom: 0.5rem;
  }
  .sub-content .menu {
    gap: 0.2rem;
  }
  .contact-detail .contact-text {
    justify-content: center;
  }
}
