body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background: #0F1126;
  color: white;
  text-align: center;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: black;
  color: white;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
}
.logo {
  height: 10px;
  right:10px;
  border-radius: 100px;
}
.logo-header {
  background-color: black;
  text-align: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10%;
  animation: fadeInHeader 1.5s ease-in-out forwards;
}

.brand-logo {
  width: 55%;
  height: 2%;
}

.openbtn {
  font-size: 2rem;
  cursor: pointer;
  color: white;
  font-weight: bold;
  background: linear-gradient(135deg, #4db8ff, #5a0bb4, #962d8a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  border: none;
  outline: none;
  position: relative;
  z-index: 3000; /* Make sure it stays above content */
}

/* Sidebar Base */
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  background-color: #0c0c18;
  overflow-x: hidden;
  transition: 0.4s ease;
  padding-top: 60px;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.5);
}

/* Sidebar open state - controlled via JS */
.sidebar.open {
  width: 240px;
}

/* Sidebar links */
.sidebar a {
  
  padding: 14px 28px;
  text-decoration: none;
  font-size: 1.1rem;
  color: #00f0ff;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s ease, color 0.2s ease;
  font-weight: 600;
  border-radius: 8px;
}

.sidebar a:hover {
  background: rgba(0, 255, 255, 0.1);
  color: #ffffff;
}

/* Close button (X) */
.sidebar .closebtn {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.sidebar .closebtn:hover {
  transform: rotate(90deg);
}
.cresqr-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 16px 20px;
}

.cresqr-logo {
  height: 140px;
  max-width: 100%;
  object-fit: contain;
}
.cresqr-tagline {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.4px;
  line-height: 1.6;
  text-align: center;
  max-width: 600px;
}

/* Cursor */
.cresqr-tagline::after {
  content: "|";
  margin-left: 4px;
  animation: blink 1s infinite;
}

.cresqr-tagline.done::after {
  display: none;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

.cresqr-row {
  display: flex;
  flex-direction: row;      /* row on tab & desktop */
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 20px;
  flex-wrap: nowrap;        /* NO wrap by default */
}

/* Mobile only */
@media (max-width: 600px) {
  .cresqr-row {
    flex-wrap: wrap;        /* wrap only on mobile */
  }
}

.responsive-video {
  position: relative;
  width: 100%;          /* full width on small screens */
  max-width: 500px;     /* max width on larger screens */
  height: 0;            /* height controlled by padding for 16:9 */
  padding-top: 56.25%;  /* 16:9 aspect ratio */
  margin: 0 auto;       /* center horizontally */
}

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

/* Optional: For very large screens, fix width so it doesn't get too big */
@media(min-width: 768px) {
  .responsive-video {
    width: 500px;       /* fixed width on large screens */
    padding-top: calc(500px * 9 / 16); /* exact 16:9 height */
  }
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1c1c2e;
  padding: 20px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  width: 90%;         
  margin: 20px auto;  
  max-width: 900px;
  padding: 0 1rem;  
}

input, button {
  width: 95%;
  margin: 10px 0;
  padding: 10px;
  border-radius: 6px;
  border: none;
}

button {
  background: #6a0dad;
  color: white;
  cursor: pointer;
  font-weight: bold;
  max-width: 300px;
}
button:hover { background: #8a2be2; }

.themes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Mobile only */
@media (max-width: 600px) {
  .themes {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 per row */
    gap: 10px;
  }

  .themes br {
    display: none; /* remove forced break */
  }
}
.theme {
  padding: 10px;
  cursor: pointer;
  border-radius: 6px;
  font-weight: bold;
  color: white;
}
.theme.selected { border: 2px solid white; 
  
}

/* Custom theme card */
.theme.custom {
  color: white;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.theme.custom:hover {
  border-color: #000;
  transform: translateY(-2px);
}

/* Selected state */
.theme.custom.selected {
  border: 2px solid white; 
}

/* Picker container */
#customThemePickers {
  display: flex;
  gap: 16px;
  padding: 14px;
  margin-top: 12px;
  border-radius: 14px;
  background: #fafafa;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  animation: fadeSlide 0.25s ease;
}

/* Label styling */
#customThemePickers label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

/* Modern color input */
#customThemePickers input[type="color"] {
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: none;
}

/* Smooth entrance */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile polish */
@media (max-width: 600px) {
  #customThemePickers {
    flex-direction: column;
    gap: 12px;
  }
}
#qrcode {
  margin: 20px auto;
}

.logo-customization {
  text-align: left;
  margin: 15px 0;
  background: #2a2a40;
  padding: 10px;
  border-radius: 8px;
  max-width: 300px;
}

.error-box {
  margin-top: 10px;
  padding: 10px;
  background: #f44336;
  color: white;
  border-radius: 6px;
  font-size: 14px;
}

