* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}
html {
  scroll-behavior: smooth;
}
:root {
  --primary-color: #0d4dad;
  --color-white: #fff;
}
button {
  padding: 10px 10px;
  margin-top: 20px;
  width: 150px;
  font-weight: 500;
  border: 2px solid var(--primary-color);
  cursor: pointer;
}
button a {
  color: var(--primary-color);
}
h2 {
  color: var(--primary-color);
  font-size: 25px;
}

.btn-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  gap: 20px;
}
.rounded-btn {
  border-radius: 20px;
  padding: 5px;
}
a {
  text-decoration: none;
  color: #fff;
}
li {
  list-style: none;
}

/*==================== NAVBAR SECTION =================================*/
nav {
  height: 70px;
  width: 100%;
  color: var(--primary-color);
  position: fixed;
  display: flex;
  justify-content: space-between;
  z-index: 2;
  background: var(--color-white);
  box-shadow: 5px 7px 30px 1px rgba(57, 11, 66, 0.57);
}
nav .container {
  width: 80%;
  text-align: center;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  text-transform: uppercase;
}
.nav-logo a {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
}
.nav-logo a img {
  width: 50px;
  height: 50px;
}
.navlinks ul {
  display: flex;
  gap: 20px;
  font-size: 15px;
}
.navlinks ul li a {
  position: relative;
  margin-bottom: 10px;
  color: var(--primary-color);
}
.navlinks ul li a i {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
}
.navlinks ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  transform-origin: right center;
}
.navlinks ul li a:hover:before {
  transform: scaleX(1);
  transform-origin: left center;
  transition-duration: 0.4s;
}

@media only screen and (min-width: 851px) {
  .menu-btn {
    display: none;
  }
}

@media only screen and (max-width: 850px) {
  .navlinks {
    position: absolute;
    top: 80px;
    right: 0px;
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--color-white);
    color: var(--primary-color);
    width: 300px;
    height: 400px;
  }
  .showlinks {
    position: absolute;
    top: 70px;
    right: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--color-white);
    color: var(--primary-color);
    width: 300px;
    animation: slidein 1s;
    height: 250px;
  }
  @keyframes slidein {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  .navlinks ul {
    display: flex;
    flex-direction: column;
  }
}

/*==================== NAVBAR SECTION ENDS HERE =================================*/

