:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --button-bg-color: #bbbbf3;
  --bg-container: #e6e6e6;
  --bg-chat: #ededed;
  --bg-chat-widget: #e4e4e4b0;
  --border-chat-widget: #a8a8a840;
  --document-head: #827f7f;
  --price-card: linear-gradient(180deg,
      rgba(202, 217, 253, 0.67) 0%,
      rgba(235, 239, 249, 0.67) 100%);
  --price-border: 1px solid #000000;
  --bg-price-plan: #e4e4e450;
  --border-price-plan: #a8a8a840;
  --ex-body: #f8f9fa;
  --radio-bg-svg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

[data-bs-theme="dark"] {
  --bg-color: #080a14;
  --text-color: #ffffff;
  --button-bg-color: #bbbbf3;
  --bg-container: #131314;
  --bg-chat: #131314;
  --bg-chat-widget: #1e1f20;
  --border-chat-widget: #1e1f20;
  --document-head: #2f2f3e;
  --price-card: linear-gradient(180deg,
      rgba(59, 64, 76, 0.67) 0%,
      rgba(138, 150, 178, 0.32) 100%);
  --price-border: 1px solid #5e5e85;
  --bg-price-plan: #131314;
  --border-price-plan: #2d2d2d;
  --ex-body: #2f2f3e;
  --radio-bg-svg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%235e5e85'/%3e%3c/svg%3e");
}
/* 
html, body {
  overflow-x: hidden !important;
} */

body {
  background-color: var(--bg-color);
  transition: background 0.3s ease, color 0.3s ease;
  font-family: "Inter", serif;
  overflow-x: hidden;
}

/* Prevent background images from being skewed when width/height attributes are present */
img.position-absolute[width][height] {
  height: auto !important;
}

/* Exception: images with h-100 class should maintain full height */
img.h-100[width][height] {
  height: 100% !important;
  width: auto !important;
  object-fit: cover;
}

/* Exception: images with h-50 class should maintain that height */
img.h-50[width][height] {
  height: 50% !important;
  width: auto !important;
  object-fit: cover;
}

nav {
  background: white;
  width: 80%;
  max-width: 1320px;
  border: 1px solid #ececec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 10px;
  z-index: 100;
  box-shadow: 0px 0px 10px #00000040;
}

nav ul li:hover {
  text-decoration: underline;
}

[data-bs-theme="dark"] nav {
  background: rgb(8, 10, 20);
  background: linear-gradient(90deg,
      rgba(8, 10, 20, 1) 0%,
      rgba(27, 32, 54, 1) 75%);
  border: 1px solid #2f344f;
  box-shadow: 0px 0px 10px #ffffff40;
}

.inter {
  font-family: "Inter", serif;
}

.text-xs {
  font-size: 12px;
}

.text-sm {
  font-size: 14px;
}

.text-15 {
  font-size: 15px;
  color: var(--text-color);
}

.subscription-period-text {
  font-size: 15px;
  color: var(--text-color);
}

.text-base {
  font-size: 16px;
}

.text-lg {
  font-size: 18px;
}

.z-10 {
  z-index: 10;
}

.cursor-pointer {
  cursor: pointer;
}

[data-bs-theme="dark"] .btn.login,
[data-bs-theme="dark"] .themeToggle,
[data-bs-theme="dark"] .exampleBtn,
.btn.primary {
  background: #080a14;
  border: 1px solid #2796d0;
  font-size: 15px;
  border-radius: 100px;
  box-shadow: inset 0px 0px 15px #2796d0;
  color: white;
}

.themeToggle {
  padding: 7px 9px;
  border: 2px solid #ebecec;
  background-color: transparent;
  border-radius: 100px;
}

/* Theme icon visibility - show sun in light mode, moon in dark mode */
.theme-icon-sun {
  display: block;
}

.theme-icon-moon {
  display: none;
}

[data-bs-theme="dark"] .theme-icon-sun {
  display: none;
}

[data-bs-theme="dark"] .theme-icon-moon {
  display: block;
}

.google-icon {
    font-size: 24px; /* Default size */
}

.btn.login,
.exampleBtn {
  color: white !important;
  background: rgb(29, 131, 196);
  background: linear-gradient(90deg,
      rgba(29, 131, 196, 1) 0%,
      rgba(35, 142, 204, 1) 49%,
      rgba(38, 149, 209, 1) 80%,
      rgba(46, 163, 219, 1) 100%);
  border-radius: 100px;
  border: none;
}

.flex-1 {
  flex: 1;
}

.genos {
  font-family: "Genos", serif;
}

.h-dvh {
  min-height: 100dvh;
}

