*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: sans-serif;
}

:root{
  --bg-color: #EAEFF2;
  --second-bg-color: #E7DED9;
  --text-color: #5C5C61;
  --main-color: #335678;
  --second-main-color: #C89A33;
}

link[rel="icon"] {
  width: 100%;
  height: 100%;
  /*max-width: 32px;*/
  /*max-height: 32px;*/
}

html{
  font-size: 62.5%;
  overflow-x: hidden;
}

body{
  background: var(--bg-color) !important;
  color: var(--text-color) !important;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0rem 8%;
  background: whitesmoke;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: background-color 0.3s ease-in-out, padding 0.3s ease-in-out;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Slight shadow */
}

.header.scrolled {
  background-color: var(--main-color);
  padding: 0.5rem 9%; /* Adjust the padding as needed */
}

.logo img {
  height: 80px; /* Adjust the height as needed */
  transition: height 0.3s ease-in-out;
}

.header.scrolled .logo img {
  height: auto; /* Adjust the height as needed */
  width: 200px;
  padding: 5px;
}

.logo{
  font-size: 2.5rem;
  color: var(--text-color);
  font-weight: 600;
}

.logo img {
  width: 300px; /* Adjust the width as desired */
  height: auto; /* Automatically adjust the height while maintaining aspect ratio */
}

.navbar a{
  font-size: 1.5rem;
  color: #282828;
  font-weight: 600;
  margin-left: 3.5rem;
  text-decoration: none;
}

.navbar a:hover,
.navbar a.active{
  color: var(--main-color);
}

.header.scrolled .navbar a {
  color: #fff; /* Change the color to white when scrolled */
}

.header.scrolled .navbar a:hover{
  color: var(--second-bg-color);
}

#menu-icon{
  font-size: 3.6rem;
  color: var(--text-color);
  cursor: pointer;
  display: none;
}

section{
  min-height: 100vh;
  padding: 10rem 9% 2rem;
}

.home{
  display: flex;
  align-items: center;
  padding: 0 9%;
}

.home-content{
  max-width: 65rem;
  margin-right: 2rem;
}

.home-content h1{
  color: var(--second-main-color);
  font-size: 5.6rem;
  font-weight: 600;
  line-height: 1.3;
}

.home-content p{
  font-size: 1.6rem;
  margin: 2rem 0 4rem;
}

.btn-box{
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 34.5rem;
  height: 5rem;
  margin-bottom: 5rem;
}

.btn-box .btn{
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  padding-right: 1.5rem;
  height: 100%;
  background: var(--main-color);
  border: .2rem solid var(--main-color);
  border-radius: .8rem;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: .1rem;
  color: var(--bg-color);
  z-index: 1;
  overflow: hidden;
  transition: .5s;
}

.btn-box .btn:hover{
  color: var(--main-color);
}

.btn-box .btn::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--second-main-color);
  z-index: -1;
  transition: .5s;
}

.btn-box .btn:hover::before{
  width: 100%;
}

.swiper {
  justify-content: center;
  width: 700px;
  height: auto;
  margin-right: 0 !important; 
}

.swiper-slide img{
  border-radius: 10px;
  max-width: 100%;
  height: auto;
}

.about{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  /*background: var(--second-bg-color);*/
  padding-bottom: 6rem;
}

.heading{
  font-size: 5rem;
  margin-top: 5rem;
  margin-bottom: 5rem;
  text-align: center;
  color: #282828;
}

