/* Import Raleway Light 300 from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300&display=swap');

* { box-sizing: border-box; }

body {
    background-color: #202e4c; /* dark blue */
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    line-height: 1.5;
    padding: 3vw;
}

hr {
    background: #ceab64;
    border: 0;
    height: 1px;
    margin: 3vw 8vw;
}

div.top {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding-top: 30px;
}

div.top img {
    display: block;
    margin-bottom: 50px;
}

.center { text-align: center; }

.top h1 { font-size: 2em; margin: 0; }

div.top p {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.5em;
}

.services { display: flex; justify-content: center; }
.services div { text-align: center; width: 33%; }
.services img { height: auto; max-width: 100%; }
.services p { max-width: 300px; }
.services a { color: #ffffff; display: inline-block; text-decoration: none; }
.services span {
    background-color: #3e72ca; border-radius: 3px; display: inline-block;
    font-size: 12px; letter-spacing: 1px; line-height: 1; padding: 11px 12px 9px;
    text-transform: uppercase; margin-bottom: 50px;
}

footer { margin-top: 4vw; opacity: .9; color: #ffffff; }
footer a { color: #f0e496; text-decoration: none; }
.maxi { max-width: 900px; margin: auto; opacity: .8; }

@media(max-width:768px) {
    .services { align-items: center; flex-direction: column; }
    .services span { margin-bottom: 50px; }
    .services div { width: 100%; }
}

a[href^="mailto:"] { color: #ffffff; }

/* =============================
   Contact form styles
   ============================= */
:root { --footer-text: #ecdb8e; }

.contact-form {
    max-width: 720px;
    margin: 2.5rem auto 0;
    padding: 1.5rem 1.25rem;
    text-align: left;
    border: 1px solid rgba(236,219,142,0.25);
    border-radius: 10px;
}

.contact-form,
.contact-form label,
.contact-form input,
.contact-form textarea,
.contact-form button,
.contact-form .form-note {
    font-family: 'Raleway', sans-serif;
    color: var(--footer-text);
    font-size: 1em;
}

.contact-form .form-row { margin-bottom: 1rem; }
.contact-form label { display: block; margin-bottom: .35rem; }
.contact-form .req { font-weight: 600; }

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(236,219,142,0.35);
    border-radius: 6px;
    padding: .75rem .85rem;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--footer-text);
    box-shadow: 0 0 0 3px rgba(236,219,142,0.15);
}

.contact-form .actions { display: flex; align-items: center; gap: 1rem; }
.contact-form button { background: transparent; border: 1px solid var(--footer-text); padding: .7rem 1.25rem; border-radius: 999px; cursor: pointer; }
.contact-form button:hover { opacity: .85; }

.contact-form .error { display: block; margin-top: .4rem; color: var(--footer-text); opacity: .9; }
.notice.success { border: 1px solid rgba(236,219,142,0.45); border-radius: 10px; padding: 1rem 1.25rem; }

/* Honeypot visually hidden */
.contact-form .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Safety net for embedded forms */
form, form * {
    font-family: 'Raleway', sans-serif !important;
    font-size: 1em !important;
}
form { max-width: 720px; margin: 2.5rem auto 0; }

/* 'Drop us a line!' heading below logo */
.drop-line {
    color: #ecdb8e;          /* gold tone to match footer */
    font-family: 'Raleway', sans-serif;
    font-size: 1.25em;        /* same as the line above */
    text-align: center;
    margin: 2rem 0 0.75rem;   /* small space before next section */
}

/* Prevent the message box from expanding horizontally */
.contact-form textarea {
    resize: vertical; /* only allow vertical resizing */
    max-width: 100%;  /* keep within the form's width */
    box-sizing: border-box; /* ensure padding doesn‚Äôt push it out */
}


/* Footer registration and policy links */
.reg-line {
    border: 0;
    height: 1px;
    width: 950px;
    background-color: #ecdb8e;
    margin: 2rem auto 1rem; /* 2rem above, 1rem below */
}

.registered {
    color: #ecdb8e;
    font-family: 'Raleway', sans-serif;
    font-size: 0.85em;
    line-height: 1.4;
    max-width: 700px;
    margin: 0 auto 1rem;
    text-align: center;
    opacity: 0.9;
}

.footer-links {
    text-align: center;
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.75em;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

div.top {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding-top: 30px;
}

div.top img {
  display: block;
  margin-bottom: 50px;
}

div.top p {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.5em;
}

/* Logo size only on the Terms & Conditions page */
body.terms-page .top img {
  width: 350px;
  height: auto;
}

.maxi, 
.maxi a {
  color: #ffffff;
}



