/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
.nanum-gothic-regular {
  font-family: "Nanum Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.castoro-titling-regular {
  font-family: "Castoro Titling", serif;
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: "Nanum Gothic", sans-serif;
  color: #0d1e2d;
}

a {
  color: #777;
  text-decoration: none;
}

a:hover {
  color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: "Castoro Titling", serif;
}

.section {
  padding: 4rem 0;
}

.textnav > a {
  font-size: 20px;
  font-family: "Nanum Gothic", sans-serif;
  color: rgb(157, 121, 102, 1);
  white-space: 30px;
  margin-right: 35px;
}

.border-container-bottom {
  padding-bottom: 40px;
  border-bottom: 1px solid rgb(157, 121, 102, 1);
}

.filters a {
  text-decoration: none;
  color: #000;
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
}

.portfolio-image {
  width: 100%;
  height: 500px !important;
  object-fit: cover;
  padding: 5px;
}

.about-image {
  width: 100%;
  height: 730px !important;
  object-fit: cover;
  padding: 5px;
}

/* Media queries for responsive design */
@media (max-width: 767px) {
  .item {
    width: 100% !important; /* Ensure full-width layout on small screens */
    padding: 0 15px; /* Add some padding between items */
    display: block;
  }

  .item .item-wrap {
    margin-bottom: 30px; /* Add some margin between items */
  }
  
   .about-image {
    height: 530px !important;
    padding: 5px;
  }
}

@media (min-width: 768px) {
  .portfolio-image {
    height: 550px !important; /* Fixed height for desktop view */
    padding: 5px;
  }
  
  .about-image {
  height: 730px !important;
  padding: 5px;
}
}

.item .item-wrap > .work-info {
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  z-index: 3;
  transform: translateY(-50%);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  margin-top: 20px;
  transition: 0.3s all ease;
}

.item .item-wrap:hover {
  text-decoration: none;
}

.item .item-wrap:hover img {
  transform: scale(1.05);
}

.item .item-wrap:hover:after {
  opacity: 1;
  visibility: visible;
}

.item .item-wrap:hover .work-info {
  margin-top: 0px;
  opacity: 1;
  visibility: visible;
}

.item {
  border: none;
  margin-bottom: 30px;
}

.item .item-wrap {
  display: block;
  position: relative;
  overflow: hidden;
}

.item .item-wrap:after {
  z-index: 2;
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  visibility: hidden;
  opacity: 0;
  transition: 0.3s all ease-in-out;
}

.item .item-wrap img {
  transition: 0.3s transform ease;
  transform: scale(1);
}

.item .item-wrap > .work-info h3 {
  font-size: 20px;
  margin-bottom: 0;
}

.item .item-wrap > .work-info span {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
}

/* General logo styles */
.logo {
  font-family: "Castoro Titling", serif;
  font-size: 1.5rem;
  color: #000; /* Default color for other pages */
}

/* Specific styles for the index.html */
.index-page .logo {
  color: #fff; /* White color for the index page */
}

/* Ensure the logo color does not change on hover */
.logo:hover {
  color: inherit;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px; /* Adds space between the items */
  overflow-x: auto; /* Allow horizontal scrolling if needed */
  justify-content: space-between; /* Distribute items evenly */
}

.filters a {
  text-decoration: none;
  color: #000;
  display: inline-block;
  padding: 5px; /* Reduce padding to minimize space usage */
  position: relative;
  white-space: nowrap; /* Prevents text from wrapping to a new line */
}

.filters a:hover,
.filters a:focus,
.filters a:active {
  text-decoration: none;
}

.filters a:hover:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: #000;
}

.filters a.active {
  color: #000;
}

.filters a.active:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: #000;
}

/* Image handling for portfolio and testimonial images */
.testimonial img {
  width: 100%;
  height: 150px !important; /* Set your desired fixed height */
  object-fit: cover; /* Ensure the image covers the container without stretching */
  border-radius: 12px; /* Optional: for rounded corners */
  padding: 5px;
}

/* Testimonials */
.testimonial-wrap {
  padding: 50px 50px 80px 50px;
  background: #eceff2;
  height: 580px; /* Set a fixed height for consistency */
  display: flex;
  align-items: center; /* Center content vertically */
  justify-content: center; /* Center content horizontally */
}

.testimonial-wrap .testimonial {
  text-align: center;
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%; /* Ensure it takes the full height of the parent */
}

.testimonial-wrap .testimonial img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover; /* Ensure the image maintains its aspect ratio */
  margin: 0 auto 20px auto;
}

.testimonial-wrap .testimonial blockquote p {
  font-size: 20px;
  margin: 20px 0;
}

.testimonials-slider .swiper-pagination {
  margin-top: -60px;
  position: relative;
}

.testimonials-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(13, 30, 45, 0.3);
  opacity: 1;
}

.testimonials-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: rgba(13, 30, 45, 0.6);
}

