* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
@font-face {
  font-family: "polysans";
  src: url("polysanstrial-slim.otf");
}

.unselectable-text {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

html,
body {
  width: 100%;
  height: 100%;
  background-color: black;

  color: white;
  font-family: "polysans";
  scroll-behavior: smooth;
}
::-webkit-scrollbar {
  display: none;
}
.container {
  height: 100dvh;
}
.firstpage {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.navbar {
  color: #ffffff;
  height: 80px;
  padding: 1vw 4vw;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 1rem;
}
.vasuist {
  font-size: larger;
  transition: all 0.4s ease;
}
.vasuist:hover {
  /* scale: 1.01; */
  color: #f2e9dd;
  /* transition: 0.5s; */
  text-shadow: 0 0 8px rgba(242, 233, 221, 0.35);
}
.rightnav li {
  font-size: 1.2em;
  gap: 3rem;
  gap: clamp(1rem, 4vw, 3rem);

  display: flex;
  /* width: 30rem; */
  justify-content: space-evenly;
}
.rightnav a {
  text-decoration: none;
  color: #ffffff;
}

.navbar a:hover {
  color: #f2e9dd;
  transition: 0.6s;
}
.navbar {
  opacity: 0;
  transform: translateY(-20px);
  animation: navReveal 0.8s ease forwards;
}
.navbar a {
  /* padding: 0.25rem 0; */
}

.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f2e9dd, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar:hover::after {
  transform: scaleX(1);
}

@keyframes navReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hr {
  border: 0.1px solid rgb(92, 81, 81);
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.main {
  flex: 1;
  display: flex;
}

.hero {
  flex: 1;
  min-height: calc(100dvh - 80px);
  padding: 0rem 8vw;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0 clamp(1.25rem, 5vw, 8vw);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(255, 255, 255, 0.06),
    transparent 60%
  );
  pointer-events: none;
}

.hero-content {
  text-align: center;
  animation: fadeIn 0.5s ease forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    filter: blur(6px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}
.hero-title {
  font-weight: 500;
  line-height: 0.95;
  margin: 0 auto;
  letter-spacing: -0.02em;
  max-width: 22ch;
  display: flex;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(2.2rem, 5vw, 6.5rem);
  line-height: clamp(1.05, 1.1, 1.15);
}

.hero-sub {
  margin-top: 1rem;
  color: #f2e9dd;
  font-size: clamp(1.1rem, 3vw, 4.5rem);
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-content {
  margin-top: 0;
}

@media (max-width: 768px) {
  .hero-title {
    align-items: flex-start;
    text-align: left;
    font-size: 3rem;
  }

  .hero-sub {
    text-align: left;
    font-size: 2.5rem;
  }
  .hero {
    padding: 0 1.5rem;
    align-items: flex-start;
    min-height: auto;
    padding-top: clamp(3.5rem, 12vw, 5rem);
  }

  .hero-title {
    max-width: 100%;
  }
  .hero {
    padding: 0rem 1.5rem;
    padding-top: 8rem;
    align-items: flex-start;
  }
}

.herotext,
.hero-sub {
  opacity: 0;
  transform: translateY(24px);
  animation: reveal 1s ease forwards;
}

.hero-sub {
  animation-delay: 0.4s;
}
@media (max-width: 480px) {
  .hero{
    padding-top: 5rem;
  }
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.25;

  }

  .hero-sub {
    font-size: 1.5rem;
  }
}

/*............. SECOND PAGE STARTS HERE .............................*/

.secondpage {
  padding: 0;
}
.forfirsthalf {
  display: flex;
  padding: 5rem 5vw;
  justify-content: flex-start;
  background: #f2e9dd;
  /* gap: 2px; */
}
.section1 {
  background: #000000;
  padding: 4rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  /* max-width: 52%; */
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.forfirsthalf:nth-child(2) {
  /* height: 50dvh; */
  padding: 0rem 4rem;
  background-color: #000000;
  padding: 0 clamp(1.25rem, 5vw, 4rem);
  background-color: #000;
}
.forfirsthalf:nth-child(2) p {
  font-size: 2rem;
  font-size: clamp(1.1rem, 2.5vw, 2rem);
  line-height: 1.6;
}

.section1 h1 {
  font-size: 2.75rem;
  letter-spacing: 0.08rem;
  margin-bottom: 1rem;
}
.section1 span {
  font-size: larger;
  background-color: #f2e9dd;
  color: black;
}
.section1 p {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.5;
  color: white;
}
.section1 mark {
  padding: 0.1em 0.25em;
}

@media (max-width: 900px) {
  .section1 {
    max-width: 100%;
    padding: 2.5rem;
  }

  .secondpage {
    padding: 0rem 0rem;
  }
}

.sec {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: sticky; /* ⭐ key for overlap */
  top: 0;
  min-height: 50dvh;
  max-height: 50dvh;
  /* padding: 60px; */
  background: #f2e9dd;
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.1);
  color: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  transform: translateY(100px);
  font-size: 4rem;
}

.sec > * {
  justify-content: flex-start; /* left-align content */
  align-items: flex-start;
  text-align: center;
  /* padding: 2rem; */
  flex: 1;
  flex: unset;
}
.sec > h1 {
  flex: 0 0 25%;
  text-align: center;
}
.sec > ul {
  flex: 0 0 50%;
}

.sec > p {
  flex: 0 0 25%;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.sec img {
  height: auto;
  object-fit: contain;
  /* width: 80%;    */

  height: auto;
  max-width: 100%;

  width: clamp(220px, 28vw, 380px);
  max-width: 100%;
  height: auto;
  display: block;
}

.sec h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.8rem) !important;
  font-weight: 500;
  /* text-align: center; */
  line-height: 1.1;
}

/* when visible */
.sec.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}
ul {
  list-style-type: none; /* Removes the bullets */
}

.sec ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;

  width: 50%;
  padding: clamp(1rem, 3vw, 2rem);
  margin: 0;
}

