html {
  scroll-behavior: smooth;
}

/* 
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background: black;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out;
} */

.menu-toggle {
  display: none;
}

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


body {
    height: 100%;
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

#smooth-wrapper {
    overflow: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.02em;

}



#header {
    height:80px;
    width: 100%;
    /* background-color: #4d4d4d; */
    /* background-color: rgb(74, 74, 74); */
    background-color: #000;
    padding:0 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    position: fixed;
    z-index: 1000;

}


#logo {
    color: rgb(255, 255, 255);
    font-size: 32px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

#menu a{
    color: white;
    text-decoration: none;
    padding: 0 10px;
    margin-left: 25px;
    font-size: 16px;
    cursor: pointer;
}
/* PAGE 1 */
#pg1 {
  min-height: 70vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 100px;
  overflow: hidden;
}


/* ===== TEXT REVEAL ANIMATION ===== */

.reveal h1,
.reveal p,
.reveal button {
  opacity: 0;
  transform: translateY(24px);
}

/* Headline */
.reveal.animate h1 {
  animation: fadeUp 0.9s ease-out forwards;
}

/* Paragraph */
.reveal.animate p {
  animation: fadeUp 0.9s ease-out forwards;
  animation-delay: 0.25s;
}

/* Button */
.reveal.animate button {
  animation: fadeUpScale 0.9s ease-out forwards;
  animation-delay: 0.45s;
}

/* Keyframes */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUpScale {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}



/* LEFT CONTENT */
#lft {
  width: 45%;
  max-width: 720px;
}

/* HEADLINE */
#lft h1 {
  font-family: "Playfair Display", serif;
  font-size: 58px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: #000;
}

#lft h2 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 5px;
  color: #000;
}

/* PARAGRAPH */
#lft p {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  max-width: 640px;
  margin-bottom: 20px;
}

/* BUTTON */
#lft button {
  padding: 11px 20px;
  border-radius: 999px;
  border: 2px solid #000;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

#lft button:hover {
  background: #000;
  color: #fff;
}

/* RIGHT MODEL */
#rht {
  width: 50%;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* MODEL VIEWER */
model-viewer {
  width: 100%;
  height: 100%;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  #pg1 {
    flex-direction: column;
    padding: 80px 24px;
  }

  #lft {
    width: 100%;
    margin-top: 110px;
  }

  #lft h1 {
    font-size: 48px;
  }

  #rht {
    width: 100%;
    height: 70vh;
  }


}

@media (max-width: 600px) {
  #lft h1 {
    font-size: 40px;
  }

  #lft p {
    font-size: 16px;
  }
}


#whyus {
    padding: 110px 100px;
    background: #000;
}

#whyus h2 {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 80px;
    position: relative;
    color: #fff;
}

/* subtle underline
#whyus h2::after {
    content: "";
    width: 50px;
    height: 2px;
    background: #888;
    display: block;
    margin-top: 18px;
} */

.why-grid1 {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
}

.why-grid2 {
    display: flex;
    gap: 40px;
}

.why-card {
    flex: 1;
    padding: 50px 45px;
    background: #0b0b0f; /* soft charcoal */
    border: 1px solid #1a1a1a;
    border-radius: 16px;
    transition: all 0.3s ease;
}

/* subtle depth on hover */
.why-card:hover {
    transform: translateY(-6px);
    border-color: #2a2a2a;
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.03);
}

.why-card h3 {
    font-size: 24px;
    margin-bottom: 18px;
    color: #fff;
}

.why-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #bdbdbd;
}


/* ============================= */
/* HOW UPVERA WORKS – SECTION */
/* ============================= */

.how-upvera-works {
  background: #ffffff;
  padding: 150px 40px 120px;
  text-align: center;
}

/* Heading */
.how-upvera-works h2 {
  font-size: 48px;
  font-weight: 700;
  color: #111;
  margin-bottom: 18px;
}

/* Subtitle */
.how-upvera-works .subtitle {
  font-size: 17px;
  color: #555;
  margin-bottom: 80px;
}