header {
  padding-top: 80px;
  /* min-height: 100dvh; */
  width: 80%;
  margin: auto;
  position: relative;
  z-index: 10;
}

/* Background images behind content */
header ~ .position-absolute,
body > .position-absolute {
  z-index: -1 !important;
}

/* But navbar should be on top */
nav {
  z-index: 100 !important;
}

.header_container {
  /* max-width: 1400px; */
  /* max-width: 1320px; */
  margin: auto;
}

.heading-text {
  font-size: 65px;
  line-height: 50px;
  font-weight: 400;
}

.header_content {
  width: 50%;
}

.header_content h2.opacity-75 {
  font-size: 20px !important;
  line-height: 24px !important;
  margin-top: 18px !important;
  margin-bottom: 40px !important;
  font-weight: 400 !important;
}

/* Add space between description and features on desktop */
.features-chat-container {
  margin-top: 3rem;
}

.header_content ul li {
  font-size: 20px;
  line-height: 34px;
  margin-bottom: 15px;
}

/* Base header buttons styles */
.header-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Center buttons and add spacing - desktop only */
@media (min-width: 768px) {
  .header-buttons.d-none.d-md-flex {
    display: flex !important;
    justify-content: center !important;
    gap: 1rem !important;
    margin-top: 1rem !important;
    margin-bottom: 2rem !important;
  }

  /* Equal width buttons - desktop only */
  .header-buttons.d-none.d-md-flex a {
    min-width: 180px !important;
  }
}

/* Mobile buttons - center and full width */
.header-buttons.d-md-none {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 8px;
  margin-top: 1rem;
}

[data-bs-theme="dark"] .header_content ul li .header_icon {
  background-color: #092939;
  color: #00DDFF;
}

.header_content ul li .header_icon {
  background-color: rgba(220, 225, 235, 1);
  padding: 10px;
  border-radius: 8px;
}