.about-img{
  position: relative;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-img img{
  width: 90%;
  border-radius: 50%;
  border: .2rem solid var(--main-color);
}

.about-img .circle-spin{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border-top: .2rem solid transparent;
  border-bottom: .2rem solid transparent;
  border-left: .2rem solid var(--second-main-color);
  border-right: .2rem solid var(--second-main-color);
}

.about-content{
  text-align: center;
  max-width: 900px;
}

.about-content h3{
  font-size: 2.6rem;
}

.about-content p{
  font-size: 1.6rem;
  margin: 2rem 0 3rem;
}

.service-content {
  font-size: 1.8rem;
}

.services .heading{
  margin-bottom: 5rem;
  margin-top: 5rem;
}

.card-body h1{
  color: var(--second-main-color);
}

.card-img-top {
  object-fit: cover;
  height: 100% !important;
}

.service-card {
  background-color: transparent !important;
  border: none !important;
}

.past-projects{
  /*background: var(--second-bg-color);*/
}

.past-projects .heading{
  margin-bottom: 5rem;
  margin-top: 5rem;
}

.contact{
  /*background: var(--second-bg-color);*/
  font-size: 1.6rem;
}

.contact h2{
  text-align: center;
  margin-bottom: 3rem;
}

.past-project-list{
  font-size: 1.6rem;
}

.accordion-button{
  font-size: 2rem !important;
}

.card1 {
  width: 300px;
  height: auto;
  /*background-color: #4158D0;*/
  /*background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);*/
  background: rgb(36,56,181);
  background: linear-gradient(45deg, rgba(36,56,181,1) 0%, rgba(80,9,121,1) 41%, rgba(255,214,0,1) 100%);
  border-radius: 8px;
  color: white;
  overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  /*cursor: pointer;*/
}

.card2 {
  width: 300px;
  height: auto;
  background-color: #4158D0;
  background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
  /*background: rgb(36,56,181);*/
  /*background: linear-gradient(45deg, rgba(36,56,181,1) 0%, rgba(80,9,121,1) 41%, rgba(255,214,0,1) 100%);*/
  border-radius: 8px;
  color: white;
  overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  /*cursor: pointer;*/
}

.card1-content {
  padding: 20px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: white;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.card1-content .card1-title {
  font-size: 24px;
  font-weight: 700;
  color: inherit;
  text-transform: uppercase;
}

.card1-content .card1-para {
  color: inherit;
  opacity: 0.8;
  font-size: 16px;
}

.card1:hover {
  transform: rotateY(10deg) rotateX(10deg) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card1:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  z-index: 1;
}

.card1:hover:before {
  transform: translateX(-100%);
}

.card1:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.1));
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  z-index: 1;
}

.card1:hover:after {
  transform: translateX(100%);
}

.container-holder {
  max-width: 100%;
  overflow-x: hidden;
}

.project-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-content: flex-start;
  height: calc(150vh - 20px); /* Default height */
}

.card1 {
  width: calc(20% - 20px); /* Adjust the width as needed */
  margin: 10px;
  /* Add other card styles */
}

.project-container p{
  font-size: 1.6rem;
}

.ongoing-projects .heading{
  margin-bottom: 5rem;
  margin-top: 5rem;
}

.ongoing-container{
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-content: flex-start;
  height: calc(100vh - 40vh); /* Default height */
}

.card3 {
  font-size: 1.6rem;
  box-sizing: border-box;
  width: 190px;
  height: auto;
  background: rgba(217, 217, 217, 0.58);
  border: 1px solid white;
  /*box-shadow: 12px 17px 51px rgba(0, 0, 0, 0.22);*/
  backdrop-filter: blur(6px);
  border-radius: 17px;
  text-align: center;
  transition: all 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  font-weight: bolder;
  color: black;
  padding: 2rem;
}

.card3:hover {
  border: 1px solid black;
  transform: scale(1.05);
}

.card3:active {
  transform: scale(0.95) rotateZ(1.7deg);
}

.card3 {
  width: calc(20% - 20px); /* Adjust the width as needed */
  margin: 10px;
  /* Add other card styles */
}

.card4 {
  position: relative;
  width: 290px;
  height: 370px;
  background: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  font-weight: bold;
  border-radius: 15px;
  cursor: pointer;
  margin: 50px;
  color: whitesmoke;
}

.card4:hover {
  border: 2px solid rgba(255, 255, 255, 0.2); /* Adjust the border properties as needed */
}

.card4::before,
.card4::after {
  position: absolute;
  content: "";
  width: 20%;
  height: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: bold;
  background-color: lightblue;
  transition: all 0.5s;
}

.card4::before {
  top: 0;
  right: 0;
  border-radius: 0 15px 0 100%;
}

