/* ---------------- GLOBAL ---------------- */
:root {
  --text-dark: #1A1A1A;
  --text-light: #FFFFFF;
  --accent: #E4BA43;
  --accent-dark: #102F49;
  --grey-light: #F5F5F7;
  --shadow-soft: rgba(0,0,0,0.12);
  --shadow-strong: rgba(0,0,0,0.18);
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: white;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ---------------------------------------------------
   HERO — Clean, No Overlay, Fade‑In Animation
--------------------------------------------------- */

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* REMOVE DARK OVERLAY */
.hero::after {
    content: none !important;
}

/* HERO CONTENT FADE‑IN */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
    animation: heroFade 1.4s ease forwards;
}

@keyframes heroFade {
    from { opacity: 0; transform: translate(-50%, -40%); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}

/* ---------------------------------------------------
   NAVIGATION — Transparent on top, Light Grey on scroll
--------------------------------------------------- */

/* NAV — ultra‑transparent while over video */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(0, 0, 0, 0.05);   /* ← SUPER LIGHT TRANSPARENCY */
    backdrop-filter: blur(4px);        /* ← subtle glass effect */
    border-bottom: 1px solid rgba(255,255,255,0.05);

    transition: background 0.35s ease, border-color 0.35s ease;
    z-index: 100;
}


/* NAV LINKS */
nav ul a {
    color: white;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.4px;
    text-decoration: none;
    transition: opacity 0.2s ease, border-bottom 0.2s ease;
    border-bottom: 2px solid transparent;
}

nav ul a:hover {
    opacity: 0.8;
    border-bottom: 2px solid var(--accent);
}

/* SCROLLED NAV — Light Grey Bar */
nav.scrolled {
    background: rgba(245, 245, 245, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

nav.scrolled ul a {
    color: var(--text-dark);
}

nav.scrolled .consult-btn {
    border-color: rgba(0,0,0,0.4);
    color: var(--accent-dark);
}

/* ---------------------------------------------------
   MOBILE NAV — Transparent on top, Grey on scroll
--------------------------------------------------- */

@media (max-width: 900px) {
    nav {
        padding: 14px 24px;
    }
    nav {
        background: rgba(0, 0, 0, 0.08); /* slightly stronger for readability */
        backdrop-filter: blur(6px);
    }

    nav.scrolled {
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(10px);
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: rgba(0,0,0,0.85);
        backdrop-filter: blur(12px);
        padding: 120px 40px;
        display: flex;
        flex-direction: column;
        gap: 30px;
        transition: right 0.4s ease;
    }

    /* When nav is scrolled */
    nav.scrolled .nav-links {
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(12px);
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .hamburger span {
        width: 26px;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: 0.3s ease;
    }

    nav.scrolled .hamburger span {
        background: var(--text-dark);
    }
}

/* ---------------------------------------------------
   HERO BUTTONS
--------------------------------------------------- */

.hero-content .btn,
.hero-content .btn-outline {
    display: inline-block;
    margin: 0 10px;
    white-space: nowrap;
}


.btn, .btn-outline {
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  margin: 0 10px;
}

.btn {
  background: var(--accent-dark);
  color: white;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--accent);
}

.btn-outline {
  border: 1px solid white;
  color: white;
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--text-light);
}

/* ---------------- WHY MODULAR ---------------- */
.why-section {
  padding: 140px 80px;
  background: var(--grey-light);
  text-align: center;
}

.why-title {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 60px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.why-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px var(--shadow-soft);
  transition: transform 0.3s ease;
}

.why-card:hover {
  transform: translateY(-10px);
}

.why-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.why-card p {
  font-size: 16px;
  color: #555;
}

/* ---------------- ABOUT SECTION ---------------- */
.about-section {
  display: flex;
  padding: 140px 80px;
  gap: 80px;
  align-items: center;
}

.about-section img {
  width: 50%;
  border-radius: 20px;
  box-shadow: 0 20px 40px var(--shadow-soft);
}

.about-text {
  width: 50%;
}

.about-text h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
}

