/* ---------------------> Root <---------------------------------- */
#root {
  padding: 0;
}

/* ---------------------> Scrollbar <-------------------------------- */
/* For Chrome, Edge, Safari */
::-webkit-scrollbar {
  display: none;
}

/* For Firefox */
html {
  scrollbar-width: none; /* hides scrollbar */
}

/* For IE, old Edge */
html {
  -ms-overflow-style: none;
}

/* --------------------> Media <-------------------------------- */
/* H1: 32 (desktop), 24 (iPad), 18 (phone) */
h1 {
  font-size: clamp(18px, 4.5vw, 32px);
}

/* H2: 30 (desktop), 24 (iPad+phone) */
h2 {
  font-size: clamp(22px, 4vw, 30px);
}

/* H3: 24 (desktop), 22 (iPad), 20 (phone) */
h3 {
  font-size: clamp(18px, 3.5vw, 24px);
}

/* H4: 22 (desktop), 20 (iPad+phone) */
h4 {
  font-size: clamp(18px, 3vw, 22px);
}

/* H5: 20 (desktop), 18 (iPad+phone) */
h5 {
  font-size: clamp(14px, 2.5vw, 20px);
}

/* H6: 16 (desktop), 14 (iPad+phone) */
h6,
ul {
  font-size: clamp(12px, 2vw, 16px);
}

/* Paragraph: 16px everywhere */
p {
  font-size: 14px;
}

/* --------------------> Global <-------------------------------- */
* {
  font-family: "Poppins", sans-serif;
  padding: 0;
  margin: 0;
}

#landing-page-body {
  overflow-x: hidden;
}

.bg_header {
  object-fit: cover;
  width: 100%;
  min-height: 100vh;
  position: absolute;
  opacity: 0.8;
  z-index: -20;
}

#bg_header_top {
  top: 0;
  left: 0;
  rotate: 180deg;
}

#bg_header_bottom {
  bottom: -10%;
  left: 0;
}

#logo-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 15px;
}

#logo-header img {
  width: 35px;
  height: 35px;
}

#logo-header span {
  font-size: 18px;
  font-weight: 600;
  color: #42a8c3;
}

/* --------------------> Shrink Content <-------------------------------- */
.shrink-content,
#heading-secondary {
  padding: 0 180px;
}

#landing-page-body section {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.heading {
  text-align: center;
  position: relative;
}

#heading-secondary h5 {
  color: #425759;
  font-weight: 400;
  margin: 0;
}

.heading h1 {
  color: #132d2f;
  font-weight: bold;
  margin: 5px 0;
}

#heading-main h6 {
  color: #889596;
  font-weight: 400;
  margin: 5px 0;
}

/* --------------------> Screens Header <-------------------------------- */
#screens_header {
  width: 70%;
  margin-bottom: 45px;
}

#dashboard-demo-img {
  margin-top: 40px;
  padding: 25px 0 65px 0;
  background-color: #f5f5f5;
  border-radius: 20px;
}

img {
  object-fit: contain;
}

#header-screens {
  position: relative;
}

/* --------------------> Planning Section <-------------------------------- */
#planning-section {
  position: relative;
  text-align: center;
  margin: 250px 0;
}

#planning-section h3 {
  font-weight: 600;
  color: #fd8559;
}

#planning-section div {
  font-weight: 500;
  font-size: 14px;
  width: 60%;
  color: #132d2f;
  margin: 10px 0;
}

#planning-section img {
  position: absolute;
}

#plane {
  bottom: -35%;
  right: -30px;
  width: 150px;
}

#globe {
  top: -30%;
  left: 0;
  width: 100px;
}

#text-bubble {
  top: -40%;
  right: 0;
  width: 60px;
}

#suitcase {
  bottom: -15%;
  left: 0;
  width: 50px;
}

/* --------------------> Features Section <-------------------------------- */
#features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 220px;
}

#features img {
  width: 100%;
}

#features h5 {
  color: #000000;
  font-weight: 600;
  margin: 5px 0;
}

#features p {
  color: #999999;
  font-weight: 500;
  margin: 5px 0;
}

