/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: #EEF0F0;
  color: #1B4965;
}

/* HERO SECTION */
.hero-section {
  background: linear-gradient(to right, #0A2540, #0056A3);
  color: white;
  padding: 100px 10%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* max-width: 1200px; */
  width: 100%;
  flex-wrap: wrap;
}

/* Left Content */
.hero-content {
  flex: 1;
  max-width: 50%;
  text-align: left;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero-subtext {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 15px;
  color: #ffcc00;
}

.hero-description {
  font-size: 18px;
  line-height: 1.6;
  color: #ddd;
}

/* Right Image */
.hero-image {
  flex: 1;
  max-width: 45%;
  text-align: right;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* AUTOMATION SECTION */
.automation-section {
  background: #ffffff;
  padding: 80px 10%;
  text-align: center;
}

.automation-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #0A2540;
  margin-bottom: 20px;
}

.automation-box h3 {
  /* font-size: 22px; */
  font-size: 16px;
  color: #0056A3;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.automation-box ul {
  /* padding-left: 20px; */
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.automation-box ul li {
  font-size: 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.automation-box ul li::before {
  content: "✔";
  color: #41823C;
  font-weight: bold;
  margin-right: 10px;
}

/* OUR AUTOMATION WORK SECTION */
.automation-work {
  background: #ffffff;
  padding: 80px 10%;
  text-align: center;
}

@media (min-width: 1025px) {
  .hubspot-form-desktop-wrapper iframe {
    width: 60%;
    margin: 0 auto;
  }
}

.automation-work h2 {
  font-size: 36px;
  font-weight: 700;
  color: #0A2540;
  margin-bottom: 20px;
}

.automation-work p {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
}

.video-box {
  position: relative;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.video-box iframe {
  width: 100%;
  height: 200px;
  border: none;
}

.video-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  font-size: 16px;
  text-align: center;
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to right, #002147, #004080);
  color: white;
  padding: 60px 10%;
}

/* What Can Be Automated Section */
.automation-section {
  background: #f8f8f8;
  padding: 60px 10%;
  text-align: center;
}

.automation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.automation-box {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.automation-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* EXPERTISE WITH LEADING AUTOMATION TOOLS */
.expertise-leading-tools-section {
  background: #f8f8f8;
  padding: 80px 10%;
  text-align: center;
}

.expertise-leading-tools-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #0A2540;
  margin-bottom: 20px;
}

.expertise-leading-tools-section p {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
}

/* TOOLS WE WORK WITH SECTION */
.tools-section {
  background: #ffffff;
  padding: 80px 10%;
  text-align: center;
}

.tools-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #0A2540;
  margin-bottom: 20px;
}

.tools-section p {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.tool-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  background: #FFF;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 140px;
}

.tool-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.tool-box img {
  /* width: 60px; */
  width: 80px;
  height: auto;
  /* margin-bottom: 10px; */
}

.tool-box p {
  font-weight: bold;
  font-size: 1rem;
  margin: 0;
  color: #333;
}

.testimonial-box {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  max-width: 350px;
}

.testimonial-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* CUSTOM AUTOMATION WORKFLOW SEC */
.custom-workflow-automation {
  background: #f8f8f8;
  padding: 50px 10%;
  text-align: center;
}

.custom-workflow-automation h2 {
  color: #222;
  font-size: 28px
}

.custom-workflow-automation p {
  color: #555;
  font-size: 16px
}

.custom-workflow-automation .automation-worflow-custom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

/* Success sec */
.success-section {
  background: #fffaf0;
  padding: 60px 10%;
  text-align: center;
}

.client-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.client-name {
  font-weight: bold;
  color: #666;
  margin-top: 10px;
}

.stars {
  color: gold;
  font-size: 18px;
  margin-top: 10px;
}

/* Contact Section Styling */
.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0A2540;
  color: white;
  padding: 80px 10%;
  text-align: center;
}

/* Contact Content (Heading & Subtext) */
.contact-content {
  max-width: 600px;
  margin-bottom: 30px;
}

.contact-content h2 {
  font-size: 32px;
  color: white;
  margin-bottom: 10px;
}

.contact-content p {
  font-size: 18px;
  color: #ddd;
}

/* Centered Form */
.contact-form {
  width: 100%;
  max-width: 500px;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  color: #333;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.contact-form label {
  font-weight: bold;
  margin-top: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  /* width: 100%; */
  padding: 12px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.contact-form textarea {
  height: 120px;
  resize: none;
}

/* Submit Button */
.submit-btn {
  background: #41823C;
  color: white;
  padding: 15px 30px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.3s ease;
  width: 100%;
  text-transform: uppercase;
}

.submit-btn:hover {
  background: #356b31;
}

/* Success Message */
.hidden {
  display: none;
  color: #28a745;
  font-weight: bold;
  margin-top: 10px;
  text-align: center;
}

/* CTA BUTTON */
.cta {
  display: inline-block;
  margin-top: 30px;
  background: orange;
  /* background: #41823C; */
  color: black;
  padding: 15px 30px;
  font-weight: bold;
  text-decoration: none;
  font-size: 18px;
  /* border-radius: 5px; */
  border-radius: 8px;
  transition: background 0.3s ease;
  animation: blinkAnimation 1s infinite alternate;
}

.cta:hover {
  /* background: #356b31; */
  background: #ff8c00;
}

/* ----------------------------------------- */

/* Pop up with contanied form style*** */

/* Pop-up Overlay */
#popup {
  display: none;
  /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  /* Make sure it's above other content */
}

/* Pop-up Content Box */
#popup .popup-content {
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  /* width: 340px; */
  width: 650px;
}

/* Close Button */
#popup .close-btn {
  background: white;
  border: 1px solid orange;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 18px;
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
}



