/* Google Fonts Import */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --primary: #47761E;
  --secondary: #395e18;
  --text: #ffffff;
  --text-dark: #222222; /* Darker for better contrast */
  --text-medium: #444444; /* Darker for better contrast */
  --font-family: "Inter", sans-serif;
  --line-height-normal: 1.6;
  --line-height-heading: 1.3;
  --letter-spacing-normal: 0;
  --letter-spacing-heading: -0.01em;
}

.page-content h1,
h2,
h3,
h4 {
  font-family: var(--font-family);
  background: linear-gradient(to right, var(--primary), var(--secondary) 100%);
  color: var(--text);
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 12px 18px;
  margin: 15px 0;
  border-radius: 6px;
  font-weight: 600;
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-heading);
}

.nostyle-heading {
  background: none !important;
  box-shadow: none !important;
  text-align: center;
}

.main-content h4 {
  background: none !important;
  box-shadow: none !important;
  text-align: center;
  color: #222;
}

body {
  margin: 0;
  font-family: var(--font-family);
  line-height: var(--line-height-normal);
  background-color: #f7f9fc;
  color: var(--text-dark);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

header {
  background: var(--primary);
  border-bottom: 1px solid var(--secondary);
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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;
  }

  .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-image-wrapper {
    max-width: 280px;
    aspect-ratio: 1/2;
    min-height: 200px;
  }

  .hero-image {
    aspect-ratio: 1/2;
    min-height: 200px;
  }
}

.hero {
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
}

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

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.hero-content h1 {
  color: white !important;
}

.hero-text {
  flex: 1;
  text-align: left;
}

.hero-title {
  font-family: var(--font-family);
  color: var(--text);
  font-size: 2.6rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: var(--letter-spacing-heading);
  text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
}

.hero-description {
  font-family: var(--font-family);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #eee; /* Lighter for better contrast */
  max-width: 600px;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
}

.hero-details {
  display: flex;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  backdrop-filter: blur(5px);
}

.hero-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-label {
  font-size: 0.9rem;
  font-weight: 600;
}

.detail-value {
  font-size: 0.9rem;
  color: white;
}

.hero-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 350px;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  transition: transform 0.3s ease-out;
}

.hero-image-wrapper:hover {
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) scale(1.02);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  max-width: 100%;
  max-height: 350px;
}

.image-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 2;
}

.verified-badge {
  position: absolute;
  top: 15px;
  right: -35px;
  background: linear-gradient(
    135deg,
    rgba(46, 204, 113, 0.9) 0%,
    rgba(39, 174, 96, 0.9) 100%
  );
  color: white;
  padding: 8px 30px;
  transform: rotate(45deg);
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.verified-badge svg {
  width: 12px;
  height: 12px;
  fill: white;
  flex-shrink: 0;
}

.download-btn {
  font-family: var(--font-family);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text);
  font-size: 1.1rem;
  padding: 1rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  /* box-shadow: 0 4px 15px rgba(15, 139, 195, 0.4); */
}

.download-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 139, 195, 0.5);
}

.download-btn:hover::after {
  opacity: 1;
}

.download-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(15, 139, 195, 0.4);
}

.mobile-wrapper {
  display: none;
}

/* Media queries for responsiveness */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .hero-text {
    text-align: center;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-cta {
    align-items: center;
  }

  .hero-image-wrapper {
    transform: perspective(1000px) rotateY(0) rotateX(5deg);
  }
  .mobile-wrapper {
    display: block;
  }
  .desktop-image-wrapper {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 2rem 1.5rem 4rem 1.5rem;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-image-wrapper {
    max-width: 280px;
  }

  .download-btn {
    width: auto;
    min-width: 200px;
    max-width: 80%;
    justify-content: center;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero-details {
    width: auto;
    max-width: 80%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-image-wrapper {
    max-width: 240px;
  }
}

/* Features Section Starts */

.features-section {
  background: linear-gradient(135deg, #f7fafc, #e6f7ff);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%230f8bc3' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM36 4V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.features-grid h2 {
  margin: 2rem auto 2.4rem auto;
  font-size: 1.6rem;
  padding: 6px 20px;
}

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

.feature {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(15, 139, 195, 0.03),
    rgba(14, 125, 176, 0.03)
  );
  z-index: -1;
  opacity: 0.5;
}

.feature-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(15, 139, 195, 0.1),
    rgba(14, 125, 176, 0.1)
  );
  position: relative;
  z-index: 1;
}

.feature-icon::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  z-index: -1;
  opacity: 0.2;
}

.feature-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.feature-text {
  flex: 1;
}

.feature-text p {
  color: var(--text-medium);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
  font-weight: 400;
}

.feature-text h3 {
  font-family: var(--font-family);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 0.8rem;
  letter-spacing: var(--letter-spacing-heading);
}

.feature-text h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 1.5px;
}