/* ---------------- CONTACT SECTION ---------------- */
.contact-section {
  padding: 140px 80px;
  background: white;
}

.contact-title {
  font-size: 48px;
  text-align: center;
  margin-bottom: 60px;
}

form {
  max-width: 700px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

input, textarea {
  padding: 18px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
}

textarea {
  height: 150px;
  resize: none;
}

button {
  padding: 16px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
}

button:hover {
  background: var(--accent-dark);
}

.gdpr {
  font-size: 14px;
  color: #555;
}

/* ---------------- FOOTER ---------------- */
footer {
  background: #111;
  color: white;
  padding: 60px 80px;
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
}

/* ---------------- RESPONSIVE DESIGN ---------------- */

@media (max-width: 1400px) {
  nav {
    padding: 20px 40px;
  }
  nav ul {
    gap: 24px;
  }
}

/* Large Tablets */
@media (max-width: 1200px) {
  nav {
    padding: 20px 40px;
  }

  .hero-content h1 {
    font-size: 56px;
  }

  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-section {
    gap: 40px;
  }
}

/* Tablets & Mobile Landscape */
@media (max-width: 900px) {
  nav ul {
    gap: 25px;
  }

  .hero-content h1 {
    font-size: 48px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .models-section,
  .why-section,
  .about-section,
  .contact-section {
    padding: 100px 40px;
  }

  .about-section {
    flex-direction: column;
    text-align: center;
  }

  .about-section img,
  .about-text {
    width: 100%;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Phones */
@media (max-width: 600px) {

  /* NAVIGATION */
  nav {
    padding: 16px 24px;
  }

  nav ul {
    gap: 18px;
  }

  nav .logo {
    font-size: 18px;
  }

  /* HERO */
  .hero-content h1 {
    font-size: 38px;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .btn, .btn-outline {
    padding: 12px 22px;
    font-size: 14px;
    margin: 6px;
  }

  /* MODELS */
  .models-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .model-card {
    padding: 22px;
  }

  .model-card h3 {
    font-size: 22px;
  }

  /* WHY MODULAR */
  .why-title {
    font-size: 36px;
  }

  .why-card {
    padding: 30px;
  }

  /* ABOUT */
  .about-text h2 {
    font-size: 36px;
  }

  .about-text p {
    font-size: 16px;
  }

  /* CONTACT */
  .contact-title {
    font-size: 36px;
  }

  input, textarea {
    padding: 14px;
    font-size: 15px;
  }

  button {
    padding: 14px;
    font-size: 16px;
  }

  /* FOOTER */
  footer {
    padding: 40px 20px;
    font-size: 13px;
  }
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(145deg, #3D441E, #E4BA43);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.25);
  display: inline-block;
}

.logo-text {
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--color-text);
}
	
.logo-accent {
  color: var(--accent-dark);
}

/* Logo alignment fix */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Desktop menu */
.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.4px;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.6;
}

/* Consultation button */
.consult-btn {
  color: #102F49;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 6px;
  font-weight: 600;
}

/* ---------------- MOBILE NAV ---------------- */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: 0.3s ease;
}

/* Mobile menu panel */
@media (max-width: 900px) {

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 120px 40px;
    gap: 30px;
    transition: right 0.4s ease;
  }

  .nav-links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  /* Hamburger animation */
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ---------------- REFINED NAVIGATION ---------------- */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: center; /* centers logo + menu */
  gap: 60px;
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
}

/* Logo block */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-text {
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: white;
}

.logo-accent {
  color: var(--accent);
}

/* Menu links */
nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav ul a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.4px;
  transition: opacity 0.2s ease, border-bottom 0.2s ease;
  border-bottom: 2px solid transparent;
}

nav ul a:hover {
  opacity: 0.8;
  border-bottom: 2px solid var(--accent);
}

/* Consultation button */
nav ul .consult-btn {
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  font-weight: 700;
  transition: background 0.3s ease;
}

nav ul .consult-btn:hover {
  background: var(--accent);
  color: var(--text-light);
}

/* Responsive alignment */
@media (max-width: 1200px) {
  nav {
    gap: 40px;
    padding: 16px 30px;
  }

  nav ul {
    gap: 24px;
  }

  .logo-text {
    font-size: 1.4rem;
  }
}

@media (max-width: 900px) {
  nav {
    justify-content: space-between;
  }

  nav ul {
    display: none; /* hide menu for mobile hamburger */
  }
}

.models-section {
  padding: 140px 80px;
  background: var(--grey-light);
  text-align: center;
}

.section-title {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 60px;
  color: var(--accent-dark);
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.model-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 40px var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.model-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px var(--shadow-strong);
}

.model-card img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 25px;
}

