:root {
  --primary: #0ea5e9;
  --primary-contrast: #ffffff;
  --bg: #ffffff;
  --text: #0f172a;

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
    padding: 8px 12px;
    background: rgba(240, 249, 255, 0.95);
    border-radius: 6px;
}

.logo-image {
    width: 45px;
    height: 45px;
    position: relative;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 500;
    color: #0091EA;
    white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: -0.3px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .logo-text {
        font-size: 18px;
    }
    .logo {
        gap: 8px;
        padding: 6px;
    }
    .logo img {
        width: 32px;
        height: 32px;
    }
}
  --muted: #64748b;
  --card: #f8fafc;
  --accent-green: #16a34a;
  --accent-red: #e84747;
  --accent-yellow: #f59e0b;
  --soft: #EDF9FB;
}

[data-theme="dark"] {
  --bg: #0b1220;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --card: #111827;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }


/* Mobile responsive */
@media (max-width: 640px) {
    .logo-text {
        font-size: 18px;
    }
    .logo img {
        width: 32px;
        height: 32px;
    }
}

.hamburger { display:none; }
@media (min-width: 901px) {
  .main-nav { display:flex !important; position: static !important; }
  .hamburger { display:none !important; }
}
@media (max-width: 900px) {
  .hamburger { display:inline-block; background: var(--card); border:1px solid #e5e7eb; border-radius:8px; padding:8px 10px; cursor:pointer; }
  .main-nav{ display: none;}
  .main-nav.open { display:flex; flex-direction:column; position:absolute; top:64px; left:0; right:0; background: var(--soft); padding:12px; border-bottom:1px solid #e5e7eb; }
  .search { display: none; }
  .header-actions { margin-left: auto; display: flex; align-items: center; }
  .header-actions .search { display: none; }
  /* Only show hamburger button on small screens */
  .header-actions {
    width: auto;
  }
  .header-actions form.search {
    display: none;
  }
}

/* Hide search form on small screens - only show logo and hamburger */
@media (max-width: 768px) {
  .header-actions .search {
    display: none !important;
  }
  .header-actions form.search {
    display: none !important;
  }
   .main-nav{ display: none;}
}

.container { width:90%;  margin: 0 auto; padding: 0 16px; }
.site-header { position: sticky; top:0; z-index:10; background: var(--soft); border-bottom: 1px solid #e5e7eb; }
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; height:64px; }
.logo { font-weight:700; color: var(--text); text-decoration:none; font-size: 1.2rem; }
.logo span { color: var(--primary); }
.main-nav { display:flex; gap:12px; }
.nav-link { color: var(--text); text-decoration:none; padding:8px 10px; border-radius:8px; font-size: 0.95rem; }
.nav-link.active, .nav-link:hover { background: var(--card); }
.header-actions { display:flex; align-items:center; gap:10px; }
.search input { padding:8px 10px; border:1px solid #e5e7eb; border-radius:8px; background: #fff; font-size: 0.9rem; }
.theme-toggle, .hamburger { background: var(--card); border:1px solid #e5e7eb; border-radius:8px; padding:8px 10px; cursor:pointer; }

/* Mobile navigation improvements */
@media (max-width: 768px) {
  .logo { font-size: 1.1rem; }
  .nav-link { font-size: 0.9rem; padding: 6px 8px; }
  .search input { padding: 6px 8px; font-size: 0.85rem; }
  .search { display: none; }
  .main-nav{ display: none;}
}

@media (max-width: 480px) {
  .header-inner { gap: 10px; height: 56px; }
  .logo { font-size: 1rem; }
  .nav-link { font-size: 0.85rem; padding: 5px 6px; }
  .search input { padding: 5px 6px; font-size: 0.8rem; }
  .theme-toggle, .hamburger { padding: 6px 8px; }
  .search { display: none; }
  .header-actions form.search {
    display: none;
  }
   .main-nav{ display: none;}
}

.site-main { padding: 24px 0; }
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background: linear-gradient(180deg, var(--soft), transparent);
  padding: 48px 32px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  margin-bottom: 32px;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: #1e293b;
  text-align: left;
}
.hero p {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 600px;
  text-align: left;
}
.hero-cta {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}
.hero-image-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  overflow: hidden;
  max-width: 420px;
  min-width: 320px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-image-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 24px 24px 0 0;
}
.hero-image-card .caption {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  background: rgba(30,41,59,0.7);
  padding: 16px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0 0 24px 24px;
  text-align: center;
}
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 12px;
    gap: 24px;
  }
  .hero-image-card {
    max-width: 100%;
    min-width: 0;
  }
  .hero h1, .hero p {
    text-align: left;
  }
  .header-actions .search {
    display: none;
  }
   .main-nav{ display: none;}
}

/* Additional responsive improvements for smaller screens */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }
  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }
  .hero-image-card, .slider {
    width: 100%;
  }
  .slider-images, .slider-img {
    height: 220px;
  }
   .main-nav{ display: none;}
}

