/* Base Reset */
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: 'Rajdhani', sans-serif;
  background: linear-gradient(135deg, #0f0f1a, #1a1a2e);
  color: #fff;
  line-height: 1.5;
}

/* Navbar */
.navbar {
  display:flex; justify-content:space-between; align-items:center;
  padding:1rem 2rem; background: rgba(20,20,40,0.9); backdrop-filter: blur(10px);
  position: sticky; top:0; z-index:100;
}

.navbar .logo { font-weight:bold; font-size:1.8rem; color:#00ffcc; }

.navbar .logo {
  display: flex;       /* allows alignment */
  align-items: center; /* vertical center */
}

.navbar .logo a {
  display: flex;             /* align image + text in one row */
  align-items: center;       /* vertical center */
  gap: 0.5rem;               /* space between image and text */
  text-decoration: none;     /* remove underline */
}

.navbar .logo img {
  display: block;            /* remove inline spacing issues */
  height: 50px;              /* adjust as needed */
  width: auto;
}

/* Optional: hide text if you want only the image */
.navbar .logo span {
  font-weight: bold;
  font-size: 1.8rem;
  color: #00ffcc;
  line-height: 1;            /* very important to align with image */
  display: inline-block;     /* ensures proper alignment */
  vertical-align: middle;    /* aligns with the image */
}

@media (max-width: 768px) {
  .navbar .logo img {
    height: 40px;
  }

  .navbar .logo span {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .navbar .logo img {
    height: 35px;
  }

  .navbar .logo span {
    font-size: 1.2rem;
  }
}

.navbar ul { display:flex; list-style:none; gap:1rem; align-items:center; }
.navbar a { text-decoration:none; color:#fff; padding:0.5rem 1rem; transition:0.3s; }
.navbar a:hover { color:#00ffcc; }
.navbar a.login-btn { background:#00ffcc; color:#0f0f1a; border-radius:5px; transition:0.3s; }
.navbar a.login-btn:hover { background:#00e6b8; color:#fff; }

/* Hamburger for mobile */
.hamburger { display:none; font-size:2rem; cursor:pointer; color:#00ffcc; }

/* Hero Section */
.hero {
  display:flex; justify-content:space-between; align-items:center; padding:4rem 2rem; gap:2rem;
  max-width:1200px; margin:0 auto;
}

.hero-text { flex:1 1 500px; }
.hero-text h1, section h2 {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
}

.hero-text p { font-size:1.2rem; color:#ccc; margin-bottom:2rem; }
.hero-buttons { display:flex; gap:1rem; flex-wrap:wrap; }
/* Buttons */
.btn {
  text-decoration: none;
  padding: 0.6rem 1.5rem; /* slightly smaller padding for desktop */
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;  /* reduce font size */
  max-width: 200px; /* prevent stretching too wide */
  display: inline-block;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn.primary { background: #00ffcc; color: #0f0f1a; }
.btn.primary:hover { background: #00e6b8; color: #fff; transform: translateY(-2px) scale(1.02); }
.btn.secondary { background: transparent; border: 2px solid #00ffcc; color: #00ffcc; margin-top: 1rem; }
.btn.secondary:hover { background: #00ffcc; color: #0f0f1a; transform: translateY(-2px) scale(1.02); }

/* Mobile: make buttons full width */
@media(max-width: 480px){
  .btn { width: 100%; max-width: 100%; font-size: 0.95rem; padding: 0.7rem 1rem; }
}

.hero-image { flex:1 1 100%; text-align:center;position: relative;   /* allows positioning watermark inside */
  display: inline-block; }
.hero-image img { max-width:100%; height:auto; display: block;    /* Remove any inline spacing */
  margin: 0 auto; }
.hero-image img,
.hero-image svg {
  width: 100%;       /* Fill parent container */
  max-width: 100%;   /* Prevent overflow */
  height: auto;      /* Maintain aspect ratio */
  display: block;
  margin: 0 auto;
}
.hero-image .watermark {
  position: absolute;
  top: 10px;             /* distance from top */
  left: 10px;            /* distance from left */
  font-size: 4rem;       /* adjust size */
  font-weight: bold;
  color: rgba(0, 255, 204, 0.2); /* semi-transparent neon */
  pointer-events: none;  /* allows clicks through watermark */
  user-select: none;     /* prevents text selection */
  z-index: 10;           /* on top of image */
}

/* Section common styles */
section { max-width:1200px; margin:0 auto; padding:4rem 2rem; }
section h2 { text-align:center; font-size:2.5rem; margin-bottom:2rem; color:#00ffcc; }

/* Grid layout for features, steps, testimonials */
.features .feature-grid,
.how-it-works .steps,
.testimonials .testimonial-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap:2rem;
}

.feature-box, .step, .testimonial {
  background: rgba(255,255,255,0.05); border:1px solid rgba(0,255,204,0.3);
  backdrop-filter: blur(10px); padding:2rem; border-radius:15px; text-align:center; transition:0.3s;
}
.feature-box:hover, .step:hover, .testimonial:hover { transform:translateY(-5px); border-color:#00ffcc; }

/* Footer */
footer { background:#0f0f1a; padding:2rem; text-align:center; display:flex; flex-direction:column; gap:1rem; align-items:center; }
.footer-links a { margin:0 0.5rem; color:#fff; text-decoration:none; }
.footer-links a:hover { color:#00ffcc; }
.social-icons span { margin:0 0.5rem; }

/* Mobile */
@media(max-width:768px) {
  .hamburger { display:block; }
  #nav-links { display:none; width:100%; }
  #nav-links.active { display:block; }
  #nav-links ul { flex-direction:column; background: rgba(20,20,40,0.95); padding:1rem 0; }
  #nav-links ul li { margin:0.5rem 0; text-align:center; }
  .hero { flex-direction:column; text-align:center; }
  .hero-text { text-align:center; }
  .hero-buttons { justify-content:center; }
}

/* Small mobile */
@media(max-width:480px){
  .hero-text h1 { font-size:2rem; }
  .hero-text p { font-size:1rem; }
  .btn { width:100%; margin-bottom:0.5rem; }
  .features .feature-grid, .how-it-works .steps, .testimonials .testimonial-grid { grid-template-columns:1fr; }
}


/* ================== */
/* Hero Section Animation */
.hero-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.3s;
}

.hero-text p {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.5s;
}

.hero-buttons .btn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.7s;
}

/* Cards Animation */
.feature-box, .step, .testimonial {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

.feature-box:nth-child(1) { animation-delay: 0.2s; }
.feature-box:nth-child(2) { animation-delay: 0.4s; }
.feature-box:nth-child(3) { animation-delay: 0.6s; }
.feature-box:nth-child(4) { animation-delay: 0.8s; }

.step:nth-child(1) { animation-delay: 0.2s; }
.step:nth-child(2) { animation-delay: 0.4s; }
.step:nth-child(3) { animation-delay: 0.6s; }
.step:nth-child(4) { animation-delay: 0.8s; }

.testimonial:nth-child(1) { animation-delay: 0.2s; }
.testimonial:nth-child(2) { animation-delay: 0.4s; }

/* Keyframes */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover effects for modern crypto feel */
.feature-box:hover, .step:hover, .testimonial:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: #00ffcc;
  box-shadow: 0 10px 20px rgba(0,255,204,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn.primary:hover, .btn.secondary:hover {
  box-shadow: 0 0 15px #00ffcc;
  transform: translateY(-2px) scale(1.02);
}

/* Navbar link hover animation */
.navbar a {
  position: relative;
  transition: color 0.3s;
}

.navbar a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #00ffcc;
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

.navbar a:hover::after {
  width: 100%;
}


/* Services Section */
.services {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,255,204,0.3);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.6s; }
.service-card:nth-child(4) { animation-delay: 0.8s; }
.service-card:nth-child(5) { animation-delay: 1s; }

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: #00ffcc;
  box-shadow: 0 10px 20px rgba(0,255,204,0.3);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #00ffcc;
}

/* Reuse fadeInUp animation from previous CSS */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media(max-width:768px){
  .service-grid { grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); }
}
@media(max-width:480px){
  .service-card { padding: 1.5rem; }
}


/* =========================
   CONTACT PAGE
========================= */

.contact-hero {
  text-align: center;
  padding: 4rem 1.5rem 2rem;
}

.contact-hero h1 {
  font-size: 2.5rem;
  color: #00ffcc;
  margin-bottom: 0.5rem;
}

.contact-hero p {
  color: #cfd8dc;
  font-size: 1.1rem;
}

/* Layout */
.contact-content {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

/* Form Card */
.contact-form {
  background: #0b0f1a;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(0, 255, 204, 0.08);
}

.contact-form h2 {
  margin-bottom: 1.5rem;
  color: #fff;
}

/* Form Grid */
.contact-form form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Inputs */
.contact-form input,
.contact-form textarea {
  padding: 1rem 1.2rem;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #11162a;
  color: #fff;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

/* Side-by-side fields */
.contact-form input[type="text"]:first-child,
.contact-form input[type="email"] {
  grid-column: span 1;
}

/* Full width fields */
.contact-form textarea,
.contact-form button {
  grid-column: span 2;
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

/* Focus animation */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00ffcc;
  box-shadow: 0 0 0 2px rgba(0, 255, 204, 0.2);
}

/* Button */
.contact-form button {
  padding: 0.9rem;
  font-size: 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #00ffcc, #00c6ff);
  color: #000;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 255, 204, 0.4);
}

/* Contact Info Card */
.contact-info {
  background: #0b0f1a;
  padding: 2.5rem;
  border-radius: 16px;
  color: #cfd8dc;
  box-shadow: 0 0 40px rgba(0, 255, 204, 0.05);
}

.contact-info h2 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin: 1.2rem 0;
  font-size: 1rem;
}

/* CTA Section */
.contact-cta {
  text-align: center;
  padding: 4rem 1.5rem;
}

.contact-cta h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.contact-cta p {
  color: #cfd8dc;
  margin-bottom: 1.5rem;
}

.contact-cta .btn {
  margin: 0 0.5rem;
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-form form {
    grid-template-columns: 1fr;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    grid-column: span 1;
  }

  .contact-hero h1 {
    font-size: 2rem;
  }
}

/* =========================
   AUTH (LOGIN / REGISTER)
========================= */

.auth-page {
  min-height: calc(100vh - 80px); /* adjust if navbar height differs */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #0b0f1a;
  padding: 2.5rem;
  border-radius: 18px;
  box-shadow: 0 0 50px rgba(0, 255, 204, 0.12);
  text-align: center;
}

/* Title */
.auth-card h2 {
  color: #00ffcc;
  font-size: 2rem;
  margin-bottom: 1.8rem;
}

/* Form */
.auth-card form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.auth-card input {
  padding: 0.9rem 1.1rem;
  font-size: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #11162a;
  color: #fff;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

/* Input focus glow */
.auth-card input:focus {
  border-color: #00ffcc;
  box-shadow: 0 0 0 2px rgba(0, 255, 204, 0.25);
}

/* Button */
.auth-card button {
  margin-top: 0.5rem;
  padding: 0.9rem;
  font-size: 1rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #00ffcc, #00c6ff);
  color: #000;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 255, 204, 0.45);
}

/* Footer link */
.auth-footer {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #cfd8dc;
}

.auth-footer a {
  color: #00ffcc;
  text-decoration: none;
  font-weight: 500;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 480px) {
  .auth-card {
    padding: 2rem 1.5rem;
    padding: 2rem 1.5rem;
  }

  .auth-card h2 {
    font-size: 1.7rem;
  }
}
.navbar.dashboard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #0b0f1a;
  color: #00ffcc;
  box-shadow: 0 2px 12px rgba(0, 255, 204, 0.2);
}

.navbar.dashboard-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.navbar.dashboard-nav ul li a {
  color: #00ffcc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.navbar.dashboard-nav ul li a:hover {
  color: #00c6ff;
}

/* Mobile */
@media (max-width: 768px) {
  #dashboard-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: #0b0f1a;
    position: absolute;
    top: 70px;
    right: 0;
    padding: 1rem 2rem;
    border-radius: 0 0 12px 12px;
    z-index: 999;
  }
  #dashboard-links.active {
    display: flex;
  }
}


/* Order Create Form */
.order-create {
  background: #0b0f1a;
  padding: 2rem;
  border-radius: 16px;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: 0 0 40px rgba(0, 255, 204, 0.1);
}

.order-create h2 {
  color: #00ffcc;
  margin-bottom: 1.5rem;
}

.order-create form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-create input,
.order-create select,
.order-create button {
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: #11162a;
  color: #fff;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.order-create input:focus,
.order-create select:focus {
  border-color: #00ffcc;
  box-shadow: 0 0 0 2px rgba(0, 255, 204, 0.25);
}

.order-create button {
  margin-top: 1rem;
  border: none;
  background: linear-gradient(135deg, #00ffcc, #00c6ff);
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-create button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,255,204,0.45);
}

/* Orders Table */
.orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  color: #cfd8dc;
}

.orders-table th,
.orders-table td {
  padding: 0.8rem 1rem;
  text-align: left;
}

.orders-table thead {
  background: #11162a;
  border-bottom: 2px solid #00ffcc;
}

.orders-table tbody tr {
  background: #0b0f1a;
  border-bottom: 1px solid rgba(0,255,204,0.1);
  transition: background 0.2s;
}

.orders-table tbody tr:hover {
  background: rgba(0,255,204,0.05);
}

/* Status badges */
.status {
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
}

.status.pending { background: rgba(255, 193, 7,0.2); color: #ffc107; }
.status.processing { background: rgba(0, 123, 255,0.2); color: #00c6ff; }
.status.completed { background: rgba(40, 167, 69,0.2); color: #00ff66; }
.status.cancelled { background: rgba(220, 53, 69,0.2); color: #ff3860; }

/* Mobile responsiveness */
@media (max-width: 768px) {
  .orders-table thead {
    display: none;
  }

  .orders-table, .orders-table tbody, .orders-table tr, .orders-table td {
    display: block;
    width: 100%;
  }

  .orders-table tr {
    margin-bottom: 1.2rem;
  }

  .orders-table td {
    padding-left: 50%;
    position: relative;
  }

  .orders-table td::before {
    position: absolute;
    left: 1rem;
    width: 45%;
    white-space: nowrap;
    font-weight: 600;
    content: attr(data-label);
    color: #00ffcc;
  }
}

/* Order Instructions Card */
.order-instructions {
  background: #0b0f1a;
  padding: 2.5rem;
  border-radius: 16px;
  max-width: 700px;
  margin: 2rem auto;
  box-shadow: 0 0 50px rgba(0, 255, 204, 0.1);
}

.order-instructions h2 {
  color: #00ffcc;
  margin-bottom: 1.5rem;
}

.order-instructions p {
  font-size: 1rem;
  margin: 0.5rem 0;
  color: #cfd8dc;
}

.instructions-box {
  background: #11162a;
  padding: 1.5rem;
  border-radius: 12px;
  margin: 1rem 0;
  color: #fff;
}

.instructions-box ul {
  margin-left: 1rem;
  list-style-type: disc;
}

.status {
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  font-weight: 600;
}

.status.pending { background: rgba(255, 193, 7,0.2); color: #ffc107; }
.status.processing { background: rgba(0, 123, 255,0.2); color: #00c6ff; }
.status.completed { background: rgba(40, 167, 69,0.2); color: #00ff66; }
.status.cancelled { background: rgba(220, 53, 69,0.2); color: #ff3860; }

.order-instructions .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #00ffcc, #00c6ff);
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.order-instructions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 255, 204, 0.45);
}

/* Responsive */
@media (max-width: 768px) {
  .order-instructions {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
}

.cta {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertical */
  align-items: center;       /* horizontal */
  text-align: center;
  min-height: 60vh;          /* adjust height as needed */
  gap: 20px;
}
a {
  color: #007bff;          /* link color */
  text-decoration: none;    /* remove underline */
  font-weight: bold;
}

a:hover {
  color: #0056b3;           /* color on hover */
  text-decoration: underline;
}


.table-container {
  display: flex;
  justify-content: center; /* horizontal center */
  align-items: center;     /* vertical center */
  min-height: 400px;       /* set desired height for vertical centering */
}
  .table {
    width: 100%;
    border-collapse: collapse;
    justify-content: center;
  }
  .table th, .table td {
    border: 1px solid #00ffcc;
    padding: 8px;
  }
  .table th {
    background-color: none;
    text-align: left;
  }

</style>
<style>
.flashes {
  margin: 15px 0;
}

.flash {
  padding: 10px 15px;
  border-radius: 5px;
  margin-bottom: 10px;
  font-weight: bold;
}

.flash.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.flash.warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.flash.info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}



.keyword-btn {
  display: inline-block;
  padding: 4px 10px;
  margin: 0 2px;
  border: 2px solid #00ffcc; /* Green border */
  border-radius: 12px;        /* Rounded corners */
  color: #007bff;             /* Green text */
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.keyword-btn:hover {
  background-color: #00ffcc;  /* Fill green on hover */
  color: white;                /* Text becomes white */
  transform: translateY(-2px);
}