.header_content a {
  width: 245px;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-chat-style, .header_content a.chat, .btn.primary {
  background: rgb(29, 131, 196);
  background: linear-gradient(90deg,
      rgba(29, 131, 196, 1) 0%,
      rgba(35, 142, 204, 1) 49%,
      rgba(38, 149, 209, 1) 80%,
      rgba(46, 163, 219, 1) 100%);
  border-radius: 100px;
  border: none;
  color: white;
}

.btn-chat-style:hover, .header_content a.chat:hover, .btn.primary:hover {
  color: white !important;
}

.how_it_works {
  padding-top: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  text-align: center;
}


.how_it_works .bg_img {
  position: absolute;
  top: 70%;
  right: -0%;
  width: 30%;
  opacity: 0.3;
}

/* [data-bs-theme="dark"] .video_parent {
  background: rgb(57, 83, 104);
  background: linear-gradient(90deg,
      rgba(57, 83, 104, 1) 33%,
      rgba(88, 96, 106, 1) 100%);
} */

.video_parent {
  /* background: rgb(206, 230, 245);
  background: linear-gradient(90deg,
      rgba(206, 230, 245, 1) 80%,
      rgba(245, 245, 246, 1) 100%); */
  width: fit-content;
  padding: 15px;
  border-radius: 30px;
  width: 65%;
  max-width: 1320px;
  margin-top: 50px;
  z-index: 10;
}

/* Ensure video iframes are always interactive with controls accessible */
.video_parent iframe {
  border-radius: 25px;
  position: relative;
  z-index: 5;
  pointer-events: auto !important;
}

/* Vimeo overlay for popup functionality - positioned to not block controls */
.popup-video-open {
  z-index: 1;
  cursor: pointer;
}

/* Ensure iframes in video containers remain fully interactive at all zoom levels */
.video_parent > div {
  position: relative;
}

.video_parent > div iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

img::selection {
  background: transparent;
}

.w-65 {
  max-width: 1320px;
  width: 65%;
}

.marcellus {
  font-family: "Marcellus", serif;
}

.thesis_vs_gpt {
  padding-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 0;
}

/* Base logo styles for desktop */
.navbar-logo-mobile {
  width: 170px;
  height: auto;
}

.navbar-logo-container-mobile {
  max-width: 170px;
}

/* Dynamic logo sizing for mobile devices */
@media (max-width: 767.98px) {
  .navbar-logo-mobile {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
  }
  .navbar-logo-container-mobile {
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }

  /* Prevent button text wrapping by ensuring enough space */
  nav .btn.login {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* Container for right side items (buttons, dropdowns) */
  nav > span {
    flex-shrink: 0 !important;
  }
}

/* Very small devices (iPhone SE, small Android phones) */
@media (max-width: 380px) {
  .navbar-logo-mobile {
    max-width: 100px !important;
  }
  .navbar-logo-container-mobile {
    max-width: 100px !important;
  }
}

/* Small mobile devices (iPhone 12/13 mini, standard phones) */
@media (min-width: 381px) and (max-width: 430px) {
  .navbar-logo-mobile {
    max-width: 130px !important;
  }
  .navbar-logo-container-mobile {
    max-width: 130px !important;
  }
}

/* Medium-large mobile devices (iPhone 14/15 Pro, standard Android) */
@media (min-width: 431px) and (max-width: 480px) {
  .navbar-logo-mobile {
    max-width: 155px !important;
  }
  .navbar-logo-container-mobile {
    max-width: 155px !important;
  }
}

/* Large mobile devices (iPhone 14/15/16 Pro Max, large Android phones) */
@media (min-width: 481px) and (max-width: 767.98px) {
  .navbar-logo-mobile {
    max-width: 170px !important;
  }
  .navbar-logo-container-mobile {
    max-width: 170px !important;
  }
}

/* Disable scroll-reveal animation on mobile for specific elements */
@media (max-width: 768px) {
  .scroll-reveal-desktop {
    opacity: 1 !important;
    transform: none !important;
  }
}

#pricing {
  padding-top: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}

.pricing {
  /* width: 90%; */
  max-width: 1320px;
  margin: auto;
}

[data-bs-theme="dark"] .pricing .box {
  background: rgb(12, 15, 33);
  background: linear-gradient(90deg,
      rgba(12, 15, 33, 1) 0%,
      rgb(19, 22, 38) 100%);
  border: 2px solid #4c5062;
  border-radius: 15px;
  padding: 20px;
}

.pricing .box {
  border-radius: 15px;
  padding: 20px;
}

.pricing .box.box-shadow {
  background-color: #EAEEF5;
  box-shadow: 0px 0px 10px #00000040;
}

.pricing .box h2 {
  font-size: 35px;
}

.pricing .box .price {
  background-color: #1a1f3c;
  padding: 10px;
  border-radius: 10px;
  color: white;
}

.bg-dark-light {
  background-color: #00000014;
}

[data-bs-theme="dark"] .bg-dark-light {
  background-color: #ffffff0d;
}

.gradient-border {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 3px;
  height: 80%;
  border-radius: 10px;
  background: #ececec;
}

[data-bs-theme="dark"] .gradient-border {
  background: #99999931;
  /*   background: rgb(9, 11, 21);
  background: linear-gradient(
    0deg,
    rgba(9, 11, 21, 1) 0%,
    rgba(34, 40, 76, 1) 100%
  ); */
}

.faq_section {
  background: rgb(241, 243, 255);
  background: linear-gradient(0deg,
      rgba(241, 243, 255, 0.10416666666666663) 0%,
      rgba(241, 243, 255, 0.8016456582633054) 20%,
      rgba(241, 243, 255, 1) 50%,
      rgba(241, 243, 255, 0.8044467787114846) 80%,
      rgba(241, 243, 255, 0.09576330532212884) 100%);
  padding-top: 200px;
  padding-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  z-index: 10;
}

[data-bs-theme="dark"] .faq_section {
  background: rgb(13, 17, 39);
  background: linear-gradient(0deg,
      rgba(13, 17, 39, 0) 0%,
      rgba(13, 17, 39, 0.7512254901960784) 20%,
      rgba(13, 17, 39, 1) 50%,
      rgba(13, 17, 39, 0.7484243697478992) 80%,
      rgba(13, 17, 39, 0) 100%);
}

.accordion {
  background: transparent;
  position: relative;
  z-index: 10;
}

.accordion-button,
.accordion-item {
  background: transparent;
  border: none;
}

[data-bs-theme="dark"] .accordion-item {
  border-bottom: 2px solid #ffffff20;
}

.accordion-item {
  border-bottom: 2px solid #ececec;
}

.accordion-button {
  padding: 20px 0px;
  font-size: 20px;
}

[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
  background-color: transparent;
  color: white;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
  box-shadow: none;
}

.accordion-item:first-of-type>.accordion-header .accordion-button {
  border-radius: 0px;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-item:last-of-type {
  border-radius: 0px;
}

[data-bs-theme="dark"] .accordion-body {
  color: #c7c7c7;
}

.accordion-body {
  padding: 20px 0px;
  color: #565d71;
}

.accordion-button::after {
  background-repeat: no-repeat !important;
  width: 45px;
  height: 45px;
  background-size: contain !important;
  background: url("images/faq-icon1.webp");
}

.accordion-button:not(.collapsed)::after {
  background: url("images/faq-icon.webp");
}

.contact_section {
  padding-top: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  z-index: 5;
}

.contact_section img.position-absolute {
  pointer-events: none;
}

[data-bs-theme="dark"] .contact_section h6 {
  color: #c7c7c7;
}

.contact_section h6 {
  color: #565d71;
  font-size: 18px;
  font-weight: 300;
  line-height: 25px;
}

.contact-form {
  max-width: 591px;
  margin-left: auto;
}

.contact-form label {
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  box-shadow: none;
}

[data-bs-theme="dark"] .contact-form select option {
  background-color: black;
  color: white;
}

[data-bs-theme="dark"] .contact-form input,
[data-bs-theme="dark"] .contact-form select,
[data-bs-theme="dark"] .contact-form textarea {
  background: rgb(8, 10, 20);
  background: linear-gradient(90deg,
      rgba(8, 10, 20, 1) 0%,
      rgba(28, 33, 53, 1) 100%);
  border: 2px solid #353b5f;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #fbfbfb;
  border: 2px solid #ececec;
  border-radius: 10px;
  padding: 18px;
  font-size: 18px;
}

.contact-form button {
  background: rgb(29, 131, 196);
  background: linear-gradient(90deg,
      rgba(29, 131, 196, 1) 0%,
      rgba(35, 142, 204, 1) 49%,
      rgba(38, 149, 209, 1) 80%,
      rgba(46, 163, 219, 1) 100%);
  border-radius: 100px;
  border: none;
  width: 100%;
  padding: 13px;
  font-size: 18px;
  margin-top: 20px;
}

.footer {
  background: rgb(8, 10, 20);
  background: linear-gradient(90deg,
      rgba(8, 10, 20, 1) 0%,
      rgba(27, 31, 52, 1) 100%);
  padding: 40px 0 24px;
  z-index: 10;
  position: relative;
}

.footer-links {
  border-bottom: 1px solid #4e5159;
  padding: 15px 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.7px;
}

.footer_logo {
  width: 280px;
}

.footer-text {
  font-size: 13px;
  color: #909396;
  line-height: 20px;
}

.footer-text a {
  color: #909396;
}

.copyright {
  font-size: 16px;
  color: #909396;
  margin-top: 15px;
}

.thesis_ai_img {
  position: absolute;
  top: -20%;
  left: 0px;
  width: 30%;
  z-index: -1;
}

.no-container-padding {
  padding: 0;
  margin: 0;
}

@media screen and (max-width: 576px) {
  .d-flex.w-100 .ms-auto {
    margin-left: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .accordion-body {
    font-size: 1em !important;
    padding: 10px 0px;
  }
  .contact_section h6 {
    font-size: 1em !important;
    font-weight: 300;
    line-height: 20px;
    margin-bottom: 20px;
  }
  .btn.primary,
  .btn.primary.w-100 {
    font-size: 1.2em !important;
    border: none !important;
  }
  .pricing .text-sm,
  .pricing .text-15,
  .pricing .subscription-period-text {
    font-size: 15px !important;
  }
  .pricing .price-amount {
    font-size: 30px !important;
  }
  .heading-text {
    font-size: 34px !important;
    line-height: 40px !important;
    font-weight: 600;
  }
  .header_content h2.opacity-75 {
    font-size: 1em !important;
    line-height: 1.3em !important;
  }
  .header_content ul li {
    font-size: 1em !important;
    line-height: 1.3em !important;
  }
  .header_content a {
    font-size: 1em !important;
  }
  .footer-links a {
    font-size: 9px;
  }
  .footer-text {
    font-size: 10px;
  }
  .copyright {
    font-size: 14px;
  }
  .thesis_vs_gpt p {
    font-size: 1em !important;
  }
  .footer-icons {
    justify-content: center !important;
    gap: 20px !important;
  }
  .footer-icons svg {
    width: 36px !important;
    height: 36px !important;
  }
}

@media screen and (max-width: 1540px) and (min-width: 993px) {
  .heading-text {
    font-size: 55px;
    line-height: 25px;
    margin-bottom: 20px;
  }

  .header_content h2.opacity-75 {
    font-size: 17px;
    line-height: 24px;
    margin-top: 12px;
    margin-bottom: 30px;
  }

  .features-chat-container {
    margin-top: 2.5rem;
  }

  .header_content ul li {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .header_content ul li .header_icon svg {
    width: 22px;
    height: 22px;
  }

  .header_content ul li .header_icon {
    padding: 3px 6px;
    border-radius: 6px;
  }

  .how_it_works .video_parent {
    padding: 10px;
    border-radius: 40px;
  }

  #pricing,
  .how_it_works,
  .faq_section,
  .contact_section {
    padding-top: 150px;
  }

  .thesis_vs_gpt {
    padding-top: 40px;
  }

  .accordion-button {
    padding: 15px 0px;
    font-size: 18px;
  }

  .accordion-button::after {
    width: 30px;
    height: 30px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    border-radius: 10px;
    padding: 12px;
    font-size: 16px;
  }
}

@media screen and (width <=1200px) {
  nav ul li a {
    font-size: 14px !important;
  }

  nav img {
    width: 150px;
  }

  .themeToggle svg {
    width: 20px;
    height: 20px;
  }
}
.icon-cell {
  padding: 5px 10px;
  vertical-align: top;
  border: none;
  width: 50px;
}

.label-cell {
  padding: 12px 20px 5px 20px;
  vertical-align: top;
  border: none;
  width: 250px;
}

.value-cell {
  padding: 12px 20px 5px 20px;
  vertical-align: top;
  border: none;
  text-align: left;
}

.icon-circle {
  background-color: #2195f32d; /* white background */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle svg {
  width: 20px;
  height: 20px;
  color: #258bcac6;      /* this controls the stroke color */
  stroke-width: 1.5; /* optional: reinforce line thickness */
}


@media screen and (width <=992px) {
  nav {
    width: 90%;
    margin: auto !important;
  }

  header {
    width: 90%;
  }

  .header_content {
    width: 65%;
  }

  .header_content h2.opacity-75 {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 30px;
  }

  .header_content ul li {
    white-space: nowrap;
  }

  .header_content ul li .header_icon svg {
    width: 20px;
    height: 20px;
  }

  .header_content ul li .header_icon {
    padding: 3px 7px;
    border-radius: 4px;
  }

  [data-bs-theme="dark"] .pricing .box,
  .pricing .box.pro {
    background: transparent;
    border: none;
    border-radius: 15px;
    padding: 0px;
  }

  .pricing .box {
    border-radius: 15px;
    padding: 0px;
  }

  .pricing .box.box-shadow {
    background-color: white;
    box-shadow: 0px 0px 10px #00000040;
  }

  .pricing .box h2 {
    font-size: 35px;
  }

  .pricing .box .price {
    background-color: #1a1f3c;
    padding: 10px;
    border-radius: 10px;
    color: white;
  }

  .packages {
    border-radius: 15px;
    overflow: hidden;
  }
}

@media screen and (width <=768px) {

  #pricing,
  .faq_section,
  .contact_section,
  header {
    padding-top: 100px;
  }

  .how_it_works {
    padding-top: 50px !important;
  }

  .how_it_works .heading-text {
    display: none !important;
  }

  .integration-logos {
    padding-bottom: 20px !important;
    position: relative;
    z-index: 10;
  }

  .thesis_vs_gpt {
    padding-top: 40px;
  }

  .how_it_works .btn-chat-style {
    display: inline-block !important;
    width: auto;
    visibility: visible !important;
  }

  .how_it_works .text-center {
    display: block !important;
    visibility: visible !important;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }

  .h-dvh {
    min-height: auto;
    height: auto;
  }

  .how_it_works .video_parent {
    width: 100%;
    margin-top: 20px;
  }

  .how_it_works .bg_img {
    top: 0;
  }

  .heading-text {
    font-size: 45px;
  }

  .header_content h2.opacity-75 {
    font-size: 16px;
    line-height: 24px;
    margin-top: 12px;
    margin-bottom: 30px;
  }

  .header_content ul li {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .header_content ul li .header_icon svg {
    width: 18px;
    height: 18px;
  }

  .header_content ul li .header_icon {
    padding: 0px 7px;
    border-radius: 8px;
  }
}

@media screen and (width <=576px) {
  nav {
    width: 90%;
    /* background: transparent; */
    border: none;
  }

  #pricing,
  .how_it_works,
  .faq_section,
  .contact_section,
  header {
    padding-top: 30px;
  }

  .thesis_vs_gpt {
    padding-top: 0px;
  }

  .how_it_works .btn-chat-style {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .how_it_works .text-center {
    display: block !important;
    visibility: visible !important;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }

  [data-bs-theme="dark"] nav {
    /* background: transparent; */
    border: none;
  }

  .thesis_ai_img {
    left: 0 !important;
    bottom: -75%;
    right: auto !important;
    top: auto;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    opacity: 0.5;
    transform: none !important;
  }

  .header-bg-image {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
  }

  .google-icon {
      font-size: 16px; /* Smaller size for mobile devices */
  }

  .btn.login {
      background-color: var(--button-bg-color); /* Assuming --button-bg-color is blue */
      color: #fff; /* White text color */
      border: 1px solid var(--button-bg-color);
      font-size: 15px; /* Match the font size of the chat button */
  }

  .themeToggle {
    background-color: white;
  }

  .themeToggle svg {
    height: 13px;
    width: 13px;
  }

  .heading-text {
    font-size: 24px;
    line-height: 30px;
    font-weight: 500;
  }

  .header_content h2.opacity-75 {
    font-size: 10px;
    line-height: 13px;
    margin-top: 0px;
    margin-bottom: 30px;
    width: 50%;
  }

  .header_content ul li {
    font-size: 10px;
    line-height: 15px;
  }

  .header_content ul li .header_icon {
    padding: 4px 5px;
    border-radius: 5px;
  }

  .header_content ul li .header_icon svg {
    width: 16px;
    height: 16px;
  }

  .header_content a {
    padding: 3px;
    font-size: 10px;
    width: auto;
    flex: 1;
  }

  .header-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 8px;
  }

  .header-buttons a.btn,
  .header-buttons a.chat {
    width: 50%;
    font-size: 1.2rem;
    padding: 8px 0;
    text-align: center;
    box-sizing: border-box;
    margin: 0;
    border-radius: 100px !important;
  }

  .header-buttons a.btn {
    white-space: nowrap;
  }

  .btn.primary {
    border: 2px solid #2796d0;
    font-size: 10px;
    box-shadow: inset 0px 0px 5px #2796d0;
    color: white;
  }

  .how_it_works .video_parent {
    max-width: 100%;
    margin-top: 20px;
    padding: 6px;
    border-radius: 20px;
  }

  .how_it_works .video_parent iframe {
    border-radius: 15px;
  }

  .how_it_works .bg_img {
    top: -40%;
    width: 50%;
  }

  .w-65 {
    width: 100%;
  }

  [data-bs-theme="dark"] .thesis_vs_gpt p {
    color: #bababa;
  }

  .thesis_vs_gpt p {
    color: #474a52;
    font-size: 13px;
  }

  .thesis_vs_gpt .reduced-image {
    max-width: 400px;
    width: 100%;
  }

  .pricing .box h2 {
    font-size: 22px;
    margin: 0px;
  }

  [data-bs-theme="dark"] .contact-form input::placeholder,
  [data-bs-theme="dark"] .contact-form select::placeholder,
  [data-bs-theme="dark"] .contact-form textarea::placeholder {
    color: #565d71;
  }

  [data-bs-theme="dark"] .contact-form input,
  [data-bs-theme="dark"] .contact-form select,
  [data-bs-theme="dark"] .contact-form textarea {
    background: rgb(8, 10, 20);
    background: linear-gradient(90deg,
        rgba(8, 10, 20, 1) 0%,
        rgba(28, 33, 53, 1) 100%);
    border: 2px solid #353b5f;
  }

  .accordion-button {
    padding: 10px 0px;
    font-size: 13px;
    gap: 15px;
  }

  .accordion-button::after {
    width: 20px;
    height: 20px;
    background-size: contain !important;
    background: url("images/faq-icon-small1.webp");
  }

  .accordion-button:not(.collapsed)::after {
    background: url("images/faq-icon-small.webp");
  }

  .accordion-body {
    font-size: 12px;
    padding: 10px 0px;
  }

  .contact_section h6 {
    font-size: 15px;
    font-weight: 300;
    line-height: 20px;
    margin-bottom: 20px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    border-radius: 6px;
    padding: 10px;
    font-size: 16px;
  }

  .contact-form label {
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
  }

  .contact-form button {
    padding: 10px;
    font-size: 16px;
    margin-top: 10px;
  }

  .footer {
    padding: 10px 0 24px;
  }

  .footer_logo {
    width: 130px;
  }

  .footer-links a {
    color: white;
    text-decoration: none;
    font-size: 9px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0px;
  }

  .footer-text {
    font-size: 10px;
    color: #909396;
    line-height: 20px;
  }

  .footer-icons svg {
    width: 16px;
    height: 16px;
  }

  .copyright {
    font-size: 14px;
    margin-top: 5px;
    text-align: start !important;
    margin-bottom: 0px;
  }
}

.dark_logo {
  display: none;
}

[data-bs-theme="dark"] .logo {
  display: none;
}

[data-bs-theme="dark"] .dark_logo {
  display: inline;
}

button,
a {
  transition: opacity 0.3s ease;
}

button:hover,
a:hover {
  opacity: 0.85;
}

.popup {
  position: fixed;
  left: 0;
  top: 0;
  width: 100dvw;
  height: 100dvh;
  overflow: auto;
  z-index: 999;
  background: var(--c-emphasis);
  opacity: 0;
  visibility: hidden;
}

.popup.active {
  opacity: 1;
  visibility: visible;
  transition: all 0.2s ease;
}

.popup-open {
  overflow: hidden;
}

[data-bs-theme="dark"] .popup_wrapper {
  background: rgb(57, 83, 104);
  background: linear-gradient(90deg,
      rgba(57, 83, 104, 1) 33%,
      rgba(88, 96, 106, 1) 100%);
}

.popup_wrapper {
  display: flex;
  min-height: 100dvh;
  z-index: 2;
  position: relative;
  align-items: center;
  background: rgb(206, 230, 245);
  background: linear-gradient(90deg,
      rgba(206, 230, 245, 1) 80%,
      rgba(245, 245, 246, 1) 100%);
}

.popup_content {
  position: relative;
}

.popup_video {
  position: relative;
  display: flex;
  border-radius: 2.4rem;
  border: 3px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  max-width: 65rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.popup_video video {
  position: relative;
  width: 100%;
  height: auto;
}

.popup_video iframe {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.popup-video-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 0.8rem;
  width: 100%;
}

.popup-video-progress:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--c-white);
  width: var(--pw, 0%);
  transition: all 0.1s ease;
}

.popup-close-btn {
  cursor: pointer;
  position: absolute;
  right: 1rem;
  top: 1rem;
  border-radius: 100%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  color: var(--c-white);
  background: #647B88;
  color: white;
}

.popup_content {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.popup_content-inner {
  position: relative;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  max-width: calc(var(--container) / 2 - var(--gap) * 2);
}


[data-bs-theme="dark"] .mobile_nav {
  background: linear-gradient(45deg, rgba(29, 131, 196, 1), rgba(46, 163, 219, 1)) !important;
  height: 63px;
  width: 100% !important;
  border-top: 1.2px solid #080a14;
  box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.2);
}

.mobile_nav {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, rgba(8, 10, 20, 1) 0%, rgba(27, 31, 52, 1) 100%) !important;
  height: 63px;
  /* border-top: 1.2px solid #ffffff; */
  /* box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.2); */
  z-index: 9999;
  /* transition: transform 0.3s ease-in-out; */
}

[data-bs-theme="dark"] .mobile_nav_li {
  background: linear-gradient(90deg, rgba(8, 10, 20, 1) 0%, rgba(27, 31, 52, 1) 100%) !important;
  border-radius: 100px;
  position: relative;
  border-top: none !important;
  padding: 5px;
}

.mobile_nav_li {
  background: linear-gradient(90deg, rgba(29, 131, 196, 1) 0%, rgba(35, 142, 204, 1) 49%, rgba(38, 149, 209, 1) 80%, rgba(46, 163, 219, 1) 100%);
  border-radius: 100px;
  position: relative;
  border-top: none !important;
  padding: 5px;
}



.mobile_nav_images {
  width: 25px;
  min-width: 25px;
  max-width: 25px;
}
.arrow-right {
  transform: rotate(-90deg);
  transition: transform 0.3s ease;
}

.arrow-down {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

/* Integration logos styling */
.integration-logo {
    transition: all 0.3s ease;
    opacity: 0.7;
}

.integration-logo:hover {
    opacity: 1;
}

.integration-logos {
    padding-bottom: 30px;
}

[data-bs-theme="light"] .integration-logo {
    filter: brightness(0) saturate(100%) invert(40%) grayscale(100%);
}

[data-bs-theme="dark"] .integration-logo {
    filter: brightness(0) saturate(100%) invert(100%);
}

/* Add responsive styles for integration logos */
.integration-logos-container {
    gap: 3rem;
}

.integration-logos-container .integration-logo {
    height: 80px;
}

/* Make Overleaf logo bigger on all devices */
.integration-logos-container .overleaf-logo {
    height: 110px; /* 30px or ~38% bigger than other logos */
}

/* Mobile styles for integration logos */
@media (max-width: 767px) {
    .integration-logos-container {
        gap: 1rem;
        overflow-x: auto;
        white-space: nowrap;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .integration-logos-container .integration-logo {
        height: 40px;
        display: inline-block;
    }
    
    /* Keep Overleaf logo bigger on mobile too */
    .integration-logos-container .overleaf-logo {
        height: 56px; /* 16px or ~40% bigger than other logos */
    }

    .integration-logos-container .integration-logo.mendeley-logo {
        height: 24px;
    }
}

/* Even smaller screens */
@media (max-width: 480px) {
    .integration-logos-container {
        gap: 0.5rem;
        overflow-x: auto;
        white-space: nowrap;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .integration-logos-container .integration-logo {
        height: 30px;
        display: inline-block;
    }
    
    /* Keep Overleaf logo bigger on small screens too */
    .integration-logos-container .overleaf-logo {
        height: 42px; /* 12px or ~40% bigger than other logos */
    }
}

/* Space between sections */
.thesis_vs_gpt {
    margin-top: 0;
}

/* Adjust spacing for different devices and orientations */
@media (max-width: 767px) {
    .thesis_vs_gpt {
        margin-top: 0;
    }
}

/* Special handling for landscape orientation */
@media (max-width: 991px) and (orientation: landscape) {
    .thesis_vs_gpt {
        margin-top: 0;
    }

    .how_it_works .video_parent {
        height: auto; /* Adjust video container height for landscape */
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .thesis_vs_gpt {
        margin-top: 0;
    }
}

@media (min-width: 768px) {
    .integration-logos-container .integration-logo.mendeley-logo {
        height: 48px;
    }
}

@media screen and (max-width: 600px) {
  .btn.primary,
  .btn.primary.w-100 {
    font-size: 1.2rem !important;
  }
}

/* See Examples button style for light mode, mimicking Login button in dark mode */
[data-bs-theme="light"] .see-examples-btn {
  background: #080a14;
  font-size: 15px;
  box-shadow: inset 0px 0px 15px #2796d0;
  color: white;
}

@media (max-width: 600px) {
  .header_content h2.opacity-75 {
    width: 100% !important;
  }
  .container, .header_container, .main_index_header, header {
    overflow-x: hidden;
    max-width: 100vw;
  }
}

@media (max-width: 576px) {
  .header_content h2.opacity-75 {
    width: 100% !important;
  }
  .accordion-button {
    font-size: 0.8em !important;
  }
  .how_it_works .btn-chat-style {
    display: inline-block !important;
    visibility: visible !important;
    font-size: 0.9rem;
    padding: 0.75rem 2rem !important;
  }
  .how_it_works .text-center {
    display: block !important;
    visibility: visible !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
}

/* Language Dropdown Styles */
#languageDropdown {
  color: var(--text-color) !important;
  background: transparent !important;
}

/* Active language dropdown item styling */
.dropdown-item.active,
.dropdown-item:active {
  background: linear-gradient(90deg,
    rgba(29, 131, 196, 1) 0%,
    rgba(35, 142, 204, 1) 49%,
    rgba(38, 149, 209, 1) 80%,
    rgba(46, 163, 219, 1) 100%) !important;
  color: white !important;
}

.dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

[data-bs-theme="dark"] .dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Language dropdown scrollable on desktop - show 10 items at a time */
@media (min-width: 768px) {
  #languageDropdown + .dropdown-menu {
    max-height: calc(10 * 2.5rem); /* Approximate height for 10 items */
    overflow-y: auto;
    overflow-x: hidden;
  }

  /* Custom scrollbar styling for better UX */
  #languageDropdown + .dropdown-menu::-webkit-scrollbar {
    width: 8px;
  }

  #languageDropdown + .dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
  }

  #languageDropdown + .dropdown-menu::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
  }

  #languageDropdown + .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
}

/* ThesisAI vs ChatGPT Section Styles */
.reduced-image {
  width: 70%;
}

.gpt_image_container,
.thsisAi_image_container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Text Boxes */
.gpt_image_container_text,
.thsisAi_image_container_text {
  position: absolute;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  color: rgba(7, 31, 44, 1);
  font-size: 15px;
  padding: 10px 50px 10px 10px;
  border-radius: 10px;
}

/* ThesisAI Box */
.thsisAi_image_container_text {
  background-color: rgba(7, 31, 44, 1);
  color: white;
  top: 26%;
  left: -10px;
}

/* GPT Box */
.gpt_image_container_text {
  top: 58%;
  right: -1px;
}

/* Text Box Icon */
.gpt_image_container_text img,
.thsisAi_image_container_text img {
  width: 18px;
  height: 18px;
}

/* Dark mode - GPT box stays white */
[data-bs-theme="dark"] .gpt_image_container_text {
  background-color: rgba(255, 255, 255, 1);
  color: rgba(7, 31, 44, 1);
}

/* Dark mode - ThesisAI box stays dark */
[data-bs-theme="dark"] .thsisAi_image_container_text {
  background-color: rgba(7, 31, 44, 1);
  color: white;
}

/* Tablet (Max 900px) */
@media (max-width: 900px) {
  .gpt_image_container_text,
  .thsisAi_image_container_text {
    font-size: 11px;
    padding: 8px 40px 8px 8px;
  }
}

/* Mobile adjustments - Match main page design */
@media (max-width: 767px) {
  .thesis_vs_gpt .w-65 {
    width: 100%;
  }

  .thesis_vs_gpt .reduced-image {
    max-width: 400px;
    width: 100%;
  }

  .gpt_image_container_text,
  .thsisAi_image_container_text {
    font-size: 13px;
    padding: 8px 10px;
  }
}