/* --------------------> Audience Section <-------------------------------- */
#audience {
  padding-bottom: 220px;
}

#audience-heading {
  width: 100%;
}

#audience-heading h1 {
  font-size: 32px;
  margin: 5px 0 25px 0;
}

#audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  padding: 20px;
}

#dmo {
  background-color: #fcf5ff;
  flex-grow: 1;
  grid-column: 1;
  grid-row: 1/4;
}

#dmo img {
  width: 100%;
  height: 80%;
}

#airline {
  background-color: #feebd5;
  grid-column: 2;
  grid-row: 1/3;
}

#airline img {
  width: 100%;
  height: 250px;
}

#ota {
  background-color: #efedff;
  display: flex;
  flex-direction: row;
  align-items: center;
  grid-column: 2;
  grid-row: 3/4;
}

#ota img {
  width: 30%;
  margin-right: 10px;
}

#ota-text {
  display: flex;
  flex-direction: column;
}

#audience-grid h3 {
  font-weight: 600;
  color: #1a1a1a;
}

#audience-grid p {
  font-weight: 300;
  color: #1a1a1a;
}

#audience-grid img {
  object-fit: cover;
  border-radius: 15px;
}

/* --------------------> Onboard Section <-------------------------------- */
.heading-chip {
  background-color: #ffffff;
  border-radius: 32px;
  border: 1px solid #e6e6e6;
  font-weight: 400;
  font-size: 18px;
  color: #fd8559;
  max-width: fit-content;
  padding: 5px 20px;
  margin-bottom: 10px;
}

#onboard-section {
  background-color: #f5f4f6;
  padding: 60px 0;
}

#onboard-bg {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  padding: 0 150px;
}

#onboard-article h4 {
  font-weight: 600;
  color: #132d2f;
}

#onboard-article h4 span {
  color: #42a8c3;
}

#onboard-article p {
  font-weight: 500;
  color: #fd8559;
}

#onboard-underline-ref {
  position: relative;
}

#onboard-underline {
  position: absolute;
  width: 75px;
  top: 18px;
  left: 0;
}

#onboard-article ul {
  font-weight: 400;
  color: #999999;
  margin: 20px 0 20px 40px;
  width: 550px;
}

#onboard-img-section img {
  width: 400px;
  aspect-ratio: square;
  border: 1px solid #ffffff;
  border-radius: 20px;
}

#onboard-img-section {
  position: relative;
}

#onboard-meeting {
  position: absolute;
  top: -10px;
  left: 70px;
  transform: rotate(-20deg);
  box-shadow: 0 0 16px 5px rgba(0, 0, 0, 0.25);
}

#onboard-airplane {
  position: absolute;
  top: -100px;
  left: 230px;
  transform: rotate(10deg);
  box-shadow: 0 0 16px 5px rgba(253, 133, 89, 0.25);
}

/* --------------------> Calendly Section <-------------------------------- */
#book-demo-calendy {
  margin: 120px 0;
  background-color: #f5f4f6;
  padding: 100px 0;
  border-radius: 30px;
  background-image: url("../medias/landing_page/bg_header.png");
  background-color: rgba(255, 255, 255, 0.2);
  background-size: cover;
  background-position: center center;
  background-blend-mode: lighten;
}

#book-demo-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60%;
  gap: 10px;
}

#book-demo-calendy h1 {
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
}

#book-demo-calendy h5 {
  font-weight: 500;
  color: #999999;
  width: 350px;
  text-align: center;
  width: 70%;
}

#secondary-btn {
  width: 50%;
  margin-top: 50px;
}

/* Calendly Modal Styles */
.calendly-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.calendly-modal-content {
  background: white;
  border-radius: 10px;
  width: 90%;
  max-width: 900px;
  height: 90%;
  max-height: 700px;
  position: relative;
  overflow: hidden;
}

.calendly-modal-header {
  padding: 20px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
}

.calendly-modal-title {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
}

.calendly-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.calendly-close-btn:hover {
  background: #e9ecef;
  color: #333;
}

.calendly-widget-container {
  height: calc(100% - 80px);
  overflow: hidden;
}

#calendly-inline-widget {
  height: 100%;
}

