/* Image Hover Effect */
.hover-scale {
  transition: transform 0.3s ease-in-out;
}

.hover-scale:hover {
  transform: scale(1.02);
}

/* Hero Section 1 */
.hero-section1 {
  color: #fff;
  padding-top: 100px;
  padding-bottom: 100px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  background: linear-gradient(70deg, #0057d8 0%, #7ac943 115.66%);
  overflow: hidden;
}

.hero-section1 .badge {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 500;
}

.hero-section1 h1 {
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 25px;
  color: #fff;
}

.hero-section1 h1 .text-white {
  color: #fff !important;
}

.hero-section1 p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.hero-section1 .img-fluid {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 5px solid rgba(255, 255, 255, 0.1);
}

/* Feature Section */
.feature-section {
  padding: 80px 0;
  background-color: #f8f9fa; /* Light grey background */
}

.feature-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.feature-item {
  text-align: center;
  flex: 1 1 300px;
  max-width: 350px;
  padding: 30px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-item .icon-container {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 20px;
}

.feature-item h4 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #333;
}

.feature-item p {
  font-size: 1rem;
  color: #666;
}

.product-tour-section {
  padding: 80px 0;
  background-color: #e2eeff;
  text-align: center;
}

.product-tour-section h2 {
  color: #007bff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-tour-section h1 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.product-tour-section p.lead {
  font-size: 1.2rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.product-tour-section .image-container {
    margin-top: 50px;
    position: relative;
    padding: 20px;
    display: inline-block;
    width: 100%;
}

.product-tour-section .image-container img {
    height: 450px;
    width: 100%;
    object-fit: cover;
}

.section-layout {
  padding: 60px 0;
  background-color: #fff;
}

.section-layout .info-content h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.section-layout .info-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
}

.section-layout .visual-display img {
  width: 100%;
  height: auto;
}

.key-features-list {
  list-style: none;
  padding: 0;
  margin-top: 25px;
}

.key-features-list li {
  font-size: 1.1rem;
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
  color: #555;
}

.key-features-list li::before {
  content: "\f00c"; /* Font Awesome check icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #28a745; /* Green checkmark */
  position: absolute;
  left: 0;
  top: 2px;
}

/* Dark Section (One place to manage...) */
.dark-section {
  background-color: #0057d8;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.dark-section h2 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
}

.dark-section p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 50px auto;
  color: #e0e0e0;
}

.dark-section .mockup-container {
    position: relative;
    padding: 20px;
    display: inline-block;
    width: 100%;
}

.dark-section .mockup-container img {
    max-width: 100%;
    height: auto;
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* Features Grid Section */
.features-grid-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.features-grid-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 50px;
  color: #333;
}

.feature-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-card .feature-icon {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.feature-card p {
  font-size: 1rem;
  color: #666;
  flex-grow: 1;
}

.logo-carousel-section {
  padding: 60px 0;
  background-color: #0057d8;
  text-align: center;
  overflow: hidden;
}

.logo-carousel-section .section-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.logo-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.logo-carousel-track {
  display: flex;
  animation: scrollLogos 20s linear infinite;
  gap: 30px;
  padding: 20px 0;
}

.logo-item {
  flex-shrink: 0;
  width: 150px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }
}

.logo-carousel-wrapper:hover .logo-carousel-track {
  animation-play-state: paused;
}

.solutions-section {
  padding: 80px 0;
}

.solutions-section .subheading {
  color: #007bff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.solutions-section .main-heading {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 50px;
  color: #333;
  line-height: 1.2;
}


.testimonial-carousel {
  background-color: #fff;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-quote {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 30px;
  font-style: italic;
  position: relative;
  padding: 0 20px;
}

.testimonial-quote::before {
  content: open-quote;
  font-size: 4em;
  color: #007bff;
  position: absolute;
  left: 0;
  top: -20px;
  opacity: 0.2;
}

.testimonial-quote::after {
  content: close-quote;
  font-size: 4em;
  color: #007bff;
  position: absolute;
  right: 0;
  bottom: -20px;
  opacity: 0.2;
}

.testimonial-author strong {
  font-size: 1.2rem;
  color: #333;
  display: block;
  margin-top: 15px;
}

.testimonial-author small {
  font-size: 1rem;
  color: #777;
  display: block;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;
  font-size: 2rem;
  color: #007bff;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.contact-form-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-icon-container {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 20px;
  text-align: center;
}

.form-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.form-description {
  font-size: 1rem;
  color: #666;
  margin-bottom: 30px;
}

.form-control {
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 1.1rem;
  border: 1px solid #ddd;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
}

.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.invalid-feedback {
  color: #dc3545;
  font-size: 0.9em;
  margin-top: 5px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .hero-section1 h1 {
    font-size: 2.8rem;
  }

  .hero-section1 p {
    font-size: 1rem;
  }

  .product-tour-section h1 {
    font-size: 2.2rem;
  }

  .product-tour-section p.lead {
    font-size: 1rem;
  }

  .section-layout .info-content h2 {
    font-size: 2rem;
  }

  .section-layout .info-content p {
    font-size: 1rem;
  }

  .key-features-list li {
    font-size: 1rem;
  }

  .dark-section h2 {
    font-size: 2.2rem;
  }

  .dark-section p {
    font-size: 1rem;
  }

  .features-grid-section h2 {
    font-size: 2rem;
  }

  .solutions-section .main-heading {
    font-size: 2.5rem;
  }

  .testimonial-quote {
    font-size: 1.2rem;
  }
}

@media (max-width: 767px) {
  .hero-section1 {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .hero-section1 h1 {
    font-size: 2.2rem;
  }

  .hero-section1 .d-flex {
    justify-content: center !important;
  }

  .feature-row {
    flex-direction: column;
    align-items: center;
  }

  .feature-item {
    max-width: 100%;
  }

  .product-tour-section {
    padding: 60px 0;
  }

  .product-tour-section h1 {
    font-size: 1.8rem;
  }

  .product-tour-section p.lead {
    font-size: 0.9rem;
  }

  .main-three-section {
    padding: 60px 0;
  }

  .section-layout {
    padding: 40px 0;
  }

  .section-layout .info-content h2 {
    font-size: 1.8rem;
    text-align: center !important;
  }

  .section-layout .key-features-list {
    text-align: left;
  }

  .dark-section {
    padding: 60px 0;
  }

  .dark-section h2 {
    font-size: 1.8rem;
  }

  .features-grid-section {
    padding: 60px 0;
  }

  .features-grid-section h2 {
    font-size: 1.8rem;
  }

  .solutions-section {
    padding: 60px 0;
  }

  .solutions-section .main-heading {
    font-size: 2rem;
  }

  .testimonial-carousel {
    margin-bottom: 40px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 10%;
  }
}

@media (max-width: 576px) {
  .hero-section1 h1 {
    font-size: 1.8rem;
  }

  .btn-top .btn {
    width: 100%;
  }

  .feature-item {
    padding: 20px;
  }

  .product-tour-section .image-container {
    padding: 10px;
  }

  .section-layout .info-content .primary-cta {
    justify-content: center;
  }

  .dark-section .mockup-container {
    padding: 10px;
  }

  .feature-card {
    padding: 20px;
  }

  .logo-carousel-track {
    animation: none; /* Disable animation on very small screens */
    flex-wrap: wrap;
    justify-content: center;
  }

  .logo-item {
    width: 120px;
    height: 60px;
  }

  .testimonial-carousel,
  .contact-form-card {
    padding: 25px;
  }
  .testimonial-quote::before,
  .testimonial-quote::after {
    font-size: 3em;
    top: -10px;
    bottom: -10px;
  }
}