.sec ul li {
  line-height: 1.6;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);

  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding-left: 0 !important;
}

.sec ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  position: static !important;
  left: auto !important;
  transform: none !important;
  scale: 1.4;
  line-height: 1.2;
  margin-top: 0.15rem;
}

@media (max-width: 900px) {
  .sec {
    min-height: auto;
    max-height: none;
    flex-direction: column;
    text-align: center;
    flex-direction: column; /* stack */
    align-items: center; /* 🔑 center everything horizontally */
    justify-content: center; /* center vertically */
    text-align: center;
  }

  /* .sec > * {
    width: 100%;
    padding: 1.5rem;
  } */

  .sec ul {
    max-width: 100%;
    margin-bottom: 1.5rem;
    width: 50%;
  }
  .sec h1 br {
    display: none;
  }

  .sec > p,
  .sec > h1,
  .sec > ul {
    /* flex: none; */
    /* width: 70%; */
  }
}

.autoshow {
  animation: text-appear both;
  animation-timeline: view();
  animation-range: entry 10% cover 50vh;
}
@keyframes text-appear {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .sec {
    /* position: relative; */
    /* top: auto; */
    /* min-height: 100dvh; */
    flex-direction: column;
  }

  .sec h1:first-child {
    font-size: 2.4rem;
  }

  .sec h1:nth-child(2) {
    font-size: 1.6rem;
    text-align: center;
  }
  */ .sec ul li {
    font-size: 0.95rem;
  }
  .sec ul {
    padding-left: 0rem;
    padding-right: 0rem;
    width: 50%;
  }
}
@media screen and (max-width: 550px) {
  .rightnav {
    display: none;
  }
  .sec ul {
    width: 80%;
  }
}
@media (max-width: 450px) {
  .sec ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .sec ul {
    width: 90%;
    padding: 0; /* 🔑 remove side padding */
    margin-top: 1rem;
  }
  .sec h1 br {
    display: block;
  }
  .sec ul li::before {
    /* display: none; */
  }
  .sec ul li {
    gap: 0.4rem;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .sec ul {
    width: 90%;
    padding: 0;
  }

  .sec ul li {
    gap: 0.5rem;
    font-size: 0.95rem;
  }

  .sec ul li::before {
    position: static !important;
    transform: none !important;
  }

  .sec ul {
    padding: 0.5rem;
  }
}
.sec h1:first-child {
  font-size: 3rem;
}

.sec h1:nth-child(2) {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* .sec ul {
  padding: 0;
  margin-top: 20px;
} */

/* .sec ul li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 14px;
  line-height: 1.6;
  font-size: 1.05rem;
} */

.sec ul li::before {
  content: "•";

  scale: 2;
}

.sec:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/*............................THIRD PAGE STARTS HERE...............................*/

.thirdpage {
  min-height: 70dvh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: #000000;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}
.thirdpagehalf {
  min-height: 40dvh; /* ✅ allows growth */
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 0 clamp(1rem, 6vw, 4rem);
  gap: 7rem;
  margin-top: clamp(1.5rem, 6vw, 4rem);
  height: auto; /* ✅ critical */
}
.thirdpagehalf p {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  opacity: 0.8;
  font-size: clamp(1.05rem, 2.2vw, 2.5rem);
}

.thirdtext {
  display: flex;
  text-decoration: underline;
  text-decoration-color: #000000;
  text-decoration-thickness: 2px;
  text-underline-offset: 2rem;
  align-items: center;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  font-weight: 500;
  color: #f2e9dd;
  color: #000000;
  justify-content: start;
  width: 100%;
}

.autoblur {
  animation: autoBlurAnimation linear both;
  animation-timeline: view();
  animation-range: entry 10% cover 60vh;
}
@keyframes autoBlurAnimation {
  0% {
    filter: blur(20px);
  }

  100% {
    filter: blur(0px);
  }
}
.autoblur1 {
  animation: autoBlurAnimation1 linear both;
  animation-timeline: view();
  animation-range: entry 10% cover 40vh;
}
@keyframes autoBlurAnimation1 {
  0% {
    filter: blur(20px);
  }

  100% {
    filter: blur(0px);
  }
}

.autorotate {
  animation: AutoRotate;
  animation-timeline: view();
}
@keyframes AutoRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.cardcontainer {
  flex: 1; /* 50% height */
  width: 100%;
  padding: 60px;
  display: flex;
  flex-direction: row;
  /* gap: 24px; */
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: clamp(2rem, 6vw, 4rem);
}

.card {
  flex: 1 1 clamp(140px, 30vw, 220px);

  min-width: 100px;
  max-width: 100%;

  display: flex;
  flex-direction: column;
  gap: 20px;

  padding: clamp(20px, 4vw, 32px);
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
  background: rgba(255, 255, 255, 0.02);

  border: 1px solid rgb(0, 0, 0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}
.number h1 {
  font-size: clamp(1.8rem, 2vw, 2.5rem);
  font-weight: 700;
  opacity: 0.35;
}
.cardheading h1 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
}
.cardtext {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  line-height: 1.7;
  opacity: 0.65;
}
.card {
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.card:hover {
  transform: translateY(-14px) scale(1.03);
  border-color: rgba(0, 0, 0);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.card:hover h1 {
  opacity: 1;
}
.card:hover .cardtext {
  opacity: 1;
}
.card::after {
  content: "";
  margin-top: auto;
  height: 2px;
  width: 0;
  background: rgb(0, 0, 0);
  /* opacity: 0.5; */
  transition: width 0.4s ease;
  /* position: absolute; */
  /* bottom: 0;
  left: 0;

  height: 2px;
  width: 0;

  background: rgba(255, 255, 255, 0.6);
  transition: width 0.4s ease; */
}

.card:hover::after {
  width: 100%;
}
.fadeUp {
  animation: fadeUp both;
  animation-timeline: view();
  animation-range: entry 10% cover 30%;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 900px) {
  .thirdpage {
    min-height: auto;
  }

  .thirdpagehalf {
    flex-direction: column;
    gap: 35px;
    margin-top: 3rem;
  }
  .thirdtext,
  .cards {
    padding: 0px 0px;
  }

  .thirdtext {
    text-decoration: none;
  }
  .paragraph {
    font-size: 1.5rem !important;
  }

  .cardcontainer {
    padding: 0px 24px;
  }

  .card {
    max-width: 100%;
    transform: none;
  }

  .card:hover {
    transform: translateY(-6px);
  }
}
@media (max-width: 606px) {
  .thirdpagehalf {
    margin: 0rem;
  }
  .card {
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }
  .cardcontainer {
    gap: 10px;
    flex-direction: column;
  }
  .paragraph {
    font-size: 1.2rem !important;
  }
  .cardcontainer {
    margin-bottom: 2rem;
  }
}
@media (max-width: 375px) {
  /* .thirdpage{
    padding: 0rem;
  } */
  .thirdtext {
    justify-content: start;
    align-items: start;
    padding: 0;
  }
  /* .thirdpagehalf{
    padding: 0rem !important;
  } */
  .thirdpagehalf p {
    align-items: center;
    justify-content: start;
    text-align: left;
  }
}

/* .image{
  height: 50rem;
  width: 50rem;
} */

/********************************** FOURTH PAGE STARTS *******************************************/
.fourthpage {
  margin-top: 5rem;
  min-height: 100vh;
}
.aboutus {
  padding: 4rem;
  display: flex;
}
.aboutcontainer {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}
.leftabout {
  flex: 1;
}
.leftabout img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.leftabout h1 {
  font-size: 4rem;
  margin-left: 4rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-left: 4rem ;
  /* word-spacing: 0.8rem; */
  font-weight: 500;
}

.rightabout {
  flex: 1;
  line-height: 1.2;
  /* border: 2px solid white; */
  /* margin-top: 8.5rem; */

  margin-top: 0;
  display: flex;
  align-items: center;
}
.rightabout h3 {
  font-weight: 300;
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
}
.rightabout span {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
@media (max-width: 900px) {
  .aboutcontainer {
    flex-direction: column;
    gap: 3rem;
  }
  .leftabout img {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 70%;
  }
  .leftabout h1 {
    margin-left: 0;
    text-align: center;
  }

  .rightabout {
    align-items: flex-start;
  }
}
@media (max-width: 500px) {
  .aboutus {
    padding: 2rem 1.5rem;
  }
}
/* .contact {
  min-height: 70vh;
  background: #f2e9dd; 
  color: #000;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 4rem 2rem;
}
.contact-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  margin-bottom: 4rem;
}
.contact-middle {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 3rem;
}

.contact-action button {
  position: relative;
  overflow: hidden;
  padding: 0.75rem 1.8rem;
  background: transparent;
  border: 0px solid #000;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  transition: color 0.35s ease;

}

.contact-action button::before {
  content: "";
  position: absolute;
  inset: 0;

  background: #000;
  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.contact-action button:hover::before {
  transform: scaleX(1);
}

.contact-action button:hover {
  color: #fff;
}
.contact-action button span,
.contact-action button {
  z-index: 1;
}
.contact-action button {
  position: relative;
}
.contact-action button:hover {
  box-shadow: 0 0 0 1px #000 inset;
}
.contact-action button::before {
  transition-duration: 0.35s;
}


.line {
  width: 80px;
  height: 1px;
  background: #000;
}
.contact-subtext {
  font-size: 1.1rem;
  max-width: 480px;
  line-height: 1.6;
  opacity: 0.8;
}

.contact-action button {
 position: relative;
  overflow: hidden;
  padding: 0.75rem 1.8rem;
  background: transparent;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  transition: color 0.35s ease;
}
.contact-action button::before {
  content: "";
  position: absolute;
  inset: 0;

  background: #000;

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  z-index: 0; 
}
.contact-action button span {
  position: relative;
  z-index: 1; 
}
.contact-action button:hover::before {
  transform: scaleX(1);
}

.contact-action button:hover {
  color: #fff;
}

.contact-action button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;

  width: 0;
  height: 1px;
  background: #000;

  transition: width 0.3s ease;
}

.contact-action button:hover::after {
  width: 100%;
}
.contact-action button:hover {
  opacity: 0.7;
}

.contact-overlay {
  position: fixed;
  inset: 0;
  

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.contact-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.contact-modal {
  background: #f2e9dd;
  color: #000;

  width: min(90%, 420px);
  padding: clamp(1.5rem, 4vw, 3rem);

  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);

  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.contact-overlay.active .contact-modal {
  transform: translateY(0);
}

.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 18px;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;

  font-size: 1.4rem;
  line-height: 1;

  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.close-btn:hover {
  background: rgba(0, 0, 0, 0);
  border-color: rgba(0, 0, 0, 0);
  transform: rotate(90deg);
}

.contact-modal h2 {
  font-size: clamp(1.1rem, 2vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  font-size: 1rem;
  
  margin-bottom: 1rem;
  opacity: 0.85;
}

body.modal-open {
  overflow: hidden;
}

.contact-modal {
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25);
}

.line {
  background: rgba(0, 0, 0, 0.6);
}

 */

.contact {
  min-height: 70vh;
  background: #f2e9dd;
  color: #000;
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 4rem 2rem;
}

/* ---------- Title ---------- */

.contact-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 500;
  margin-bottom: 4rem;
}

/* ---------- Middle Row ---------- */

.contact-middle {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 3rem;
}

.line {
  width: 80px;
  height: 1px;
  background: rgba(0, 0, 0, 0.6);
}
#openContact span {
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.15em;
}
@media (max-width: 480px) {
  #openContact span {
    font-size: 1rem;
  }
}

/* ---------- CTA Button ---------- */

.contact-action button {
  position: relative;
  overflow: hidden;

  padding: 0.75rem 1.8rem;
  background: transparent;
  border: 0;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;

  color: #000;
  cursor: pointer;
  transition: color 0.35s ease;
}

.contact-action button::before {
  content: "";
  position: absolute;
  inset: 0;

  background: #000;
  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.contact-action button span {
  position: relative;
  z-index: 1;
}

.contact-action button:hover::before {
  transform: scaleX(1);
}

.contact-action button:hover {
  color: #fff;
  /* opacity: 0.7; */
  box-shadow: 0 0 0 1px #000 inset;
}

/* underline animation */
.contact-action button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;

  width: 0;
  height: 1px;
  background: #000;

  transition: width 0.3s ease;
}

.contact-action button:hover::after {
  width: 100%;
}

/* ---------- Subtext ---------- */

.contact-subtext {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  max-width: 480px;
  line-height: 1.6;
  opacity: 0.8;
}

/* ---------- Overlay ---------- */

.contact-overlay {
  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
}

.contact-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ---------- Modal ---------- */

.contact-modal {
  background: #f2e9dd;
  color: #000;

  width: min(90%, 420px);
  padding: clamp(1.5rem, 4vw, 3rem);

  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25);

  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.contact-overlay.active .contact-modal {
  transform: translateY(0);
}

.contact-modal h2 {
  font-size: clamp(1.1rem, 2vw, 3.5rem);
  margin-bottom: 1.5rem;
}

/* ---------- Contact List ---------- */

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  font-size: 1rem;
  margin-bottom: 1rem;
  opacity: 0.85;
}

/* ---------- Close Button ---------- */

.close-btn {
  position: absolute;
  top: 18px;
  right: 18px;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;

  font-size: 1.4rem;
  line-height: 1;

  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.close-btn:hover {
  background: rgba(0, 0, 0, 0);
  border-color: rgba(0, 0, 0, 0);
  transform: rotate(90deg);
}

.contact a {
  text-decoration: none;
  color: black;
}

/* ---------- Scroll Lock ---------- */

body.modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .contact-overlay {
    /* position: absolute; */
  }
  .contact-middle {
    gap: 0.1rem;
  }

  .line {
    width: 50px;
  }
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}
.block {
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

.footer {
  background: #0b0b0b;
  color: #fff;
  padding: 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* 🔑 alignment fix */
  opacity: 1;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;

  font-size: 1rem;
  opacity: 1;
}

.footer-left a {
  text-decoration: none;
  color: white;
}
.footer-right {
  display: flex;
  align-items: flex-start;
}

.socials {
  display: flex;
  gap: 0.6rem;
}
.socials a {
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #1a1a1a;
  color: #fff;
  text-decoration: none;

  font-size: 1rem;
  letter-spacing: 0.05em;
  border-radius: 6px;

  transition: background 0.3s ease, transform 0.3s ease;
}

.socials a:hover {
  background: #333;
  transform: translateY(-2px);
}
.socials i {
  font-size: clamp(0.9rem, 2.5vw, 1.4rem);
}

.footer-left a:hover {
  opacity: 1;
}
.footer-right {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.footer-right {
  display: flex;
  align-items: flex-start; /* 🔑 */
  gap: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.4;
  /* align-items: flex-start; */
}

.footer-center {
  text-align: center;
}

.footer-center h1 {
  font-size: clamp(2rem, 6vw, 6rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  opacity: 1;
  text-wrap: nowrap;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 1rem;
  opacity: 1;
}
.footer-bottom a {
  color: #fff;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.footer-bottom a:hover {
  color: #f2e9dd;
}

.credit {
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .footer {
    padding: 2.5rem 1.5rem;
    gap: 2.5rem;
  }

  .footer-top {
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .socials a {
    height: 40px;
    width: 40px;
  }
}

.privacycontainer {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3rem);
  margin: 0 auto;

  max-width: 900px; /* 👈 controls line length */
}
.privacy-list li {
  list-style-type: disc;
}
.privacy-h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 2rem;
}

.privacycontainer h3,
.privacycontainer h4,
.privacycontainer p,
.privacycontainer li {
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 1.7;
}

.privacycontainer ul h1 {
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  margin-top: 2.5rem;
}

.privacycontainer ul h2 {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
}

.privacycontainer ul h3 {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 500;
}
.privacy-list {
  width: 100%;
  padding-left: 1.25rem;
}

.privacy-list li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
}
@media (max-width: 480px) {
  .privacycontainer {
    padding-top: 2rem;
  }

  .privacy-list {
    padding-left: 1rem;
  }
}

/* ================= CONTACT FORM ================= */

.vasuist-form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 1.5rem;
}

.vasuist-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.vasuist-form label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}

.vasuist-form input,
.vasuist-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
  padding: 0.6rem 0;
  font-family: inherit;
  font-size: 1rem;
  color: #000;
  outline: none;
  transition: border-color 0.3s ease;
}

.vasuist-form input:focus,
.vasuist-form textarea:focus {
  border-color: #000;
}

.vasuist-form textarea {
  resize: none;
}

/* Submit button */
.form-submit {
  margin-top: 1.5rem;
  align-self: flex-start;

  background: #000;
  color: #fff;
  border: none;

  padding: 0.7rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;

  transition: transform 0.3s ease, opacity 0.3s ease;
}

.form-submit:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

/* Mobile adjustments */
@media (max-width: 500px) {
  .form-submit {
    width: 100%;
    text-align: center;
  }
}

/* ---------- Form status text ---------- */
.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
  display: none;
}

/* ---------- Loading state ---------- */
.form-submit.loading {
  pointer-events: none;
  opacity: 0.6;
}

/* ---------- Success state ---------- */
.form-status.success {
  display: block;
  color: #000;
}

/* ---------- Error state ---------- */
.form-status.error {
  display: block;
  color: #b00020;
}
