/*------------------------------------------------------------------
[Table of styles content]

1 - Hero
2 - Översikt
3 - Featured
4 - Trust
5 - Process
6 - Kontakta oss
--------------------------------------------------------------------*/
  /*-----------------------------------
      1 - Hero
  ------------------------------------*/

  #hero-home {
    position: relative;
    background-image: url('../images/pexels-olly-840996.jpg'); /* Replace with the path to your background image */
    background-size: cover;
    background-position: center;
    height: 500px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%);
  }
  
  /* Overlay Styling */
  #hero-home .overlay-mote {
    position: absolute;
    top: -160px; /* Adjust this to cover the height of the header */
    left: 0;
    width: 100%;
    height: calc(100% + 160px); /* Extends the overlay to cover both hero and header */
    background-color: rgba(17, 8, 72, 0.8);
    z-index: 1;
  }
  
  /* Content Styling */
  #hero-home .content {
    position: relative;
    z-index: 2; /* Ensures text content appears above the overlay */
  }
  
  #hero-home .content h1 {
    font-size: 48px;
    font-weight: bold;
    margin: 0;
  }
  
  #hero-home .content p {
    font-size: 18px;
    margin-top: 10px;
  }

  @media (max-width: 768px) {
    #hero-home {
      height: 450px; /* Adjust as needed */
    }

  }

  /*-----------------------------------
      2 - Översikt
  ------------------------------------*/
  .title {
    font-weight: 700;
    text-transform: uppercase;
  }
  
  .title h6 {
    letter-spacing: 4px;
    color: #ee1515;
  }
  
  .title h1 {
    font-size: 35px;
    margin-bottom: 50px;
  }
  
  .title .title-blue {
    color: #26264b;
  }
  
  .title .title-primary {
    color: #ee1515;
  }
  
  .services {
    padding: 80px 0 50px;
  }
  
  .services .title {
    margin-bottom: 20px;
  }


 /*-----------------------------------
      2 - Testimonial
  ------------------------------------*/
  /* General Styles (Desktop Version) */
  .cta-testimonial-section {
    background-color: #c0392b; /* Dark blue background */
    color: #ffffff; /* White text */
    padding: 50px 0; /* Spacing at top and bottom */
  }
  
  .cta-testimonial-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
  }
  
  .cta-box {
    order: 1; /* Default order for CTA box */
    flex: 1; /* Allow flexibility for sizing */
  } 
  
  .testimonial-box {
    order: 2;
    flex: 1;
    padding: 20px;
  }
  
  .cta-box h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
  }
  
  .cta-box p {
    font-size: 1.1em;
    margin-bottom: 20px;
  }
  
  .cta-button {
    background-color: #ff0000;
    border: none;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .cta-button:hover {
    background-color: #f4a4a4; /* Darker yellow for hover */
  }
  
  .testimonial-box {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1); /* A light overlay */
    border-radius: 10px;
    text-align: center; /* Center align content for mobile view */
  }
  
  .rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2em;
    margin-bottom: 20px;
  }
  
  .stars i {
    color: #fbb034; /* Yellow stars */
  }
  
  blockquote {
    font-size: 1.3em;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
  }
  
  .testimonial-author img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
  }
  
  .testimonial-author p {
    margin: 0;
  }
  
  /* Mobile Styles (Using Media Queries) */
  @media (max-width: 768px) {
    .cta-testimonial-wrapper {
      flex-direction: column; /* Stack elements vertically */
      text-align: center; /* Center all content */
    }
  
    .testimonial-box {
      order: 1;
      max-width: 100%; /* Make sure each box takes full width */
      margin-bottom: 30px; /* Add spacing between the two sections */
    }
  
    .cta-box {
      order: 2; /* Show CTA below the testimonial */
  }
  
    .cta-box h2 {
      font-size: 2em; /* Slightly reduce font size for mobile */
    }
  
    .cta-box p,
    blockquote {
      font-size: 1em; /* Adjust font size for readability on small screens */
    }
  
    .cta-button {
      width: auto; /* Adjust button width to fit content */
    }
    .overflow-element {
      max-width: 100%;
      overflow-x: hidden;
    }
  }

/*-----------------------------------
    3 - Processen
------------------------------------*/

.leadgen-process-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #26264b;
    margin-top: 20px;
  }
  
  .leadgen-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
  }
  .leadgen-timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #ff0000;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .leadgen-step {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    width: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    position: relative;
  }
  .leadgen-step:nth-child(odd) {
    flex-direction: row-reverse;
  }
  
  .leadgen-step-number-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ff0000;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: absolute;
    left: calc(50% - 20px);
    top: -10px;
  }
  .leadgen-step-content {
    flex: 1;
    padding: 0 20px;
    text-align: left;
  }
  .leadgen-step-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
  }
  .leadgen-step-description {
    font-size: 16px;
    color: #666;
  }
  



    /* Mobile Styles (Using Media Queries) */
    @media (max-width: 768px) {
      .leadgen-step {
        padding: 30px 0;
      }

    }
/*-----------------------------------
      5 - Process
------------------------------------*/
  .services {
    padding: 80px 0 50px;
  }
  
  .services .title {
    margin-bottom: 20px;
  }
  
  .services .media {
    margin: 40px 0;
  }
  
  .services h5 {
    color: #26264b;
    border-bottom: 2px solid #e7e7e7;
    padding-bottom: 5px;
    margin-bottom: 10px;
  }

  .icon-number {
    width: 50px;              /* Set width and height to create a perfect circle */
    height: 50px;
    border-radius: 50%;       /* Makes the div circular */
    background-color: white;  /* Background color inside the circle */
    border: 3px solid #c0392b; /* Red border color */
    color: #c0392b;           /* Text color to match the border */
    display: flex;            /* Use flexbox to center the number */
    align-items: center;      /* Center vertically */
    justify-content: center;  /* Center horizontally */
    font-size: 24px;          /* Adjust the size of the number */
    font-weight: bold;        /* Make the number stand out */
    margin-right: 20px;       /* Add space between the circle and the text */
    flex-shrink: 0;           /* Ensure the circle doesn't shrink when space is limited */
  }

  .lead-success {
    padding: 50px 0 0;
}

  .lead-success .box {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lead-success .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
}