.card4::after {
  bottom: 0;
  left: 0;
  border-radius: 0 100%  0 15px;
}

.card4:hover::before,
.card4:hover:after {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  transition: all 0.5s;
}

.card4:hover::after {
  content: "admin@metabuild.com.my";
  font-size: 20px;
  white-space: pre-wrap;
  padding: 2rem;
  text-align: center;
  animation: gradientAnimation 6s linear infinite;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 100%;
  }
}

@-webkit-keyframes gradientAnimation {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 100%;
  }
}

@-moz-keyframes gradientAnimation {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 100%;
  }
}

@-o-keyframes gradientAnimation {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 100%;
  }
}

.card4:hover::after {
  background-image: linear-gradient(45deg, green, purple, orange);
}


.card5:hover:after {
  content: "0198588761";
  color: var(--text-color);
}

.contact .heading{
  margin-bottom: 1rem;
  margin-top: 5rem;
}

.contact-container {
  /*display: flex;*/
  /*justify-content: center;*/
}

.flex-contact{
  display: flex;
  justify-content: center;
  align-items: center;
}

.card4 .copy-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  text-align: center;
  font-size: 16px;
  color: whitesmoke;
}

.card4:hover .copy-text {
  color: var(--main-color); /* Adjust the darker color as needed */
}

.copy-text.animate {
  animation: fadeAnimation 1s ease-in-out forwards;
}

@keyframes fadeAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.home-container{
  display: flex;
}

.back-to-top {
  /* Button styles */
  display: none; /* Hide the button by default */
  position: fixed;
  bottom: -40px; /* Initially positioned below the viewport */
  right: 20px;
  background-color: #333;
  color: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, bottom 0.3s ease-in-out;
}

.back-to-top.show {
  /*right: 60px;*/
  bottom: 20px; /* Position the button at the desired visible position */
}


.back-to-top:hover {
  background-color: var(--main-color);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}

.back-to-top i {
  color: #C89A33;
}

.contact h3{
  text-align: center;
  margin-bottom: 3rem;
}

.option-area {
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  column-gap: 7rem;
  margin-bottom: 5rem;
}

/* Styling for the card container */
.contact-job-card,
.contact-service-card {
  width: 200px;
  height: 150px;
  /*border: 2px solid #ccc;*/
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  transition: transform 0.2s ease-in-out; /* Adding transition for smooth animation */
  cursor: pointer;
}

/* Styling for the job application icon */
.contact-job-card .job-application-icon,
.contact-service-card .service-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

/* Hover effect */
.contact-job-card:hover,
.contact-service-card:hover {
  transform: scale(1.05); /* Slightly scale up the card on hover */
}

/* Selected effect */
.selected {
  border-color: var(--second-main-color);
  transition: border-color 0.3s ease-in-out; /* Adding transition for smooth color change */
  color: var(--second-main-color);
  border: 3px solid var(--second-main-color);
}

.first-group-form {
  width: 600px;
  display: flex;
  column-gap: 3rem;
  justify-content: center;
}

.form-area{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.form__group {
  position: relative;
  padding: 20px 0 0;
  width: 100%;
  max-width: 600px;
  margin-bottom: 2rem;
}

.form__field {
  font-family: inherit;
  width: 100%;
  border: none;
  border-bottom: 2px solid #9b9b9b;
  outline: 0;
  font-size: 17px;
  color: var(--text-color);
  padding: 7px 0;
  background: transparent;
  transition: border-color 0.2s;
}

.form__field::placeholder {
  color: transparent;
  /*color: #9b9b9b;*/
}

.form__field:placeholder-shown ~ .form__label {
  font-size: 17px;
  cursor: text;
  top: 20px;
}

.form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 17px;
  color: #9b9b9b;
  pointer-events: none;
}

.form__field:focus {
  padding-bottom: 6px;
  font-weight: 700;
  border-width: 3px;
  border-image: linear-gradient(90deg, rgba(200,154,51,0.7371323529411764) 0%, rgba(200,154,51,1) 100%);
  border-image-slice: 1;
}

