/* -------------------------------------
BASIC RESETS
------------------------------------- */
body {
  font-family: "Libre Franklin", sans-serif;
  font-size: 14px;
  color: #7a7a7a;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-top: 0;
  color: #1a1a1a;
}

h1 {
  font-size: 44px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1.1;
}

a {
  color: #BF2026;
  transition: all 0.2s ease-in-out;
}

a:hover {
  color: #c62d33;
  text-decoration: none;
}

/* -------------------------------------
BUTTON STYLES
------------------------------------- */
.btn-transparent {
  background-color: #BF2026;
  color: #ffffff;
  border-radius: 0;
  text-transform: uppercase;
  padding: 15px 35px;
  font-weight: bold;
}

.btn-transparent:hover {
  background-color: #dd353b;
  color: #ffffff;
}

/* -------------------------------------
BANNER SECTION WITH FULL OVERLAY
------------------------------------- */
#banner {
  background-size: cover;
  background-position: center;
  color: #ffffff;
  position: relative;
  min-height: 300px;
  height: auto;
  overflow: hidden;
}

/* Full dark overlay across the banner */
#banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Overlay darkness */
  z-index: 1;
}

/* Container holds the text above overlay */
#banner .container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}

#banner h1 {
  color: #ffffff;
  font-size: 44px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.1;
}

#banner p {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 40px;
}

/* You can delete this now — overlay handled via ::before */
#banner .banner-content {
  background: none;
  padding: 0;
  border-radius: 0;
}

/* -------------------------------------
SECTION HEADINGS
------------------------------------- */
.headline h2 {
  font-size: 32px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 700;
}

/* -------------------------------------
FORMS
------------------------------------- */
.mktoForm .mktoButtonWrap .mktoButton {
  background-color: #BF2026 !important;
  color: #ffffff !important;
  border-radius: 5px;
  padding: 12px 20px !important;
  font-weight: bold;
  text-transform: uppercase;
  border: none !important;
}

.mktoForm .mktoButtonWrap .mktoButton:hover {
  background-color: #dd353b !important;
  color: #ffffff !important;
}

/* -------------------------------------
FOOTER
------------------------------------- */
.footer {
  background-color: #000000;
  color: #ffffff;
  padding: 20px 0;
}

.footer a {
  color: #ffffff;
}

.footer a:hover {
  color: #DADADA;
}

.footer p {
  margin: 0;
}

/* -------------------------------------
RESPONSIVE TWEAKS
------------------------------------- */
@media (max-width: 768px) {
  #banner {
    height: auto;
  }

  #banner h1 {
    font-size: 28px;
  }

  #banner p {
    font-size: 16px;
    margin-bottom: 30px;
  }

  #banner .container {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* -------------------------------------
SECTION 1 LAYOUT FIXED
------------------------------------- */

/* Add spacing above Section 2 */
#section1 {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* -------------------------------------
SECTION 2 LAYOUT FIXED (TEXT LEFT, FORM RIGHT)
------------------------------------- */

/* Add spacing above Section 2 */
#section2 {
  margin-top: 40px;
}

#main-content {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

#section-2-left {
  width: 100%;
  max-width: 100%;  /* Remove hard width limits */
  padding-right: 0;
  margin: 0;         /* Ensure it's flush left */
  box-sizing: border-box;
}

/* Optional: reduce container padding if needed */
#section2 .container {
  padding-left: 40px;
  padding-right: 40px;
}

/* -------------------------------------
SECTION 3 — Speaker styling
------------------------------------- */

/* Add spacing above Section 3 */
#section-3 {
  margin-top: 40px;
}

/* Center the "SPEAKERS" headline */
#section3 h2 {
  text-align: center;
}

/* Center the subtitle "Meet Gates experts" */
#section3 p {
  text-align: center;
}

/* Make all text in section 3 white */
#section3,
#section3 p,
#section3 span,
#section3 div {
  color: #ffffff !important;
}