/* GOGO Remodel - Custom Styles */

/* Import Montserrat font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;650;700&display=swap');

/* Logo Preloader */
.logo-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #F3F1EE;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
}

.logo-preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.logo-preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

/* Lottie Animation Container - Desktop (default) */
#lottieAnim {
  width: 376px;
  height: 376px;
}

/* Preloader Tagline */
.preloader-tagline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 27px;
  line-height: 1.5;
  color: #333333;
  text-align: center;
  margin: 0;
  white-space: nowrap;
  margin-top: -24px;
  user-select: none;
}

/* Tablet and Mobile - Animation and Text Size */
@media (max-width: 900px) {
  #lottieAnim {
    width: 250px;
    height: 250px;
  }

  .preloader-tagline {
    font-size: 16px;
    letter-spacing: -0.16px;
    margin-top: -12px;
  }
}

/* Mobile specific background */
@media (max-width: 600px) {
  .logo-preloader {
    background-color: #F3F1EE;
  }
}

/* Tablet specific background (600px - 900px) */
@media (min-width: 601px) and (max-width: 900px) {
  .logo-preloader {
    background-color: #FFFFFF;
  }

  .preloader-tagline {
    color: #000000;
  }
}

.preloader-close-btn {
  position: fixed;
  top: 45px;
  right: 45px;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  z-index: 10000;
}

.preloader-close-btn.fade-in {
  opacity: 1;
}

/* Root Variables - Design Tokens */
:root {
  /* Colors */
  --color-charcoal-darker: #121212;
  --color-charcoal-normal: #333333;
  --color-concrete-normal: #D8D8D6;
  --color-concrete-light: #FBFBFB;
  --color-concrete-dark: #A2A2A1;
  --color-concrete-darker: #4C4C4B;
  --color-ecstasy-normal: #C56844;
  --color-gowhite-normal: #F3F1EE;

  /* Typography */
  --font-family: 'Montserrat', sans-serif;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-gowhite-normal);
  color: var(--color-charcoal-normal);
  overflow-x: hidden;
  height: 100vh;
}

/* Main Container */
.main-container {
  position: relative;
  height: 100%;
  background-color: var(--color-gowhite-normal);
  border: 1px solid #000;
  overflow: hidden;
}

/* Logo */
.gogo-logo {
  margin-bottom: 50px;
  text-align: left;
}

.gogo-logo svg path {
  transition: fill 700ms ease-in-out;
}

.gogo-logo svg {
  width: 100px;
  height: auto;
}

@media (min-width: 1000px) {
  .main-container.active:not(.final-page) .gogo-logo svg path {
    fill: var(--color-gowhite-normal);
  }
}

/* Video/Image Background Section */
.video-section {
  position: absolute;
  inset: 0;
  left: 0;
  overflow: hidden;
  transition: left 700ms ease-in-out;
}

.video-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateX(25%);
  transition: transform 700ms ease-in-out;
}

.main-container.active .video-section img {
  transform: translateX(0%);
}

.video-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateX(25%);
  transition: transform 700ms ease-in-out;
}

.main-container.active .video-section video {
  transform: translateX(0%);
}

@media (min-width: 1000px) {
  .main-container.active .video-overlay {
    position: absolute;
    top: 0;
    right: 5%;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(270deg, rgba(51, 51, 51, 0.00) 0%, #333333 78.11%);
    mix-blend-mode: multiply;
    transition: background 450ms ease-in-out;
  }
}

/* Content Section */
.content-section-wrapper {
  position: absolute;
  inset: -1px;
  right: 50%;
  background-color: var(--color-gowhite-normal);
  z-index: 1;
  transition: right 700ms ease-in-out;
}

.main-container.active .content-section-wrapper {
  right: 101%;
}

.content-section {
  position: relative;
  max-width: 50%;
  padding: 110px 16px 0 16px;
  z-index: 10;
  height: 100%;
}

.content-section-inner {
  right: 0;
  width: fit-content;
  margin: 0 auto; 
  height: 100%;
  transition: right 450ms ease-in-out;
}

/* Main Heading */
.main-heading {
  position: relative;
  right: 0;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 80px;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--color-charcoal-darker);
  margin-bottom: 16px;
  display: inline-block;
  overflow: hidden;
  transition: color 700ms ease-in-out, right 450ms ease-in-out;
}

.final-page-heading {
  position: absolute;
  top: 200px;
  right: 0;
  left: 100%;
  width: auto !important;
  z-index: 100000;
  text-align: end;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 80px;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--color-charcoal-darker);
  margin-bottom: 16px;
  display: inline-block;
  overflow: hidden;
  transition: left 450ms ease-in-out, right 450ms ease-in-out;
}

