/* Main css stylings */
/* All utilities classes */
.container {
  margin: 0 auto;
  max-width: 1280px;
  width: 90%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul {
  list-style-type: none;
}

h1 {
  font-size: 3rem;
  line-height: 1.5;
  font-weight: 600;
}

h2 {
  font-size: 3rem;
  line-height: 1.5;
  font-weight: 600;
}

p {
  font-size: 1rem;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: #1F2937;
  transition: color .5s ease;
}

.text-main {
  color: #CBAB4B;
}

.text-center {
  text-align: center;
}

/* Padding Classes */
.p-1 {
  padding: 1rem;
}

.p-2 {
  padding: 2rem;
}

.p-3 {
  padding: 3rem;
}

.p-4 {
  padding: 4rem;
}

.p-5 {
  padding: 5rem;
}

.py-1 {
  padding: 1rem 0;
}

.py-2 {
  padding: 2rem 0;
}

.py-3 {
  padding: 3rem 0;
}

.py-4 {
  padding: 4rem 0;
}

.py-5 {
  padding: 5rem 0;
}

.px-1 {
  padding: 0 1rem;
}

.px-2 {
  padding: 0 2rem;
}

.px-3 {
  padding: 0 3rem;
}

.px-4 {
  padding: 0 4rem;
}

.px-5 {
  padding: 0 5rem;
}

.pt-1 {
  padding-top: 1rem;
}

.pt-2 {
  padding-top: 2rem;
}

.pt-3 {
  padding-top: 3rem;
}

.pt-4 {
  padding-top: 4rem;
}

.pt-5 {
  padding-top: 5rem;
}

/* Margin Classes */
.m-1 {
  margin: 1rem;
}

.m-2 {
  margin: 2rem;
}

.m-3 {
  margin: 3rem;
}

.m-4 {
  margin: 4rem;
}

.m-5 {
  margin: 5rem;
}

.my-1 {
  margin: 1rem 0;
}

.my-2 {
  margin: 2rem 0;
}

.my-3 {
  margin: 3rem 0;
}

.my-4 {
  margin: 4rem 0;
}

.my-5 {
  margin: 5rem 0;
}

.mx-1 {
  margin: 0 1rem;
}

.mx-2 {
  margin: 0 2rem;
}

.mx-3 {
  margin: 0 3rem;
}

.mx-4 {
  margin: 0 4rem;
}

.mx-5 {
  margin: 0 5rem;
}

.mt-07 {
  margin-top: 0.7rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mt-4 {
  margin-top: 4rem;
}

.mt-5 {
  margin-top: 5rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.mb-5 {
  margin-bottom: 5rem;
}

.ml-1 {
  margin-left: 1rem;
}

.ml-01 {
  margin-left: 0.1rem;
}

/* Background classes */
.bg-dark {
  background: #161616;
  color: #F8F8F8;
}

.bg-light {
  background: #F8F8F8;
  color: #161616;
}

/* Height classes */
h-100 {
  min-height: 100vh;
}

/* Text-color classes */
.text-para {
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
  color: #1F2937;
}

.text-grey {
  color: #1F2937;
}

.lead {
  border-bottom: 2px solid #CBAB4B;
}

/* Form inputs stylings */
input,
textarea {
  padding: .75rem;
  width: 100%;
  border: 1px solid #DDDDDD;
  border-radius: 4px;
  font-family: "Poppins", sans-serif;
}

input:focus-visible,
textarea:focus-visible {
  outline-color: #CBAB4B;
}

/* Button Stylings */
.btn,
.btn-main,
.btn-dark {
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  transition: background .5s ease;
}

.btn-main {
  background: #CBAB4B;
  color: #F8F8F8;
}

.btn-main:hover {
  background: #161616;
}

.btn-dark {
  background: #F8F8F8;
  color: #161616;
}

.btn-dark:hover {
  background: #161616;
  color: #F8F8F8;
}

/* Grid & Flex classes */
.grid-3,
.work-content,
.category-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
}

.grid-2,
.contact-form .form-area {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
}

.flex-space-between,
#main-nav,
.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

/* Card Design classes */
.card-img {
  width: 100%;
  border-radius: 2%;
}

.card-text {
  text-align: center;
  padding: .5rem;
}

/* show & hide classes*/
.show {
  visibility: visible !important;
}

/* Close menu button */
#close {
  display: none;
}

body {
  font-family: "Poppins", sans-serif;
}

/* Navbar Stylings */
.navbar {
  background-color: #F8F8F8;
  padding: 0.3rem 0;
  color: #1F2937;
}

#main-nav .logo,
#main-nav .menu-icon {
  width: 80px;
}