.lead-success .box .icon {
    font-size: 40px;
    color: #ff0000; /* Adjust the color to match your theme */
    margin-bottom: 15px;
}

.lead-success .box h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333333; /* Adjust to suit your theme */
}

.lead-success .box p {
    font-size: 16px;
    color: #666666;
}


/*-----------------------------------
    6 - Kontakta oss
------------------------------------*/
/* General Styling */
.mote-contact-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
    color: #333;
  }
  
  .mote-contact-info {
    flex: 1;
    max-width: 40%;
  }
  
  .mote-breadcrumb {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  
  .mote-contact-title {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #26264b;
  }
  
  .mote-contact-description {
    color: #666;
    margin-bottom: 30px;
    font-size: 1rem;
  }
  
  .mote-contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .mote-contact-column {
    width: 50%;
  }
  
  .mote-contact-column h4 {
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #333;
  }
  
  .mote-contact-column p {
    font-size: 0.9rem;
    color: #666;
  }
  
  /* Form Styling */
  .mote-contact-form-container {
    flex: 1;
    max-width: 50%;
    background-color: #f4f7f9;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .mote-form-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #26264b;
  }
  
  .mote-form-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  .mote-contact-form input,
  .mote-contact-form textarea {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    color: #333;
    background-color: #fff;
  }
  
  .mote-contact-form textarea {
    min-height: 100px;
    resize: vertical;
  }
  
  /* Privacy policy styling */
  .mote-privacy-policy {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="file"],
  textarea {
      width: 100%;
  }
  
  
  .mote-privacy-policy input[type="checkbox"] {
    margin-right: 20px;
  }
  
  .mote-privacy-policy label {
    font-size: 14px;
    color: #000000;
    line-height: 1.5;
  }
  
  .mote-privacy-policy label a {
    color: #d9534f;
    text-decoration: underline;
  }
  
  .mote-privacy-policy label a:hover {
    text-decoration: underline;
  }
  
  /* Button styling */
  .mote-send-button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #1a1a1a;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap; /* Prevents button text from wrapping */
    flex: 0 1 150px; /* Fixes button width */
  }
  
  .mote-send-button:hover {
    background-color: #333;
  }
  

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .mote-contact-section {
      flex-direction: column; /* Stack the columns vertically */
      align-items: center;
      gap: 20px; /* Reduce gap for mobile */
      padding: 20px 10px; /* Reduce padding for mobile */
    }
  
    .mote-contact-info, .mote-contact-form-container {
      max-width: 100%; /* Set both sections to full width */
    }
  }
  
  /* Mobile-friendly adjustments for form */
  @media (max-width: 768px) {
    .mote-contact-form-container {
      padding: 20px; /* Reduce padding for mobile */
    }
  
    .mote-contact-title {
      font-size: 1.8rem; /* Smaller title for mobile */
    }
  }


  .mote-services-section {
    display: flex;
    gap: 40px;
    justify-content: center;
    padding: 40px 40px;
  }
  
  .mote-service-box {
    background-color: #fafafa;
    color: #26264b;
    padding: 20px;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    flex: 1;
    transition: transform 0.3s;
  }
  
  .mote-service-box:hover {
    transform: translateY(-5px);
  }
  
  .mote-service-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: capitalize;
    border-bottom: 2px solid #e53935;
    padding-bottom: 5px;
  }
  
  .mote-service-description {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: #26264b;
  }
  
  .mote-service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
  }
  
  .mote-service-list li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #26264b;
  }
  
  .mote-service-list li i {
    color: #e53935;
    margin-right: 8px;
  }
  
  .mote-service-link {
    color: #e53935;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
  }
  
  .mote-service-link i {
    margin-left: 5px;
    transition: margin-left 0.3s;
  }
  
  .mote-service-link:hover i {
    margin-left: 8px;
  }
  
  
  
  .mote-statistics-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px;
    background-color: #f8f8f8; /* Light background */
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 8px;
  }
  
  .mote-statistic-box {
    flex: 1;
    margin: 0 20px;
  }
  
  .mote-statistic-number {
    font-size: 5rem;
    font-weight: bold;
    color: #26264b;
    margin: 0;
  }
  
  .mote-statistic-description {
    font-size: 1rem;
    color: #666;
    margin-top: 10px;
  }
  
  
/* Mobile responsiveness */
@media (max-width: 768px) {
  .mote-services-section {
      flex-direction: column;
      padding: 10px;
  }

  .mote-service-box {
      max-width: 100%;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .mote-statistics-section {
      flex-direction: column;
      padding: 20px;
  }

  .mote-statistic-box {
      max-width: 100%;
      margin-bottom: 20px;
  }

  .mote-statistic-number {
      font-size: 4.5rem;
  }

  .mote-statistic-description {
      font-size: 0.9rem;
      max-width: 100%;
  }
}

/* Mobile responsiveness */
@media (max-width: 850px) {
  .mote-services-section {
      flex-direction: column;
      padding: 10px;
  }

  .mote-service-box {
      max-width: 100%;
  }
}