/*
Theme Name: ModernHorizon
Theme URI: https://modernhorizon.com
Author: WebTree
Author URI: https://modernhorizon.com
Description: A modern WordPress theme powered by Bootstrap 5.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: modernhorizon
Tags: bootstrap, responsive, clean
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Poppins', sans-serif;
}
.subtitle {
    text-transform: uppercase;
    font-size: 0.875rem;
    color: #00b131;
    letter-spacing: 1px;
  }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
.hero-section {
    background: linear-gradient(to bottom, #eaf8ec 0%, #35c132 100%);
    padding: 80px 0 80px;
    text-align: center;
    color: #111;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    color: #2e7d32;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  .hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    max-width: 800px;
    margin: 0 auto 20px;
  }

  .hero-description {
    font-size: 1rem;
    max-width: 916px;
    margin: 0 auto 30px;
    color: #444;
  }

  .hero-buttons .btn {
    min-width: 120px;
    margin: 10px;
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  .btn {
        padding: 10px 25px !important;
        border-radius: 4px !important;
    }
    .btngreen
    {
background-color: #0EB231 !important;
color:#ffffff !important;
}
    .btnwhite
    {
        background-color:#ffffff !important;
    }
    .btnwhite:hover
    {
        background-color:#222222 !important;
        color:#ffffff;
    }

  .hero-image {
    max-width: 100%;
    margin-top: 40px;
  }
.accordion-button.bg-success {
    background-color: #d1e7dd !important;
    color: #000;
}
.accordion-body.bg-success.bg-opacity-25 {
    background-color: #d1e7dd !important;
}
.accordion-button,
.accordion-body {
  transition: background-color 0.3s ease;
}

/* Partner With Us Section */
.partner-section {
  background: url('https://demowebtree.top/modernhorizon/wp-content/uploads/2025/08/partner-bgnew.jpg') center center/cover no-repeat;
  min-height: 500px;
  padding: 60px 0;
  position: relative;
   z-index: 1;
}

.partner-heading {
  font-size: 2rem;
}

.partner-subheading {
  font-size: 1.125rem;
  color: #ffffffcc;
}

.partner-form .email-input {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: white;
  border-radius: 5px;
  padding: 10px 20px;
}

.partner-form .email-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.partner-form .email-input:focus {
  background-color: transparent;
  box-shadow: none;
  border-color: white;
  outline: none;
}
input.form-control.email-input {
    width: 60%;
}

.partner-form .submit-btn {
  border-radius: 5px;
  padding: 10px 30px;
}

.partner-terms {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
}
.custom-section-angled {
    background-color: #015c3b;
    color: #fff;
  }
      .custom-bg-angled.text-white {
        margin-left: -210px;
        padding-left: 210px;
    }

  .custom-bg-angled {
    background-color: #015c3b;
    clip-path: polygon(0% 0, 100% 0, 100% 100%, 8% 100%);
    padding: 60px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
.faq
{
    padding:5rem 0rem !important;
}
  .skilled-manpower h2,.equipment-slider h2,.industry-solutions-section h2,.process-steps h2,.service-detail-section h1,.contact-section h2,.about-services-section h2,.why-partner-section h2,.aboutcontent h2,.faq h2,.custom-section h2 {
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  .equipment-slider h4
  {
      font-weight: 500;
    font-size: 2rem;
    
  }

  .custom-section p::first-letter {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
  }

  .btn-custom {
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 10px 24px;
    font-weight: 500;
  }

  .btn-custom-white {
    background-color: white;
    color: #015c3b;
    border: none;
  }

  .btn-custom-white:hover {
    background-color: #e6e6e6;
  }
  .tech-section {
    padding: 80px 0;
    background-color: #fff;
  }

  .tech-section .subtitle {
    color: #28a745;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 0.9rem;
  }

  .tech-section h2 {
    font-weight: 700;
    font-size: 2rem;
  }

  .tech-section p {
    color: #555;
  }

  .tech-image-wrapper {
    position: relative;
    display: inline-block;
  }

  .tech-image-wrapper::after {
    content: '';
    position: absolute;
    right: -16px;
    bottom: -16px;
    width: 100%;
    height: 100%;
    background-color: #a2f4b4;
    z-index: -1;
    border-radius: 0.25rem;
  }

  .tech-image {
    border-radius: 0.25rem;
    width: 100%;
    height: auto;
    display: block;
  }

  .tech-stats h3 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0;
  }

  .tech-stats p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #777;
  }

  .btn-explore {
    border: 1px solid #ccc;
    padding: 10px 20px;
    border-radius: 6px;
    background-color: #fff;
    transition: all 0.3s;
  }

  .btn-explore:hover {
    background-color: #f8f8f8;
  }

.masonry-section {
    padding: 80px 0;
    background-color: #fff;
  }

  .projects-section h2,.masonry-title {
        font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .masonry-columns {
    column-count: 3;
    column-gap: 1.5rem;
  }
  
  
  .masonry-card {
    background-color: #000;
    margin-bottom: 1.5rem;
    border-radius: 0px;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    position: relative;
  }

  .masonry-card img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.85;
  }

  .masonry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    color: white;
   padding: 50px 30px;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
  }

  .masonry-overlay h5 {
    font-weight: 500;
    font-size: 1.7rem;
    margin-bottom: 15px;
  }

  .masonry-overlay p {
    font-size: 0.9rem;
    margin-bottom: 0;
  }
  .cta-industrial {
    position: relative;
    background: url('assets/img/industrial-bg.jpg') center center / cover no-repeat;
    padding: 120px 0;
    color: #fff;
  }

  .cta-industrial::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }

  .cta-industrial .container {
    position: relative;
    z-index: 2;
  }

  .cta-industrial h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
  }

  .cta-industrial p {
    font-size: 1rem;
    color: #ddd;
    margin-top: 1rem;
  }

  .cta-btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .cta-btn-group .btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
  }

  .btn-quote {
    background-color: #00b131;
    color: white;
    border: none;
  }

  .btn-quote:hover {
    background-color: #009927;
  }

  .btn-learn {
    background-color: white;
    color: black;
    border: 1px solid #ccc;
  }

  .btn-learn:hover {
    background-color: #f3f3f3;
  }