#main-nav .nav-list {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
}

#main-nav .nav-list .nav-link {
  text-decoration: none;
  padding-bottom: .5rem;
}

#main-nav .nav-list .nav-link:hover {
  cursor: pointer;
  color: #CBAB4B;
}

#main-nav .nav-list .current {
  color: #CBAB4B !important;
}

#main-nav .nav-list .menu {
  position: relative;
}

#main-nav .nav-list .menu:hover .nav-menu {
  display: flex;
}

#main-nav .nav-list .nav-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  background: #ffffff;
  box-shadow: 5px 2px 10px rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  width: 200px;
  top: 28px;
  left: -5px;
}

#main-nav .nav-list .nav-menu .menu-link {
  padding: 0.5rem 1rem;
  display: block;
  transition: color .5s ease;
}

#main-nav .nav-list .nav-menu .menu-link:hover {
  cursor: pointer;
  color: #CBAB4B;
}

/* Home page header content */
.header-content {
  background: url(../images/banner/banner7.png) no-repeat center center/cover;
  color: #ffffff;
}

.header-content-text {
  padding: 4rem 0;
}

.header-content-img {
  width: 100%;
  border-radius: 5% 5% 5% 5%;
}

/*Home page work section */
.work-content .card a:hover {
  color: #CBAB4B;
}

/* Work Page Stylings */
.category-content {
  justify-items: stretch;
}

.category-content .card-img {
  height: 100%;
}

.typing {
  font-weight: 500;
  font-size: 4rem;
}

.typing-header {
  font-size: 4rem;
  color: #CBAB4B
}

/*Contact Page Stylings */
.contact-form .form-group {
  margin-bottom: 1rem;
}

/* Footer */
.footer-info {
  font-size: 0.9rem;
  color: #1F2937;
  padding-top: 0.5rem;
}

.footer-content {
  text-align: center;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: flex-start;
}

.footer-content .address {
  flex-basis: 0;
  flex-grow: 3;
}

.footer-content .phone_number {
  flex-basis: 0;
  flex-grow: 1;
}

.footer-content-logo {
  width: 120px;
}

.footer-content-title {
  border-width: 20%;
  border-bottom: 1px solid #CBAB4B;
}

.footer-content-socials {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}

.footer-content-socials .fab {
  transition: color .5s ease;
}

.footer-content-socials a:hover .fab {
  color: #CBAB4B;
}

@media screen and (max-width: 1024px) {
  .header-content-text {
    padding: 0 0 2rem 0;
  }

  h1 {
    font-size: 4.5rem;
  }
}

@media screen and (max-width: 768px) {
  .py-4 {
    padding: 2rem 0;
  }

  .service-section h1 {
    font-size: 2rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 2rem;
  }

  /* Navbar Stylings */
  #main-nav .logo,
  #main-nav .menu-icon {
    width: 80px;
  }

  #main-nav .nav-list {
    flex-direction: column;
    position: absolute;
    top: 59px;
    left: 0px;
    background: #F8F8F8;
    width: 100%;
    padding: 1rem 1rem;
    visibility: hidden;
    gap: 1rem;
  }

  #main-nav .nav-list .nav-link {
    text-decoration: none;
    padding-bottom: .5rem;
    color: #1F2937;
  }

  #main-nav .nav-list .menu:hover .nav-menu {
    display: flex;
  }

  #main-nav .nav-list .nav-menu {
    box-shadow: none;
    position: relative;
    width: 100%;
    display: none;
    top: 5px;
    left: 0;
  }

  /* Header content stylings */
  .typing-header {
    font-size: 2rem;
  }

  .typing {
    font-size: 1.5rem;
  }

  .header-content {
    text-align: center;
  }

  .header-content-text {
    padding: 0;
  }

  /* Footer Stylings */
  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .grid-2,
  .contact-form .form-area {
    display: grid;
    grid-template-columns: 1fr;
  }

  .grid-3,
  .work-content,
  .category-content {
    display: grid;
    grid-template-columns: 1fr;
  }

  #close {
    display: block;
  }
}

@media only screen and (max-height: 731px) {

  /* Header content stylings */
  .header-content {
    height: 68vh;
  }
}

@media only screen and (min-width: 601px) {
  .container {
    width: 85%;
  }
}

@media only screen and (min-width: 993px) {
  .container {
    width: 70%;
  }
}