/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Navbar */
.site-header {
  background: #fff;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 50px;
  margin-left: 10 auto;
}

.nav-links {
  gap: 1rem;
  display: flex;
  align-items: center;
  list-style: none;
  padding: 1rem;
  margin: 0;
}

.nav-links li a {
  color: #004080;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #f67c32;
}

/* Style for the dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Style for the dropdown button/link */
.dropbtn {
  padding: 14px 8px;
  display: block;
}

/* Style for the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Style for the links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #f1f1f1;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Sign on Nav button */
.btn-accent {
  background: #004080;
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-align: center;
  font-weight: bold;
}

.btn-accent:hover {
  background: #f67c32;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.55);
  color: #4472c4;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #000;
  cursor: pointer;
}

/* Hero section */
.hero {
  display: flex;
  background-size: cover;
  background-position: center;
  background: #f8f9fc;
  color: #000000;
  min-height: 80vh;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2rem;
  gap: 2rem;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 45%;
}

.hero-main-title {
  color: #004080;
  font-size: 3.5rem;
  font-weight: 900;
  text-align: left;
  max-width: 100%;
  margin-top: 0rem;
  margin-left: 2rem;
  line-height: 1.0;
}

.hero-sub-title {
  color: #000000;
  font-size: 1.5rem;
  font-weight: 900;
  text-align: left;
  max-width: 100%;
  margin-left: 2rem;
  margin-top: 0rem;
  line-height: 1.1;
}

.hero-overlay {
  background: #f8f9fc;
  padding: 0rem;
  padding-top: 1rem;
  padding-left: 2rem;
  border-radius: 0px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  text-align: center;
  width: 100%;
}

.hero-logo {
  max-width: 100%;
  margin-bottom: 2rem;
  display: block;
  margin: 0 auto;
  margin-top: -400px;
}

.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.carousel .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: fade 55s infinite;
}

.carousel .slide:nth-child(1) { animation-delay: 0s; }
.carousel .slide:nth-child(2) { animation-delay: 5s; }
.carousel .slide:nth-child(3) { animation-delay: 10s; }
.carousel .slide:nth-child(4) { animation-delay: 15s; }
.carousel .slide:nth-child(5) { animation-delay: 20s; }
.carousel .slide:nth-child(6) { animation-delay: 25s; }
.carousel .slide:nth-child(7) { animation-delay: 30s; }
.carousel .slide:nth-child(8) { animation-delay: 35s; }
.carousel .slide:nth-child(9) { animation-delay: 40s; }
.carousel .slide:nth-child(10) { animation-delay: 45s; }
.carousel .slide:nth-child(11) { animation-delay: 50s; }

@keyframes fade {
  0%   { opacity: 0 }
  10%  { opacity: 1 }
  30%  { opacity: 1 }
  40%  { opacity: 0 }
  100% { opacity: 0 }
}

@media (min-width: 1600px) {
  .hero-main-title {
    font-size: 4rem;
    line-height: 1.1;
  }
  .hero-sub-title {
    font-size: 2rem;
    line-height: 1.3;
  }
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  .hero-left {
    max-width: 100%;
    gap: 1rem;
  }
  .hero-right {
    width: 100%;
  }
  .hero-main-title {
    font-size: 3.5rem;
    margin-left: 1rem;
    margin-top: 1rem;
    line-height: 1.2;
    text-align: left;
  }
  .hero-sub-title {
    font-size: 1.3rem;
    margin-left: 1rem;
    margin-top: 0.5rem;
    line-height: 1.3;
    text-align: justify;
  }
}