/* ============================= */
/* FLOW */
/* ============================= */

.flow-horizontal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 20px;
}

/* Hide scrollbar */
.flow-horizontal::-webkit-scrollbar {
  display: none;
}
.flow-horizontal {
  scrollbar-width: none;
}

/* Steps */
.flow-step {
  background: #f6f6f6;
  padding: 18px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  color: #111;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.flow-step.main {
  background: #111;
  color: #fff;
  font-weight: 600;
  padding: 20px 36px;
}

/* Connector line */
.flow-line {
  width: 100px;
  height: 2px;
  background: #d0d0d0;
  position: relative;
}

/* Moving dot */
.flow-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -6px;
  width: 8px;
  height: 8px;
  background: #111;
  border-radius: 50%;
  transform: translateY(-50%);
  animation: moveDot 2s linear infinite;
}

@keyframes moveDot {
  from {
    left: -6px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  to {
    left: 96px;
    opacity: 0;
  }
}



/* ============================= */
/* UPVERA TRUST / COLLAB SECTION */
/* ============================= */

.upvera-trust {
  text-align: center;
  height: auto;
  padding: 120px ;

  background-image: url("../assets/Bck.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  width: 100%;
  min-height: 300px;
}



/* Heading */
.upvera-trust h3 {
  font-size: 34px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

/* Subtitle */
.trust-subtitle {
  font-size: 16px;
  color: #d0d0d0;
  max-width: 720px;
  margin: 0 auto 80px;
  line-height: 1.7;
}

/* Cards */
.trust-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.trust-card {
  /* background: #0b0b0f; */

  /* background: #181616a4;
  border: 1px solid #1a1a1a; */



  background: rgba(20, 20, 24, 0.256);
  border: 1px solid rgba(255, 255, 255, 0.06);

  border-radius: 20px;
  padding: 40px 34px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}


.trust-card h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #ffffff;
}

.trust-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #d0d0d0;
}

/* Responsive */
@media (max-width: 1000px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .upvera-trust {
    padding-top: 80px;
  }
}






#upvera {
  padding: 180px 100px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f6f6 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.upvera-text {
  font-size: clamp(80px, 12vw, 150px);
  font-weight: 700;
  color: #000;
  letter-spacing: -0.04em;
  opacity: 0;
  animation: fadeReveal 1.4s ease-out forwards;
}

@keyframes fadeReveal {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



#cta-guidance {
  background: #ffffff;
  padding: 140px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.cta-content {
  text-align: center;
  max-width: 700px;
}

.cta-content h2 {
  color: #000000;
  /* font-size: clamp(32px, 4vw, 44px); */
  font-size: clamp(80px, 12vw, 150px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-btn {
  display: inline-block;
  padding: 10px 24px;
  font-size: 17px;
  font-weight: 700;
  color: #000000;
  border: 2px solid #000000;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.cta-btn:hover {
  background: #000000;
  color: #ffffff;
}


#footer {
  background: #000;
  padding: 50px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}

.footer-brand h3 {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
  max-width: 425px;
}

.footer-links h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== TABLET (1024px and below) ===== */
@media (max-width: 1024px) {
  #header {
    padding: 0 60px;
  }
  
  #pg1, #pg2, #pg3, #pg4, #pg5 {
    padding: 0 60px;
  }
  
  #menu a {
    margin-left: 15px;
    font-size: 14px;
  }

  /* Why Upvera boxes */
  .why-grid1,
  .why-grid2 {
    gap: 25px;
  }

  .why-card {
    padding: 40px 35px;
  }

  /* Trust cards grid */
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  /* Flow section */
  .how-upvera-works {
    padding: 100px 40px 80px;
  }

  .how-upvera-works h2 {
    font-size: 40px;
  }

  .flow-step {
    padding: 14px 24px;
    font-size: 14px;
  }

  .flow-step.main {
    padding: 16px 28px;
  }
}

