/*--------------------------------------------------------------
# Set main reusable colors and fonts using CSS variables
# Learn more about CSS variables at https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties
--------------------------------------------------------------*/
/* Fonts */
:root {
  --font-default:  "Karla", sans-serif;
  --font-primary: "impact";
  --font-secondary: "Karla", sans-serif;
}


/* Colors */
:root {
  --color-default: #000000;
  --color-primary: #2E4A70;
  --color-secondary: #BB353C;
}

/* Smooth scroll behavior */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: var(--font-default);
  color: var(--color-default);
  overflow-x: hidden;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-secondary);
  text-decoration: none;
}

h1,
h2,
h5,
h6 {
  font-family: var(--font-primary);
  letter-spacing: 0.5px;

}

/*--------------------------------------------------------------
# Sections & Section Header
--------------------------------------------------------------*/
section {
  padding: 80px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f5f6f7;
}

.section-header {
  text-align: center;
  padding-bottom: 70px;
}

.section-header h2 {
  font-size: 40px;
  position: relative;
  color: #2e3135;
}

.section-header h2:before,
.section-header h2:after {
  content: "";
  width: 50px;
  height: 2px;
  background: black;
  display: inline-block;
}

.section-header h2:before {
  margin: 0 15px 10px 0;
}

.section-header h2:after {
  margin: 0 0 10px 15px;
}

.section-header p {
  margin: 0 auto 0 auto;
}

@media (min-width: 1199px) {
  .section-header p {
    max-width: 60%;
  }

}

@media (max-width: 380px) {
  .section-header h2 {
    font-size: 30px
  }
}


/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: var(--color-secondary);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: white;
  line-height: 0;
}

.scroll-top:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #fff;
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #fff;
  border-color: var(--color-primary) transparent var(--color-primary) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}



/*--------------------------------------------------------------
# Nav Bar Section
--------------------------------------------------------------*/
.nav-link{
  font-size: 20px;
  margin-left: 20px;
  color: var(--color-secondary);
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-fullscreen {
  width: 100%;
  min-height: 100vh;
  background: url("../img/Images/painter-background-opacity.png") center center;
  background-size: cover;
  position: relative;
}

.hero-fullscreen:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.heroimg {
    width: 50%;
  }

@media (min-width: 1365px) {
  .hero-fullscreen {
    background-attachment: fixed;
  }

  
}

.hero-fullscreen h2 {
  font-size: 48px;
  color: var(--color-secondary);
  font-family: var(--font-secondary);
}



.hero-fullscreen p {
  color: rgba(var(--color-secondary-rgb), 0.8);
  font-size: 20px;
}


@media (max-width: 640px) {
  .hero-fullscreen h2 {
    font-size: 32px;
  }

  .hero-fullscreen p {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .hero-fullscreen {
    font-size: 14px;
  }

  
}
@media (max-width: 900px) {
  .hero-fullscreen .heroimg {
    width: 400px;
  }
}

@media (max-width: 450px) {
  .hero-fullscreen .heroimg {
    width: 350px;
    margin-top: 20px;
  }
}


.customBtn {
  border: 1px solid black;
  background-color: white;
  color: var(--color-primary);
  font-size: 20px;
}


.customBtn {
  min-width: 150px;
  height: 40px;
  color: #fff;
  padding: 5px 10px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  outline: none;
  border-radius: 2px;
  z-index: 0;
  background: #fff;
  overflow: hidden;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.customBtn:hover {
  color: #fff;
}
.customBtn:hover:after {
  height: 100%;
}
.customBtn:after {
  content: "";
  position: absolute;
  z-index: -1;
  transition: all 0.3s ease;
  left: 0;
  bottom: 0;
  height: 0;
  width: 100%;
  background: var(--color-primary);
}
/*button styling from https://markodenic.com/tools/buttons-generator/ */




/*--------------------------------------------------------------
# About Us Section
--------------------------------------------------------------*/
.about-us .img-bg {
  background-size: cover;
  background-position: center center;
  min-height: 400px;
  
}

.img-bg:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); 

}

.about-us h2 {
  color: var(--color-primary);
}

.about-us p {
  color: var(--color-primary);
}


.about-us h5 {
  font-size: 28px;
  color: var(--color-primary);
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.about-us h5:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  left: 0;
  bottom: 0;
}

.about-us .icon-box {
  margin-top: 50px;
}

.about-us .icon-box i {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-right: 25px;
  font-size: 28px;
  width: 56px;
  height: 56px;
  border-radius: 4px;
  line-height: 0;
  box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  transition: 0.3s;
}

.about-us .icon-box:hover i {
  background-color: var(--color-primary);
  color: #fff;
}

.about-us .icon-box {
  margin-bottom: 10px;
  font-size: 20px;
  color: var(--color-primary);
}

.about-us .icon-box a {
  color: var(--color-primary);
  transition: 0.3s;
}

.about-us .icon-box a:hover {
  color: var(--color-primary);
}

.about-us .icon-box p {
  line-height: 24px;
  font-size: 17px;
  margin-bottom: 0;
  color: var(--color-primary);
}

/*--------------------------------------------------------------
# Our Services Section
--------------------------------------------------------------*/
.constructions .card-item {
  border: 1px solid rgba(82, 86, 94, 0.2);
  background: #fff;
  position: relative;
  border-radius: 0;
}

.constructions .card-item .card-bg {
  min-height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.constructions .card-item .card-body {
  text-align: center;
}

.constructions .card-item h4 {
  font-size: 30px;
  margin-bottom: 15px;
  color: black;
  font-family: var(--font-secondary);
}

.constructions .card-item p {
  margin: 0;
}

.card-item:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}


/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-wrap {
  padding-left: 50px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  padding: 30px 30px 30px 60px;
  margin: 0 15px 30px 0;
  min-height: 200px;
  box-shadow: 0px 2px 20px rgba(82, 86, 94, 0.1);
  position: relative;
  background: #fff;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 10px;
  border: 6px solid #fff;
  position: absolute;
  left: -45px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  margin: 10px 0 5px 0;
  color: #000;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffda69;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: var(--color-primary);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #d5d7da;
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}

@media (max-width: 767px) {
  .testimonials .testimonial-wrap {
    padding-left: 0;
  }

  .testimonials .testimonials-carousel,
  .testimonials .testimonials-slider {
    overflow: hidden;
  }

  .testimonials .testimonial-item {
    padding: 30px;
    margin: 15px;
  }

  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}



/*--------------------------------------------------------------
# Our Projects Section
--------------------------------------------------------------*/
.projects {
  margin-top: 100px;
}

.projects .portfolio-flters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.projects .portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.projects .portfolio-flters li:hover {
  color: #d5d7da;
}

.projects .portfolio-flters li.filter-active {
  color: var(--color-primary);
  font-weight: bold;
}

.projects .portfolio-flters li:first-child {
  margin-left: 0;
}

.projects .portfolio-flters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .projects .portfolio-flters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.projects .portfolio-content {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 75%; 
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.projects .portfolio-content img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: 0.3s;
}


.projects .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.projects .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #fff;
  display: inline-block;
  background-color: var(--color-primary);
}

