/* --------------------------------------------------
   Background Container
-------------------------------------------------- */
.background-container {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  background-image: url(../images/custom-made.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 60vh;
}

/* --------------------------------------------------
   Hero Banner Section
-------------------------------------------------- */
.hero-banner {
  position: relative;
  width: 100%;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  background: none;
}

.hero-overlay {
  position: absolute;
  top: 1px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px;
  z-index: 10;
}

/* --------------------------------------------------
   Hero Banner Text
-------------------------------------------------- */
.breadcrumb {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 3.5rem;
  opacity: 0.8;
}

.page-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: capitalize;
  margin: 0;
}

/* Adjust spacing after hero */
section.hero-banner + .about-us {
  margin-top: 20px;
}

.animate-left,
.animate-right {
  opacity: 0;
}

.animate-now.animate-left {
  animation: slideInLeft 1s ease-out forwards;
}

.animate-now.animate-right {
  animation: slideInRight 1s ease-out forwards;
}


/* --------------------------------------------------
   Custom Strategy Form Container
-------------------------------------------------- */
.custom-strategy .container {
  max-width: 700px;
  margin: 80px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

/* --------------------------------------------------
   Headings and Intro Text
-------------------------------------------------- */
.custom-strategy h1 {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 10px;
  padding-bottom: 40px;
}

.custom-strategy .intro {
  font-size: 18px;
  font-weight: bold;
  color: #d62121;
  padding-bottom: 20px;
}

.custom-strategy .description {
  margin-bottom: 30px;
  line-height: 1.6;
}

/* --------------------------------------------------
   Form Elements
-------------------------------------------------- */
.custom-strategy .strategy-form label {
  display: block;
  margin: 15px 0 5px;
  font-weight: 600;
  color: #34495e;
}

.custom-strategy .strategy-form input,
.custom-strategy .strategy-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  background-color: #fafafa;
}

.custom-strategy .strategy-form textarea {
  resize: vertical;
}

.custom-strategy .disclaimer {
  font-size: 0.9em;
  color: #7f8c8d;
  margin-top: 20px;
}

/* --------------------------------------------------
   Submit Button
-------------------------------------------------- */
.custom-strategy button[type="submit"] {
  margin-top: 20px;
  background-color: #d62121;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.custom-strategy button[type="submit"]:hover {
  background-color: #b71c1c;
}

/* --------------------------------------------------
   Responsive Styles (Media Queries)
-------------------------------------------------- */

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-left {
  animation: slideInLeft 1s ease-out forwards;
}

.animate-right {
  animation: slideInRight 1s ease-out forwards;
}


@media (max-width: 768px) {
  /* Hero Banner */
  .hero-banner {
    height: 200px;
  }

  .breadcrumb {
    font-size: 0.9rem;
  }

  .page-title {
    font-size: 1.8rem;
  }

  /* Custom Strategy Container */
  .custom-strategy .container {
    margin: 40px 20px;
    padding: 20px;
  }

  /* Typography Adjustments */
  .custom-strategy h1 {
    font-size: 20px;
    padding-bottom: 30px;
  }

  .custom-strategy .intro {
    font-size: 16px;
  }

  .custom-strategy .description {
    font-size: 0.95rem;
  }

  /* Form Adjustments */
  .custom-strategy button[type="submit"] {
    width: 100%;
  }
}