.form-loading {
  opacity: 0.6;
  pointer-events: none;
}

.form-success-message {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 15px;
  border-radius: 5px;
  margin-top: 100px;
  margin-bottom: 20px;
  display: none;
}

.form-error-message {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 15px;
  border-radius: 5px;
  margin-top: 100px;
  margin-bottom: 20px;
  display: none;
}

.success-container {
  margin: auto;
}

.success-container i {
  font-size: 65px;
  color: #37cb42;
}

.success-container .success-title {
  margin-top: 20px;
}

.success-container .success-description {
  font-size: 16px;
}

@media (max-width: 768px) {
  .calendly-modal-content {
    width: 95%;
    height: 95%;
  }

  .calendly-modal-header {
    padding: 15px;
  }

  .calendly-modal-title {
    font-size: 1.2rem;
  }
}

/* --------------------> Media Queries (max-width: 1024px) <-------------------------------- */
@media only screen and (max-width: 1024px) {
  /* Shrink Content */
  .shrink-content,
  #heading-secondary {
    padding: 0 40px;
  }

  /* Planning Section */
  #planning-section div {
    width: 100%;
  }

  #plane {
    bottom: -50%;
    right: -5%;
  }

  #globe {
    top: -25%;
    left: -8%;
  }

  #text-bubble {
    top: -30%;
    right: -5%;
  }

  #suitcase {
    left: -3%;
    bottom: -35%;
  }

  /* Features Section */
  #features-grid {
    margin-bottom: 120px;
  }

  /* Audience Section */
  #audience {
    padding-bottom: 120px;
  }

  #dmo {
    grid-row: 1/3;
  }

  #airline img {
    height: auto;
  }

  #ota {
    grid-column: 1/3;
    grid-row: 3/4;
  }

  #ota img {
    width: 100%;
    height: 220px;
    margin-right: 10px;
  }

  #audience-heading h1 {
    text-align: center;
  }

  #audience-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Onboard Section */
  #onboard-bg {
    grid-template-columns: 1fr 1fr;
    padding: 0 50px;
  }

  #onboard-article ul {
    width: auto;
  }

  #onboard-img-section img {
    width: 320px;
  }

  /* Calendly Section */
  #book-demo-calendy {
    margin-top: 100px;
    padding: 30px 0;
  }

  #secondary-btn {
    width: auto;
    margin-top: 30px;
  }
}

/* --------------------> Media Queries (max-width: 600px) <-------------------------------- */
@media only screen and (max-width: 600px) {
  /* Shrink Content */
  .shrink-content,
  #heading-secondary {
    padding: 0 10px;
  }

  /* Logo Header */
  #logo-header img {
    width: 30px;
    height: 30px;
  }

  #logo-header span {
    font-size: 14px;
  }

  .heading h1 {
    margin: 3px 0;
  }

  #heading-main h6 {
    margin: 3px 0;
  }

  /* Demo Form */
  .demo-form {
    gap: 10px;
  }

  /* Planning Section */
  #planning-section {
    margin: 150px 0;
  }

  #plane {
    bottom: -35%;
    right: -15%;
  }

  #globe {
    top: -25%;
    left: -15%;
  }

  #text-bubble {
    top: -30%;
    right: -10%;
  }

  #suitcase {
    left: -8%;
  }

  /* Features Section */
  #features-grid {
    display: flex;
    flex-direction: column;
    padding: 10px;
    margin-bottom: 80px;
  }

  /* Audience Section */
  #audience {
    padding-bottom: 80px;
  }

  #audience-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  #ota {
    background-color: #efedff;
    display: flex;
    flex-direction: column;
  }

  /* Onboard Section */
  #onboard-bg {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
  }

  #onboard-img-section {
    height: 350px;
  }

  #onboard-img-section img {
    width: 230px;
  }

  #onboard-meeting {
    top: 100px;
    left: 50px;
  }

  #onboard-airplane {
    top: 20px;
    left: 180px;
  }

  /* Calendly Section */
  #book-demo-calendy {
    margin-top: 60px;
    background-size: fill;
  }

  #book-demo-cta {
    width: 90%;
  }
}
