/* Make the video full screen */
#video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #000;
}

#welcome-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#main-content {
  display: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.hero-section {
  display: flex;
  min-height: 500px;
  background: linear-gradient(270deg, #092338 0%, #1a629e 100%);
  color: white;
  width: 100%;
  max-width: 100%;
  margin-top: 2px;
}

.content-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  width: 100%;
}

.main-heading {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 800px;
  width: 100%;
}

.image-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0px;
}

.grid-image {
  margin: 1.2%;
  width: 98%;
  height: 97%;
  object-fit: cover;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  background-color: #134d7e;
  color: white;
  padding: 15px 25px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 30px;
  width: fit-content;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #0d3b61;
  transform: translateY(-2px);
}

.arrow-icon {
  margin-left: 10px;
  font-size: 20px;
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
  }

  .main-heading {
    font-size: 32px;
  }

  .image-grid {
    min-height: 400px;
  }
}

.btn-group {
  margin-top: 20px;
}

#buildMyCampaign-1 {
  padding: 10px 25px;
  border: none;
  border-radius: 8px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
  background: none;
  border: 1px solid white;
  transition: background 0.3s ease;
  overflow: hidden;
  border-radius: 30px;
}

#buildMyCampaign-1:hover {
  background: white;
  color: #0a273f;
}

#buildMyCampaign-1::after {
  content: url("../images/base_page/auth_arrow.png");
  border: none;
  display: inline-block;
  vertical-align: middle;
  height: auto;
  opacity: 0;
  width: 0;
  margin-left: 0;
  transition: width 0.3s ease, opacity 0.3s ease, margin-left 0.3s ease;
}

#buildMyCampaign-1:hover::after {
  width: 24px;
  margin-left: 10px;
  opacity: 1;
}

.content-container .dropdown-menu {
  background: #f6fbff;
  border-radius: 8px;
  padding: 10px 0;
  width: 200px;
}

.hero-section .content-container .dropdown-submenu .dropdown-item {
  display: inline-block;
  width: auto;
  padding: 5px 12px;
  border-radius: 20px;
  margin-left: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: #1a629e;
  cursor: pointer;
}

.hero-section .content-container .dropdown-submenu .dropdown-item:hover {
  background-color: #1d9097;
  color: white;
  font-weight: bold;
}

.hero-section .dropdown-submenu {
  position: relative;
  width: 100%;
}

.hero-section .dropdown-submenu .submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  margin-top: -2px;
  border-radius: 0 8px 8px 0;
  width: 250px;
  border: 1px solid #1a629e;
  flex-direction: column;
  align-items: flex-start;
  padding: 5px 0;
  border-left: unset;
}

.hero-section .dropdown-submenu:hover .submenu {
  display: flex;
}

.hero-section .dropdown-submenu .submenu .dropdown-item {
  display: inline-block;
  width: 90%;
  padding: 5px 12px;
  border-radius: 20px;
  margin: 2px auto;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: #1a629e;
  text-decoration: none;
}

.hero-section .dropdown-submenu .submenu .dropdown-item:hover {
  background-color: #1d9097;
  color: white;
}

.content-container .btn-group a {
  text-decoration: none;
  color: #0f395c;
  display: inline-block;
  width: auto;
  padding: 5px 12px;
  border-radius: 20px;
  margin-left: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.content-container .btn-group a:hover {
  color: white;
  font-weight: bold;
  background-color: #1d9097;
}

.buildMyCampaign-2 a {
  margin: 0;
  text-decoration: none;
}

.steps-container {
  margin: 0 auto 50px;
  padding: 20px;
  margin-top: 50px;
  width: 100%;
  max-width: 100%;
}

.steps-header {
  font-size: 46px;
  margin-bottom: 40px;
  font-weight: 700;
  color: #152850;
  width: 100%;
}

.steps {
  display: flex;
  gap: 1.75rem;
  width: 100%;
  max-width: 100%;
}

.step-container {
  flex: 1;
}

#buildMyCampaign-1:hover,
#buildMyCampaign-1.show {
  background: white;
  color: #0a273f;
}

#buildMyCampaign-1:hover::after,
#buildMyCampaign-1.show::after {
  width: 24px;
  margin-left: 10px;
  opacity: 1;
}

.step {
  display: block;
  min-height: 390px;
  padding: 10px;
  background: linear-gradient(360deg, #092338 0%, #1a629e 100%);
  color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  line-height: 30px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  padding-top: 2rem;
}

.step:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}

.step h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 15px;
  color: white;
  font-weight: 700;
}

.step ul {
  padding-left: 2rem;
  padding-right: 1rem;
}

.step ul li {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 500;
  line-height: 24px;
}

.step img {
  width: auto;
  height: 87.5px;
}

.video-section {
  text-align: center;
  margin-bottom: 10rem;
  width: 100%;
}

.responsive-video {
  width: 90%;
  max-width: 872px;
  height: auto;
  box-shadow: 2px 3px 12px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  width: -moz-available;
}

/* Campaign section styles */
.campaign-container {
  display: flex;
  flex-direction: column;
  color: #1a629e;
  padding-bottom: 100px;
  width: 100%;
  max-width: 100%;
  align-items: center;
}

.campaign-container h2 {
  padding: 60px 20px;
  text-align: center;
  font-size: 38px;
  font-weight: 700;
  max-width: 1200px;
}

.campaign-container img {
  max-width: 100%;
  height: auto;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .steps {
    gap: 1rem;
  }

  .campaign-container h2 {
    padding: 60px 20px;
  }

  .campaign-container img {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step-container {
    width: 100%;
    max-width: 500px; /* Prevent containers from getting too wide */
  }

  .icon {
    margin: 0 auto 20px;
  }

  .step {
    min-height: auto;
  }

  .campaign-container h2 {
    padding: 40px 20px;
    font-size: 1.75em;
  }

  #buildMyCampaign-1 {
    width: 100%;
    max-width: 300px;
  }

  h3 {
    font-size: 1.25rem !important;
  }

  .steps-header {
    font-size: 1.75em;
    text-align: center;
  }

  .video-section h3 {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .campaign-container h2 {
    padding: 30px 15px;
    font-size: 1.5em;
  }
}

/* Icon container centering adjustments */
.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 5px;
}

/* Ensure the base container has no width restrictions */
body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

/* Override any potential container width limitations from Bootstrap */
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Fix for potential padding in row and column classes */
.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
  padding-right: 0 !important;
  padding-left: 0 !important;
}