.final-page .final-page-heading {
  right: 90px;
  left: 50px;
}

.final-page-heading span {
  display: block;
}

.final-page .main-heading {
  right: 200%;
}

.heading-line {
  display: block;
  margin-bottom: 0;
  white-space: nowrap;
  transition: all 700ms ease-in-out;
  width: fit-content;
}

.main-container.active .main-heading {
  color: var(--color-concrete-light);
}

.main-container .final-page-heading {
  color: var(--color-concrete-light);
}

/* Description Wrapper */
.description-wrapper {
  position: relative;
  right: 0;
  min-height: 1px; /* Ensure wrapper has height even when content is absolute */
  text-align: justify;
  transition: right 450ms ease-in-out;

}

.final-page .description-wrapper {
  right: 200%;
}



/* Description Text */
.description-text {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-charcoal-normal);
  width: 100%;
  opacity: 1;
  transition: opacity 700ms ease-in-out, color 700ms ease-in-out;
}

.main-container.active .description-text {
  color: var(--color-concrete-normal);
  opacity: 0;
  pointer-events: none;
}

/* Who We Are Text */
.who-we-are-text {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-charcoal-normal);
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms ease-in-out, color 700ms ease-in-out;
}

.main-container.active .who-we-are-text {
  opacity: 1;
  pointer-events: auto;
  color: var(--color-concrete-normal);
}


/* Email Input Panel (Hidden by default) */
.mail-input-panel {
  position: absolute;
  top: -1px;
  right: -40%;
  bottom: -1px;
  width: 0;
  min-width: 0;
  /*height: 100%;*/
  width: 40%;
  background-color: var(--color-gowhite-normal);
  overflow: hidden;

  transition: right 450ms ease-in-out;
  z-index: 20;
  display: flex;
  align-items: center;
  padding: 0 100px;
}

@media (max-width: 1300px) and (min-width: 600px) {
  .mail-input-panel {
    padding: 0 140px;
  }
}

@media (max-width: 600px) {
  .mail-input-panel {
    padding: 0 16px;
  }
}

.mail-input-panel.active {
  right: -1px;
}

.mail-input-content {
}

.mail-input-header h2 {
  font-family: var(--font-family);
  font-weight: 650;
  font-size: 47px;
  line-height: 1;
  color: var(--color-charcoal-normal);
  margin-bottom: 8px;
}

@media (max-width: 800px) {
  .mail-input-header h2 {
    font-size: 37px;
  }
}

@media (max-width: 600px) {
  .mail-input-header h2 {
    font-size: 39px;
  }
}

.mail-input-header p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-concrete-darker);
  margin-bottom: 24px;
}

.email-input-wrapper {
  position: relative;
  margin-bottom: 16px;
}

.email-input-wrapper label {
  position: absolute;
  top: -11.56px;
  left: 12px;
  background-color: var(--color-gowhite-normal);
  padding: 0 4px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-concrete-dark);
  z-index: 3;
}

.email-input-wrapper input {
  width: 100%;
  height: 59px;
  border: 1px solid var(--color-concrete-dark);
  border-radius: 10px;
  padding: 16px 15px;
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--color-charcoal-normal);
  background-color: var(--color-gowhite-normal);
}

.email-input-wrapper input::placeholder {
  color: var(--color-concrete-normal);
  transition: color 450ms ease-in-out;
}

.email-input-wrapper input:hover::placeholder {
  color: var(--color-concrete-dark);
}

.email-input-wrapper input:focus {
  outline: none;
  caret-color: transparent;
}

.email-input-wrapper input:focus::placeholder {
  opacity: 1;
}

/* Animated Caret on Focus */
.email-input-wrapper {
  position: relative;
}

.email-input-wrapper input {
  position: relative;
  z-index: 1;
}

/* Animated Caret Overlay */
.email-input-wrapper::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 22px;
  background-color: var(--color-charcoal-normal);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}

/* Active state - trigger animations */
.email-input-wrapper.animating::before {
  animation: caretMove 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.email-input-wrapper.blinking::before {
  left: 15px;
  animation: caretBlink 1s ease-in-out infinite;
}

:root {
  --caret-start-pos: 28%;
}

@media (max-width: 1200px) {
  :root {
    --caret-start-pos: 70%;
  }
}
@media (max-width: 1000px) {
  :root {
    --caret-start-pos: 60%;
  }
}
@media (max-width: 600px) {
  :root {
    --caret-start-pos: 40%;
  }
}


@keyframes caretMove {
  0% {
    left: calc(var(--caret-start-pos));
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    left: 15px;
    opacity: 1;
  }
}

@keyframes caretBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.privacy-note {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-concrete-darker);
  text-align: justify;
  margin-top: 16px;
}