.services-section {
    background-color: #f5fdf5;
    padding: 80px 0;
  }

  .services-section .subtitle {
    text-transform: uppercase;
    font-size: 0.875rem;
    color: #6c757d;
    letter-spacing: 1px;
  }

  .services-section h2 {
    
    font-size: 2.5rem;
    margin-bottom: 40px;
  }

  .service-card {
    margin-bottom: 30px;
  }

  .service-image-wrapper {
    position: relative;
    display: inline-block;
    padding: 0;
    background-color: transparent;
  }

  .service-image-wrapper::after {
    content: '';
    position: absolute;
    right: -8px;
    bottom: -8px;
    width: 100%;
    height: 100%;
    background-color: #9de7b3; /* soft green shadow */
    z-index: 0;
    border-radius: 0;
  }

  .service-image-wrapper img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
  }

  .service-title {
    font-weight: 700;
    font-size: 1.125rem;
    margin-top: 20px;
  }

  .service-desc {
    font-size: 0.95rem;
    color: #333;
    margin: 15px 0;
  }

  .know-more {
    font-weight: 300;
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.about-stats strong {
    font-size: 2rem;
    font-weight: 200;
}
  .know-more:hover {
    color: #00b131;
  }

  .know-more i {
    font-size: 0.9rem;
    margin-left: 4px;
  }

 .about-section {
    padding: 80px 0;
  }
.about-section .col-lg-6 {
    padding: 30px;
}
  .about-section .subtitle {
    text-transform: uppercase;
    font-size: 0.875rem;
    color: #00b131;
    letter-spacing: 1px;
  }

  .about-section h2 {
    
    font-size: 2.5rem;
    margin-bottom: 80px;
  }

  .about-img-wrap {
    position: relative;
    margin-bottom: 30px;
    display: inline-block;
  }

  .about-img-wrap::after {
    content: '';
    position: absolute;
    right: -8px;
    bottom: -8px;
    width: 100%;
    height: 100%;
    background-color: #9de7b3;
    z-index: 0;
  }

  .about-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
  }

  .about-stats {
    position: absolute;
    color: #fff;
    z-index: 2;
    bottom: 15px;
    left: 15px;
    font-size: 1rem;
  }

  .about-stats div {
    margin-bottom: 10px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 5px;
  }

  .about-desc {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1rem;
  }

  .about-list {
    padding-left: 20px;
    margin-bottom: 1.5rem;
  }

  .btn-outline-custom {
    border: 1px solid #333;
    color: #000;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: white;
  }

  .btn-outline-custom:hover {
    background-color: #00b131;
    color: white;
    border-color: #00b131;
  }

.trusted-section {
    background-color: #eaf8ec;
    padding: 100px 0;
  }

  .trusted-text {
    font-weight: 600;
    font-size: 1.1rem;
  }

  .brand-logos img {
    max-height: 50px;
    margin: 0 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
  }

  .brand-logos img:hover {
    opacity: 0.7;
  }
  
  /*Service detail*/
  
  .service-detail-section {
      padding: 60px 0;
    }
    .service-title {
        font-size: 1.3rem;
        font-weight: 600;
    }
    .btn-green {
     background-color: #10b530 !important;
    color: #fff !important;
    border: none !important;
    }
    .btn-green:hover {
      background-color: #0e9e2a;
    }
    .service-images img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }
    
    .scrolling-feature-strip {
      overflow: hidden;
      position: relative;
    }
    
    .scrolling-wrapper {
      white-space: nowrap;
      overflow: hidden;
      position: relative;
    }
    
    .scrolling-content {
      display: inline-flex;
      animation: scroll-left 30s linear infinite;
    }
    
    .feature-item {
      font-size: 1.75rem; /* Increased font size */
      font-weight: 600;
      white-space: nowrap;
      color: #222;
    }
    
    @keyframes scroll-left {
      0% {
        transform: translateX(0%);
      }
      100% {
        transform: translateX(-50%);
      }
    }
    
   

  @media (max-width: 767.98px) {
    .brand-logos {
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }
  }

  @media (max-width: 992px) {
    .masonry-columns {
      column-count: 2;
    }
  }

  @media (max-width: 576px) {
    .masonry-columns {
      column-count: 1;
    }
  }
.row.mb-4.tech-stats h3 {
    font-size: 2.5rem;
    font-weight: 500;
}
  

@media (min-width: 768px) {
  .partner-heading {
    font-size: 2.5rem;
  }
   
  .partner-subheading {
    font-size: 1.25rem;
  }
     .custom-section h2 {
      font-size: 2.5rem;
    }
 
    .tech-section h2 {
      font-size: 2.5rem;
      font-weight:600;
    }
    .cta-industrial h2 {
      font-size: 2rem;
        font-weight: 600;
    }

    .cta-btn-group {
      justify-content: flex-end;
    }
}

