/* Global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Chathura', sans-serif;
}

body {
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Base responsive setup */
html {
  font-size: 100%;
}

body::-webkit-scrollbar,
*::-webkit-scrollbar {
  display: none;
}

/* Fix the header to the top */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: #000;
  /* match body bg or set your desired color */
}

/* Navigation bar styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.SearchIconNavBar {
  width: 25px;
}

.nav-links,
.nav-actions {
  display: flex;
  gap: 20px;
  width: 220px;
}

hr {
  height: 40px;
  line-height: 20px;
  border: 1px solid white;
  transform: translate(0%, +35%);
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 40px;
  letter-spacing: 1px;
  transition: opacity 0.3s;
  white-space: nowrap;
  display: inline-block;
}

@media (hover: hover) {


  .nav-link:hover {
    opacity: 0.7;
  }


}

.logo {
  font-size: 70px;
  font-weight: 500;
  line-height: 70px;
  letter-spacing: 1px;
  pointer-events: none;
}

.logo-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

main {
  padding: 120px 0px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  margin-left: 30px;
  margin-right: 30px;
  gap: 40px;
}

main div {
  width: 100%;
}

main h2 {
  width: 100%;
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  line-height: 0.8;
  margin-bottom: 20px;
  font-family: 'Dela Gothic One', Arial, sans-serif;
}

/* Section header with decorative lines */
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-bottom: 20px;
  padding: 0;
}

.section-header h2 {
  margin-bottom: 0;
  white-space: nowrap;
  width: fit-content;
}

.section-header .line {
  flex: 1;
  height: 2px;
  background-color: #fff;
  min-width: 50px;
}

main p {
  text-align: start;
  font-size: 35px;
  line-height: 0.8;
  margin-bottom: 10px;
  font-weight: bold;
}

/* Feature section styles */
.features-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.feature-item.reverse {
  flex-direction: row-reverse;
}