.privacy-note a {
  color: #23769f;
  text-decoration: underline;
  text-underline-position: from-font;
  cursor: pointer;
}

.btn-privacy-link {
  position: absolute;
  bottom: 123px;
  right: 95px;
  background: transparent;
  border: none;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-concrete-dark);
  text-align: left;
  cursor: pointer;
  padding: 10px 1px;
  border-radius: var(--rounded-full, 99999px);
}

.close-btn {
  position: absolute;
  top: 103px;
  right: 45px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease-in-out;
  color: #A2A2A1;
}
.close-btn:hover {
  color: #828280;
}

@media (max-width: 1000px) {
  .close-btn {
    top: 80px;
    right: 20px;

    width: 24px;
    height: 24px;
  }
}

/* Thanks Message Panel */
.thanks-panel {
  position: absolute;
  top: -1px;
  right: -600px;
  bottom: -1px;
  width: 600px;
  background-color: var(--color-concrete-light);
  overflow: hidden;
  transition: right 450ms ease-in-out;
  z-index: 20;
  display: flex;
  align-items: center;
  padding: 0 45px;
}

.thanks-panel.active {
  right: -1px;
}

.thanks-content {
}

.thanks-content h2 {
  font-family: var(--font-family);
  font-weight: 650;
  font-size: 47px;
  line-height: 1;
  color: var(--color-charcoal-normal);
  margin-bottom: 12px;
}

.thanks-content .description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-concrete-darker);
  margin-bottom: 12px;
}

@media (max-width: 601px) {
  .thanks-panel {
    padding: 0 16px;
  }
  .thanks-content .description {
    font-size: 12px;
  }
}

.thanks-content .tagline {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.5;
  color: var(--color-ecstasy-normal);
  text-align: left;
}

/* Privacy Policy Panel */
.privacy-panel {
  position: absolute;
  top: -1px;
  right: -100%;
  bottom: -1px;
  width: 100%;
  background-color: var(--color-gowhite-normal);
  overflow: hidden;
  transition: right 450ms ease-in-out;
  z-index: 30;
}

.privacy-panel.active {
  right: -1px;
}

.privacy-content {
  padding: 116px 85px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.privacy-header {
  margin-bottom: 24px;
}

.privacy-title-top {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.5;
  color: var(--color-charcoal-normal);
  margin: 0 0 16px 0;
}

.privacy-divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-concrete-normal);
  margin-bottom: 16px;
}

.privacy-title-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.privacy-logo {
  width: 183px;
  height: auto;
  flex-shrink: 0;
}

.privacy-title-wrapper h2 {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.5;
  color: var(--color-charcoal-normal);
  margin: 0;
}

.privacy-text-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-charcoal-normal);
  letter-spacing: -0.12px;
}

/* Custom Scrollbar Styling */
.privacy-text-content::-webkit-scrollbar {
  width: 8px;
}

.privacy-text-content::-webkit-scrollbar-track {
  background: var(--color-concrete-normal);
  border-radius: 10px;
}

.privacy-text-content::-webkit-scrollbar-thumb {
  background: var(--color-concrete-dark);
  border-radius: 10px;
  transition: background 450ms ease-in-out;
}

.privacy-text-content::-webkit-scrollbar-thumb:hover {
  background: var(--color-concrete-darker);
}

/* Firefox Scrollbar */
.privacy-text-content {
  scrollbar-width: thin;
  scrollbar-color: var(--color-concrete-dark) var(--color-concrete-normal);
}

.privacy-text-content p {
  margin-bottom: 12px;
}

.privacy-text-content .privacy-date {
  font-weight: 500;
}

.privacy-text-content .privacy-section-title {
  font-weight: 500;
  margin-top: 12px;
}

.privacy-text-content ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.privacy-text-content ul li {
  margin-bottom: 4px;
}

.privacy-text-content a {
  color: #23769f;
  text-decoration: underline;
  text-underline-position: from-font;
}

/* Responsive Design */
@media (max-width: 1300px) {
  .main-container .gogo-logo svg path:nth-of-type(n+5) {
    fill: #F3F1EE;
  }

  .main-container:not(.active) .video-section {
    width: 100%;
    left: 10%;
  }

  .content-section {
    max-width: 50%;
  }

  .main-heading {
    font-size: 50px;
  }

  .final-page-heading {
    font-size: 50px;
  }

  .description-text {
    font-size: 15px;
  }

  .who-we-are-text {
    font-size: 15px;
  }


  .btn-who-we-are {
    font-size: 18px;
  }

  .gogo-logo svg {
    width: 80px;
  }
}

@media (max-width: 1300px) and (min-width: 1000px) {
  .mail-input-panel {
    padding: 0 70px;
  }
}