.btn { display:inline-block; padding:10px 14px; border-radius:10px; border:1px solid #e5e7eb; text-decoration:none; color: var(--text); background: var(--card); }
.btn.primary { background: var(--primary); color: var(--primary-contrast); border-color: var(--primary); }
.badge { display:inline-block; font-size:12px; background: var(--soft); padding:4px 8px; border-radius:999px; }

.section { margin: 32px 0; }
.grid { display:grid; gap:16px; }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); }
.grid.two { grid-template-columns: repeat(2, 1fr); gap:12px; }

.card { background: var(--card); border:1px solid #e5e7eb; border-radius:12px; overflow:hidden; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.card img { width:100%; height:150px; object-fit:cover; display:block; }
.card-body { padding:12px; }

.download { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.service-card { background: var(--card); border:1px solid #e5e7eb; border-radius:12px; padding:16px; text-align:center; }
.service-card .icon { font-size:28px; }

/* Responsive improvements for cards and grids */
@media (max-width: 768px) {
  .grid.cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
  .card img { height: 140px; }
  .card-body { padding: 10px; }
  .download { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .service-card { padding: 14px; }
  .service-card .icon { font-size: 24px; }
   .main-nav{ display: none;}
}

@media (max-width: 480px) {
  .grid.cards { grid-template-columns: 1fr; }
  .card img { height: 180px; }
  .grid.two { grid-template-columns: 1fr; }
  .download { grid-template-columns: 1fr; }
   .main-nav{ display: none;}
}

.layout.two-col { display:grid; grid-template-columns: 260px 1fr; gap:20px; }
.layout.three-col {
  height: 100vh;
  overflow: hidden;
}
.content {
  height: 100vh;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.layout.three-col { display:grid; grid-template-columns: 240px 1fr 280px; gap:20px; align-items:start; }
.sidebar .widget { background: var(--card); border:1px solid #e5e7eb; border-radius:12px; padding:12px; margin-bottom:12px; }

.rightbar .widget { background: var(--card); border:1px solid #e5e7eb; border-radius:12px; padding:12px; margin-bottom:12px; }
.sidebar ul { list-style:none; margin:0; padding:0; }
.sidebar li { margin:6px 0; }
.content .pagination { display:flex; align-items:center; gap:12px; margin:16px 0; }
.ad-box { height:160px; border:1px dashed #cbd5e1; border-radius:12px; display:flex; align-items:center; justify-content:center; color: var(--muted); background:#fff; }

/* Responsive improvements for layout sections */
@media (max-width: 1100px) {
  .layout.three-col { grid-template-columns: 200px 1fr 240px; gap: 15px; }
  .sidebar .widget, .rightbar .widget { padding: 10px; }
}

@media (max-width: 950px) {
  .layout.two-col { grid-template-columns: 200px 1fr; gap: 15px; }
}

.post-header { text-align:center; margin-bottom:16px; }
.post-header .featured { width:100%; max-height:360px; object-fit:cover; border-radius:12px; }
.post-layout { display:grid; grid-template-columns: 220px 1fr 280px; gap:20px; }
.post .widget { background: var(--card); border:1px solid #e5e7eb; border-radius:12px; padding:12px; margin-bottom:12px; }
.comments { margin-top:24px; }
.comment-form input, .comment-form textarea { width:100%; padding:10px; border:1px solid #e5e7eb; border-radius:8px; margin:6px 0; background:#fff; }

.site-footer { margin-top:40px; background: var(--soft); border-top:1px solid #e5e7eb; }
.footer-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap:16px; padding:24px 0; }
.footer-grid h4 { margin:0 0 8px; }
.footer-grid ul { list-style:none; margin:0; padding:0; }
.footer-grid li { margin:6px 0; }
.newsletter input { padding:8px 10px; border:1px solid #e5e7eb; border-radius:8px; width:100%; margin-bottom:8px; background:#fff; }
.newsletter button { padding:8px 10px; background: var(--accent-green); color:#fff; border:none; border-radius:8px; cursor:pointer; }
.footer-bottom { border-top:1px solid #e5e7eb; padding:12px 0; text-align:center; font-size:14px; color: var(--muted); }

/* Responsive improvements for footer */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; padding: 20px 0; }
  .newsletter input { padding: 6px 8px; font-size: 0.9rem; }
  .newsletter button { padding: 6px 8px; font-size: 0.9rem; }
   .main-nav{ display: none;}
}

@media (max-width: 480px) {
  .site-footer { margin-top: 30px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid h4 { margin: 0 0 6px; }
  .footer-bottom { padding: 10px 0; font-size: 12px; }
   .main-nav{ display: none;}
}

/* Home widgets */
.list { list-style:none; margin:0; padding:0; }
.list .media { display:flex; gap:10px; align-items:center; margin:8px 0; }
.list .media img { width:44px; height:44px; object-fit:cover; border-radius:8px; }
.features { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature { background: var(--card); border:1px solid #e5e7eb; border-radius:12px; padding:14px; }
.videos { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.video-card { display:block; background: var(--card); border:1px solid #e5e7eb; border-radius:12px; overflow:hidden; text-decoration:none; color: var(--text); }
.video-card img { width:100%; height:140px; object-fit:cover; display:block; }
.video-title { padding:10px; }

.slider {
  position: relative;
  width: 420px;
  min-width: 320px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  overflow: hidden;
}
.slider-images {
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 24px;
  transition: opacity 0.4s;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(14,165,233,0.95);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 2;
  opacity: 0.92;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-btn:hover {
  background: #16a34a;
  box-shadow: 0 4px 16px rgba(0,0,0,0.16);
}
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }
.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 2;
}
.slider-dots .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #cbd5e1;
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.slider-dots .dot.active {
  background: #16a34a;
  border-color: #0ea5e9;
  transform: scale(1.2);
}
@media (max-width: 900px) {
  .slider {
    width: 100%;
    min-width: 0;
    height: auto;
  }
  .slider-images, .slider-img {
    height: 200px;
  }
  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
   .main-nav{ display: none;}
}

/* Additional slider responsive improvements */
@media (max-width: 768px) {
  .slider-images, .slider-img {
    height: 180px;
  }
  .slider-btn {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
  .slider-btn.prev { left: 10px; }
  .slider-btn.next { right: 10px; }
  .slider-dots { bottom: 12px; }
  .slider-dots .dot {
    width: 12px;
    height: 12px;
  }
   .main-nav{ display: none;}
}

@media (max-width: 480px) {
  .slider-images, .slider-img {
    height: 160px;
  }
  .slider-btn {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
  .slider-btn.prev { left: 8px; }
  .slider-btn.next { right: 8px; }
  .slider-dots { bottom: 10px; }
  .slider-dots .dot {
    width: 10px;
    height: 10px;
  }
   .main-nav{ display: none;}

}

.blog-controls {
  margin: 32px 0 24px 0;
  width: 100%;
  display: block;
}
.controls {
  width: 100%;
  display: flex;
  gap: 14px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 12px 20px;
  align-items: center;
  flex-wrap: wrap;
}
.controls input[type="search"],
.controls select {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s;
}
.controls input[type="search"]:focus {
  border-color: #0ea5e9;
  background: #f0f9ff;
}
.controls select:focus {
  border-color: #16a34a;
  background: #f0fdf4;
}
.controls .btn {
  flex: 0 0 auto;
  width: 100%;
  padding: 10px 18px;
  border-radius: 10px;
  background: #16a34a;
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.controls .btn:hover {
  background: #0ea5e9;
}

a {
  text-decoration: none;
}
a:hover, a:focus {
  text-decoration: none;
  /* Optionally, you can add a color or underline on hover if you want */
}


/* Responsive breakpoints */
@media (max-width: 1200px) {
  .container { width: 96%; }
  .layout.three-col { grid-template-columns: 220px 1fr 260px; }
}
@media (max-width: 1024px) {
  .layout.three-col { grid-template-columns: 200px 1fr 240px; }
  .hero h1 { font-size: 2.6rem; }
}
@media (max-width: 900px) {
  .hero { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero h1 { font-size: 2.3rem; }
  .hero p { font-size: 1.05rem; max-width: 100%; }
}
@media (max-width: 860px) {
  .layout.three-col { grid-template-columns: 1fr; }
  .layout.three-col { height: auto; overflow: visible; }
  .content { height: auto; overflow: visible; }
}
@media (max-width: 768px) {
  .grid.cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .features, .videos, .download { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .grid.two { grid-template-columns: 1fr; }
  .controls { padding: 10px 15px; }
  .controls input[type="search"],
  .controls select {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  .controls .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
   .main-nav{ display: none;}
}
@media (max-width: 600px) {
  .container { width: 100%; padding: 0 12px; }
  .slider-images, .slider-img { height: 200px; }
  .card img { height: 140px; }
  .header-inner { flex-direction: row; justify-content: space-between; height: auto; padding: 12px 0; gap: 12px; }
  .header-actions { width: auto; }
  .search { width: 100%; }
  .search input { width: 100%; }
  .hero { padding: 24px 12px; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.95rem; }
  .section { margin: 24px 0; }
  .grid { gap: 12px; }
  .card-body { padding: 10px; }
  .feature, .service-card { padding: 12px; }
  .footer-grid { gap: 12px; }
   .main-nav{ display: none;}
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 0.9rem; }
  .slider-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .slider-dots .dot {
    width: 12px;
    height: 12px;
  }
  .card img { height: 120px; }
  .form-row { flex-direction: column; gap: 10px; }
  .contact-card { padding: 20px 12px 16px 12px; }
  .contact-card h1 { font-size: 1.8rem; }
  .contact-desc { font-size: 0.95rem; margin-bottom: 20px; }
  .contact-form { gap: 14px; }
  .contact-form input,
  .contact-form textarea {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  .contact-form button {
    min-width: 100%;
    width: 100%;
  }
   .main-nav{ display: none;}
}
@media (max-width: 360px) {
  .download-container {
    gap: 12px;
  }
  
  .download-card {
    padding: 16px 10px;
  }
  
  .download-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  .download-btn {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  
  .features-container {
    gap: 12px;
  }
  
  .feature-card {
    padding: 14px;
  }
}

/* Download page specific styles */
.download-section {
  margin: 32px 0;
}

.download-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #1e293b;
  text-align: center;
}

.download-section p {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 32px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.download-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.download-card {
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.download-card svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  background: var(--primary);
  border-radius: 12px;
  padding: 12px;
  max-width: 100%;
  height: auto;
}

.download-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.download-card p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.6;
}

.download-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-contrast);
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--primary);
  transition: background 0.2s, transform 0.1s;
  margin-bottom: 16px;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.download-btn:hover {
  background: #0284c7;
  transform: translateY(-2px);
}

.version {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Features section styles */
.features-section {
  margin: 48px 0;
}

.features-section h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #1e293b;
  text-align: center;
}

.features-section p {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 32px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.feature-card {
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.feature-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-card p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Responsive styles for download page */
@media (max-width: 1024px) {
  .download-section h2 {
    font-size: 2.2rem;
  }
  
  .download-section p {
    font-size: 1.1rem;
  }
  
  .download-container {
    gap: 24px;
  }
  
  .download-card {
    padding: 28px 20px;
  }
  
  .features-section h3 {
    font-size: 1.8rem;
  }
  
  .features-section p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .download-section {
    margin: 24px 0;
  }
  
  .download-section h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  
  .download-section p {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  
  .download-container {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
  }
  
  .download-card {
    padding: 24px 16px;
  }
  
  .download-card svg {
    width: 40px;
    height: 40px;
    padding: 10px;
  }
  
  .download-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  
  .download-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  
  .features-section {
    margin: 32px 0;
  }
  
  .features-section h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  
  .features-section p {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
  
  .features-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .feature-card {
    padding: 20px;
  }
  
  .feature-card h4 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .download-section h2 {
    font-size: 1.6rem;
  }
  
  .download-section p {
    font-size: 0.9rem;
  }
  
  .download-card {
    padding: 20px 12px;
  }
  
  .download-card h4 {
    font-size: 1.2rem;
  }
  
  .download-card p {
    font-size: 0.9rem;
  }
  
  .download-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  
  .version {
    font-size: 0.8rem;
  }
  
  .features-section h3 {
    font-size: 1.3rem;
  }
  
  .features-section p {
    font-size: 0.9rem;
  }
  
  .feature-card {
    padding: 16px;
  }
  
  .feature-card h4 {
    font-size: 1rem;
  }
  
  .feature-card p {
    font-size: 0.9rem;
  }
}

/* Additional responsive enhancements for download page */
@media (max-width: 1200px) {
  .download-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .features-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 900px) {
  .download-section h2 {
    font-size: 2rem;
  }
  
  .download-section p {
    font-size: 1.05rem;
  }
  
  .features-section h3 {
    font-size: 1.7rem;
  }
}

@media (max-width: 600px) {
  .download-section h2 {
    font-size: 1.7rem;
  }
  
  .download-section p {
    font-size: 0.95rem;
  }
  
  .download-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .download-card svg {
    width: 36px;
    height: 36px;
    padding: 8px;
  }
  
  .download-card h4 {
    font-size: 1.25rem;
  }
  
  .download-card p {
    font-size: 0.9rem;
  }
  
  .features-section h3 {
    font-size: 1.4rem;
  }
  
  .features-container {
    grid-template-columns: 1fr;
  }
  
  .feature-card h4 {
    font-size: 1.05rem;
  }
}

@media (max-width: 400px) {
  .download-card {
    padding: 16px 12px;
  }
  
  .download-btn {
    width: 100%;
    text-align: center;
  }
}

/* Demo Video Page Styles */
.video-player-section {
  margin: 32px 0;
}

.video-container {
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.video-player {
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
              url('https://img.youtube.com/vi/dQw4w9WgXcQ/hqdefault.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  cursor: pointer;
}

.play-button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.play-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s;
}

.play-button:hover {
  transform: scale(1.05);
}

.video-placeholder h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.video-placeholder p {
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.9;
}

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

.video-playlist-section {
  margin: 48px 0;
}

.video-playlist-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.video-card {
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.2s;
}

.video-card:hover .play-overlay {
  opacity: 1;
}

.video-info {
  padding: 16px;
}

.video-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--text);
}

.video-info p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.lead {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 32px;
  text-align: center;
}

/* Responsive styles for video page */
@media (max-width: 1024px) {
  .video-playlist-section h2 {
    font-size: 1.8rem;
  }
  
  .video-placeholder h3 {
    font-size: 1.3rem;
  }
  
  .video-placeholder p {
    font-size: 1rem;
  }
  
  .video-info h4 {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .video-player-section {
    margin: 24px 0;
  }
  
  .video-placeholder h3 {
    font-size: 1.2rem;
  }
  
  .video-placeholder p {
    font-size: 0.95rem;
  }
  
  .play-button svg {
    width: 50px;
    height: 50px;
  }
  
  .video-playlist-section {
    margin: 32px 0;
  }
  
  .video-playlist-section h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .lead {
    font-size: 1.1rem;
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .video-placeholder h3 {
    font-size: 1.1rem;
  }
  
  .video-placeholder p {
    font-size: 0.9rem;
  }
  
  .play-button svg {
    width: 40px;
    height: 40px;
  }
  
  .video-playlist-section h2 {
    font-size: 1.4rem;
  }
  
  .video-info {
    padding: 12px;
  }
  
  .video-info h4 {
    font-size: 0.95rem;
  }
  
  .video-info p {
    font-size: 0.9rem;
  }
  
  .lead {
    font-size: 1rem;
  }
}

/* Admin & Auth Styles */
.auth {
  max-width: 420px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
}
.auth h1 { margin: 0 0 12px; }

.form label { display:block; margin-bottom:10px; }
.form label span { display:block; font-weight:600; margin-bottom:6px; color:#334155; }
.form input[type="text"],
.form input[type="password"],
.form input[type="date"],
.form input[type="url"],
.form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  font-size: 0.95rem;
}
.form textarea { resize: vertical; }
.form .form-actions { margin-top: 12px; display:flex; gap:10px; }
.form button,
.button {
  display:inline-block;
  padding:10px 14px;
  border-radius:10px;
  border:1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  cursor:pointer;
}
.button.danger { border-color: var(--accent-red); background: var(--accent-red); }

.alert {
  padding: 10px 12px;
  border-radius: 10px;
  margin: 10px 0 14px;
  border: 1px solid #e5e7eb;
}
.alert-error { background:#fee2e2; border-color:#ef4444; color:#991b1b; }
.alert-success { background:#dcfce7; border-color:#16a34a; color:#166534; }

.admin .admin-nav { display:flex; gap:10px; margin: 8px 0 16px; }
.admin .admin-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }

.table { width:100%; border-collapse: collapse; background: var(--card); border:1px solid #e5e7eb; border-radius:12px; overflow:hidden; }
.table th, .table td { text-align:left; padding:10px 12px; border-bottom:1px solid #e5e7eb; font-size: 0.95rem; }
.table thead th { background:#f1f5f9; font-weight:700; }
.table tr:hover { background:#f8fafc; }

@media (max-width: 640px) {
  .table thead { display:none; }
  .table, .table tbody, .table tr, .table td { display:block; width:100%; }
  .table tr { margin-bottom:12px; border:1px solid #e5e7eb; border-radius:10px; overflow:hidden; }
  .table td { border-bottom:1px solid #e5e7eb; }
}

.admin-cards { display:grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap:12px; }
.admin-cards .card { padding:16px; text-align:center; }

@media (max-width: 480px) {
  .pdf-viewer {
    height: 300px;
  }
  
  .pdf-viewer-container {
    margin: 16px 0;
  }
}

/* Contact Floating Button & Modal */
.wa-float-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1002;
  background: linear-gradient(135deg, #16a34a 0%, #0ea5e9 100%);
  border: none;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  box-shadow: 0 4px 24px rgba(14,165,233,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.wa-float-btn:hover {
  box-shadow: 0 8px 32px rgba(14,165,233,0.28);
  transform: scale(1.07);
}
.wa-float-btn svg { width: 38px; height: 38px; }

.wa-modal {
  position: fixed;
  z-index: 1003;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(30,41,59,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.wa-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(14,165,233,0.12);
  padding: 32px 28px 24px 28px;
  min-width: 320px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  text-align: left;
}
.wa-modal-content h3 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #0ea5e9;
  margin-bottom: 18px;
  font-weight: 700;
}
.wa-list { display: flex; flex-direction: column; gap: 18px; }
.wa-section { margin-bottom: 8px; }
.wa-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.wa-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.wa-country {
  font-size: 0.95rem;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 2px 8px;
  margin-right: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.wa-country.np { background: #e0f2fe; color: #0ea5e9; }
.wa-item a {
  color: #16a34a;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.wa-item a:hover {
  color: #0ea5e9;
  text-decoration: underline;
}
.wa-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #64748b;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 1;
}
.wa-modal-close:hover { color: #e84747; }

@media (max-width: 600px) {
  .wa-modal-content {
    min-width: 0;
    width: 98vw;
    padding: 18px 6px 12px 6px;
  }
  .wa-float-btn {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
  .wa-float-btn svg { width: 28px; height: 28px; }
}
