/* --------------------------------------------------
   GLOBAL
-------------------------------------------------- */

body {
  margin: 0;
  background: #fafafa;
  font-family: 'Montserrat', sans-serif;
  color: #333;
  overflow-x: hidden;
}


/* --------------------------------------------------
   HERO SECTION
-------------------------------------------------- */

.hero {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

/* Base video styling */
.hero video,
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(75%) saturate(115%);
  z-index: 1;
}

/* Text above overlays */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
}

/* Gradient overlay (Option 2) */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.35)
  );
  pointer-events: none;
  z-index: 2;
}

/* Duplicate hero-text block (kept exactly as-is) */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

/* Layering rules */
.hero::after {
  z-index: 2;
}

.hero-text {
  z-index: 3;
  position: absolute;
}

/* Hero text typography */
.hero-text h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: white;
}

.hero-text p {
  font-size: clamp(1.1rem, 2.2vw, 1.8rem);
  margin-top: 14px;
}

/* Duplicate p styling (kept exactly as-is) */
.hero-text p {
  font-size: 1.3rem;
  margin-top: 10px;
  color: #fff;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* --------------------------------------------------
   MARQUEE
-------------------------------------------------- */

.marquee {
  width: 100%;
  overflow: hidden;
  background: #111;
  color: #fff;
  padding: 10px 0;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.marquee-inner {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 20s linear infinite;
}

.marquee-content {
  padding-right: 50px; /* spacing between loops */
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* --------------------------------------------------
   SECTIONS
-------------------------------------------------- */

.section {
  padding: 80px 20px;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #444;
}

/* --------------------------------------------------
   SECTION DIVIDER
-------------------------------------------------- */

.section-divider {
  width: 100%;
  height: 3px;
  background: #0077cc; /* pick your accent color */
  margin: 40px 0;
  border-radius: 2px;
}


/* --------------------------------------------------
   ABOUT SECTION
-------------------------------------------------- */

.about-more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease;
}

.about-more.open {
  max-height: 600px; /* enough for 2–3 paragraphs */
  opacity: 1;
}

.about-toggle {
  margin-top: 12px;
  background: none;
  border: none;
  color: #0077cc;
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
}

.about-toggle:hover {
  color: #005fa3;
}

/* --------------------------------------------------
   PRICING SECTION
-------------------------------------------------- */

.pricing-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
}

.pricing-item {
  margin-top: 20px;
  border-bottom: 1px solid #ddd;
}

.pricing-toggle {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.2rem;
  padding: 12px 0;
  cursor: pointer;
  font-weight: 600;
  color: #222;
}

.pricing-toggle:hover {
  color: #0077cc;
}

.pricing-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.pricing-content.open {
  max-height: 500px;
  opacity: 1;
  padding-bottom: 10px;
}


/* --------------------------------------------------
   SOCIAL LINKS
-------------------------------------------------- */

.socials a {
  margin: 0 15px;
  font-size: 1.2rem;
  color: #0077cc;
  text-decoration: none;
}

.socials a:hover {
  color: #ff6600;
}


/* --------------------------------------------------
   CONTACT FORM
-------------------------------------------------- */

.contact-form {
  max-width: 500px;
  margin: 30px auto 0;
  text-align: left;
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #555;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #0077cc;
  box-shadow: 0 0 0 2px rgba(0,119,204,0.15);
}

/* --------------------------------------------------
   INLINE VALIDATION
-------------------------------------------------- */

.form-row.invalid input,
.form-row.invalid textarea {
  border-color: #d9534f;
  box-shadow: 0 0 0 2px rgba(217,83,79,0.15);
}

.form-row.valid input,
.form-row.valid textarea {
  border-color: #28a745;
  box-shadow: 0 0 0 2px rgba(40,167,69,0.15);
}

.form-error {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #d9534f;
  display: none;
}

.form-row.invalid .form-error {
  display: block;
}

/* --------------------------------------------------
   CONTACT BUTTON
-------------------------------------------------- */

.contact-button {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: #0077cc;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
}

.contact-button:hover {
  background: #005fa3;
}


/* --------------------------------------------------
   #2 — LOADING SPINNER STATE
-------------------------------------------------- */

.contact-button.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.contact-button.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  margin-left: -9px;
  border: 2px solid rgba(255,255,255,0.6);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}


/* --------------------------------------------------
   AJAX RESPONSE MESSAGE
-------------------------------------------------- */

.form-response {
  margin-top: 15px;
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: 6px;
  display: none;
  opacity: 0;
  transform: translateY(12px);
}

.form-response.success {
  display: block;
  background: #e8fbe8;
  color: #1f6b1f;
  border: 1px solid #b4e6b4;
  animation: fadeSlideUp 0.55s ease-out forwards;
}

.form-response.error {
  display: block;
  background: #fdeaea;
  color: #a33a3a;
  border: 1px solid #f3b5b5;
  animation: fadeSlideUp 0.55s ease-out forwards;
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  40% {
    opacity: 1;
    transform: translateY(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* --------------------------------------------------
   RECAPTCHA PLACEHOLDER
-------------------------------------------------- */

.recaptcha-placeholder {
  padding: 14px;
  border-radius: 4px;
  border: 1px dashed #bbb;
  font-size: 0.85rem;
  color: #777;
  text-align: center;
}

/* --------------------------------------------------
   HONEYPOT — fully invisible, overrides .form-row
-------------------------------------------------- */

.form-row.honeypot {
  position: absolute !important;
  left: -99999px !important;
  top: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.form-row.honeypot label,
.form-row.honeypot input {
  display: none !important;
}