.projects .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.projects .portfolio-content .portfolio-info .preview-link,
.projects .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); /* Center the icon horizontally and vertically */
  font-size: 26px;
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.projects .portfolio-content .portfolio-info .preview-link:hover,
.projects .portfolio-content .portfolio-info .details-link:hover {
  color: var(--color-primary);
}

.projects .portfolio-content .portfolio-info .details-link {
  font-size: 34px;
  line-height: 0;
}

.projects .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.projects .portfolio-content:hover img {
  transform: scale(1.1);
}

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

@media (min-width: 900px) {
  .img-size {
    width: 50%;
  }
}

@media (max-width: 600px) {
  .img-size {
    width: 70%;
  }
}


.carousel-indicators {
  color: white;
}
.carouselText {
  color: var(--color-primary);
  background-color: white;
  border: 2px solid var(--color-primary);
  border-radius: 2px;
  width: auto;
  display: inline; 
  padding: 5px 10px; 
  font-family: var(--font-default);
}


.carousel-control-prev-icon,
.carousel-control-next-icon {
  color: var(--color-primary);

  opacity: 100%;
  border-radius: 50%;
  padding: 15px; 
  margin: 5px; 
}


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
  padding: 20px 0 30px 0;
}

.contact .info-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 24px;
  line-height: 0;
  color: var(--color-primary);
  border-radius: 50%;
  border: 2px dotted var(--color-primary);
}

.contact .info-item h3 {
  font-size: 20px;
  color: #6c757d;
  margin: 10px 0;
}

.contact .info-item p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  width: 100%;
  background: #fff;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.contact .php-email-form .form-group {
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #df1529;
  text-align: left;
  padding: 15px;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #059652;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #059652;
  border-top-color: #fff;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--color-primary);
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type=submit] {
  background: var(--color-primary);
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 5px;
}

.contact .php-email-form button[type=submit]:hover {
  background: var(--color-primary);
  color: #d5d7da;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
  background-color: #f5f6f7;
  flex-shrink: 0;
  margin-bottom: 0;

}

.footerImg {
  width: 100%;
  height: auto;
  border: 1px solid white;
}
.footerImg:hover {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.footer-header1 {
  font-family: var(--font-primary);
  color: var(--color-primary);
}

.footer-list {
  text-align: left;
  color: var(--color-primary);
  font-size: 20px;
}

.footer-links {
  color: var(--color-primary);
  font-size: 25px;
}


footer .info-item i  {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 24px;
  line-height: 0;
  color: var(--color-primary);
  border-radius: 50%;
  border: 2px dotted var(--color-primary);
}

footer p {
  padding: 15px;
  font-size: 17px;
}

.footerText {
  color: var(--color-primary);
}

@media (max-width: 1590px) {
  footer .footerEmail {
    font-size: 14px; 
  }
}

@media (max-width: 1400px) {
  footer .footerEmail {
    font-size: 12px; 
  }
}

@media (max-width: 768px) {
  footer .footerEmail {
    font-size: 14px; 
  }
}

@media (max-width: 1200px){
  footer .footerImg {
    width: 50%;
  }
}



@media (max-width: 400px){
  footer .footerImg {
    width: 100%;
  }
}

@media (max-width: 768px) {
  footer p {
    font-size: 20px; 
  }
}
footer a {
  color: var(--color-primary);
  text-decoration: underline;
}

footer a:hover{
  color: #d5d7da;
}

footer h6 {
  color: var(--color-primary);
  font-family: var(--font-default);
  margin-top: 20px;
}

.FooterAdam {
  color: var(--color-primary);
  text-decoration: underline;
}