/* ===== TABLET (768px and below) ===== */
@media (max-width: 768px) {
  /* Header */
  #header {
    height: 70px;
    padding: 0 20px;
  }

  #logo {
    font-size: 24px;
  }

  /* Menu - Keep horizontal but smaller */
  #menu {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
  }

  #menu a {
    margin: 0;
    font-size: 13px;
    padding: 6px 10px;
    white-space: nowrap;
  }

  /* Page sections */
  #pg1, #pg2, #pg3, #pg4, #pg5 {
    padding: 0 20px;
    min-height: auto;
    flex-direction: column;
    gap: 40px;
  }

  #pg1 {
    padding-top: 0;
  }

  /* Left and right content */
  #lft {
    width: 100%;
  }

  #rht {
    width: 100%;
    height: auto;
  }

  /* Hero sections */
  #lft h1 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  #lft h2 {
    font-size: 24px;
  }

  #lft p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  #lft button {
    padding: 10px 18px;
    font-size: 14px;
    display: inline-block;
  }

  h1 {
    font-size: 32px !important;
  }

  h2 {
    font-size: 24px !important;
  }

  h3 {
    font-size: 18px !important;
  }

  p {
    font-size: 14px !important;
    line-height: 1.6;
  }

  button {
    padding: 10px 16px !important;
    font-size: 14px !important;
    min-height: 40px;
  }

  /* Why Upvera section */
  #whyus {
    padding: 80px 20px;
  }

  #whyus h2 {
    font-size: 32px;
    margin-bottom: 50px;
  }

  .why-grid1,
  .why-grid2 {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
  }

  .why-card {
    flex: 1;
    padding: 30px 20px;
  }

  .why-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .why-card p {
    font-size: 13px;
    line-height: 1.6;
  }

  /* How Upvera Works section */
  .how-upvera-works {
    padding: 60px 20px 50px;
  }

  .how-upvera-works h2 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .how-upvera-works .subtitle {
    font-size: 14px;
    margin-bottom: 40px;
  }

  /* Flow - Convert to VERTICAL */
  .flow-horizontal {
    flex-direction: column;
    align-items: center;
    overflow: visible;
    padding-bottom: 10px;
  }

  .flow-step {
    padding: 12px 16px;
    font-size: 13px;
    margin: 8px 0;
    white-space: normal;
    text-align: center;
    min-width: 80%;
  }

  .flow-step.main {
    padding: 14px 20px;
    font-size: 13px;
  }

  .flow-line {
    width: 2px;
    height: 40px;
    background: #d0d0d0;
    margin: 8px 0;
  }

  .flow-line::after {
    display: none;
  }

  /* Trust section */
  .upvera-trust {
    padding: 60px 20px;
  }

  .upvera-trust h3 {
    font-size: 24px;
  }

  .trust-subtitle {
    font-size: 14px;
    margin-bottom: 40px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trust-card {
    padding: 24px 20px;
  }

  .trust-card h4 {
    font-size: 16px;
  }

  .trust-card p {
    font-size: 13px;
  }

  /* Upvera section */
  #upvera {
    padding: 60px 20px;
  }

  .upvera-text {
    font-size: clamp(48px, 10vw, 80px);
  }

  /* CTA section */
  #cta-guidance {
    padding: 120px 20px;
  }

  .cta-content h2 {
    font-size: clamp(88px, 10vw, 80px);
    margin-bottom: 16px;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Forms */
  input, textarea, select {
    width: 100%;
    padding: 10px 12px !important;
    font-size: 14px !important;
  }
}

/* ============================= */
/* FOOTER (Upvera) */
/* ============================= */

#footer {
  background: #000;
  padding: 50px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-brand h3 {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
  max-width: 425px;
  margin-top: 5px;
}

.footer-links h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-location {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

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

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto;
  }
}











