/* ============================================================
   EnData Landing Page Styles
   Color palette:
     Primary teal:  #24b7a4
     Hover teal:    #36d8c3
     Orange accent: #f8a800
     Dark overlay:  rgba(49, 71, 89, 0.6)
   ============================================================ */

/* --- Base --- */

body {
  font-family: "Open Sans", sans-serif;
  color: #fff;
  margin: 0;
  background: url("../img/bg.jpg") top center / cover no-repeat;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(49, 71, 89, 0.6);
  z-index: -1;
}

@media (min-width: 1024px) {
  body { background-attachment: fixed; }
}

a {
  color: #24b7a4;
  text-decoration: none;
}
a:hover {
  color: #36d8c3;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
}

/* --- Header --- */

#header {
  position: relative;
  width: 100%;
  padding: 80px 0 40px;
  text-align: center;
}

.logo {
  width: 350px;
  max-width: 80%;
  height: auto;
  margin-bottom: -20px;
}

.subheading {
  font-size: 28px;
  font-weight: 600;
  background: linear-gradient(to right, #f8a800, #333);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.tagline {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  font-weight: 300;
}

.btn-launch {
  display: inline-block;
  background: #f8a800;
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 50px;
  transition: all 0.3s;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.btn-launch:hover {
  background: #e09800;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(248, 168, 0, 0.4);
}
.btn-launch i {
  margin-left: 8px;
}

/* --- Section Title --- */

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 2px;
  background: #24b7a4;
  bottom: 0;
  left: calc(50% - 25px);
}

/* --- Contact Section --- */

.contact-section {
  padding: 60px 0;
  position: relative;
}

.form-label {
  font-weight: 600;
}

.required {
  color: #f8a800;
  margin-left: 2px;
}

.input-group-text {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.form-control,
.form-select {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.form-control::placeholder { color: rgba(255, 255, 255, 0.4); }
.form-control:focus,
.form-select:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #24b7a4;
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(36, 183, 164, 0.25);
}
.form-select option { color: #333; }

.textarea-wrap {
  position: relative;
}

.char-count {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light {
  border-radius: 50px;
  padding: 8px 24px;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-outline-light:hover {
  background: #24b7a4;
  border-color: #24b7a4;
}

/* --- Map & Contact Info --- */

.map-wrap {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}
.map-wrap iframe {
  border: 0;
  display: block;
}

.contact-info {
  line-height: 1.8;
}
.company-name {
  font-size: 1.5rem;
}
.contact-info a {
  color: #24b7a4;
}
.contact-info a:hover {
  color: #36d8c3;
}

/* --- Footer --- */

#footer {
  background: rgba(38, 55, 69, 0.4);
  padding: 30px 0;
  font-size: 14px;
  position: relative;
}

.copyright {
  text-align: center;
}

/* --- Responsive --- */

@media (max-width: 575px) {
  .logo { width: 260px; }
  .subheading { font-size: 22px; }
  .tagline { font-size: 15px; }
  .btn-launch { font-size: 16px; padding: 12px 30px; }
}

#main {
  position: relative;
}
