:root {
  --primary: #2b533d;
  --secondary: #456c57;
  --text: #ffffff;
}


body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  background-color: #f7f9fc;
}

header {
  background: #303733;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 99;
  width: 100%;
  position: fixed
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 0;
}

.logo {
  width: 150px;
  height: auto;
}

.logo:hover {
  opacity: 0.9;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 90;
}

.mobile-menu-overlay.active {
  display: block;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem !important;
  }

  nav {
    padding: 2px 0;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 90;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 200px;
    background-color: var(--primary);
    flex-direction: column;
    padding: 70px 1.5rem 2rem;
    transition: right 0.3s ease-in-out;
    gap: 0;
    z-index: 95;
  }

  .mobile-nav-toggle {
    z-index: 100;
    margin-right: 20px;
  }

  .nav-links li {
    width: 100%;
    margin-bottom: 0;
    position: relative;
  }

  .nav-links li:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .nav-links a {
    width: 100%;
    padding: 1rem 0;
    justify-content: flex-start;
  }

  .nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 0.5rem;
    transition: all 0.2s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

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

  .mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}
.hero {
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  padding: 4rem 2rem;
  text-align: center;
  color: white;
  position: relative;
  padding-bottom: 60px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
}

.hero-image-wrapper {
  width: 80%;
  max-width: 280px;
  aspect-ratio: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.download-btn {
  background: var(--primary);
  color: var(--text);
  font-size: 1.2rem;
  padding: 1rem 1.8rem;
  margin-top: 8px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.download-btn:hover {
  background: var(--secondary);
}

.download-icon {
  width: 20px;
  height: 20px;
}

.features-section {
  background: linear-gradient(135deg, #ffffff, #f0f4f8);
  padding: 2rem 0;
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.features-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.features-grid h2 {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 0;
  background: linear-gradient(338deg, var(--primary) 70%, var(--secondary) 50%);
  color: var(--text);
  font-size: 1.6rem;
  padding: 6px 20px;
  border-radius: 10px;
}

.feature {
  background: #ffffff;
  border-radius: 20px;
  padding: 3.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.12);
}

.feature-content {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-icon {
  background: linear-gradient(135deg, #f8fafc, #edf2f7);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.feature-icon img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
}

.feature-text {
  flex: 1;
}

.feature-text h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #0f172a;
}

.feature-text p {
  margin: 0;
  line-height: 1.8;
  font-size: 1.125rem;
  color: #475569;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .features-section {
    padding: 2rem 1.5rem;
  }

  .features-grid {
    gap: 2rem;
  }

  .feature {
    padding: 2rem;
  }

  .feature:hover {
    transform: none;
  }

  .feature-content {
    flex-direction: column;
    text-align: left;
    gap: 2rem;
  }

  .feature-icon {
    margin: 0 auto;
    padding: 1.25rem;
  }

  .feature-text h3 {
    font-size: 1.5rem;
  }

  .feature-text p {
    font-size: 1rem;
    text-align: left;
  }
}

@media (min-width: 769px) and (max-width: 1280px) {
  .features-section {
    padding: 6rem 2rem;
  }

  .feature {
    padding: 3rem;
  }
}

.main-content {
  max-width: 1280px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.main-content h1,
.main-content h2,
.main-content h3 {
  background: linear-gradient(338deg, var(--primary) 70%, var(--secondary) 50%);
  color: var(--text);
  padding: 6px 20px;
  border-radius: 10px;
}

.faqs-section {
  max-width: 1280px;
  background-color: #ffffff;
  margin: 1rem auto 2rem auto;
  padding: 2rem 2rem 4rem 2rem;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.faqs-section .faqs-grid {
  max-width: 1280px;
  margin: 0 auto;
}

.faqs-section h4 {
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 700;
  background: linear-gradient(338deg, var(--primary) 70%, var(--secondary) 50%);
  color: var(--text);
  font-size: 1.6rem;
  padding: 6px 20px;
  border-radius: 10px;
}

.faqs-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.faq-item:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: #374151;
  user-select: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: #6b7280;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: #6b7280;
  line-height: 1.6;
  transition: height 0.3s ease-out;
}

.faq-answer-content {
  padding-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .faqs-section {
    margin: 3rem auto;
  }

  .faqs-section,
  .latest-blogs-section {
    padding: 2rem 1.5rem;
  }

  .faqs-section h2 {
    font-size: 2rem;
  }

  .faq-question {
    padding: 1.25rem;
  }
}

.latest-blogs-section {
  background: linear-gradient(135deg, #f7f9fc, #edf2f7);
  padding: 2rem 2rem 4rem 2rem;
  max-width: 100%;
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.latest-blogs-section .blog-grid a {
  text-decoration: none;
  color: currentColor;
}

.latest-blogs-section .blog-grid {
  max-width: 1280px;
  margin: 3rem auto 0;
}

.latest-blogs-section h4 {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(338deg, var(--primary) 70%, var(--secondary) 50%);
  color: var(--text);
  font-size: 1.6rem;
  padding: 6px 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.blog-grid a {
  text-decoration: none;
  color: currentColor;
}

.view-all {
  text-align: center;
  margin-top: 3rem;
}

.view-all-blogs {
  background: var(--secondary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  padding: 1rem 2.5rem;
  font-weight: 600;
}

footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 0.8rem 2rem;
  margin-top: 0;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  color: var(--text);
  max-width: 1280px;
  margin: 0px auto 2rem auto;
}

.footer-links a {
  color: var(--text);
}

.footer-copyright p {
  color: var(--text);
}

@media (max-width: 768px) {
  .footer-links {
    gap: 1rem;
  }
}

/* download page starts */
.download-info {
  margin: 1.5rem 0;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  border-radius: 8px;
  display: inline-flex;
  gap: 2rem;
}

.version-info,
.file-info {
  color: white;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.download-content {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .download-info {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
  }
}
/* download page ends */

/* blogs list starts */
.blog-list-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Page header section */
.page-header {
  margin-bottom: 3rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  color: #2d3748;
  line-height: 1.2;
  margin: 0;
}

@media (max-width: 768px) {
  .blog-list-page {
    padding: 1.5rem 1rem;
  }

  .page-header {
    margin-bottom: 2rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }
}

.blog-list-img {
  width: auto;
  height: 200px;
  max-width: 100%;
}

/* blogs list ends */

/* single blog page starts */

/* Blog post main container */
.blog-post {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.blog-post article {
  background: white;
  padding: 2rem 0;
}

/* Article header */
.post-header {
  margin-bottom: 2rem;
  text-align: center;
  padding: 4px 0;
}

.post-header h1 {
  font-size: 2rem;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* Post featured image */
.post-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-image {
  width: auto;
  height: 250px;
  margin-bottom: 2rem;
  max-width: 90%;
}

/* Post content */
.post-content {
  margin: 0 auto;
  line-height: 1.8;
  padding: 0 2rem;
}

/* Style headings within content */
.post-content h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
}

.post-content h3 {
  font-size: 1.5rem;
  margin: 1.8rem 0 0.8rem;
}

/* Style paragraphs within content */
.post-content p {
  margin-bottom: 1.5rem;
}

/* Post navigation */
.post-navigation {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.back-to-blog {
  display: inline-block;
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.back-to-blog:hover {
  color: #2d3748;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-post {
    padding: 1.5rem 1rem;
  }

  .post-header h1 {
    font-size: 2rem;
  }

  .post-image {
    max-height: 400px;
  }

  .post-content {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .post-header h1 {
    font-size: 1.75rem;
  }

  .post-image {
    max-height: 300px;
  }

  .post-content h2 {
    font-size: 1.5rem;
  }

  .post-content h3 {
    font-size: 1.25rem;
  }
}

/* single blog page ends */

/* single page starts */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.page-content h1 {
  margin-bottom: 30px;
  text-align: center;
  background: linear-gradient(338deg, var(--primary) 70%, var(--secondary) 50%);
  color: var(--text);
  font-size: 1.6rem;
  padding: 6px 20px;
  border-radius: 10px;
}

.content {
  border-radius: 1rem;
  background: #fff;
  padding: 2rem 2.4rem;
  line-height: 1.6;
}

.content p {
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .page-content {
    padding: 15px;
  }
}
/* single page ends */

.language-switcher {
  margin-top: 1.6rem;
  position: relative;
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
}

.language-switcher select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 8px 36px 8px 16px;
  font-size: 14px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background-color: white;
  cursor: pointer;
  color: #333;
  min-width: 160px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.language-switcher::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #666;
  pointer-events: none;
}

.language-switcher select:hover {
  border-color: #d0d0d0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-switcher select:focus {
  outline: none;
  border-color: #2196f3;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.15);
}

.language-switcher select:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.language-switcher select option {
  padding: 8px;
  font-size: 14px;
}

/* screenshots section */

.screenshots-section {
  padding: 2rem 2rem 4rem 2rem;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.screenshots-section h2 {
  text-align: center;
  margin: 2rem auto 2.4rem auto;
  background: linear-gradient(338deg, var(--primary) 70%, var(--secondary) 50%);
  color: var(--text);
  font-size: 1.6rem;
  padding: 6px 20px;
  border-radius: 10px;
  max-width: 1248px;
}

.screenshots-carousel {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

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

.screenshot-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.screenshot-item:hover {
  transform: translateY(-5px);
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-button {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
  padding: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.carousel-button:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.arrow-icon {
  width: 24px;
  height: 24px;
}

.carousel-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #666;
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .screenshots-container {
    display: flex;
    position: relative;
    overflow: hidden;
    gap: 0;
    min-height: 300px; /* Adjust based on your needs */
  }

  .screenshot-item {
    min-width: 100%;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s;
    margin: 0;
    transform: none;
  }

  .screenshot-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
  }

  .carousel-button {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carousel-dots {
    display: flex;
  }

  .screenshots-section {
    padding: 2rem 1rem;
  }
}