.new-placeholder:focus::placeholder{
  color: lightgrey;
}

.form__field:focus ~ .form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 17px;
  color: var(--second-main-color);
  font-weight: 700;
}

/* reset input */
.form__field:required, .form__field:invalid {
  box-shadow: none;
}

.radio-inputs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  border-radius: 0.5rem;
  background-color: #EEE;
  box-sizing: border-box;
  box-shadow: 0 0 0px 1px rgba(0, 0, 0, 0.06);
  padding: 0.25rem;
  width: 600px;
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 3rem;
}

.radio-inputs .radio {
  flex: 1 1 auto;
  text-align: center;
}

.radio-inputs .radio input {
  display: none;
}

.radio-inputs .radio .name {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: none;
  padding: .5rem 0;
  color: rgba(51, 65, 85, 1);
  transition: all .15s ease-in-out;
}

.radio-inputs .radio input:checked + .name {
  background-color: #fff;
  font-weight: 600;
}

.continue-application {
  margin-top: 3rem;
	margin-bottom:10rem;
  --color: #fff;
  --background: #183153;
  --background-hover: #263b55;
  --background-left: #324b6c;
  --folder: #F3E9CB;
  --folder-inner: #BEB393;
  --paper: #FFFFFF;
  --paper-lines: #BBC1E1;
  --paper-behind: #E1E6F9;
  --pencil-cap: #fff;
  --pencil-top: #275EFE;
  --pencil-middle: #fff;
  --pencil-bottom: #5C86FF;
  --shadow: rgba(13, 15, 25, .2);
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  line-height: 19px;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  padding: 17px 29px 17px 69px;
  transition: background 0.3s;
  color: var(--color);
  background: var(--bg, var(--background));
}

.continue-application > div {
  top: 0;
  left: 0;
  bottom: 0;
  width: 53px;
  position: absolute;
  overflow: hidden;
  border-radius: 5px 0 0 5px;
  background: var(--background-left);
}

.continue-application > div .folder {
  width: 23px;
  height: 27px;
  position: absolute;
  left: 15px;
  top: 13px;
}

.continue-application > div .folder .top {
  left: 0;
  top: 0;
  z-index: 2;
  position: absolute;
  transform: translateX(var(--fx, 0));
  transition: transform 0.4s ease var(--fd, 0.3s);
}

.continue-application > div .folder .top svg {
  width: 24px;
  height: 27px;
  display: block;
  fill: var(--folder);
  transform-origin: 0 50%;
  transition: transform 0.3s ease var(--fds, 0.45s);
  transform: perspective(120px) rotateY(var(--fr, 0deg));
}

.continue-application > div .folder:before, .continue-application > div .folder:after,
.continue-application > div .folder .paper {
  content: "";
  position: absolute;
  left: var(--l, 0);
  top: var(--t, 0);
  width: var(--w, 100%);
  height: var(--h, 100%);
  border-radius: 1px;
  background: var(--b, var(--folder-inner));
}

.continue-application > div .folder:before {
  box-shadow: 0 1.5px 3px var(--shadow), 0 2.5px 5px var(--shadow), 0 3.5px 7px var(--shadow);
  transform: translateX(var(--fx, 0));
  transition: transform 0.4s ease var(--fd, 0.3s);
}

.continue-application > div .folder:after,
.continue-application > div .folder .paper {
  --l: 1px;
  --t: 1px;
  --w: 21px;
  --h: 25px;
  --b: var(--paper-behind);
}

.continue-application > div .folder:after {
  transform: translate(var(--pbx, 0), var(--pby, 0));
  transition: transform 0.4s ease var(--pbd, 0s);
}

.continue-application > div .folder .paper {
  z-index: 1;
  --b: var(--paper);
}

.continue-application > div .folder .paper:before, .continue-application > div .folder .paper:after {
  content: "";
  width: var(--wp, 14px);
  height: 2px;
  border-radius: 1px;
  transform: scaleY(0.5);
  left: 3px;
  top: var(--tp, 3px);
  position: absolute;
  background: var(--paper-lines);
  box-shadow: 0 12px 0 0 var(--paper-lines), 0 24px 0 0 var(--paper-lines);
}