@media (max-width: 1000px) {
  .main-container:not(.active) .video-section, .video-section {
    width: 100%;
    left: 0;
  }

  .video-section img {
    transform: translateX(0);
  }

  .video-section video {
    transform: translateX(0);
  }

  .main-container .main-heading {
    color: var(--color-concrete-light);
  }

  .main-container  .final-page-heading {
    color: var(--color-concrete-light);
  }

  .main-container .description-text {
    color: var(--color-concrete-normal);
  }

  .content-section-wrapper {
    background-color: transparent;
  }

  .content-section {
    text-align: center;
  }

  .mail-input-header h2 {
    White-space: wrap;
  }

  .description-wrapper {
    max-width: 100%;
    font-size: 16px;
  }

  .description-text, .who-we-are-text {
    padding-right: 0;
  }

  .content-section {
    max-width: 100%;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 150px;
  }

  .gogo-logo {
    left: 30px;
    top: 80px;
  }

  .main-heading {
    font-size: 61px;
    width: 100%;
  }

  .final-page-heading {
    font-size: 61px;
    width: 100%;
  }

  .heading-line-1,
  .heading-line-2,
  .heading-line-3,
  .heading-line-5 {
    margin-left: 0;
  }

  .btn-container {
    flex-direction: column;
    align-items: flex-start;
    flex-direction: row;
  }

  .mail-input-panel {
    width: 101%;
    right: -101%;
  }

  .mail-input-panel.active {
    right: -1px;
  }

  .thanks-panel {
    width: 101%;
    right: -101%;
  }

  .thanks-panel.active {
    right: -1px;
  }

  .privacy-panel {
    width: 101%;
    right: -101%;
  }

  .privacy-panel.active {
    right: -1px;
  }

  .privacy-content {
    padding: 78px 16px;
  }

  .privacy-title-top {
    font-size: 16px;
  }

  .privacy-title-wrapper h2 {
    font-size: 16px;
  }

  .privacy-logo {
    width: 146px;
  }

  .btn-privacy-link {
    bottom: 131px;
    right: 16px;
  }

  @keyframes caretSlide {
    0% {
      right: 15px;
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    50% {
      right: 300px;
      opacity: 1;
    }
    60% {
      opacity: 0;
    }
    100% {
      right: 300px;
      opacity: 0;
    }
  }
}

@media (min-width: 600px) and (max-width: 900px) {
  .privacy-content {
    padding: 78px 32px;
  }

  .btn-privacy-link {
    bottom: 179px;
    right: 32px;
  }
}

@media (max-width: 600px) {
  .final-page .final-page-heading {
    right: 20px;
    left: 50px;
  }
}

@media (max-width: 450px) {
  .description-wrapper {
    font-size: 14px;
  }
  .main-heading {
    font-size: 40px;
  }

  .final-page-heading {
    font-size: 50px;
  }


}

@media (min-width: 1024px) and (max-height: 800px) {
  .content-section-inner {
    width: fit-content;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }

  .content-section {
    /*padding: unset;*/
  }

  .gogo-logo, .main-heading, .description-wrapper, .btn-container {
    margin-bottom: unset;
  }

  .final-page-heading {
    margin-bottom: unset;
  }

  .main-heading {
    font-size: 45px;
  }

  .final-page-heading {
    font-size: 45px;
  }

  .description-text, .who-we-are-text {
    font-size: 14px;
  }

  .btn-who-we-are {
    font-size: 16px !important;
  }

  .btn-start-survey{
    font-size: 16px !important;
  }

  .btn-who-we-are svg {
    width: 12px !important;
    height: 12px !important;
  }
}


@media (max-width: 401px) {
  .heading-line {
    font-size: 36px;
  }

  .final-page-heading .heading-line0 {
    font-size: 32px;
  }
}


@media (max-width: 1001px) {
  .video-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #333 21.89%, rgba(51, 51, 51, 0.0) 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
    transition: background 450ms ease-in-out; /* Transition added here */
  }
  
  .video-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    transition: background 450ms ease-in-out;
  }
  
  .main-container.active .video-overlay {
    background: transparent; /* Set to transparent on active */
  }
  
  .main-container.active .video-overlay::before {
    background: linear-gradient(180deg, #333 21.89%, rgba(51, 51, 51, 0.0) 100%);
  }
}

@media (max-width: 601px) {
  .video-overlay, .main-container.active .video-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #333 21.89%, rgba(51, 51, 51, 0.00) 100%);
    mix-blend-mode: multiply;
    pointer-events: none;
  }
}
.main-container.active.final-page .video-overlay, .main-container.active .video-overlay::before {
  background: transparent;
}
