/*
 Theme Name:   Dagborn Child
 Theme URI:    
 Description:  Dagborn Child Theme
 Author:       T Dagborn
 Author URI:   http://dagborn.se
 Template:     dagborn
 Version:      1.0.0
*/

/* Importera stil från föräldratemat */
@import url("../dagborn/style.css");
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
/* Lägg till egna anpassningar nedan */

html, body {
    overflow-x: hidden;
}

p{
	font-family: 'Montserrat', sans-serif;
	color: #222;
}

#contact a{
	color: #36a53c;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    padding: 20px 0;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: transparent;
}

.navbar-collapse {
    flex-grow: 1;
    justify-content: flex-end;
}

.navbar-brand img {
    height: 45px !important;
}

#menu-mainnav li{
	padding-right: 20px;
	font-size: 16px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
}

/* Grundläggande stil för headern */
#header.scrolled {
    background-color: #212429 !important;
}

/* För att ändra färgen på navbar-toggler-ikonen */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

#header.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
section{
	position: relative;
    padding: 110px 0;
}

.heading__title {
    font-size: 28px;
    line-height: 42px;
    margin-bottom: 30px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.divider__line+.heading__desc {
    margin-top: 32px;
}

.heading__desc {
    font-size: 17px;
    line-height: 27px;
    color: #a5a5a5;
}

.divider__line {
    position: relative;
    height: 6px;
}

.divider__theme:before {
    background-color: #e9b629;
}

.divider__line:before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(50% - 5px);
    width: 50px;
    height: 2px;
    background-color: #36a53c;
}

.divider__theme:after {
    background-color: #36a53c;
}

.divider__line:after {
    content: '';
    position: absolute;
    top: 8px;
    right: calc(50% - 5px);
    width: 60px;
    height: 2px;
}

.border-b-2{
	border-bottom: 2px solid #36a53c !important;
}

.custom-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 5px; /* Justera efter behov */
}

.custom-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px; /* Höjden på linjen, justera efter behov */
    background-color: #36a53c; /* Färgen på linjen, justera efter behov */
}

ul.list-unstyled li {
  display: flex;
  align-items: center;
}

ul.list-unstyled li i {
  margin-right: 10px;
  font-size: 1.5rem;
}

.bi-check2-all{
	color: #36a53c;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.rounded-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover; /* För att säkerställa att bilden fyller hela cirkeln */
}

#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #36a53c;
  color: #fff;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, opacity 0.3s;
  z-index: 1000;
}

#back-to-top:hover {
  background-color: #2d8c2d;
  color: #fff;
}

#back-to-top i {
  font-size: 24px;
}

#back-to-top.show {
  display: block;
}

@media (max-width: 767px) { 

	section{
		position: relative;
	    padding: 70px 0 !important;
	}
}

/*--------------------------------------------------------------
# SECTIONS IMG BG + TEXT
--------------------------------------------------------------*/
.bg-img-section{
	height: 800px;
}

.tex-img-section .content{
	padding: 0 100px;
}

@media (max-width: 1024px){

	.bg-img-section {
	    height: 500px;
	}
	
	.tex-img-section .content{
	padding: 30px 30px;
}

	.uspbox_border{
		border-bottom: 0 !important;
		border-right: 0 !important;
}

}


@media (max-width: 575.98px) { /* För mobilskärmar */

	.bg-img-section{
		height: 400px;
	}
	
	.tex-img-section .content{
	padding: 50px 20px;
}

	.uspbox_border{
		border-bottom: 0 !important;
	}

}

/*--------------------------------------------------------------
# HERO
--------------------------------------------------------------*/
.video-desktop {
  display: block;
}

.video-mobile {
  display: none;
}

@media (max-width: 767px) {
  .video-desktop {
    display: none;
  }

  .video-mobile {
    display: block;
  }
}