#popup h2 {
  margin: 0;
  font-size: 22px;
}

#popup #popup-form,
#form-step-one,
#form-step-two {
  /* margin-top: 18px; */
  display: flex;
  flex-direction: column;
}

/* Success Message */
#popup-success-message {
  margin-top: 15px;
  color: green;
  font-weight: bold;
}

#popup .popup-hidden {
  display: none;
}

/* Make the form fields look nice */
#popup #popup-form label {
  width: 100%;
  display: inline-block;
  margin-top: 24px;
}

#popup #popup-form input,
#popup #popup-form select,
#popup #popup-form textarea {
  /* width: 100%; */
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

#popup #popup-form textarea {
  height: 120px;
  resize: vertical;
  max-height: 240px;
}

#popup button.submit-btn,
#popup button.popup-next-btn,
#popup button#popup-back-btn {
  background: #ffa500;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.2s;
  margin-top: 18px;
}

#popup button#popup-back-btn {
  background-color: transparent;
  color: #000;
  border: 1px solid;
}

#popup button.submit-btn:hover,
#popup button.popup-next-btn:hover {
  background: #ff8c00;
}

/* Animation keyframes */
@keyframes blinkAnimation {
  0% {
    background-color: #FE7900;
    /* Original color */
    color: #fff;
  }

  100% {
    /* background-color: #004080; */
    background-color: #002C5C;
    color: #fff;
    /* Original color */
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-image {
    max-width: 100%;
    text-align: center;
    margin-top: 30px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-subtext {
    font-size: 18px;
  }

  .hero-description {
    font-size: 14px;
  }

}

/* Responsive Design */
@media (max-width: 768px) {

  /* HERO SEC */
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 5%;
  }

  .hero-content {
    text-align: left;
    max-width: 100%;
  }

  .hero-image {
    margin-top: 20px;
  }

  /* AUTOMATION SEC */
  .automation-grid {
    grid-template-columns: 1fr;
  }

  .automation-work {
    padding: 60px 5%;
  }

  .automation-work h2 {
    font-size: 28px;
  }

  .automation-work p {
    font-size: 16px;
  }

  .automation-section {
    padding: 60px 5%;
  }

  .automation-section h2 {
    font-size: 28px;
  }

  .automation-box h3 {
    font-size: 20px;
  }

  .automation-box ul li {
    font-size: 14px;
  }

  .video-title {
    font-size: 14px;
  }

  /* EXPERTISE IN LEADING TOOLS SEC */
  .expertise-leading-tools-section {
    padding: 60px 5%;
  }

  .expertise-leading-tools-section h2 {
    font-size: 28px;
  }

  /* TOOLS SEC */
  .tools-section {
    padding: 60px 5%;
  }

  .tools-section h2 {
    font-size: 28px;
  }

  .tools-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .tool-box {
    padding: 15px;
  }

  /* .tool-box p {
    font-size: 14px;
  } */

  /* TESTIMONIAL SEC */
  .testimonial-box {
    max-width: 100%;
  }

  /* SUCCESS SEC */
  .success-section {
    padding: 60px 5%;
  }

  /* CONTACT SEC */
  .contact-section {
    padding: 60px 10%;
  }

  .contact-content h2 {
    font-size: 24px;
  }

  .contact-content p {
    font-size: 14px;
  }

  .contact-form {
    width: 100%;
    padding: 15px;
  }

  .automation-worflow-custom-grid {
    grid-template-columns: none !important;
  }

  .custom-workflow-automation {
    padding: 50px 5%;
  }

  .cta {
    font-size: 16px;
  }

  /* Pop up form */
  #popup .popup-content {
    width: 80%;
    /* Adjust for smaller screens */
    padding: 16px;
  }

  #popup h2 {
    font-size: 18px;
    /* Adjust heading size */
  }

  #popup #popup-form {
    margin: 0;
  }

  #popup #popup-form label {
    font-size: 14px;
    /* Adjust form label size */
  }

  #popup #popup-form input,
  #popup #popup-form textarea {
    font-size: 14px;
    /* Adjust input font size */
  }

  #popup button.submit-btn {
    padding: 8px 16px;
    /* Adjust button size */
  }
}