.container {
  width: 90%;
  margin: auto;
}
.container h3 {
  padding-top: 10px;
}
.container p {
  font-size: 19px;
}
main {
  width: 100%;
  padding-top: 70px;
}
.hero-section,
.service-section,
.work-section,
.team-section {
  width: 100%;
  height: 600px;
  padding-top: 90px;
  text-align: center;
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.blog-section {
  width: 80%;
  height: auto;
  margin: auto;
  padding-top: 90px;
  text-align: center;
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.project-section {
  width: 100%;
  text-align: left;
  padding-top: 90px;
  color: var(--primary-color);
}
.project-section .container {
  border: 2px solid transparent;
  border-radius: 20px;
  box-shadow: 5px 7px 30px 1px rgba(57, 11, 66, 0.57);
  padding: 10px 20px;
  width: 90%;
  margin: auto;
}
.tech_stacks {
  display: flex;
  gap: 10px;
}
.tech_stacks p {
  background: var(--primary-color);
  color: var(--color-white);
  padding: 5px 10px;
  margin-top: 5px;
  border-radius: 20px;
  font-size: 12px;
}
.project_info img {
  width: 100%;
  height: 300px;
  margin-top: 20px;
  object-fit: cover;
  border-radius: 20px;
}
.hero-section h1 {
  font-size: 50px;
}
.hero-section h3 {
  font-size: 20px;
  margin: 20px 0px;
}
.hero-section {
  background: url("/assets/images/hero_bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--color-white);
}

.grid {
  width: 100%;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.grid .grid-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border: none;
  margin: 2px;
  position: relative;
  background: none;
  color: var(--color-white);
  box-shadow: 5px 7px 30px 1px rgba(57, 11, 66, 0.57);
}
.grid-container {
  width: 100%;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.grid-1-container {
  width: 100%;
  margin: 20px auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.grid-2-container {
  width: 100%;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
  justify-content: center;
  text-align: left;
}
.grid-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  margin: 10px 10px;
  position: relative;
  background: var(--primary-color);
  color: var(--color-white);
  box-shadow: 5px 7px 30px 1px rgba(57, 11, 66, 0.57);
}
.grid-box i {
  font-size: 18px;
  background: var(--color-white);
  color: var(--primary-color);
  padding: 10px 10px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  display: flex;
}
.about_box {
  height: 265px;
  text-align: left;
  justify-content: left;
}
.shaded {
  background: var(--color-white);
  color: var(--primary-color);
  border: 2px solid transparent;
}
.shaded i {
  font-size: 18px;
  background: var(--primary-color);
  color: var(--color-white);
  padding: 10px 10px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  display: flex;
}
.grid-2-box {
  margin: 10px 10px;
  padding: 10px 10px;
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
  box-shadow: 5px 7px 30px 1px rgba(57, 11, 66, 0.57);
}
.grid-2-box p {
  font-size: 17px;
  padding-top: 10px;
}
.grid-2-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}
.grid-box h3 {
  font-size: 17px;
  padding: 5px;
}
.grid-box p {
  font-size: 15px;
}
.testimonial-container {
  background-color: var(--primary-color);
  color: var(--color-white);
  border-radius: 10px;
  margin: 20px auto;
  padding: 50px 80px;
  max-width: 768px;
  position: relative;
}
.fa-quote {
  color: rgba(255, 255, 255, 0.3);
  font-size: 28px;
  position: absolute;
  top: 70px;
}
.fa-quote-left {
  left: 40px;
}
.fa-quote-right {
  right: 40px;
}
.testimonial {
  line-height: 28px;
  text-align: justify;
}
.progress-bar {
  background-color: var(--color-white);
  height: 4px;
  width: 100%;
  animation: grow 10s linear infinite;
  transform-origin: left;
}
@keyframes grow {
  0% {
    transform: scaleX(0);
  }
}
@media (max-width: 768px) {
  .testimonial-container {
    padding: 20px 30px;
  }
  .fa-quote {
    display: none;
  }
}

.section {
  width: 100%;
  margin-top: 30px;
  height: 600px;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section h2 {
  padding-bottom: 20px;
}
.work-section,
.testimony-section,
.contant-section {
  width: 100%;
  height: auto;
  margin: 20px auto;
  text-align: center;
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ======================================== MEET OUR TEAM ====================================== */

.card_Container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-content: center;
  align-items: center;
  margin: 40px 0;
}

.card_Container .card {
  height: 300px;
  position: relative;
  margin: 10px;
  overflow: hidden;
  box-shadow: 0 30px 30px -20px rgba(0, 0, 0, 1),
    inset 0 0 0 1000px rgba(93, 45, 223, 0.6);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card .imbBx,
.imbBx img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card .content {
  position: absolute;
  bottom: -160px;
  width: 100%;
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  backdrop-filter: blur(15px);
  box-shadow: 0 -10px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: bottom 0.5s;
  transition-delay: 0.65s;
}

.card:hover .content {
  bottom: 0;
  transition-delay: 0s;
}

.content .contentBx h3 {
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 2px;
  font-weight: 500;
  font-size: 18px;
  text-align: center;
  margin: 20px 0 15px;
  line-height: 1.1em;
  transition: 0.5s;
  transition-delay: 0.6s;
  opacity: 0;
  transform: translateY(-20px);
}

.card:hover .content .contentBx h3 {
  opacity: 1;
  transform: translateY(0);
}

.content .contentBx h3 span {
  font-size: 12px;
  font-weight: 300;
  text-transform: initial;
}

.content .sci {
  position: relative;
  bottom: 10px;
  display: flex;
}

.content .sci li {
  list-style: none;
  margin: 0 10px;
  transform: translateY(40px);
  transition: 0.5s;
  opacity: 0;
  transition-delay: calc(0.2s * var(--i));
}

.card:hover .content .sci li {
  transform: translateY(0);
  opacity: 1;
}

.content .sci li a {
  color: #fff;
  font-size: 24px;
}

/* =========================================== CONTACT PAGE CSS ========================================== */

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
form input {
  padding: 13px 10px;
  background: whitesmoke;
  border: none;
}
form textarea {
  border: none;
  background: whitesmoke;
  border: 2px solid var(--primary-color);
}
.contacts-info {
  background: whitesmoke;
  height: 400px;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 5px 7px 30px 1px rgba(57, 11, 66, 0.57);
}

.contacts-info h2 {
  margin-bottom: 10px;
}
.contacts-info p {
  margin-bottom: 10px;
}
.info {
  display: flex;
}
.info-flex {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
}
.info h4 {
  font-size: 13px;
}
.info p {
  font-size: 15px;
}
input:placeholder-shown {
  padding: 10px;
}
form input {
  border: 2px solid var(--primary-color);
}

@media only screen and (max-width: 870px) {
  section {
    height: 850px;
  }
  .contant-sections {
    display: grid;
    grid-template-columns: 1fr;
  }
  .contacts-info {
    height: auto;
  }
}

/* ============================================ ABOUT US PAGE CSS =================================== */

.hero-banner {
  padding-top: -250px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  background-image: url("/assets/images/profile-2.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* =========================================== WHY US ====================================== */
.whyus {
  width: 80%;
  margin: 10px auto;
}
.whyus_content ul li {
  padding: 10px 10px;
  margin: 10px;
  text-align: left;
  justify-content: center;
  border-bottom: 2px solid var(--primary-color);
  background: whitesmoke;
}
.cta {
  border: 2px solid var(--primary-color);
  padding: 10px 10px;
  margin-top: 50px;
  box-shadow: 5px 7px 30px 1px rgba(57, 11, 66, 0.57);
}

/*==================================== BLOG SECTION STYLE ========================================*/

.blog-news {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.thumbnail img {
  width: 80%;
  margin: auto;
  height: 300px;
  object-fit: cover;
}
.article {
  text-align: left;
  padding: 10px 10px;
}
.article ol li {
  list-style-type: disc;
  font-size: 18px;
  padding: 5px;
}
.blog-box {
  text-align: left;
}
.blog-box img {
  width: 100%;
  height: 300px;
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}
.blog-box .date {
  justify-content: space-between;
  padding: 10px 10px;
  font-size: 12px;
  display: flex;
}
.blog-box h2 {
  padding: 5px 10px;
  font-size: 18px;
  color: #696868;
}
.blog-box p {
  color: rgb(143, 142, 142);
  padding: 5px 10px;
  font-size: 18px;
}

.blog-section h1 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
  letter-spacing: 2px;
}

.thumbnail img {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 20px #555554;
}

.article {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
}

.article p,
.article li {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  color: black;
}

.article ol {
  padding-left: 1.5rem;
}

.article li {
  font-weight: 600;
  color: var(--primary-color);
}

.article p:last-child {
  font-style: italic;
  font-size: 1.2rem;
  margin-top: 2rem;
  text-align: center;
  color: var(--primary-color);
}

@media only screen and (max-width: 930px) {
  .blog-box img {
    height: 270px;
  }
}
@media only screen and (max-width: 885px) {
  .blog-box img {
    height: 250px;
  }
}
@media only screen and (max-width: 786px) {
  .blog-box img {
    height: 230px;
  }
}
@media only screen and (max-width: 720px) {
  .blog-box img {
    height: 210px;
  }
}
@media only screen and (max-width: 660px) {
  .blog {
    height: auto;
  }
  .blog-news {
    display: grid;
    grid-template-columns: 1fr;
  }
  .blog-box img {
    width: 100%;
    height: auto;
  }
}
@media only screen and (max-width: 620px) {
  .blog-news {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* ============================================ FOOTER ============================================== */
footer {
  width: 100%;
  display: flex;
  align-items: center;
  color: var(--color-white);
  height: auto;
  margin-top: 150px;
  background: var(--primary-color);
}
footer .container {
  margin: auto;
}
footer .grid_col-4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: start;
}
.cols {
  justify-content: left;
  text-align: left;
  margin: 10px 10px;
}
.cols ul li {
  list-style-type: none;
  text-align: start;
}
.cols ul li a {
  display: flex;
  flex-direction: column;
  color: var(--color-white);
}
.cols ul li a:hover {
  text-decoration: underline;
}
.cols input {
  padding: 5px 5px;
  border: 2px solid var(--color-white);
  background: var(--primary-color);
}
.cols input::placeholder {
  color: var(--color-white);
}
.cols input:active {
  border: 1px solid var(--color-white);
}
.cols input :placeholder-shown {
  color: #000;
}
.cols_4 a {
  color: var(--color-white);
}
.cols_4 a i {
  gap: 10px;
  margin-right: 10px;
}
.divider {
  border: 0.5px solid var(--color-white);
  margin-top: 40px;
}
#ft {
  padding: 10px 10px;
  margin-top: 10px;
}

/*========================================== MEDIA QUERRIES =============================================*/
@media screen and (max-width: 650px) {
  footer .grid_col-4 {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: start;
  }
}

/* =================================== RESPONSIVENESS MEDIA QUERIES ======================================== */

@media screen and (max-width: 650px) {
  .service-section,
  .work-section,
  .team-section, 
  .process-section {
    height: auto;
    padding: 20px 10px;
  }
  .hero-section {
    height: 600px;
  }
  .hero-section h1 {
    font-size: 30px;
  }
  .hero-section h3 {
    font-size: 10px;
    margin: 20px 0px;
  }
  .grid-container {
    width: 100%;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .grid-1-container {
    width: 100%;
  }
  .grid-2-box {
    margin: 10px 10px;
    padding: 10px 10px;
    width: 100%;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
    box-shadow: 5px 7px 30px 1px rgba(57, 11, 66, 0.57);
  }
  .grid-2-container {
    display: grid;
    grid-template-columns: 1fr;
  }
  .about_box:first-child {
    height: auto;
  }
  .whyus {
    width: 100%;
  }
  .whyus_content {
    margin: auto;
    width: 90%;
  }
  .grid {
    overflow-x: auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    scroll-snap-type: x mandatory;
  }

  .grid .grid-box {
    min-width: 100%;
    scroll-snap-align: center;
  }
  .grid::-webkit-scrollbar {
    display: none;
  }
  .testimonial_track {
    display: flex;
    flex-wrap: nowrap;
  }
  .card_Container {
    display: grid;
    grid-template-columns: 1fr;
  }
  .blog-section h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    letter-spacing: 2px;
  }
}