.download-buttons {
  display: flex;
  flex-direction: row;     /* force single row */
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;       /* NO wrapping */
}

/* Optional: Blur overlay when sidebar open */
body.sidebar-open::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(1px);
  z-index: 1000;
}
/* Modal background */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6); /* Dark overlay */
  backdrop-filter: blur(2px);
  transition: 0.3s ease;
}

/* Modal content box */
.modal-content {
  background-color: #1a1a2e;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  color: #fff;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Close button */
.close-modal {
  color: #fff;
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
}

.close-modal:hover {
  color: #00ffff;
}
/* Modal background */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6); /* Dark overlay */
  backdrop-filter: blur(2px);
  transition: 0.3s ease;
}

/* Modal content box */
.modal-content {
  background-color: #161625; /* dark minimal background */
  padding: 28px 24px;
  border-radius: 16px;
  width: 90%;
  max-width: 1000px;
  color: #f0f0f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  text-align: left;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Close button */
.close-modal {
  color: #fff;
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
}

.close-modal:hover {
  color: #00ffff;
}

/* Instructions button */
.instructions-btn {
  margin: 15px 0;
  padding: 10px 20px;
  background-color: #6a0dad;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width:50%;
}

.instructions-btn:hover {
  background-color: #8a2be2;
}.service-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 50px 20px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  width: 95%;         
  margin: 20px auto;  
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.2);
}

.service-item i {
  font-size: 1.5rem;
  margin-right: 10px;
  color: #4db8ff;
}
.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.service-card {
  background: #1b1b1b;
  border-radius: 15px;
  padding: 1.5rem;
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.5);
}
.service-card img.card-img {
  height: 150px;
  margin-bottom: 1rem;
}
.service-card i.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #00ffff;
}
.service-card h3 {
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.9rem;
  line-height: 1.4;
}
.cta-button {
  background: linear-gradient(to right, #3b82f6, #9333ea); /* Or your gradient */
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
  max-width: 50%;
  align-self: center;
}

.cta-button:hover {
  background-color: #3a56a0;
}
.cta-button i {
 color: blueviolet;  
}
.footer-container {
  background-color: #111;
  color: #fff;
  padding: 50px 40px; /* more padding on sides */
  font-family: Arial, sans-serif;
  text-align: left; /* left-align all text by default */
}

/* About Row */
.footer-about {
  max-width: 1000px;
  margin-bottom: 40px;
}

.footer-about h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-about p {
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Links Row */
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: flex-start; /* align columns to the left */
  margin-bottom: 30px;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  margin: 5px 0;
  color: #fff;
  text-decoration: none;
}

.footer-column a:hover {
  color: #00bfff;
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center; /* align social icons left */
  gap: 15px;
  margin-bottom: 20px;
}

.social-icons a {
  color: #fff;
  font-size: 1.3rem;
}

.social-icons a:hover {
  color: #00bfff;
}

/* Footer Note */
.footer-note {
  font-size: 0.85rem;
  color: #bbb;
  justify-content: center; 
}

.credits {
  color: #bbb;
  text-decoration: underline;
}
.featured-card {
  padding: 16px 12px;
  background: transparent;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Title */
.featured-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: white;
}

.featured-title i {
  color: #2563eb;
}

/* Logos container */
.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Logo images */
.logos img {
  height: 48px;
  width: auto;
  max-width: 100%;
  transition: transform 0.2s ease;
}

.logos img:hover {
  transform: scale(1.05);
}

/* 📱 Mobile */
@media (max-width: 640px) {
  .featured-title {
    font-size: 13px;
  }

  .logos img {
    height: 40px;
  }
}

/* 💻 Large screens */
@media (min-width: 1024px) {
  .logos img {
    height: 52px;
  }
}
/* Blog Cards Container */
/* --- Variables for Easy Theming --- */
:root {
  --bg-dark: #121212;
  --card-bg: rgba(255, 255, 255, 0.03);
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --accent-color: #00bfff;
  --shadow: rgba(0, 0, 0, 0.4);
  --border-radius: 12px;
  --transition: 0.3s ease;
}

/* --- Blog Container --- */
.blog-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
  font-family: 'Roboto', sans-serif;
  color: var(--text-primary);
}


/* --- Blog Card --- */
.blog-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: 0 6px 20px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.2);
}

/* --- Image + Heading Row --- */
.blog-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.blog-card-img {
  width: 30%;
  border-radius: var(--border-radius);
  object-fit: cover;
}

.blog-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  flex: 1;
  line-height: 1.2;
}

/* --- Meta Info --- */
.blog-card-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* --- Summary --- */
.blog-card-summary {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* --- Read More Button --- */
.read-more {
  display: inline-block;
  font-weight: 600;
  color: var(--accent-color);
  background: none;
  border: 1px solid var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
}

.read-more:hover {
  background: var(--accent-color);
  color: var(--bg-dark);
}