.model-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.model-card p {
  font-size: 16px;
  color: #555;
  margin-bottom: 25px;
}

.model-btn {
  display: inline-block;
  padding: 12px 26px;
  background: var(--accent-dark);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.2s ease;
}

.model-btn:hover {
  background: var(--accent);
}

/* ---------------- REDUCE SPACE BETWEEN SECTIONS ---------------- */

.models-section,
.why-section,
.about-section,
.contact-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Reduce spacing inside cards for a tighter feel */
.why-card,
.model-card {
  padding: 30px;
}

/* Reduce spacing between title and grid */
.section-title,
.why-title,
.contact-title {
  margin-bottom: 40px;
}

/* About section spacing refinement */
.about-section {
  gap: 50px;
}

/* Improve readability inside WHY MODULAR cards */
.why-card p {
  line-height: 1.65;
  letter-spacing: 0.2px;
  word-spacing: 1px;
}

/* ---------------- FINANCE SECTION ---------------- */

.finance-section {
  padding: 100px 80px;
  background: #ffffff;
  text-align: center;
}

.finance-title {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 60px;
  color: var(--accent-dark);
}

.finance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.finance-card {
  background: var(--grey-light);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px var(--shadow-soft);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.finance-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px var(--shadow-strong);
}

.finance-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--accent-dark);
}

.finance-card p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.finance-card ul {
  padding-left: 20px;
  color: #333;
  line-height: 1.6;
}

/* ---------------- FINANCE CALCULATOR ---------------- */

.finance-intro {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 16px;
  color: #555;
}

.calculator-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--grey-light);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px var(--shadow-soft);
  text-align: left;
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.calculator-field label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #333;
}

.calculator-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.calc-btn {
  padding: 14px 26px;
  background: var(--accent-dark);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 20px;
}

.calc-btn:hover {
  background: var(--accent);
}

.calc-result {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.finance-disclaimer {
  font-size: 13px;
  color: #777;
}

/* Responsive */
@media (max-width: 900px) {
  .calculator-grid {
    grid-template-columns: 1fr;
  }
}

/* Reduce spacing between Finance Options and Finance Calculator */
.finance-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Reduce spacing inside the calculator card */
.calculator-card {
  margin-top: 30px;
  padding: 30px;
}

/* Reduce spacing under the finance grid */
.finance-grid {
  margin-bottom: 30px;
}

/* Visible repayment output box */
.calc-result {
  margin-top: 20px;
  padding: 20px;
  background: #fff;
  border: 2px solid var(--accent-dark);
  border-radius: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-dark);
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.calculator-field input {
  min-width: 100%;
  box-sizing: border-box;
}


@media (max-width: 900px) {
  .calculator-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .calculator-grid {
    grid-template-columns: 1fr;
  }
}

/* Fix full-width logo alignment inside nav */
.nav .logo img {
  height: 55px;        /* Adjust this value to match your preferred size */
  width: auto;
  display: block;
  object-fit: contain;
}

/* Ensure logo stays vertically centered */
.nav .logo {
  display: flex;
  align-items: center;
}

/* Adjust nav spacing to match new logo height */
.nav {
  padding: 14px 40px;   /* Reduced to match logo height */
  height: 80px;         /* Ensures perfect vertical alignment */
  box-sizing: border-box;
}

/* Perfect alignment for hero content with logo */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px; /* controls spacing between elements */
}