.continue-application > div .folder .paper:after {
  --tp: 6px;
  --wp: 10px;
}

.continue-application > div .pencil {
  height: 2px;
  width: 3px;
  border-radius: 1px 1px 0 0;
  top: 8px;
  left: 105%;
  position: absolute;
  z-index: 3;
  transform-origin: 50% 19px;
  background: var(--pencil-cap);
  transform: translateX(var(--pex, 0)) rotate(35deg);
  transition: transform 0.4s ease var(--pbd, 0s);
}

.continue-application > div .pencil:before, .continue-application > div .pencil:after {
  content: "";
  position: absolute;
  display: block;
  background: var(--b, linear-gradient(var(--pencil-top) 55%, var(--pencil-middle) 55.1%, var(--pencil-middle) 60%, var(--pencil-bottom) 60.1%));
  width: var(--w, 5px);
  height: var(--h, 20px);
  border-radius: var(--br, 2px 2px 0 0);
  top: var(--t, 2px);
  left: var(--l, -1px);
}

.continue-application > div .pencil:before {
  -webkit-clip-path: polygon(0 5%, 5px 5%, 5px 17px, 50% 20px, 0 17px);
  clip-path: polygon(0 5%, 5px 5%, 5px 17px, 50% 20px, 0 17px);
}

.continue-application > div .pencil:after {
  --b: none;
  --w: 3px;
  --h: 6px;
  --br: 0 2px 1px 0;
  --t: 3px;
  --l: 3px;
  border-top: 1px solid var(--pencil-top);
  border-right: 1px solid var(--pencil-top);
}

.continue-application:before, .continue-application:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 2px;
  border-radius: 1px;
  background: var(--color);
  transform-origin: 9px 1px;
  transform: translateX(var(--cx, 0)) scale(0.5) rotate(var(--r, -45deg));
  top: 26px;
  right: 16px;
  transition: transform 0.3s;
}

.continue-application:after {
  --r: 45deg;
}

.continue-application:hover {
  --cx: 2px;
  --bg: var(--background-hover);
  --fx: -40px;
  --fr: -60deg;
  --fd: .15s;
  --fds: 0s;
  --pbx: 3px;
  --pby: -3px;
  --pbd: .15s;
  --pex: -24px;
}

.success {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  width: 320px;
  padding: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  background: #EDFBD8;
  border-radius: 8px;
  border: 1px solid #84D65A;
  box-shadow: 0px 0px 5px -3px #111;
  position: fixed;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999999;
}

.success__icon {
  width: 20px;
  height: 20px;
  transform: translateY(-2px);
  margin-right: 8px;
}

.success__icon path {
  fill: #84D65A;
}

.success__title {
  font-weight: 500;
  font-size: 14px;
  color: #2B641E;
}

.success__close {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-left: auto;
}

.success__close path {
  fill: #2B641E;
}

.project-table {
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
  max-width: 1080px;
  margin: 0 auto; /* This will center the table on the page */
  /*box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);*/
  /*border: 2px solid rgba(0, 0, 0, 1.0);*/
}

/* If you want to set a fixed width for the table cells, you can do it like this */
.project-table table {
  width: 100%;
}

.cool-btn {
 position: relative;
 display: flex;
 justify-content: center;
 align-items: center;
 border-radius: 5px;
 background: #183153;
 font-family: "Montserrat", sans-serif;
 box-shadow: 0px 6px 24px 0px rgba(0, 0, 0, 0.2);
 overflow: hidden;
 border: none;
 font-size: 1.2rem;
 margin-bottom: 5rem;
}

.cool-btn:after {
 content: " ";
 width: 0%;
 height: 100%;
 background: var(--second-main-color);
 position: absolute;
 transition: all 0.4s ease-in-out;
 right: 0;
}

.cool-btn:hover::after {
 right: auto;
 left: 0;
 width: 100%;
}

