:root {
  --text-primary: #222;
  --text-secondary: #555;
  --background-main: #f1f1f1;
  --background-white: #ffffff;
  --accent-yellow: #e6b800;
  --accent-blue: #0369a1;
  --accent-blue-dark: #003049;
  --card-bg: #f0f9ff;
  --button-hover-bg: #003049;
  --overlay-black-40: rgba(0, 0, 0, 0.4);
  --text-shadow-black-60: rgba(0, 0, 0, 0.6);
  --text-shadow-black-70: rgba(0, 0, 0, 0.7);
  --box-shadow-light: rgba(0, 0, 0, 0.1);
  --box-shadow-medium: rgba(0, 0, 0, 0.2);
  --box-shadow-dark: rgba(0, 0, 0, 0.4);
  --navbar-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: "Fredoka", sans-serif;
  background-color: var(--background-main);
  color: var(--text-primary);
}

.hero-section {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin-top: var(--navbar-height);
  min-height: calc(100vh - var(--navbar-height));
  overflow: hidden;
  position: relative;
}

.hero-image {
  flex: 1;
  position: relative;
  min-height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  background: var(--accent-blue);
  color: var(--background-white);
  box-shadow: 0 6px 25px var(--box-shadow-dark);
  z-index: 2;
  opacity: 0;
  transform: translateX(50px);
  animation: slideIn 1s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

  .hero-image {
    width: 100%;
    height: auto;
  }

  .cta-container {
    position: static;
    padding: 2rem 1.5rem;
    max-width: 100%;
    text-align: center;
    animation: fadeUp 1s ease-out forwards;
    transform: none;
    margin-top: -4px;
  }

  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.cta-heading {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 0 3px 8px var(--text-shadow-black-70);
}

.cta-subtext {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 2rem;
  text-shadow: 0 2px 6px var(--text-shadow-black-70);
}

.cta-button,
.cta-btn {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  background-color: var(--accent-yellow);
  color: #000;
  box-shadow: 0 4px 10px var(--box-shadow-medium);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.3s;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover,
.cta-button-large:hover,
.cta-button-large:focus,
.cta-btn:hover,
.cta-btn:focus {
  background-color: var(--button-hover-bg);
  box-shadow: 0 10px 25px var(--box-shadow-dark);
  outline: none;
  color: white;
}

.cta-button-large {
  padding: 1.5rem 3rem;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 15px var(--box-shadow-dark);
  transition: background-color 0.3s, box-shadow 0.3s;
}

@media (max-width: 600px) {
  .cta-container {
    padding: 0.75rem 1rem;
  }

  .cta-heading {
    font-size: 1.8rem !important;
    line-height: 1.2;
  }

  .cta-subtext {
    font-size: 1rem !important;
    margin: 1rem 0 1.5rem;
  }

  .cta-button,
  .cta-btn,
  .cta-button-large {
    width: 100% !important;
    font-size: 1.1rem !important;
    padding: 1rem 0 !important;
    border-radius: 12px !important;
  }

  .cta-form {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .cta-input {
    width: 100% !important;
    margin-bottom: 0.75rem;
    font-size: 1rem !important;
    border-radius: 12px !important;
  }
}

/* Terms Section Styles */
.terms-section {
  max-width: 900px;
  margin: 100px auto;
  padding: 20px 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Headings */
.terms-section h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #222;
}

.terms-section h2 {
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #444;
}

.terms-section h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #555;
}

/* Paragraphs and Lists */
.terms-section p {
  margin-bottom: 15px;
  font-size: 1rem;
}

.terms-section ol {
  margin: 20px 0;
  padding-left: 20px;
}

.terms-section li {
  margin-bottom: 25px;
}

/* Links */
.terms-section a {
  color: #0066cc;
  text-decoration: none;
}

.terms-section a:hover {
  text-decoration: underline;
}

/* Images inside list */
.terms-section .cmp-img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin: 0 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .terms-section {
    padding: 15px 20px;
  }

  .terms-section h1 {
    font-size: 1.6rem;
  }

  .terms-section h2 {
    font-size: 1.3rem;
  }

  .terms-section h3 {
    font-size: 1.1rem;
  }
}

.partners-section {
  max-width: 1000px;
  margin: 8rem auto;
  padding: 2rem;
  background: #fdfdfd;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.partners-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #333;
}

.partners-list {
  list-style: none;
  padding: 0;
  columns: 2;
  column-gap: 2rem;
}

.partners-list li {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #444;
  display: flex;
  align-items: center;
}

.partners-list li i {
  color: #2c7a7b;
  margin-right: 0.6rem;
  font-size: 1rem;
}
