:root {
    --primary-color: #2D3E50;
    --secondary-color: #4CAF50;
    --text-color: #333;
    --light-text-color: #f4f4f4;
    --background-light: #f9f9f9;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 0;
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

h1 {
    font-size: 2.8em;
    font-weight: 700;
}

h2 {
    font-size: 2.2em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.6em;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}


.button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.button:hover {
    background-color: #3e8e41;
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Navbar */
.navbar {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo img {
    height: 70px;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 60%;
}

.navbar .logo-text {
    display: block;
    font-size: 0.95em;
    line-height: 1.4;
    color: white;
    max-width: 45ch;
}

.navbar nav ul {
    list-style: none;
    display: flex;
}

.navbar nav ul li {
    margin-left: 25px;
}

.navbar nav ul li a {
    color: white;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar nav ul li a:hover {
    color: #6DE15A;
}

.navbar nav ul li .button {
    padding: 8px;
    background-color: var(--secondary-color);
    color: white;
}

.navbar nav ul li .button:hover {
    background-color: #3e8e41;
    color: white;
}

/* Sliding underline effect for main-nav links (excluding buttons) */
.main-nav a:not(.button) {
  position: relative;
  color: white; /* force blue text for nav links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.main-nav a:not(.button)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #3e8e41;
  transition: width 0.3s ease;
}

.main-nav a:not(.button):hover::after {
  width: 100%;
}


/* Page Description */
.page-description {
  position: relative;
  text-align: center;
  color: white;
  overflow: hidden;
}

.page-description h2 {
  color: white !important;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.page-description-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-description-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-description .container {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-description p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Signup Box */
.white-box {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: inset 0 0 12px rgba(87, 135, 155, 0.5);
  text-align: center;
  width: 700px;
  margin: 0 auto;
  color: #333;   /* override parent white text */
}

.white-box h1 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}


/* Links inside the white-box */
.white-box a {
  color: blue; /* force blue color inside white box */
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Sliding underline effect */
.white-box a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: blue;
  transition: width 0.3s ease;
}

.white-box a:hover::after {
  width: 100%;
}

.email-highlight {
  color: blue;        /* blue primary color */
  font-weight: 700;      /* bold */
  background: #f0f0f0;   /* light gray highlight */
  padding: 2px 6px;
  border-radius: 4px;
}


/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

.footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
    }

    .navbar nav ul {
        margin-top: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .navbar nav ul li {
        margin: 0 10px 10px 10px;
    }

    .footer .container {
        flex-direction: column;
        gap: 15px;
    }

    .white-box {
        width: 95%;
    }
}



/* Adjust heading sizes for smaller screens */
@media (max-width: 768px) {
  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.6em;
    margin-bottom: 20px;
  }

  .white-box {
    max-width: 500px;  /* prevents it from being too wide on tablets */
    width: 95%;
    padding: 1.5rem;
  }
}



.contact-form {
  text-align: left;
  margin-top: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.4);
}

.captcha-placeholder {
  width: 100%;
  height: 78px;                 /* standard reCAPTCHA height */
  margin: 0.8rem 0 1.2rem 0;
  border: 1px dashed #aaa;
  border-radius: 6px;
  background-color: #f9f9f9;
  color: #007bff;               /* 🔹 blue font */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-style: italic;
}