#contact-btn {
  border: 1px solid #848484;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .testimonial-wrap {
    padding: 30px 30px 50px 30px;
    height: auto; /* Set auto height for mobile */
  }

  .testimonial-wrap .testimonial blockquote p {
    font-size: 18px; /* Adjust font size for mobile */
  }
}

.sticky-content {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  /* required */
}

.list-line li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.list-line li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 10px;
  height: 2px;
  background: #000;
}

.form-control {
  border-radius: 0;
  background: #dcdddf;
  border: 1px solid transparent;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  border-radius: 5px;
}

.form-control:active,
.form-control:focus {
  background: rgb(211, 211, 211);
  outline: none;
  box-shadow: none;
  border: 1px solid transparent;
}

.custom-progress {
  height: 7px;
  border-radius: 0;
}

.custom-progress .progress-bar {
  background: #000;
}

/* Services */
.services i {
  font-size: 40px;
}

.services h4 {
  padding-top: 10px;
}

/* Contact Form */
.php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.php-email-form .error-message br + br {
  margin-top: 25px;
}

.php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
/* Custom Navmenu */
.custom-navmenu {
  font-family: "Nanum Gothic", sans-serif;
  background: rgb(3, 12, 20);
}

.custom-navmenu .custom-menu,
.custom-navmenu .custom-menu li {
  padding: 0;
  margin: 0;
  list-style: none;
  font-family: "Nanum Gothic", sans-serif;
}

.custom-navmenu .custom-menu li {
  font-family: "Nanum Gothic", sans-serif;
  margin-bottom: 0;
  font-size: 20px;
}

.custom-navmenu .custom-menu li a {
  font-family: "Nanum Gothic", sans-serif;
  color: #fff;
  padding: 10px 0 !important;
}

.custom-navmenu .custom-menu li a:hover {
  text-decoration: none;
  font-family: "Nanum Gothic", sans-serif;
}

.custom-navmenu .custom-menu li.active a {
  text-decoration: underline;
  font-family: "Nanum Gothic", sans-serif;
}

.custom-navmenu h3 {
  font-family: "Nanum Gothic", sans-serif;
  font-size: 20px;
  color: #fff;
}

.custom-navmenu p {
  color: rgba(255, 255, 255, 0.6);
  font-family: "Nanum Gothic", sans-serif;
}

.custom-navmenu a {
  color: rgba(255, 255, 255, 0.7);
  font-family: "Nanum Gothic", sans-serif;
}

.custom-navmenu a:hover {
  color: #fff;
  font-family: "Nanum Gothic", sans-serif;
}

/* Custom Navbar */
.custom-navbar {
  padding-top: 50px;
  width: 100%;
}

@media (max-width: 780px) {
  .custom-navbar > .container {
    padding-right: 0;
    padding-left: 5%;
  }
}

.custom-navbar .navbar-brand {
  font-family: "Castoro Titling", serif;
  font-size: 1.5rem;
  color: #fff;
}

/* Burger */
.burger {
  width: 28px;
  height: 32px;
  cursor: pointer;
  position: relative;
  margin-left: 15px; /* Add space on the left side */
}

.burger:before,
.burger span,
.burger:after {
  width: 100%;
  height: 2px;
  display: block;
  background: black;
  border-radius: 2px;
  position: absolute;
  opacity: 1;
}

.burger:before,
.burger:after {
  transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    -webkit-transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1);
  content: "";
}

.burger:before {
  top: 4px;
}

.burger span {
  top: 15px;
}

.burger:after {
  top: 26px;
}

/* Hover */
.burger:hover:before {
  top: 7px;
}

.burger:hover:after {
  top: 23px;
}

/* Click */
.burger.active span {
  opacity: 0;
}

.burger.active:before,
.burger.active:after {
  top: 40%;
}

.burger.active:before {
  transform: rotate(45deg);
}

.burger.active:after {
  transform: rotate(-45deg);
}

.burger:focus {
  outline: none;
}
/* End of Burger */

/* End of Burger */
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 0 0 4rem 0;
}

.footer a {
  color: #000;
}

.social a {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f8f9fa;
  position: relative;
  text-align: center;
  color: #0d1e2d;
}

.social a span {
  display: inline-block;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.social a:hover {
  color: #000;
}

/* --- Hero image ---*/
.fixed-nav {
  position: absolute !important;
  z-index: 0 !important;
  top: 0px !important;
}

.hero-section .img-wrapper {
  display: flex;
}

.hero-section img {
  max-width: 100%;
  height: auto;
  margin-top: -105px;
}

.image-container {
  justify-content: center;
  align-items: center;
}

.hero-section {
  background: url("../img/homepage/IMG_3899.JPG") no-repeat center;
  height: 900px;
  width: auto;
  max-width: 100%;
}

.hero-text {
  margin-bottom: 5%;
}

/* Media query */
@media (min-width: 200px) and (max-width: 575px) {
  .burger {
    margin-right: 3%;
  }
}

.center {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.row {
  --bs-gutter-x: 0rem !important;
}

.form-group {
  padding-right: 0.2rem; /* Add space between form groups */
}
