/* ==========================================================
   Pappas Technologies - Main Stylesheet
   Color scheme matched to Saytiri brand
   Navy: #0f2b3c  |  Teal: #2a9d8f  |  Hover: #1b3d50
   ========================================================== */

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

body {
  font-family: 'Poppins', sans-serif;
  padding-top: 70px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #333;
}

body.hp-body {
  padding-top: 0;
}

img {
  max-width: 100%;
}

a {
  color: #2a9d8f;
  transition: all 0.2s;
}

a:hover {
  color: #238b7e;
}

/* Navbar */
.fixed-top {
  border-bottom: 1px solid #f1f1f1;
}

.navbar {
  padding: 0.5rem 2rem;
}

.nav-link, .dropdown-item {
  font-weight: 700;
}

/* Buttons */
.btn {
  border-radius: 8px;
  padding: 6px 12px;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: #0f2b3c;
  border-color: #0f2b3c;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #1b3d50;
  border-color: #1b3d50;
}

/* Footer */
footer.footer {
  background-color: #fff;
  color: #666;
  border-top: 1px solid #e0e0e0;
  margin-top: auto;
}

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

footer.footer a:hover {
  color: #666;
}

footer.footer p {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 0;
}

footer.footer .footer-links {
  margin-bottom: 0.5rem;
}

footer.footer.pt-5 {
  padding-top: 1.5rem !important;
}

footer.footer.pb-3 {
  padding-bottom: 1rem !important;
}

footer.footer .footer-links a {
  margin: 0 12px;
}

/* ==========================================================
   Homepage Hero
   ========================================================== */

.hp-hero {
  background: #0f2b3c;
  color: #fff;
  padding: 100px 20px 80px;
  text-align: center;
}

.hp-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hp-hero p.lead {
  font-size: 1.25rem;
  max-width: 640px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.btn-hp {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  margin: 0 8px 12px;
  transition: all 0.25s;
}

.btn-hp-primary {
  background: #2a9d8f;
  color: #fff;
}

.btn-hp-primary:hover {
  background: #238b7e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  text-decoration: none;
}

.btn-hp-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-hp-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* ==========================================================
   Homepage Sections
   ========================================================== */

.hp-section {
  padding: 80px 20px;
}

.hp-section-alt {
  background: #f8f9fa;
}

.hp-section h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.hp-section .section-subtitle {
  text-align: center;
  color: #666;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

/* Feature cards */
.hp-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hp-feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hp-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.hp-feature-icon {
  font-size: 2.5rem;
  color: #2a9d8f;
  margin-bottom: 1rem;
}

.hp-feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hp-feature-card p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

/* How it works / steps */
.hp-how-it-works {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.hp-step {
  padding: 1rem;
}

.hp-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #0f2b3c;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hp-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hp-step p {
  color: #666;
  font-size: 0.9rem;
}

/* Dark section */
.hp-dark-section {
  background: #1b2d3a;
  color: #fff;
}

.hp-dark-section h2 {
  color: #fff;
}

.hp-dark-section .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.hp-dark-points {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.hp-dark-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.hp-dark-point .fa {
  font-size: 1.5rem;
  color: #2a9d8f;
  margin-top: 2px;
  flex-shrink: 0;
}

.hp-dark-point h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.hp-dark-point p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin: 0;
}

/* CTA */
.hp-cta {
  background: #0f2b3c;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.hp-cta h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.hp-cta p {
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* ==========================================================
   Contact Form (matches Saytiri login100 styling)
   ========================================================== */

.limiter {
  width: 100%;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.container-login100 {
  width: 100%;
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: #f2f2f2;
}

.wrap-login100 {
  width: 390px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  padding: 77px 55px 33px 55px;
  box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
}

/* Form */
.login100-form {
  width: 100%;
}

.login100-form-title {
  display: block;
  font-weight: 700;
  font-size: 30px;
  color: #333;
  line-height: 1.2;
  text-align: center;
}

/* Input */
.wrap-input100 {
  width: 100%;
  position: relative;
  border-bottom: 2px solid #adadad;
  margin-bottom: 37px;
}

.input100 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #555;
  line-height: 1.2;
  display: block;
  width: 100%;
  height: 45px;
  background: transparent;
  padding: 0 5px;
  outline: none;
  border: none;
}

textarea.input100 {
  height: auto;
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
  padding-top: 5px;
}

.focus-input100 {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.focus-input100::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  transition: all 0.4s;
  background: #2a9d8f;
  background: linear-gradient(to right, #0f2b3c, #2a9d8f);
}

.focus-input100::after {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #999;
  line-height: 1.2;
  content: attr(data-placeholder);
  display: block;
  width: 100%;
  position: absolute;
  top: 16px;
  left: 0;
  padding-left: 5px;
  transition: all 0.4s;
}

.input100:focus + .focus-input100::after,
.has-val.input100 + .focus-input100::after {
  top: -15px;
}

.input100:focus + .focus-input100::before,
.has-val.input100 + .focus-input100::before {
  width: 100%;
}

textarea:focus, input:focus {
  border-color: transparent !important;
}

/* Button */
.container-login100-form-btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 13px;
}

.wrap-login100-form-btn {
  width: 100%;
  display: block;
  border-radius: 25px;
  overflow: hidden;
  margin: 0 auto;
}

.login100-form-bgbtn {
  display: none;
}

.login100-form-btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #fff;
  line-height: 1.2;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  height: 50px;
  cursor: pointer;
  background: #0f2b3c;
  border-radius: 25px;
  transition: background 0.4s;
}

.login100-form-btn:hover {
  background: #1b3d50;
}

.txt1 {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

.txt2 {
  font-size: 13px;
  color: #333;
  line-height: 1.5;
}

/* Captcha */
.captcha-container {
  background: #f9f9f9;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.captcha-question {
  font-weight: 600;
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

.captcha-input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
}

.captcha-input:focus {
  border-color: #2a9d8f !important;
}

/* Contact success */
.contact-success {
  text-align: center;
  padding: 40px 20px;
}

.contact-success i {
  font-size: 64px;
  color: #2a9d8f;
  margin-bottom: 20px;
}

.contact-success h3 {
  font-weight: 700;
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.contact-success p {
  font-size: 14px;
  color: #666;
}

/* Validate */
.validate-input {
  position: relative;
}

.alert-validate::before {
  content: attr(data-validate);
  position: absolute;
  max-width: 70%;
  background-color: #fff;
  border: 1px solid #c80000;
  border-radius: 2px;
  padding: 4px 25px 4px 10px;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  pointer-events: none;
  color: #c80000;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s;
}

.alert-validate::after {
  content: "\f06a";
  font-family: FontAwesome;
  font-size: 16px;
  color: #c80000;
  display: block;
  position: absolute;
  background-color: #fff;
  top: 50%;
  transform: translateY(-50%);
  right: 5px;
}

.alert-validate:hover:before {
  visibility: visible;
  opacity: 1;
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 768px) {
  .hp-hero h1 {
    font-size: 2rem;
  }

  .hp-hero p.lead {
    font-size: 1.05rem;
  }

  .hp-section {
    padding: 60px 16px;
  }

  .hp-hero {
    padding: 80px 16px 60px;
  }
}

@media (max-width: 576px) {
  .wrap-login100 {
    padding: 77px 15px 33px 15px;
  }
}

@media (max-width: 992px) {
  .alert-validate::before {
    visibility: visible;
    opacity: 1;
  }
}