/* Control logo size for perfect balance */
.hero-content img {
  width: 260px;   /* adjust this value to your preferred size */
  height: auto;
  display: block;
  margin-bottom: 10px;
}

/* Adjust heading spacing */
.hero-content h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 600;
}

/* Adjust paragraph spacing */
.hero-content p {
  margin: 0 0 20px 0;
  font-size: 20px;
  opacity: 0.9;
}

/* Buttons spacing */
.hero-content .btn,
.hero-content .btn-outline {
  margin: 6px;
}

/* Subtle inner glow for the blurred menu bar */
.nav {
  background: rgba(0, 0, 0, 0.15); /* transparent glass */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.18); /* inner glow */
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);   /* soft highlight line */
}

/* Put hero buttons side by side */
.hero-content .btn,
.hero-content .btn-outline {
  display: inline-block;
  margin: 0 10px; /* spacing between buttons */
}

/* Ensure hero-content doesn't force stacking */
.hero-content {
  text-align: center;
}

.hero-content a {
  white-space: nowrap; /* prevents button text from breaking */
}

/* ---------------- MOBILE FIXES (FINAL CLEAN PATCH) ---------------- */

/* NAV — reduce height + spacing */
@media (max-width: 600px) {
  nav {
    padding: 10px 20px;
    height: 60px;
    gap: 20px;
  }

  .nav .logo img {
    height: 38px;
  }
}

/* HERO — scale logo + heading properly */
@media (max-width: 600px) {
  .hero-content img {
    width: 180px;
  }

  .hero-content h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

/* SECTION PADDING — reduce globally */
@media (max-width: 600px) {
  .models-section,
  .why-section,
  .about-section,
  .contact-section,
  .finance-section {
    padding: 60px 20px;
  }
}

/* WHY GRID — ensure single column */
@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* ABOUT SECTION — fix stacking */
@media (max-width: 600px) {
  .about-section {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .about-section img {
    width: 100%;
  }

  .about-text {
    width: 100%;
  }
}

/* MODELS GRID — ensure clean stacking */
@media (max-width: 600px) {
  .models-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* FINANCE GRID — fix 3→1 column collapse */
@media (max-width: 600px) {
  .finance-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* FINANCE CALCULATOR — fix overlapping inputs */
@media (max-width: 600px) {
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .calculator-card {
    padding: 20px;
  }

  .calculator-field input {
    font-size: 14px;
    padding: 10px;
  }

  .calc-result {
    font-size: 18px;
    padding: 14px;
  }
}
/* FINAL NAV TRANSPARENCY TUNING */
nav.nav {
    background: rgba(255, 255, 255, 0.02) !important; /* 4% white */
    backdrop-filter: blur(4px) !important;             /* subtle glass */
    -webkit-backdrop-filter: blur(4px) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    box-shadow: none !important;
}
.hero-content h2 {
    color: white; /* #102F49 */
    text-shadow: 0 0 12px rgba(255,255,255,0.55); /* improves readability */
}
/* HERO LOGO — subtle frosted background for visibility */
.hero-content img {
    padding: 18px 26px; /* space around logo */
    background: rgba(0, 0, 0, 0.30); /* 6% white tint */
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(6px);
    border-radius: 14px; /* soft rounded corners */
    /*box-shadow: 0 0 22px rgba(0,0,0,0.35); /* soft shadow for contrast */
}
/* HIDE BOTTOM 5% OF VIDEO (removes Veo watermark) */
.hero video {
    height: 130vh !important;
    object-fit: cover !important;
    position: absolute;
    top: -30vh !important;         /* shifts video upward by 5% */
}