.cool-btn span {
 text-align: center;
 text-decoration: none;
 width: 100%;
 padding: 18px 25px;
 color: #fff;
 font-size: 1.125em;
 font-weight: 700;
 letter-spacing: 0.3em;
 z-index: 20;
 transition: all 0.3s ease-in-out;
 display: flex;
 align-items: center;
}

.cool-btn:hover span {
 color: #183153;
 animation: scaleUp 0.3s ease-in-out;
}

@keyframes scaleUp {
 0% {
  transform: scale(1);
 }

 50% {
  transform: scale(0.95);
 }

 100% {
  transform: scale(1);
 }
}

.past-projects .option-area{
  margin-bottom: 0rem;
}


/* BREAKPOINTS --------------------------------------------------*/
@media (max-width:  1920px){
  .project-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: flex-start;
    height: calc(150vh - 20px); /* Default height */
  }
}

@media (max-width:  1800px){
  .project-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: flex-start;
    height: calc(170vh - 20px); /* Default height */
  }
}

@media (max-width:  1450px){
  .project-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: flex-start;
    height: calc(220vh - 20px); /* Default height */
  }
}

@media (max-width:  1200px){
  html{
    font-size: 55%;
  }

  .project-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: flex-start;
    height: calc(300vh - 20px); /* Default height */
  }
}

@media (max-width:  991px){
  .swiper {
    width: 100%;
    height: auto;
    margin-left: 0 !important;
    margin-right: 0 !important; 
    justify-content: center;
    padding-bottom: 5rem !important;
  }

  .header,
  .header.scrolled{
    padding: 2rem 4%;
  }

  .home{
    flex-direction: column;
    padding: 0 4%;
  }

  .home-content{
    margin-top: 20rem;
  }

  section{
    padding: 10rem 10% 2rem;
  }
}

@media (max-width:  875px){
  .home-content{
    margin-right: 0rem;
  }

  .project-card{
    flex-direction: column;
  }

  .cool-btn{
    width: 100%;
  }

  .cool-btn span{
    display: block;
  }

  .first-group-form {
    position: relative;
    /*padding: 20px 0 0;*/
    width: 100%;
    max-width: 600px;
    /*margin-bottom: 2rem;*/
    flex-direction: column;
  }

  .radio-inputs{
    position: relative;
    /*padding: 20px 0 0;*/
    width: 100%;
    max-width: 600px;
  }

  .about .heading{
    margin-top: 8rem;
  }

  .services .heading{
    margin-top: 8rem;
  }

  .past-projects .heading{
    margin-top: 8rem;
  }

  .ongoing-projects .heading{
    margin-top: 8rem;
  }

  .contact .heading{
    margin-top: 8rem;
  }

  .project-container{
    height: auto;
  }

  .flex-contact{
    flex-direction: column;
  }

  .card1{
    width: auto;
  }

  .ongoing-container{
    height: auto;
  }

  .card3{
    width: auto;
  }

  #menu-icon{
    display: block;
    padding-top: 3rem;
    position: absolute;
    left: 2rem;
  }

  .header,
  .header.scrolled{
    background: ghostwhite;
    display: flex;
    flex-direction: column;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 4%;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
  }

  .navbar-container{
    width: 100%;
  }

  .navbar-container {
    max-height: 0; /* Hide the navbar by default */
    overflow: hidden; /* Hide any overflowing content */
    transition: max-height 0.7s ease-in-out; /* Add transition for max-height */
  }

  .show-navbar {
    max-height: 500px; /* Set a height that accommodates the navbar content */
  }

  .header.scrolled .navbar a {
    color: var(--text-color);
  }

  .header.scrolled .navbar a:hover {
    color: darkgray;
  }

  .navbar{
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .logo-container{
    display: flex;
    justify-content: center;
    width: 100%;
    padding-left: 5rem;
    padding-right: 5rem;
  }

  .navbar a{
    margin-left: 0 !important;
    margin: 1rem;
  }

}

@media (max-width: 500px) {
  .logo-container {
    /*width: 0;*/
    padding-left: 0;
    padding-right: 0;
  }
	
.logo img{
    width: 250px;
  }
}