@media (max-width: 600px) {
  .hero {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  .hero-left {
    max-width: 100%;
    gap: 1rem;
  }
  .hero-main-title {
    font-size: 3rem;
    margin-left: 0;
    margin-top: 1rem;
    line-height: 1.2;
  }
  .hero-sub-title {
    font-size: 1.2rem;
    margin-left: 0;
    margin-top: 0.5rem;
    line-height: 1.3;
  }
  .hero-overlay {
    padding-left: 0;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  .hero-right {
    min-width: 0;
  }
  .carousel {
    aspect-ratio: 16 / 9;
  }
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s, transform 0.2s;
}

.btn-primary {
  background: #4472c4;
  color: #fff;
}

.btn-primary:hover {
  background: #ffd700;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.55);
  color: #4472c4;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #f67c32;
  color: #fff;
}

.btn-secondary:hover {
  background: #ffd700;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.55);
  color: #4472c4;
  transform: translateY(-2px);
}

.btn .small {
  font-size: 0.8em;
  font-weight: normal;
}

.content-boxes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.content-box,
.content-box2 {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.55);
  color: #4472c4;
  padding: 0.5rem;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  display: block;
  position: static;
  z-index: 1;
}

@media (min-width: 768px) {
  .content-boxes {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
  }
  .content-box,
  .content-box2 {
    position: static;
    width: auto;
  }
}

.content-box .no-underline, .content-box2 .no-underline {
  text-decoration: none;
}

.content-box:hover {
  background: #4472c4;
  color: white;
  transform: translateY(-2px);
}

.content-box2:hover {
  background: #4472c4;
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .content-box,
  .content-box2 {
    position: static;
    display: block;
    margin: 1rem auto;
    width: 90%;
  }
}

/* About Section */
.about {
  padding: 4rem 1.5rem;
  background: #f8f9fc;
  text-align: center;
}

.about .container {
  max-width: 1100px;
  margin: 0 auto;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #004080;
}

.about .intro {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #555;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.about-cards-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 480px) {
  .about-cards-4 {
    grid-template-columns: 1fr;
  }
}

.about .card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.about .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.about .card h3 {
  color: #004080;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.about .card p {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

/* Explore Section */
.explore {
  padding: 4rem 1.5rem;
  background: #f8f9fc;
  text-align: center;
}

.explore .container {
  max-width: max-content;
  margin: 50 auto;
  border-radius: 12px;
}

.explore .title h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #004080;
}

.explore h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #fff;
}

.explore p {
  font-size: 1rem;
  text-align: left;
  margin-bottom: 1rem;
  color: #fff;
}

.explore ul {
  font-size: 1rem;
  text-align: left;
  margin-left: 10px;
  margin-bottom: 1rem;
  color: #fff;
}

.explore .intro {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #555;
}

/* Smooth Slide Transition */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease-out, padding 0.4s ease;
  visibility: hidden;
}

.accordion-content.open {
  max-height: 900px;
  visibility: visible;
  padding-top: 32px;
  padding-bottom: 32px;
}

.acc-symbol {
  transition: transform 0.3s ease;
  display: inline-block;
  margin-right: 10px;
}

.active .acc-symbol {
  transform: rotate(45deg);
}

/* Demo Section */
.overview {
  padding: 4rem 1.5rem;
  background: #f8f9fc;
  text-align: center;
}

.overview .container {
  max-width: max-content;
  text-align: center;
  margin: 50 auto;
  border-radius: 12px;
}

.overview h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #004080;
}

.overview p {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #fff;
}

.overview .intro {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #555;
}

/* YouTube Video Container */
.video-container {
  position: relative;
  padding-bottom: 45%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15%;
  width: 70%;
  height: 100%;
  border: none;
}

/* PDF Viewer Demo Section */
.pdf-container { text-align: center; }
.pdf-render { border: 1px solid #ccc; max-width: 80%; touch-action: none; }
.navigation { margin-top: 10px; }
.nav-button { padding: 6px 12px; margin: 0 5px; }
.download-btn {
  display: inline-block;
  padding: 6px 12px;
  margin-left: 10px;
  background: #0073e6;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}
.download-btn:hover {
  background: #005bb5;
}

/* Customers Section */
.customers {
  padding: 4rem 1.5rem;
  background: #ffffff;
  text-align: center;
}

.customers .container {
  max-width: 1100px;
  margin: 0 auto;
}

.customers h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #004080;
}

.customers .intro {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #555;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: #f8f9fc;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.testimonial .quote {
  font-style: italic;
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.testimonial .author {
  font-size: 0.95rem;
  color: #004080;
  font-weight: 500;
}

/* Pricing Section */
.price-feature {
  white-space: nowrap;
}

#mobile-price-essentials, #mobile-price-complete {
  display: none;
}

@media (max-width: 600px) {
  #mobile-price-essentials, #mobile-price-complete {
    display: block;
  }
  #price-feature-essentials, #price-feature-membership {
    display: none;
  }
}

/* Footer */
.site-footer {
  background: #07192c;
  color: #fff;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin: 1rem;
}

.footer-section h4 {
  color: #f67c32;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #f67c32;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #333;
}

/* Responsive nav */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: #f9f9f9;
    flex-direction: column;
    border: #000 1px solid;
    width: 200px;
    padding: 1rem;
    display: none;
  }
  .price-feature {
    display: none;
  }
  .nav-links.show {
    display: flex;
  }
  .price-feature.show {
    display: block;
  }
  .menu-toggle {
    display: block;
    color: #004080;
  }
}

/* Delayed Welcome Popup */
#popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

#popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 1000;
  width: 90%;
  max-width: 400px;
  animation: riseUp 0.5s ease-out forwards;
  font-family: sans-serif;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

@keyframes riseUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 10%) scale(0.7);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

#popup button {
  margin-top: 15px;
  padding: 10px 15px;
  background: #004080;
  color: #fff !important;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