/* ===== MOBILE (480px and below) ===== */
@media (max-width: 480px) {
/* ============================= */
/* HEADER – MOBILE ONLY */
/* ============================= */

@media (max-width: 480px) {

  #header {
    height: 56px;
    padding: 0 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #000;
    /* position: fixed; */
    top: 0;
    left: 0;
    right: 0;

    /* z-index: 1001; */
  }

  #logo {
    font-size: 20px;
    line-height: 1;
  }

  /* Show hamburger ONLY on phone */
  .menu-toggle {
    width: 20px;
    display: block;
    font-size: 22px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
  }

  .menu-toggle:focus {
    outline: none;
    box-shadow: none;
  }

  /* Dropdown menu */
  #menu {
    position: absolute;
    top: 56px; /* same as header height */
    left: 0;

    width: 100%;
    background: #000;

    display: none;
    flex-direction: column;

    border-top: 1px solid rgba(255,255,255,0.15);
  }

  #menu.active {
    display: flex;
  }

  #menu a {
    padding: 14px 16px;
    margin: 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

}



  /* Sections */
  #pg1, #pg2, #pg3, #pg4, #pg5 {
    padding: 0 15px;
    /* margin-top: 30px; */
    gap: 24px;
  }

  /* Left and right content */
  #lft {
    width: 100%;
  }

  #rht {
    width: 100%;
    height: auto;
  }

  /* Typography */
  #lft h1 {
    font-size: 46px;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  #lft h2 {
    font-size: 20px;
  }

  #lft p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  #lft button {
    padding: 9px 16px;
    font-size: 13px;
  }

  h1 {
    font-size: 26px !important;
  }

  h2 {
    font-size: 20px !important;
  }

  h3 {
    font-size: 16px !important;
  }

  p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  /* Buttons */
  button {
    width: 100%;
    padding: 10px 12px !important;
    font-size: 13px !important;
    min-height: 40px;
  }

  /* Forms */
  input, textarea, select {
    width: 100%;
    padding: 10px 10px !important;
    font-size: 13px !important;
    min-height: 40px;
  }

  /* Why Upvera section */
  #whyus {
    padding: 50px 15px;
  }

  #whyus h2 {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .why-grid1,
  .why-grid2 {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
  }

  .why-card {
    padding: 20px 16px;
  }

  .why-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .why-card p {
    font-size: 12px;
    line-height: 1.5;
  }

  /* How Upvera Works section */
  .how-upvera-works {
    padding: 40px 15px 35px;
  }

  .how-upvera-works h2 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .how-upvera-works .subtitle {
    font-size: 12px;
    margin-bottom: 30px;
  }

  /* Flow - Fully VERTICAL */
  .flow-horizontal {
    flex-direction: column;
    align-items: center;
    padding-bottom: 5px;
  }

  .flow-step {
    padding: 10px 12px;
    font-size: 12px;
    margin: 6px 0;
    white-space: normal;
    text-align: center;
    width: 100%;
    max-width: 280px;
  }

  .flow-step.main {
    padding: 11px 14px;
    font-size: 12px;
  }

  .flow-line {
    width: 2px;
    height: 30px;
    margin: 6px 0;
  }

  /* Trust section */
  .upvera-trust {
    padding: 40px 15px;
  }

  .upvera-trust h3 {
    font-size: 4px;
  }

  .trust-subtitle {
    font-size: 12px;
    margin-bottom: 30px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-card {
    padding: 18px 14px;
  }

  .trust-card h4 {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .trust-card p {
    font-size: 12px;
    line-height: 1.5;
  }

  /* Upvera section */
  #upvera {
    padding: 40px 15px;
  }

  .upvera-text {
    font-size: clamp(32px, 8vw, 56px);
  }

  /* CTA section */
  #cta-guidance {
    padding: 80px 15px;
  }

  .cta-content h2 {
    font-size: clamp(32px, 9vw, 56px);
    margin-bottom: 12px;
  }

  .cta-content .cta-btn{
    display: block;
    width: 100%;
    padding: 5px 10px;
    font-size: 14px;
    text-align: center;
  }
  /* Grid layouts */
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Remove margins for stacked layouts */
  .container {
    margin: 0 !important;
  }

  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Flex items */
  .flex-item {
    flex: 1 1 100% !important;
  }

    .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }

  .footer-brand p {
    margin: 0;
  }
}