@media (max-width: 768px) {
  .features-section {
    padding: 3rem 1.5rem;
  }

  .features-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-content {
    padding: 1.5rem;
  }

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

/* Features Section Ends */

.main-content {
  max-width: 1280px;
  margin: 4rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 10px;
}

.main-content h1,
.main-content h2,
.main-content h3 {
  padding: 6px 20px;
}

.main-content h2 {
  font-size: 1.4rem;
}

.main-content h3 {
  font-size: 1.2rem;
}

.main-content p {
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.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;
  font-size: 1.4rem;
  padding: 6px 20px;
}

.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 {
  font-family: var(--font-family);
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: var(--text-dark);
  user-select: none;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
}

.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: var(--text-medium);
  line-height: 1.7;
  transition: height 0.3s ease-out;
  font-size: 0.95rem;
}

.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;

  font-size: 1.6rem;
}

.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: 2rem 2rem 0.8rem 2rem;
  margin-top: 0px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.footer-logo-img {
  max-width: 200px;
  margin-bottom: 20px;
}

.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: 2rem;
  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-family: var(--font-family);
  font-size: 2.5rem;
  color: var(--text-dark);
  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-family: var(--heading-font);
  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;
  color: var(--text-dark);
  font-size: 1rem;
}

/* 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: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-content h1 {
  margin-bottom: 30px;
  font-size: 1.6rem;
}

.content {
  border-radius: 1rem;
  background: #fff;
  padding: 2rem 2rem;
  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: var(--body-font);
}

.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 starts */
.screenshots-section {
  padding: 2rem 0 3rem 0;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.screenshots-section h2 {
  text-align: center;
  margin: 1.5rem auto 2rem auto;
  font-size: 1.6rem;
  padding: 6px 20px;
  max-width: 1280px;
}

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

/* Desktop grid view */
.screenshots-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.screenshot-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
  /* Remove fixed aspect ratio */
  height: 0;
  padding-bottom: 75%; /* Default padding that works for most images */
}

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

.screenshot-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain; /* Changed from cover to contain */
  background-color: #f8f8f8; /* Light background for transparent images */
}

.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: 1.5rem;
}

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

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

/* Mobile carousel view */
@media (max-width: 768px) {
  .screenshots-container {
    display: flex;
    overflow: hidden;
    gap: 0;
    height: auto;
    aspect-ratio: 4/3; /* More balanced aspect ratio */
    position: relative;
  }
  .screenshots-section h2 {
    max-width: 80%;
  }

  .screenshot-item {
    min-width: 100%;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s;
    padding: 0;
    height: 100%;
    transform: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
  }

  .screenshot-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 5;
  }

  .screenshot-item img {
    position: relative;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
  }

  .carousel-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.8);
  }

  .carousel-dots {
    display: flex;
    z-index: 10;
    margin-top: 1rem;
  }
}

/* For larger screens */
@media (min-width: 1200px) {
  .screenshots-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

/* For portrait orientation images */
@media (orientation: portrait) {
  .screenshots-container {
    aspect-ratio: 3/4;
  }
}

/* Screenshot Section ends */

.mt-20 {
  margin-top: 20px;
}

/* Table Design */
.table {
  background: linear-gradient(to bottom, #fff, #f9fbfe);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin: 40px auto;
  max-width: 1200px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.table::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 3px 3px 0 0;
}

.table table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 16px 20px;
  font-size: 1rem;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  text-align: left;
}

.table tr:last-child th,
.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover {
  background-color: rgba(15, 139, 195, 0.03);
}

.table th {
  font-weight: 600;
  color: var(--text-dark);
}

.table caption {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  text-align: center;
  font-family: var(--font-family);
  letter-spacing: var(--letter-spacing-heading);
}

.table a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.table a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .table {
    margin: 54px auto 30px auto;
    padding: 20px;
    border-radius: 12px;
    max-width: 90%;
  }

  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
    margin-bottom: 1rem;
  }
}

@media (max-width: 600px) {
  .table {
    padding: 15px 0;
    border-radius: 10px;
    width: 90%;
  }

  .table table {
    width: 100%;
    min-width: 100%;
  }

  .table th,
  .table td {
    font-size: 0.9rem;
    padding: 12px 20px;
    word-break: break-word;
  }

  .table caption {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  /* Force table to not be like tables on mobile */
  .table-mobile-stack table,
  .table-mobile-stack thead,
  .table-mobile-stack tbody,
  .table-mobile-stack th,
  .table-mobile-stack td,
  .table-mobile-stack tr {
    display: block;
  }

  /* Hide table headers on mobile stacked view */
  .table-mobile-stack thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .table-mobile-stack td {
    /* Make like a "row" */
    border: none;
    position: relative;
    padding-left: 50%;
    text-align: right;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .table-mobile-stack td:before {
    /* Label the data */
    content: attr(data-label);
    position: absolute;
    left: 12px;
    width: 45%;
    text-align: left;
    font-weight: 600;
  }

  .table-mobile-stack tr:last-child td:last-child {
    border-bottom: none;
  }
}

.download-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.download-btn-download-page {
  width: 200px;
  justify-content: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-heading-dldpage {
  margin-bottom: 0;
}


.video-container {
  max-width: 800px;
  margin: 0 auto;
  width: 90%;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
