/* =========================================================
   PRISMLEDGER — PRODUCTION MASTER STYLESHEET (OPTIMIZED)
   ========================================================= */

/* ---------- ROOT VARIABLES ---------- */
:root {
  --bg-main: #14004b;
  --bg-navbar: #32009c;
  --bg-section: #ffffff;
  --bg-card: #260075;
  --text-main: #ffffff;
  --text-muted: #d5cff9;
  --accent: #ffdd57;
  --accent-dark: #c49b05;
  --border-soft: rgba(255,255,255,0.1);

  /* Glow theme */
  --glow1: #6a00ff;
  --glow2: #8547ff;
}

/* ---------- GLOBAL RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.2s;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes slideInLeft {
  from { transform: translateX(-25px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* =========================================================
   NAVIGATION BAR
   ========================================================= */

.navbar {
  background: var(--bg-navbar);
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-soft);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  height: 90px;
  opacity: 0;
  animation: slideInLeft 0.7s ease-out forwards;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-links a {
  padding-bottom: 4px;
  font-weight: 600;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle {
  display: none !important;
}

/* --- Buttons --- */

.btn-small {
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--glow1), var(--glow2));
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
  text-shadow: 0 0 6px rgba(255,255,255,0.6);
}

.btn-small:hover {
  box-shadow: 0 0 14px var(--glow2), 0 0 24px var(--glow1);
  transform: translateY(-2px);
}

/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
  display: flex;
  justify-content: space-between;
  padding: 64px 48px;
  gap: 40px;
}

.hero-text {
  max-width: 520px;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.hero p {
  margin-bottom: 24px;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  gap: 12px;
}

/* Primary / Ghost CTAs */

.btn-primary {
  background: var(--accent);
  padding: 12px 24px;
  color: #111;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
}

/* Hero Image */

.hero-image img {
  max-width: 480px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* =========================================================
   PROMO SECTION
   ========================================================= */

.promo-section {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 40px 32px;
  background: var(--bg-section);
}

.promo-card img {
  width: 300px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* =========================================================
   ADDRESS SECTION
   ========================================================= */

.address-section {
  background: rgba(9,0,23,0.85);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.address-boxes {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.address-card {
  background: #fff;
  color: #000;
  padding: 22px 25px;
  border-radius: 16px;
  width: 300px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */

.about-container {
  display: flex;
  align-items: center;
  padding: 40px 48px;
  gap: 32px;
}

.about-photo {
  width: 260px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-layout {
  display: flex;
  padding: 40px 48px;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-form-box {
  background: var(--bg-card);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  flex: 1;
}

.contact-form-box input,
.contact-form-box select,
.contact-form-box textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.08);
  color: var(--text-main);
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */

.testimonials {
  background: var(--bg-section);
  padding: 40px 32px 60px;
  color: #111;
}

.testimonial-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  width: 320px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  background: var(--bg-navbar);
  padding: 16px;
  text-align: center;
  border-top: 1px solid var(--border-soft);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 10px;
}

.social-icon {
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.floating-quote-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  padding: 14px 22px;
  background: var(--accent);
  color: #111;
  border-radius: 50px;
  font-weight: 700;
  z-index: 9999;
}

/* =========================================================
   FULL PAGE SCROLL SNAP — RESTORED
   ========================================================= */

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

.scroll-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.snap-section {
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 80px;
}

/* Glowing cards used in services page */
.card {
  background: rgba(255,255,255,0.05);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 22px rgba(125,90,255,0.45);
}

/* =========================================================
   RESPONSIVENESS
   ========================================================= */

@media (max-width: 900px) {

  .navbar {
    padding: 12px 24px;
    flex-wrap: wrap;
  }

  .nav-logo {
    height: 70px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .promo-section,
  .about-container,
  .contact-layout {
    flex-direction: column;
  }

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

/* =========================================================
   CONTACT FORM FIX — VERTICAL STACKING (FINAL OVERRIDE)
   ========================================================= */

#contactForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

#contactForm input,
#contactForm select,
#contactForm textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 1rem;
  color: #fff;
}

#contactForm textarea {
  resize: vertical;
}

#contactForm button {
  width: 100%;
  padding: 14px;
  font-size: 1.1rem;
  border-radius: 12px;
}