.hero {
  position: relative;
  background-color: black;
  height: 100vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
  z-index: 1;
  display: flex;
  margin-top: -16px;
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.4;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero .hero__title {
  font-size: 70px;
  color: #ffffff;
  margin-bottom: 37px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.hero p {
  color: #ffffff;
}

.cta-btn {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 5px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid #fff;
  color: #fff;
  z-index: 3;
  position: relative;
  pointer-events: auto;
}


/* Fortsätt med andra klasser du vill ändra */
@media (max-width: 480px) { /* För mobilskärmar */

.hero{
	height: 80vh;
}

.hero .hero__title {
  font-size: 40px;
  color: #ffffff;
  margin-bottom: 37px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}


.bg-img-section{
	height: 400px;
}
  
}
/*--------------------------------------------------------------
# USP
--------------------------------------------------------------*/
.uspbox{
	padding: 30px 30px;
}

.uspbox__icon{
	font-size: 60px;
	margin-bottom: 20px;
	color: #36a53c;
}

.uspbox__title{
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	font-size: 20px;
	
}

.uspbox p{
	font-size: 14px;
}

.uspbox_border {
  border-right: 1px solid #ddd;
}

#uspar .uspbox_border:nth-child(3n) {
  border-right: none; /* Ta bort linjen från den sista kolumnen i varje rad */
}

#uspar .uspbox_border:nth-child(1),
#uspar .uspbox_border:nth-child(2),
#uspar .uspbox_border:nth-child(3) {
  border-bottom: 1px solid #ddd; /* Lägg till en linje under de tre första kolumnerna */
}

@media (max-width: 767px) { 
	.uspbox_border {

	border-right: none;
	}

}
/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team {
  position: relative;
}

.team .container {
  position: relative;
  z-index: 10;
}

.team .member {
  margin-bottom: 80px;
  position: relative;
}

.team .member .pic {
  overflow: hidden;
}

.team .member .member-info {
  position: absolute;
  bottom: -50px;
  left: 20px;
  right: 20px;
  background: #fff;
  padding: 20px 15px;
  color: #15222b;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: 0.5s;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  color: #15222b;
  position: relative;
  padding-bottom: 10px;
}

.team .member h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: #7fa5c0;
  bottom: 0;
  left: 0;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member .social {
  position: absolute;
  right: 15px;
  bottom: 15px;
}

.team .member .social a {
  transition: color 0.3s;
  color: #477392;
}

.team .member .social a:hover {
  color: #ff4a17;
}

.team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}

@media (max-width: 992px) {
  .team .member {
    margin-bottom: 110px;
  }
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients {
  background: #f0f4f8;
  padding: 5px 0;
  text-align: center;
}

.clients img {
  max-width: 70%;
  transition: all 0.4s ease-in-out;
  display: inline-block;
  padding: 5px 0;
  filter: grayscale(100);
}

.clients img:hover {
  filter: none;
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .clients img {
    max-width: 40%;
  }
}

/*--------------------------------------------------------------
# CALL TO ACTION SECTION
--------------------------------------------------------------*/
#call-to-action{
	background-color: #36a53c;
}

#call-to-action p{
	color:#fff;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  background: url("http://localhost:8888/dagborn/dagborn-theme/wp-content/uploads/2024/05/cta-bg.jpg") no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(13, 20, 26, 0.7);
}

.testimonials .section-header {
  margin-bottom: 40px;
}

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

.testimonials .testimonial-item {
  text-align: center;
  color: #fff;
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.15);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #fff;
}

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

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: rgba(255, 255, 255, 0.4);
  font-size: 26px;
}

.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;
}

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

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

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

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

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #ff4a17;
  opacity: 1;
}

/*--------------------------------------------------------------
# FAQ
--------------------------------------------------------------*/
.accordion-button:not(.collapsed){
	background-color: #36a53c !important;
	color: #fff !important;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: #444444;
  text-align: center;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 20px 0 30px 0;
}

.contact .info-box i {
  font-size: 32px;
  color: #36a53c;
  border-radius: 50%;
  padding: 8px;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #777777;
  font-weight: 700;
  margin: 10px 0;
}

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

.contact .php-email-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px;
}

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

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

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

.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 #18d26e;
  border-top-color: #eee;
  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;
  border-radius: 4px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #ff4a17;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

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

.contact .php-email-form button[type=submit] {
  background: #36a53c;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #36a53c;
}

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

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

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

footer p{
	font-family: 'Montserrat', sans-serif;
	color: #fff;;
}

footer a{
	color: #fff;
}