.feature-gif {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-gif img,
.feature-gif video {
  width: 100%;
  /* max-width: 500px; */
  height: auto;
  border-radius: 10px;
}

.feature-content {
  flex: 1;
  min-width: 0;
}

.feature-content h3 {
  font-size: 30px;
  font-weight: normal;
  line-height: 0.8;
  margin-bottom: 20px;
  font-family: 'Dela Gothic One', Arial, sans-serif;
}

.feature-content p {
  font-size: 30px;
  line-height: 0.8;
  margin-bottom: 10px;
  font-weight: bold;
}

.feature-content ul {
  list-style: none;
  padding-left: 0;
  font-weight: bold;
}

.feature-content ul li {
  font-size: 30px;
  line-height: 0.8;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.feature-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
}

.BottomLinks {
  margin-top: 20px;
  width: 100%;
  transition: all 0.3s ease;
}

@media (hover: hover) {


  .BottomLinks:hover {
    opacity: 0.7;
  }


}

.BottomLinks a {
  text-decoration: none;
  color: #fff;
}

body::-webkit-scrollbar,
*::-webkit-scrollbar {
  display: none;
}

/* Extended Footer Styles */
.extended-footer {
  width: 100vw;
  background: #000;
  color: #fff;
  padding: 50px 0 0 0;
  margin: 0;
}

/* Hide footer when loading is active */
.loading-container.active~.extended-footer,
body:has(.loading-container.active) .extended-footer {
  display: none !important;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 90vw;
  margin: 0 auto;
  padding-bottom: 40px;
}

.footer-left {
  flex: 1;
  min-width: 300px;
}

.footer-logo {
  font-size: 70px;
  font-weight: bold;
  line-height: 0.8;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.footer-links {
  list-style: none;
  margin-bottom: 30px;
}

.footer-links li {
  font-size: 40px;
  font-weight: bold;
  line-height: 0.8;
  margin-bottom: 10px;
  padding-left: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

@media (hover: hover) {


  .footer-links li:hover {
    opacity: 0.7;
  }


}

.footer-copyright {
  font-size: 25px;
  margin-top: 10px;
  padding-left: 10px;
  line-height: 0.8;
  font-weight: bold;
  opacity: 0.7;
}

.footer-right {
  flex: 2;
  min-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-join-title {
  font-size: 40px;
  line-height: 0.8;
  padding-bottom: 20px;
  margin-top: 30px;
}

.footer-join-form {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-inputs {
  display: flex;
  flex-direction: row;
}

.footer-email {
  font-size: 40px;
  line-height: 0.8;
  font-weight: bold;
  padding: 0px 30px;
  border-radius: 50px;
  border: none;
  outline: none;
  margin-right: 30px;
  width: 350px;
  background: #fff;
  color: #000;
}

.footer-subscribe {
  font-size: 40px;
  line-height: 0.8;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 0;
  border: 1px solid #fff;
  background: #000;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

@media (hover: hover) {


  .footer-subscribe:hover {
    background: #fff;
    color: #000;
  }


}

.footer-icons {
  display: flex;
  gap: 60px;
  margin-top: 10px;
}

.footer-icon-circle {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #000;
  transition: all 0.3s ease;
  cursor: pointer;
}

@media (hover: hover) {


  .footer-icon-circle:hover {
    scale: 1.2;
    color: white;
    background-color: #000;
    border: 1px solid #fff;
  }


}

.footer-divider {
  border: none;
  border-top: 2px solid #fff;
  margin: 0 4vw 0 4vw;
  opacity: 0.7;
}

.footer-icons {
  display: flex;
  flex-direction: row;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 130;
  position: relative;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
}

.mobile-menu-toggle span:first-child {
  transform-origin: top left;
}

.mobile-menu-toggle span:nth-child(2) {
  transform-origin: center;
}

.mobile-menu-toggle span:last-child {
  transform-origin: bottom left;
}

.mobile-menu-toggle.active span:first-child {
  transform: rotate(45deg);
  width: 100%;
  position: relative;
  top: -1px;
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:last-child {
  transform: rotate(-45deg);
  width: 100%;
  position: relative;
  bottom: -1px;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 120;
  padding: 80px 30px 30px;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.mobile-drawer.active {
  left: 0;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link {
  color: white;
  font-size: 40px;
  font-weight: bold;
  line-height: 0.8;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 20px 0;
  transition: opacity 0.2s ease;
}

@media (hover: hover) {


  .mobile-nav-link:hover {
    opacity: 0.7;
  }


}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 110;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ====== RESPONSIVE STYLES ====== */

/* Tablet Styles (768px - 1023px) */
@media screen and (max-width: 1300px) {

  /* Navigation adjustments */
  .navbar {
    padding: 20px;
  }

  .nav-links,
  .nav-actions {
    gap: 10px;
    width: auto;
  }

  .nav-link {
    font-size: 30px;
  }

  hr {
    height: 30px;
  }

  /* Main content */
  .logo {
    font-size: 60px;
    line-height: 60px;
  }

  main h2 {
    font-size: 35px;
  }

  main p {
    font-size: 30px;
    line-height: 0.8;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-right,
  .footer-left {
    width: 100%;
    min-width: unset;
    align-items: flex-start;
  }

  .footer-join-form {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-icons {
    margin-top: 30px;
  }

  .footer-email,
  .footer-subscribe {
    font-size: 30px;
    height: 50px;
    padding: 0px 20px;
  }

  /* Feature section responsive */
  .feature-item,
  .feature-item.reverse {
    flex-direction: column;
  }

  .feature-gif img,
  .feature-gif video {
    max-width: 100%;
  }

  .feature-content h3 {
    font-size: 25px;
  }

  .feature-content p,
  .feature-content ul li {
    font-size: 28px;
  }

  .section-header .line {
    min-width: 30px;
  }
}

/* Mobile Styles (up to 767px) */
@media screen and (max-width: 767px) {

  /* Navigation adjustments */
  .navbar {
    padding: 30px 20px;
    justify-content: space-between;
  }

  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: flex;
  }

  /* Hide desktop navigation */
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-link {
    font-size: 24px;
  }

  .logo {
    font-size: 60px;
    line-height: 50px;
  }

  main {
    padding: 100px 15px;
    margin-left: 10px;
    margin-right: 10px;
    gap: 25px;
  }

  main h2 {
    font-size: 30px;
    margin-bottom: 15px;
  }

  main p {
    font-size: 25px;
    line-height: 0.8;
  }

  .footer-logo {
    font-size: 50px;
  }

  .footer-links li {
    font-size: 30px;
  }

  .footer-join-title {
    font-size: 30px;
  }

  .footer-email,
  .footer-subscribe {
    font-size: 30px;
    height: 50px;
    padding: 0px 20px;
  }

  .footer-email {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .footer-inputs {
    flex-direction: column;
    width: 100%;
  }

  .footer-subscribe {
    width: 100%;
  }

  .footer-icons {
    justify-content: center;
    width: 100%;
  }

  /* Feature section mobile */
  .feature-item,
  .feature-item.reverse {
    flex-direction: column;
    gap: 20px;
  }

  .feature-gif img,
  .feature-gif video {
    max-width: 100%;
  }

  .feature-content h3 {
    font-size: 20px;
  }

  .feature-content p,
  .feature-content ul li {
    font-size: 25px;
  }

  .features-container {
    gap: 40px;
  }

  .section-header {
    gap: 15px;
  }

  .section-header .line {
    min-width: 20px;
  }
}

/* Small Mobile Styles (up to 479px) */
@media screen and (max-width: 479px) {

  /* Navigation adjustments */
  .logo {
    font-size: 50px;
    line-height: 40px;
  }

  .nav-link {
    font-size: 22px;
  }

  main h2 {
    font-size: 25px;
  }

  main p {
    font-size: 22px;
    line-height: 0.8;
  }

  .footer-logo {
    font-size: 40px;
  }

  .footer-links li {
    font-size: 24px;
  }

  .footer-join-title {
    font-size: 24px;
  }

  .footer-email,
  .footer-subscribe {
    font-size: 25px;
    height: 40px;
    padding: 0px 20px;
  }

  .footer-icon-circle {
    width: 50px;
    height: 50px;
    font-size: 30px;
  }

  /* Feature section small mobile */
  .feature-content h3 {
    font-size: 18px;
  }

  .feature-content p,
  .feature-content ul li {
    font-size: 22px;
    line-height: 0.8;
  }

  .features-container {
    gap: 30px;
  }

  .section-header {
    gap: 10px;
  }
}