@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/vazirmatn/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Vazirmatn", sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: "Vazirmatn", sans-serif;
  scroll-behavior: smooth;
  background: url('/assets/images/background2.webp') no-repeat center center fixed;
  background-size: cover;
  color: #FDFFFC;
}


.rtl {
  direction: rtl;       /* Right-to-left text flow */
  text-align: right;    /* Align text right */
}

/* ----- Header ----- */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 200'%3E%3Cdefs%3E%3ClinearGradient id='grad1' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' style='stop-color:%232d0e5a;stop-opacity:1' /%3E%3Cstop offset='50%25' style='stop-color:%23553cb3;stop-opacity:1' /%3E%3Cstop offset='100%25' style='stop-color:%23ffffff;stop-opacity:1' /%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1920' height='200' fill='url(%23grad1)' /%3E%3Ccircle cx='1480' cy='100' r='60' fill='%23fed11d' opacity='0.4' /%3E%3Ccircle cx='1580' cy='50' r='40' fill='%23fe9a17' opacity='0.4' /%3E%3Ccircle cx='1680' cy='140' r='30' fill='%23d0c2a7' opacity='0.3' /%3E%3Cline x1='1180' y1='50' x2='1780' y2='150' stroke='%23ffffff' stroke-width='2' opacity='0.3' /%3E%3Cline x1='1280' y1='100' x2='1830' y2='50' stroke='%23ffffff' stroke-width='2' opacity='0.3' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #604CC3;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 2000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  flex-direction: row-reverse;
}

/* Logo */

.logo{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.logo img {
  width: 140px;
  height: 36px;
}

/* Header actions */
.header-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
}



/* Hamburger menu always visible */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: #FDFFFC;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ===== Enhanced Mobile Menu (below 768px) ===== */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 0;
  width: 100%;
 background: linear-gradient(
  135deg,
  #0e041d,   /* dark purple */
  #322368,   /* medium purple */
  #d0c2a7    /* muted beige for subtle contrast */
);

  border-radius: 0 0 12px 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  padding: 16px 24px;
  text-align: right;
  backdrop-filter: blur(6px);
  z-index: 999;
}


/* Menu links styled like large screen version */
.mobile-menu a {
  display: block;
  padding: 10px 16px;
  margin: 6px 0;
  border-radius: 8px;
  color: white; /* soft cream text to match matte theme */
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08); /* slightly visible but subtle */
  border: 1px solid rgba(241, 225, 184, 0.2); /* soft border */
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}


/* Animated gradient slide effect (same as large screen) */
.mobile-menu a:hover {
  color: #fed11d; /* muted yellow for accent on hover */
  transform: translateX(-3px);
  border-color: rgba(254, 209, 29, 0.3); /* subtle highlight */
}

.mobile-menu a::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(254, 209, 29, 0.2),  /* soft yellow */
    rgba(85, 60, 179, 0.2)    /* muted purple */
  );
  transition: right 0.4s ease;
  z-index: 0;
  border-radius: 8px;
}



.mobile-menu a span {
  position: relative;
  z-index: 1;
}

/* Auth buttons inside mobile menu */
.mobile-auth {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.mobile-auth .btn-login,
.mobile-auth .btn-signup {
  display: inline-block;
  text-align: center;
  padding: 10px 0;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-auth .btn-login {
  background: linear-gradient(90deg, #2e7cc4, #1B998B);
  color: #fff;
}

.mobile-auth .btn-login:hover {
  background: linear-gradient(90deg, #1B998B, #2EC4B6);
  transform: translateY(-2px);
}

.mobile-auth .btn-signup {
  background: linear-gradient(90deg, #ff9b0f, #fcc57d);
  color: #111;
}

.mobile-auth .btn-signup:hover {
  background: linear-gradient(90deg, #FFBF69, #FF9F1C);
  transform: translateY(-2px);
  color: white;
}

/* Show active menu */
.mobile-menu.active {
  display: flex;
}


/* ----- Hero Section ----- */
.hero {
  width: 100%;
  height: 90vh;
  z-index: 1;
  position: relative;
  color: #2d0e5a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.11);
  z-index: 1;
}

.hero h1, .hero p {
  position: relative;
  z-index: 2;
  margin: 0.5rem;
}





/* ----- Sections ----- */
main {
  width: 100%;
  
}


/* ----- Animated Content ----- */
.content {
  max-width: 700px;
  width: 90%;
  padding: 32px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;

  backdrop-filter: blur(8px);
  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);

  background: linear-gradient(
    135deg,
    #2d0e5a,
    #553cb3 55%,
    rgb(10, 1, 63)
  );

  color: #f1e1b8;

  opacity: 0;
  transform: translateX(100px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Left / right entrances */
.content.from-left {
  transform: translateX(-100px);
}

.from-top {
  transform: translateY(-100px);
}

.content.show,
.from-top.show {
  opacity: 1;
  transform: translate(0);
}

/* =========================
   GOLD CONTRAST SWEEP LAYER
   ========================= */

/* =========================
   GOLD CONTRAST SWEEP LAYER
   ========================= */

.content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 42%,
    rgba(254, 209, 29, 0.55),
    rgba(254, 154, 23, 0.35),
    transparent 58%
  );
  transform: translateX(-120%);
  opacity: 0;
  z-index: 0;
}

/* LEFT CARD: sweep → */
.content.show::before {
  animation: goldSweep 1.6s ease-out forwards;
}

/* RIGHT CARD: sweep ← */
.content-right.show::before {
  animation: goldSweepReverse 1.6s ease-out forwards;
}

/* =========================
   KEYFRAMES (unchanged logic)
   ========================= */

@keyframes goldSweep {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  30% {
    opacity: 0.6;
  }
  100% {
    transform: translateX(120%);
    opacity: 0.12; /* very subtle final glow */
  }
}

@keyframes goldSweepReverse {
  0% {
    transform: translateX(120%);
    opacity: 0;
  }
  30% {
    opacity: 0.6;
  }
  100% {
    transform: translateX(-120%);
    opacity: 0.12;
  }
}


/* =========================
   Typography (unchanged vibe)
   ========================= */

.content h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #fed11d;
}

.content h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #d0c2a7;
  opacity: 0.9;
}

.content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #f1e1b8;
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #fed11d, #fe9a17);
  color: #2d0e5a;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.btn:hover { background: linear-gradient(135deg, #2d0e5a, #553cb3);
  color: #fed11d; }
.btn-card{
  margin-top: 10px;
}
/* ----- Contact Section (Dark Modern Style) ----- */
.contact {
  width: 100%;
  background: linear-gradient(
    135deg,
    #2d0e5a 0%,   /* deep purple base */
    #553cb3 60%,  /* lighter purple highlight */
    #2d0e5a 100%  /* reinforce dark tone */
  );
  color: #f1e1b8; /* warm frost text for contrast */
  text-align: center;
  padding: 80px 20px;
  border-top: 2px solid rgba(254, 209, 29, 0.2); /* subtle gold/rose accent */
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

/* Decorative soft glowing accents */
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(254, 209, 29, 0.15), transparent 35%),
    radial-gradient(circle at 75% 70%, rgba(241, 225, 184, 0.12), transparent 30%);
  pointer-events: none;
  z-index: 0;
}

/* Heading */
.contact h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: #fed11d; /* gold highlight heading */
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* Paragraph */
.contact p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #f1e1b8; /* frost text */
  position: relative;
  z-index: 1;
}

/* ===== Footer ===== */
.site-footer {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 300'%3E%3Cdefs%3E%3ClinearGradient id='gradFooter' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' style='stop-color:%232d0e5a;stop-opacity:1' /%3E%3Cstop offset='40%25' style='stop-color:%232d0e5a;stop-opacity:1' /%3E%3Cstop offset='90%25' style='stop-color:%23553cb3;stop-opacity:1' /%3E%3Cstop offset='100%25' style='stop-color:%23ffffff;stop-opacity:0.15' /%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1920' height='300' fill='url(%23gradFooter)' /%3E%3Ccircle cx='200' cy='50' r='50' fill='%232d0e5a' opacity='0.6' /%3E%3Ccircle cx='400' cy='100' r='30' fill='%232d0e5a' opacity='0.5' /%3E%3Ccircle cx='600' cy='150' r='40' fill='%232d0e5a' opacity='0.4' /%3E%3Ccircle cx='1400' cy='110' r='60' fill='%232d0e5a' opacity='0.5' /%3E%3Ccircle cx='1600' cy='180' r='50' fill='%232d0e5a' opacity='0.4' /%3E%3Ccircle cx='400' cy='220' r='15' fill='%23fed11d' opacity='0.5' /%3E%3Ccircle cx='1780' cy='180' r='10' fill='%23fe9a17' opacity='0.4' /%3E%3Ccircle cx='1840' cy='140' r='12' fill='%23d0c2a7' opacity='0.35' /%3E%3Cline x1='100' y1='200' x2='1800' y2='100' stroke='%232d0e5a' stroke-width='2' opacity='0.3' /%3E%3Cline x1='300' y1='250' x2='1500' y2='150' stroke='%233c28a0' stroke-width='2' opacity='0.2' /%3E%3Cline x1='500' y1='180' x2='1500' y2='180' stroke='%232d0e5a' stroke-width='1.5' opacity='0.15' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #ccc;
  padding: 60px 0px 0px;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  padding: 0 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  border-bottom: 1px solid rgba(45, 14, 90, 0.3);
  padding-bottom: 30px;
  align-items: start;
}


.footer-col h4 {
  color: #FDFFFC;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #fe9a17;
}

.footer-col.brand h3 {
  color: #FF9F1C;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.footer-col.brand p {
  color: #aaa;
  line-height: 1.6;
}

/* Social icons */
.social-links a {
  display: inline-block;
  margin-right: 12px;
  color: #ccc;
  font-size: 1.2rem;
  transition: color 0.3s, transform 0.2s;
}

.social-links a:hover {
  color: #fe9a17;
  transform: scale(1.1);
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  margin-top: 25px;
  color: #f0f0f0; /* light text */
  font-size: 0.9rem;
  background-color: #0b021849; /* darker purple */
  padding: 12px 16px;
  direction: rtl; /* Farsi alignment */
}

.footer-bottom a {
  color: #fed11d; /* rose-gold accent */
  text-decoration: none;
  margin: 0 6px;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: #fe9a17; /* hover effect */
}


/* Code monitor */
.code-monitor {
  width: 360px;
  height: auto;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.5));
}

.code-line {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  fill: #2EC4B6;
  opacity: 0;
  animation: typeLine 1s ease forwards;
}

.line1 { animation-delay: 0.3s; }
.line2 { animation-delay: 1.2s; }
.line3 { animation-delay: 2.1s; }
.line4 { animation-delay: 3s; }
.line5 { animation-delay: 3.9s; }

@keyframes typeLine {
  0% { opacity: 0; transform: translateX(-10px); }
  60% { opacity: 1; transform: translateX(0); }
  100% { opacity: 1; transform: translateX(0); }
}

/* blinking caret */
.caret {
  fill: #fe9a17;
  animation: blink 1s steps(2, start) infinite;
  animation-delay: 4.5s;
}

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


.info-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 24px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 15px 24px;
  flex-wrap: wrap;
}

.info-row .info-item {
  flex: 1;
  min-width: 250px;
  background: #fff;
  color: #333;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.info-row .info-item i {
  font-size: 2rem;
  color: #f5ba13;
  flex-shrink: 0;
}

.info-row .info-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.info-row .info-item p {
  font-size: 0.95rem;
  color: #555;
}
.contact-form-block {
  margin: 60px auto;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 50px;
  text-align: center;
}

.contact-form-block h2 {
  color: #333;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 1.8rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px 35px;
  direction: rtl;
  justify-items: stretch;
}

.form-group {
  text-align: right;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #444;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  resize: none;
  background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f5ba13;
  box-shadow: 0 0 5px rgba(245, 186, 19, 0.5);
  background: #fff;
}

.form-actions {
  grid-column: span 2;
  text-align: center;
  margin-top: 10px;
}
/* -------------------------------------- */
/*           SOCIAL ICONS ROW             */
/* -------------------------------------- */

.social-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 24px;
  margin: 20px auto 50px;
  max-width: 900px;
  flex-wrap: wrap;
}

.social-item {
  flex: 1;
  min-width: 200px;
  background: linear-gradient(
      135deg,
      #f1e1b8 0%,
      #f0f0f0 60%
    );
  border-radius: 45px;
  padding: 28px 24px;
  text-align: center;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.social-item i {
  font-size: 3rem;
  transition: transform .35s ease;
}

/* Hover animation */
.social-item:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.social-item:hover i {
  transform: rotate(8deg) scale(1.1);
}

/* Label */
.social-item span {
  font-size: 1.1rem;
}

/* --------- Icon Colors --------- */
.social-item.whatsapp i {
  color: #25D366;
}

.social-item.telegram i {
  color: #0088cc;
}

.social-item.instagram i {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  background-clip: text;        /* Standard */
  -webkit-background-clip: text; /* Safari/Chrome */
  color: transparent;           /* Required so the gradient is visible */
}


.social-item.github i {
  color: #000000;
}

/* Responsive */
@media (max-width: 768px) {
  .social-item {
    min-width: 45%;
  }
}

@media (max-width: 480px) {
  .social-item {
    min-width: 100%;
  }
}
/* -------------------------------------- */
/*             CONTACT DIVIDER            */
/* -------------------------------------- */

.contact-divider {
  max-width: 900px;          /* Match form width */
  width: 100%;
  margin: 30px auto;         /* Center + spacing */
  border: 0;
  height: 3px;

  background: linear-gradient(
    to right,
    rgba(245, 186, 19, 0),     /* fade-in */
    #fe9a17,   /* center gold line */
    rgba(245, 186, 19, 0)      /* fade-out */
  );

  border-radius: 10px;
}


.send-btn {
  font-family: "Vazirmatn", sans-serif;
  background-color: #fe9a17;
  color: #fff;
  padding: 12px 40px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.send-btn:hover {
  background-color: #fed11d;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive design for smaller screens */
@media (max-width: 700px) {
  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-group.full-width,
  .form-actions {
    grid-column: span 1;
  }

  .contact-form-block {
    padding: 30px 20px;
  }

  .send-btn {
    width: 100%;
  }
}
/* Fix and style the requestType dropdown arrow cleanly */
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 100%;
  height: 48px;
  padding: 10px 40px 10px 14px; /* space on right for arrow */
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  font-family: "Vazirmatn", sans-serif;
  font-size: 1rem;
  color: #333;
  position: relative;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23f5ba13' height='16' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M4 6l4 4 4-4z'/></svg>");
  background-repeat: no-repeat;
  background-position: left 12px center; /* adjust for RTL */
  background-size: 20px;
}

/* For RTL form alignment (text right, arrow on left) */
.rtl .form-group select {
  background-position: left 12px center;
  padding-left: 40px; /* room for arrow */
  padding-right: 14px;
}

/* Focus style */
.form-group select:focus {
  border-color: #f5ba13;
  outline: none;
  box-shadow: 0 0 6px rgba(245, 186, 19, 0.2);
}

.contact-map {
  margin-top: 30px;
  text-align: center;
}

.contact-map h2 {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: #222;
  text-align: center;
  margin: 50px auto 40px;
  position: relative;
  width: fit-content;
  padding: 0 36px;
}

.contact-map h2::before,
.contact-map h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px;
  height: 3px;
  background: #f5ba13;
}

.contact-map h2::before {
  left: 0;
  transform: translate(-100%, -50%);
}

.contact-map h2::after {
  right: 0;
  transform: translate(100%, -50%);
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}


.info-box {
  max-width: 900px;
  width: 100%;
  text-align: right;
  direction: rtl;
  line-height: 1.8;
}

.info-box h2 {
  font-size: 2rem;
  color: #FF9F1C;
  margin-bottom: 20px;
  text-align: center;
}

.info-box h3 {
  font-size: 1.4rem;
  color: #2EC4B6;
  margin-top: 40px;
  margin-bottom: 10px;
}

.info-box p {
  font-size: 1rem;
  color: #ddd;
}

.btn-login,
.btn-signup {
  padding: 6px 14px;
  font-size: 0.9rem;
  border-radius: 6px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  text-decoration: none; /* ✅ removes underline */
  display: inline-block; /* ✅ keeps spacing consistent */
}

/* Login Button */
.btn-login {
  background: #1A1A1A; /* same tone as search bar */
  color: #2EC4B6;
  border: 1.5px solid #2EC4B6;
}

.btn-login:hover {
  background: #2EC4B6;
  color: #111;
  transform: translateY(-2px);
}

/* Sign Up Button */
.btn-signup {
  background: #FF9F1C;
  color: #111;
  border: 1.5px solid #FF9F1C;
  font-weight: 600;
}

.btn-signup:hover {
  background: #ffa733;
  border-color: #ffa733;
  color: #fff;
  transform: translateY(-2px);
}
/* ===== Responsive: Hide Search + Auth Buttons on Mobile ===== */
@media (max-width: 768px) {
  .search-container {
    display: none;
  }

  .mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }

  .mobile-search {
    display: flex;
    align-items: center;
    background: #1A1A1A;
    padding: 4px 8px;
    border-radius: 6px;
    margin-top: 15px;
  }

  .mobile-search input {
    background: transparent;
    border: none;
    outline: none;
    color: #FDFFFC;
    padding: 6px;
    width: 100%;
    font-size: 0.95rem;
  }

  .mobile-search .search-btn {
    background: none;
    border: none;
    color: #2EC4B6;
    cursor: pointer;
    padding-left: 4px;
    font-size: 1rem;
    transition: color 0.3s;
  }

  .mobile-search .search-btn:hover {
    color: #FF9F1C;
  }
}
/* ===== Auth Page (Signup/Login) ===== */


/* ===== Auth Form ===== */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-form label {
  text-align: right;
  display: block;
  font-weight: 600;
  color: #89AFCF;
  margin-bottom: 6px;
}

.auth-form input {
  background: #1A1A1A;
  border: 1.5px solid #2EC4B6;
  border-radius: 6px;
  padding: 10px;
  color: #FDFFFC;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

/* Fix invisible text issue & prevent white autofill background */
.auth-form input:focus {
  border-color: #FF9F1C;
  background: #1A1A1A;
  color: #FDFFFC;
}

.auth-form input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #1A1A1A inset !important;
  -webkit-text-fill-color: #FDFFFC !important;
  transition: background-color 5000s ease-in-out 0s;
}
/* Change caret color for all inputs inside auth forms */
.auth-form input {
  caret-color: white; /* your purple color */
}

/* Optional: different caret color when focused */
.auth-form input:focus {
  caret-color: #fe9a17; /* rose-gold */
}

/* Text selection highlight */
.auth-form input::selection {
  background-color: #fe9a17; /* orange highlight */
  color: #fff;
}


/* ===== Auth Buttons (Modern Compact Style) ===== */
.btn-auth {
  position: relative;
  overflow: hidden;
  z-index: 0;
  background: linear-gradient(135deg, #2d0e5a, #553cb3); /* purple-blue base */
  color: #fed11d; /* orange text */
  padding: 0 14px;
  height: 36px; /* perfectly matches hamburger total height */
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  border: 1px solid #fe9a17;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 10px rgba(45, 14, 90, 0.2);
  transition: color 0.3s ease;
}

/* gradient fill effect from right to left */
.btn-auth::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fe9a17, #fed11d);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s ease-in-out;
  z-index: -1;
  border-radius: inherit;
}

.btn-auth:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-auth:hover {
  color: #2d0e5a;
  box-shadow: 0 0 18px rgba(254, 154, 23, 0.4);
}


/* --- User Dropdown --- */
.user-dropdown {
  position: relative;
}
.user-btn {
  position: relative;
  overflow: hidden;
  z-index: 0;
  background: linear-gradient(135deg, #2d0e5a, #553cb3); /* purple base */
  border: 1px solid #fe9a17;
  color: #fe9a17;
  padding: 0 14px;
  height: 36px;
  font-size: 0.85rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 10px rgba(45, 14, 90, 0.25);
  transition: color 0.3s ease, box-shadow 0.3s ease;
}

/* Smooth gradient fill effect */
.user-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fe9a17, #fed11d); /* orange-yellow fill */
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s ease-in-out;
  z-index: -1;
  border-radius: inherit;
}

.user-btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.user-btn:hover {
  color: #2d0e5a;
  box-shadow: 0 0 18px rgba(254, 154, 23, 0.4);
}
.dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;
  background: linear-gradient(135deg, rgba(45, 14, 90, 0.85), rgba(85, 60, 179, 0.85));
  border-radius: 10px;
  border: 1px solid rgba(255, 209, 29, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  padding: 14px;
  display: none;
  flex-direction: column;
  width: 220px;
  color: #d0c2a7;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  right: auto;
  transform-origin: top right;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-menu.show {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

.dropdown-menu p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 4px 0;
  color: #d0c2a7;
}

/* Action buttons container */
.dropdown-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

/* Shared button base */
.btn-dashboard,
.btn-logout {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  backdrop-filter: blur(6px);
}

/* Primary button (Dashboard) */
.btn-dashboard {
  background: linear-gradient(135deg, #fe9a17, #fed11d);
  color: #2d0e5a;
  border-color: rgba(254, 209, 29, 0.4);
  box-shadow: 0 0 10px rgba(254, 209, 29, 0.2);
}

.btn-dashboard:hover {
  background: linear-gradient(135deg, #e38a15, #f5c91b);
  box-shadow: 0 0 15px rgba(254, 209, 29, 0.35);
}

/* Secondary button (Logout) */
.btn-logout {
  background: linear-gradient(135deg, #612020, #8b2727);
  color: #fff;
  border-color: rgba(255, 100, 100, 0.3);
  box-shadow: 0 0 10px rgba(255, 80, 80, 0.15);
}

.btn-logout:hover {
  background: linear-gradient(135deg, #8b2727, #b93232);
  box-shadow: 0 0 15px rgba(255, 100, 100, 0.25);
}

/* Hide dropdown on mobile */
@media (max-width: 768px) {
  .user-dropdown {
    display: none;
  }
  .btn-auth {
    display: none;
  }
}



.space-warning {
    color: #ff4d4d;
    font-size: 0.85em;
    margin-top: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .space-warning.show {
    opacity: 1;
  }

/* ===== Enhanced Mobile Menu Styling for Larger Screens ===== */
@media (min-width: 768px) {
  .mobile-menu {
    position: absolute;
    top: 80px;
    right: 40px;
    width: 260px;
    background: rgba(17, 17, 17, 0.95);
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    padding: 24px;
    text-align: right;
    backdrop-filter: blur(6px);
  }

  /* --- Stylish menu links --- */
  .mobile-menu a {
    display: block;
    padding: 10px 16px;
    margin: 6px 0;
    border-radius: 8px;
    color: #FDFFFC;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  /* Gradient slide hover effect */
  .mobile-menu a::before {
    content: "";
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      rgba(255, 159, 28, 0.25),
      rgba(46, 196, 182, 0.25)
    );
    transition: right 0.4s ease;
    z-index: 0;
    border-radius: 8px;
  }

  .mobile-menu a:hover::before {
    right: 0;
  }

  .mobile-menu a:hover {
    color: #FF9F1C;
    transform: translateX(-3px);
    border-color: rgba(255, 159, 28, 0.3);
  }

  .mobile-menu a span {
    position: relative;
    z-index: 1;
  }

  /* --- Enhanced login/signup buttons --- */
  .mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .mobile-auth .btn-login,
  .mobile-auth .btn-signup {
    display: inline-block;
    text-align: center;
    padding: 10px 0;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .mobile-auth .btn-login {
    background: linear-gradient(90deg, #2EC4B6, #1B998B);
    color: #fff;
  }

  .mobile-auth .btn-login:hover {
    background: linear-gradient(90deg, #1B998B, #2EC4B6);
    transform: translateY(-2px);
  }

  .mobile-auth .btn-signup {
    background: linear-gradient(90deg, #FF9F1C, #FFBF69);
    color: #111;
  }

  .mobile-auth .btn-signup:hover {
    background: linear-gradient(90deg, #FFBF69, #FF9F1C);
    transform: translateY(-2px);
    color: white;
  }
  .mobile-auth {
    display: none ;
  }
  .hamburger{
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-menu {
    font-size: 0.85rem; /* shrink all text slightly */
  }

  .mobile-menu a {
    font-size: 0.85rem;
    padding: 6px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .mobile-auth .btn-login,
  .mobile-auth .btn-signup {
    font-size: 0.85rem;
    padding: 8px 0;
  }

  .mobile-auth {
    gap: 6px;
    margin-top: 10px;
  }
}
.album-section {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  background: radial-gradient(circle at 20% 20%, #181818, #0d0d0d 80%);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.album-slider {
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 80px auto;
}

/* Track – infinite scroll handled by JS */
.album-track {
  display: flex;
  gap: 24px;
  width: max-content;
  transform: translateX(0);
  will-change: transform;
}

.album-track > .album-card {
  flex-shrink: 0;
}

/* Slider Card – Modern Premium */
.album-card {
  flex: 0 0 260px;
  height: 180px;
  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      #f1e1b8 0%,
      #f0f0f0 60%
    );

  border: 1px solid rgba(45, 14, 90, 0.08);

  box-shadow:
    0 6px 18px rgba(45, 14, 90, 0.12);

  overflow: hidden;
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

/* Accent stripe */
.album-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(85, 60, 179, 0.12),
    transparent 45%
  );
  pointer-events: none;
}

/* Hover */
.album-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 14px 32px rgba(45, 14, 90, 0.22);
}

/* Card Content */
.card-content {
  text-align: center;
  padding: 18px;
  color: #2d0e5a;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Icon */
.card-content svg {
  width: 48px;
  height: 48px;
  stroke: #553cb3;
  transition: transform 0.4s ease, stroke 0.4s ease;
}

.album-card:hover .card-content svg {
  transform: scale(1.15);
  stroke: #fe9a17;
}

/* Title */
.card-content h3 {
  font-size: 1.15em;
  font-weight: 700;
  margin: 0;
}

/* Description */
.card-content p {
  font-size: 0.9em;
  opacity: 0.75;
}


/* Responsive layout */
@media (max-width: 992px) {
  .album-card {
    flex: 0 0 200px;
    height: 140px;
  }
}

@media (max-width: 768px) {
  .album-section {
    padding: 40px 0;
  }

  .album-card {
    flex: 0 0 160px;
    height: 110px;
  }

  .album-track {
    gap: 16px;
  }
}
/* ===== Desktop Main Nav ===== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  justify-content: center;
}

.main-nav a {
  position: relative;
  color: #fff;
  font-weight: 500;
  font-size: 1.05rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #f5ba13;
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: #f5ba13;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Hide main nav on mobile */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
}
/* ===== Auth Tabs Layout ===== */
.auth-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

.auth-box {
  background: linear-gradient(
    135deg,
    #2d0e5a 0%,   /* deep purple base */
    #553cb3 60%,  /* lighter purple highlight */
    #2d0e5a 100%  /* reinforce dark tone */
  );
  border: 1px solid rgba(254, 209, 29, 0.2); /* subtle yellow border */
  color: #d0c2a7; /* cream text */
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  width: 380px;
  padding: 0 30px 30px;
  
  position: relative;
  overflow: hidden;
}

/* ===== Tabs ===== */
.auth-tabs {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(179, 151, 60, 0.15); /* subtle lighter purple glass */
  backdrop-filter: blur(10px);
  border-radius: 12px;
  margin: 20px 0 30px;
  padding: 6px;
  font-family: "Vazirmatn", sans-serif;
}

.auth-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: #fe9a17; /* orange text */
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  padding: 10px 0;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: "Vazirmatn", sans-serif;
}

.auth-tab.active {
  background: linear-gradient(135deg, #f5ba13, #ff9f1c);
  color: #2d0e5a; /* yellow text */
  box-shadow: 0 0 10px rgba(254, 209, 29, 0.4); /* yellow glow */
  transform: scale(1.05);
}

/* ===== Forms ===== */
.auth-form {
  display: none;
  flex-direction: column;
  gap: 18px;
  text-align: right;
  animation: fadeIn 0.4s ease;
  color: #fed11d; /* yellow labels */
}

.auth-form.active {
  display: flex;
}

.auth-form h2 {
  text-align: center;
  color: #fed11d;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

/* ===== Inputs & Buttons ===== */
.auth-form label {
  font-weight: 600;
  color: #fed11d;
  margin-bottom: 6px;
}

.auth-form input {
  background: rgba(7, 7, 7, 0.541); /* lighter purple glass */
  border: 1px solid #ccc; 
  color: #d0c2a7; /* cream text */
  border-radius: 6px;
  padding: 10px;
  
  font-size: 1rem;
  outline: none;
  transition: 0.3s ease;
}

.auth-form input:focus {
  border-color: #fe9a17; /* orange focus */
}

/* ===== Register Button ===== */
.btn-register {
  width: 100%;
  background: linear-gradient(135deg, #f5ba13, #ff9f1c);
  color: #2d0e5a;
  border: none;
  border-radius: 10px;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 186, 19, 0.3);
  letter-spacing: 0.3px;
  font-family: "Vazirmatn", sans-serif;
  position: relative;
  overflow: hidden;
}

/* Hover glow + slight lift */
.btn-register:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 159, 28, 0.45);
}

/* Click effect */
.btn-register:active {
  transform: scale(0.97);
  box-shadow: 0 2px 10px rgba(255, 159, 28, 0.3);
}

/* Optional subtle animated light sweep */
.btn-register::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75px;
  width: 50px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-20deg);
  transition: 0.5s;
}

.btn-register:hover::after {
  left: 120%;
}


/* ===== Warning Animation ===== */
.space-warning {
  color: #ff4d4d;
  font-size: 0.85em;
  margin-top: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.space-warning.show {
  opacity: 1;
}

/* ===== Fade Animation ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Fix oversized content inside cards on small screens */
@media (max-width: 768px) {
  .album-card {
    flex: 0 0 160px;
    height: 110px;
  }

  .card-content {
    padding: 8px;
    gap: 4px;
  }

  .card-content svg {
    width: 32px;
    height: 32px;
  }

  .card-content h3 {
    font-size: 0.9em;
  }

  .card-content p {
    font-size: 0.75em;
  }
}

@media (max-width: 480px) {
  .album-card {
    flex: 0 0 140px;
    height: 200px;
  }

  .card-content svg {
    width: 38px;
    height: 38px;
  }

  .card-content h3 {
    font-size: 1em;
  }

  .card-content p {
    font-size: 0.9em;
  }
}
.hero-visual {
  width: 100%;
  max-width: 370px;
  margin: 30px auto 0;
}

.code-monitor {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
  transition: transform 0.5s ease, filter 0.3s ease;
}

.code-line {
  fill: white;
  font-family: 'Courier New', monospace;
  font-size: 16px;
}

.caret {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}
.home-feature-cards {
  max-width: 1200px;       /* match header max-width */
  margin: 50px auto;       /* vertical spacing + center horizontally */
  padding: 0 24px;         /* same horizontal padding as header */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* distribute cards nicely */
  gap: 40px;                /* space between cards */
}

.home-feature-cards .content {
  flex: 1 1 48%;            /* two cards side by side with gap */
  max-width: 700px;         /* keep your card max-width */
}
.cards-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 24px; /* same as footer */
  display: flex;
  gap: 40px; /* space between the two cards */
  flex-wrap: wrap; /* allows wrapping on smaller screens */
  justify-content: space-between; /* spread cards evenly */
}

.home-card img{
  max-width: 150px;
  float: left;
  margin-right: 20px;
}

.main-content {
  direction: rtl;
  text-align: right;
  width: 100%;
  display: block;
  color: #2d0e5a;
  
}

.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 24px;
  position: relative;
  overflow: hidden;
  text-align: justify;
}
.main-container > * {
  width: 75%;
  margin-right: 0;     /* keep aligned to the right edge */
  margin-left: auto;   /* don’t center, just shrink toward the right */
}


/* Stylish top and bottom border with gradient glow */
.main-container::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 10px;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(255, 165, 0, 0),
    #ffae42,
    #ff7b00,
    #a259ff,
    rgba(162, 89, 255, 0)
  );
  filter: drop-shadow(0 0 10px rgba(255, 122, 0, 0.4))
          drop-shadow(0 0 20px rgba(162, 89, 255, 0.3));
  transition: all 0.3s ease;
}

.main-container::before {
  top: 0;
}

.main-container::after {
  bottom: 0;
  transform: scaleX(1.02);
}

/* Subtle hover animation to make it interactive */
.main-container:hover::before,
.main-container:hover::after {
  filter: drop-shadow(0 0 15px rgba(255, 150, 0, 0.6))
          drop-shadow(0 0 25px rgba(162, 89, 255, 0.5));
  opacity: 1;
}
.learn-more-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.learn-more-header {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(145deg, rgba(245, 225, 184, 0.3), rgba(85, 60, 179, 0.15));
  backdrop-filter: blur(100px) saturate(150%);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(254, 154, 23, 0.25); /* subtle rose-gold border */
}


.learn-more-header h2 {
  font-size: 2rem;
  color: #553cb3;
  margin-bottom: 12px;
}

.learn-more-header p {
  font-size: 1.1rem;
  color: #2d0e5a;
}

.learn-more-body {
  background: linear-gradient(135deg, rgba(240, 240, 240, 0.6), rgba(85, 60, 179, 0.08));
  backdrop-filter: blur(100px) saturate(140%);
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(245, 186, 19, 0.2); /* subtle yellow/rose-gold border */
}


.learn-more-body h3 {
  color: #2d0e5a;
  margin-bottom: 12px;
}

.learn-more-body p,
.learn-more-body ul {
  color: black;
  margin-bottom: 16px;
}

.learn-more-body ul {
  margin-right: 20px;
  list-style-type: disc;
}

.learn-more-body ul li {
  margin-bottom: 8px;
}

.learn-more-cta {
  text-align: center;
  
  background: url("/assets/images/button-back.png");
  
  border-radius: 12px;
  
}

.btn-learn-more {
  background: linear-gradient(135deg, #553cb3, #2d0e5a);
  color: #fed11d;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-learn-more:hover {
  background: linear-gradient(135deg, #fed11d, #fe9a17);
  color: #fff;
}
/* Products Page */
.products-page {
  padding: 60px 24px;
  max-width: 1200px; /* aligned with header container */
  margin: 0 auto;
  color: #2d0e5a;
  font-family: 'Vazirmatn', sans-serif;
  min-height: 80dvh;
  display: flex;
  flex-direction: column;
  gap: 30px; /* space between cards */
}

/* Header */
.products-header {
  text-align: center;
  margin-bottom: 40px;
}

.products-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d0e5a;
  margin-bottom: 10px;
}

.products-header p {
  font-size: 1.1rem;
  color: #553cb3;
  opacity: 0.85;
}

/* Product Card Container */
.products-grid {
  display: flex;
  flex-direction: column;
  gap: 24px; /* space between cards */
}

/* Product Card */
.product-card {
  display: flex;
  flex-direction: row;
  background:
    linear-gradient(
      135deg,
      #faf4e2 0%,
      #f0f0f0 60%
    );
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  overflow: visible; /* ✅ add this line */
  position: relative; /* ✅ ensures absolute dropdown is positioned relative to card */
  
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
  z-index: 10; /* make sure hovered card is on top */
}

/* Product Image */
.product-image {
  flex: 0 0 400px; /* fixed width for image */
  position: relative;
  overflow: hidden;
  border-radius: 0 18px 18px 0; /* only round right corners */
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
 
}



/* Product Content */
.product-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-category {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fe9a17;
  text-transform: uppercase;
}

.product-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #553cb3;
  margin: 0;
}

.product-content p {
  font-size: 1rem;
  color: #2d0e5a;
  opacity: 0.9;
  min-height: 55px;
}

/* Buttons */
.product-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
}

.btn-product {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  font-family: "Vazirmatn", sans-serif;
}
/* Button Styles - Modern Stylish & Professional */
/* Minimal Modern Product Button */
.btn-product.details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 10px 24px;
  border-radius: 10px;

  background: #fe9a17;           /* solid warm accent from your palette */
  color: #fff;                   /* clear, visible text */
  font-weight: 600;
  font-size: 1.1rem;

  border: none;
  box-shadow: 0 3px 6px rgba(0,0,0,0.12); /* subtle shadow for depth */

  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-product.details i {
  font-size: 1.15rem;
  color: #fff;                   /* icon matches text for simplicity */
}

.btn-product.details:hover {
  background: #fed11d;           /* soft gradient-ish hover, still minimal */
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-product.details:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


.btn-product.buy {
  background: linear-gradient(135deg, #fe9a17, #fed11d); /* rose gold to gold */
  color: #2d0e5a; /* deep purple text */
  border: none;
  border-radius: 16px;
  padding: 12px 26px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.btn-product.buy:hover {
  background: linear-gradient(135deg, #553cb3, #2d0e5a); /* medium to deep purple */
  color: #fed11d; /* gold text */
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-product.download {
  background: linear-gradient(135deg, #2d0e5a, #09e27db9); /* medium purple to rose gold */
  color: #f0f0f0; /* frost white text */
  border: none;
  border-radius: 16px;
  padding: 12px 26px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.btn-product.download:hover {
  background: linear-gradient(135deg, #fe9a17, #fed11d); /* rose gold to gold */
  color: #2d0e5a; /* deep purple text */
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.product-hr {
  border: none;
  height: 1.5px;                /* ultra-thin for elegance */
  border-radius: 1px;

  background: linear-gradient(
    to right, 
    rgba(100,100,100,0.2) 0%, 
    rgba(150,150,150,0.3) 50%, 
    rgba(100,100,100,0.2) 100%
  );  /* muted gray gradient for subtlety */

  margin: 24px 0 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);  /* very subtle depth */
  opacity: 0.8;  /* slightly faded for minimalistic feel */
}


/* ─────────── CONTAINER ─────────── */
.product-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─────────── RATING BADGE ─────────── */
.rating-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  height: 36px;
  padding: 0 12px;

  border-radius: 8px;

  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);

  color: #333;
}

.rating-box .stars {
  display: flex;
  gap: 3px;
}

.rating-box i {
  font-size: 0.75rem;
  color: #cfcfcf;
}

.rating-box i.filled {
  color: #f5b301;
}

.rating-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: #444;
}

/* ─────────── PLATFORM BADGE ─────────── */
.platform-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  height: 36px;
  padding: 0 12px;

  border-radius: 8px;

  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);

  color: #444;
}

.platform-box span {
  font-size: 0.8rem;
  font-weight: 500;
}

.platform-box .icons {
  display: flex;
  gap: 6px;
}

.platform-box i {
  font-size: 1.05rem;
}

.platform-box .fa-android {
  color: #3ddc84;
}

.platform-box .fa-apple {
  color: #000;
}

/* ─────────── DIVIDER ─────────── */
.divider-vertical {
  width: 1px;
  height: 26px;
  background-color: rgba(0, 0, 0, 0.08);
  margin: 0 6px;
}



/* Download Dropdown */
.download-dropdown {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
  z-index: 10;
  flex-direction: column;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}
/* Triangle Pointer */
.download-dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 20px;
  border-width: 0 8px 8px 8px;
  border-style: solid;
  border-color: transparent transparent #ffffff transparent;
}

.download-dropdown.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.download-dropdown a {
  padding: 10px 16px;
  text-decoration: none;
  color: #2d0e5a;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  
}
/* Icons inside dropdown */
.download-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px; /* space between icon and text */
}
.download-dropdown a:hover {
  background: linear-gradient(135deg, #fe9a17, #fed11d); /* soft orange gradient */
  color: #2d0e5a;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15); /* subtle shadow */
  transform: none; /* prevent scaling */
  border-radius: 6px;
}

/* Platform specific icons */
.download-dropdown a.apk i {
  color: #3ddc84; /* green for Android */
}

.download-dropdown a.ios i {
  color: #000000; /* black for iOS */
}

.download-dropdown a:last-child {
  border-bottom: none;
}

.download-dropdown a:hover {
  background: linear-gradient(135deg, #fe9a17, #fed11d);
  color: #2d0e5a;
}

/* Responsive */
@media (max-width: 992px) {
  .product-card {
    flex-direction: column;
  }
  
  .product-image {
    width: 100%;
    height: 250px;
    border-radius: 0;
  }
  .product-card:hover {
  transform: none;
  }
}
/* Make download button same height as others */
.download-wrapper {
  flex: 0.25; /* same as other buttons */
  display: flex;
  flex-direction: column;
  position: relative;
}

.download-wrapper .btn-product.download {
  flex: 1;           /* fills the wrapper height */
  padding: 10px 16px; /* same padding as other buttons */
  height: 100%;       /* ensures button takes full wrapper height */
}
.download-dropdown.open {
  z-index: 1000 !important;
}
/* Disable hover transform while dropdown is open */
.product-card.no-hover:hover {
  transform: none !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25) !important;
}


/* Services Page */
.services-articles-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  color: #FDFFFC;
}

.services-header {
  text-align: center;
  margin-bottom: 50px;
}

.services-header h1 {
  font-size: 2.2rem;
  color: #2d0e5a;
  margin-bottom: 10px;
}

.services-header p {
  font-size: 1.1rem;
  color: #553cb3;
  opacity: 0.85;
}

.service-article {
  display: flex;
  flex-direction: row;
  gap: 32px;
  margin-bottom: 60px;
  background:
    linear-gradient(
      135deg,
      #f1e1b8 0%,
      #f0f0f0 60%
    );
  backdrop-filter: blur(25px);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 400px;
}

.service-article:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.45);
}

.article-image img {
  width: 350px;
  object-fit: cover;
  border-radius: 0;
  height: 100%;
}

.article-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-content h2 {
  font-size: 1.8rem;
  color: #2d0e5a;
  margin-bottom: 6px;
}

.article-content h3 {
  font-size: 1.2rem;
  color: #553cb3;
  margin-bottom: 16px;
}

.article-content p {
  font-size: 1rem;
  color: #312e27;
  line-height: 1.7;
  margin-bottom: 20px;
}

.read-more-btn {
  align-self: flex-start;
  padding: 10px 18px;
  background: linear-gradient(135deg, #2d0e5a, #553cb3);
  color: #fed11d;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.read-more-btn:hover {
  background: linear-gradient(135deg, #fed11d, #fe9a17);
  color: #2d0e5a;
}

/* Responsive */
@media (max-width: 992px) {
  .service-article {
    flex-direction: column;
  }

  .article-image img {
    width: 100%;
    height: auto;
  }
}
.flash-error {
  background-color: rgba(255, 0, 0, 0.2); /* slightly stronger glassy red */
  border: 1px solid rgba(255, 0, 0, 0.3); /* keep subtle border */
  color: #ff4d4d; /* softer, more visible red */
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 12px;
  text-align: center;
  font-weight: 600; /* slightly bolder for readability */
  font-size: 0.9rem;
}

/* ===== Auth Header with Minimal Back Arrow ===== */
.auth-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  direction: rtl;
}

.auth-header h2 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

/* Arrow-only Back Button */
.back-btn {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fed11d;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 10px;
  border-radius: 50%;
  height: 40px;
  width: 40px;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  
}
/* Confirm Password Field */
#signup-confirm {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#signup-confirm:focus {
  border-color: #f5ba13;
  box-shadow: 0 0 5px rgba(245, 186, 19, 0.3);
  outline: none;
}

/* Confirm Password space warning */
#signup-confirm-warning {
  display: none;
  color: #d9534f;
  font-size: 0.85em;
  margin-top: 4px;
  text-align: right;
}

#signup-confirm-warning.show {
  display: block;
}

.forgot-link {
  display: block;
  margin: 0px 0 16px;
  font-size: 0.85rem;
  color: #fed11d;
  text-align: right;
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-link:hover {
  color: #fe9a17;
  
}
.auth-description {
  font-size: 0.85rem;
  color: #d0c2a7;
  margin-bottom: 20px;
  line-height: 1.6;
  text-align: center;
}

.auth-header2{
  padding-top: 30px;
}

.flash-success {
  background: rgba(0, 180, 120, 0.15);
  color: #0a5;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  text-align: center;
  font-weight: 500;
}

/* Social Buttons Container */
.hero-socials {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  gap: 20px;
  perspective: 800px; /* for 3D hover effect */
  position: relative; /* new */
  z-index: 10;        /* bring above hero background */
}

/* Button base style */
.social-btn {
  background: #553cb3; /* primary purple */
  color: #fed11d; /* accent yellow */
  border-radius: 12px;
  padding: 12px 25px;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Icon style */
.social-btn i {
  transition: transform 0.3s ease;
}

/* Hover effect: 3D tilt and glow */
.social-btn:hover {
  transform: translateY(-5px) rotateX(8deg);
  box-shadow: 0 12px 25px rgba(0,0,0,0.35);
  background: linear-gradient(135deg, #fe9a17, #fed11d); /* gradient from orange to yellow */
}

.social-btn:hover i {
  transform: scale(1.2) rotate(-10deg);
}

/* WhatsApp specific color */
.social-btn.whatsapp {
  background: linear-gradient(0deg, #25D366 0%, #25D366 100%); /* solid green as gradient */
  color: #fff;
}
.social-btn.whatsapp:hover {
  background: linear-gradient(135deg, #2d0e5a, #25D366);
}

/* Instagram specific color */
.social-btn.instagram {
  background: linear-gradient(0deg, #C13584 0%, #C13584 100%); /* solid purple as gradient */
  color: #fff;
}
.social-btn.instagram:hover {
  background: linear-gradient(135deg, #553cb3, #C13584);
}
/* Telegram specific color */
.social-btn.telegram {
  background: linear-gradient(0deg, #0088cc 0%, #0088cc 100%); /* solid telegram blue */
  color: #fff;
}
.social-btn.telegram:hover {
  background: linear-gradient(135deg, #553cb3, #0088cc);
}


/* Optional pulse animation on load */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.social-btn {
  animation: pulse 2.5s infinite ease-in-out;
}
.hero-text {
  text-align: center;
  margin-top: 60px;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  background: linear-gradient(
    90deg,
    #2d0e5a,
    #553cb3,
    #fe9a17,
    #feb517,
    #553cb3,
    #2d0e5a
  );
  background-size: 400% 400%;
  background-clip: text;
-webkit-background-clip: text;
color: transparent;
-webkit-text-fill-color: transparent;

  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease-in-out infinite;
}

/* Reuse your existing continuous animation */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


.hero-subtitle {
  font-size: 1.5rem;
  color: #2d0e5a;
  margin-top: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  opacity: 0.9;
  animation: fadePulse 4s ease-in-out infinite;
}

@media (max-width: 1400px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .hero-visual {
    max-width: 320px;
  }

  .social-btn {
    font-size: 1.2rem;
    padding: 10px 20px;
  }
  .hero-text{
    margin-top: 3%;
  }
  main{
    margin-top: 80px;
  }
  .main-content{
    margin-top: 80px;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .hero h1 {
    font-size: 2.4rem;
  }

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

  .hero-visual {
    max-width: 200px;
  }

  .social-btn {
    font-size: 1.2rem;
    padding: 6px 10px;
  }
  .hero-text{
    margin-top: 1%;
  }
}

/* 📱 Tablet screens */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 5rem;
  }

  .hero p {
    font-size: 2rem;
  }

  .hero-visual {
    max-width: 500px;
  }

  .social-btn {
    font-size: 2.2rem;
    padding: 14px 26px;
  }
}

/* 📞 Mobile screens */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 4rem;
  }

  .hero p {
    font-size: 1.4rem;
  }

  .hero-visual {
    max-width: 350px;
  }

  .social-btn {
    font-size: 1.5rem;
    padding: 12px 28px;
  }
}


/* Product Details Page */
.product-details-page {
  padding: 60px 24px;
  max-width: 1200px;
  margin: 0 auto;
  color: #2d0e5a;
  min-height: 80dvh;
}

/* Container */
.product-details-container {
  background:
    linear-gradient(
      135deg,
      #f1e1b8 0%,
      #f0f0f0 60%
    );
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  padding: 24px;
  backdrop-filter: blur(8px);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  line-height: 1.8;
}


/* IMAGE SECTION */
.product-details-image {
  flex: 0 0 350px; /* fixed width */
  border-radius: 0 18px 18px 0;
  overflow: hidden;
  height: 100%;              /* take full container height */
  display: flex;             /* ensure img stretches correctly */
}

.product-details-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* fills height perfectly */
  border-radius: 0 18px 18px 0;
  box-shadow: none;          /* cleaner look */
}
.product-details-float-img {
  float: right;
  width: 360px;
  height: auto;
  border-radius: 0 18px 18px 0;
  margin-left: 24px;
  margin-bottom: 12px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* INFO SECTION */
.product-details-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-start;
}

.product-details-info h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2d0e5a;
  margin: 0;
}
@media (max-width: 768px) {
  .product-details-float-img {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
    border-radius: 18px;
  }
}

.category {
  font-size: 0.9rem;
  color: #fed11d;
  font-weight: 600;
}

.price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fe9a17;
  margin-bottom: 8px;
}

/* DESCRIPTION BOX */
.description-box {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

.description-box h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #2d0e5a;
}

.description-box p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #553cb3;
  white-space: pre-line;
}

/* BUY BUTTON */
.btn-buy {
  padding: 12px 24px;
  margin-top: 20px;
  background: linear-gradient(135deg, #fe9a17, #fed11d);
  color: #2d0e5a;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.btn-buy:hover {
  background: linear-gradient(135deg, #553cb3, #d0c2a7);
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .product-details-container {
    flex-direction: column;
  }

  .product-details-image {
    width: 100%;
    height: 260px;   /* good height for mobile */
    border-radius: 18px;
  }

  .product-details-image img {
    border-radius: 18px;
  }
}
/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  /* Container padding */
  .product-details-page {
    padding: 30px 16px;
  }

  .product-details-container {
    padding: 16px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }

  /* Float image adjustment */
  .product-details-float-img {
    float: none;
    width: 100%;
    height: auto;
    margin: 0 0 20px 0;
    border-radius: 14px;
  }

  /* Headings */
  .product-details-info h1 {
    font-size: 1.5rem;
  }

  .description-box h2 {
    font-size: 1.1rem;
  }

  .description-box p {
    font-size: 0.9rem;
  }

  /* Price & Category */
  .price {
    font-size: 1rem;
  }

  .category {
    font-size: 0.85rem;
  }

  /* Buttons */
  .btn-product {
    width: 100%;
    padding: 12px 0;
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .product-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* Download dropdown full width */
  .download-dropdown {
    width: 100%;
    
    top: 100%;
  }

  .download-dropdown a {
    display: block;
    padding: 10px;
    font-size: 0.95rem;
  }
}

/* ===== SMALLER PHONES ===== */
@media (max-width: 480px) {
  .product-details-page {
    padding: 0;
  }

  .product-details-info h1 {
    font-size: 1.3rem;
  }

  .description-box h2 {
    font-size: 1rem;
  }

  .description-box p {
    font-size: 0.85rem;
  }

  .btn-product {
    font-size: 0.9rem;
    padding: 10px 0;
  }
}

/* ......... */

/* Buy Page */
.buy-page {
  padding: 60px 24px;
  max-width: 800px;
  margin: 0 auto;
  color: #2d0e5a;
}

.buy-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  background: rgba(245, 186, 19, 0.05);
  border-radius: 14px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
  padding: 32px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.buy-image {
  flex: 1 1 300px;
  border-radius: 12px;
  overflow: hidden;
}

.buy-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.buy-info {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.buy-info h1 {
  font-size: 1.8rem;
  color: #2d0e5a;
  margin-bottom: 10px;
}

.buy-info .price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #fe9a17;
  margin-bottom: 16px;
}

.buy-info .summary {
  color: #553cb3;
  line-height: 1.8;
  font-size: 1rem;
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.buy-form {
  margin-top: 20px;
}

.btn-confirm {
  background: linear-gradient(135deg, #fe9a17, #fed11d);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.btn-confirm:hover {
  background: linear-gradient(135deg, #553cb3, #d0c2a7);
  color: #2d0e5a;
}

.btn-cancel {
  margin-top: 16px;
  display: inline-block;
  text-decoration: none;
  color: #553cb3;
  font-weight: 600;
  transition: color 0.3s ease;
}

.btn-cancel:hover {
  color: #fe9a17;
}

/* Responsive */
@media (max-width: 768px) {
  .buy-container {
    flex-direction: column;
  }

  .buy-info h1 {
    font-size: 1.5rem;
  }
}
/* ........ */
/* Buy Page */
.buy-page {
  padding: 60px 24px;
  max-width: 800px;
  margin: 0 auto;
  color: #2d0e5a;
}

.buy-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  background: rgba(245, 186, 19, 0.05);
  border-radius: 14px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
  padding: 32px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.buy-image {
  flex: 1 1 300px;
  border-radius: 12px;
  overflow: hidden;
}

.buy-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.buy-info {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.buy-info h1 {
  font-size: 1.8rem;
  color: #2d0e5a;
  margin-bottom: 10px;
}

.buy-info .price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #fe9a17;
  margin-bottom: 16px;
}

.buy-info .summary {
  color: #553cb3;
  line-height: 1.8;
  font-size: 1rem;
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.buy-form {
  margin-top: 20px;
}

.btn-confirm {
  background: linear-gradient(135deg, #fe9a17, #fed11d);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.btn-confirm:hover {
  background: linear-gradient(135deg, #553cb3, #d0c2a7);
  color: #2d0e5a;
}

.btn-cancel {
  margin-top: 16px;
  display: inline-block;
  text-decoration: none;
  color: #553cb3;
  font-weight: 600;
  transition: color 0.3s ease;
}

.btn-cancel:hover {
  color: #fe9a17;
}

/* Responsive */
@media (max-width: 768px) {
  .buy-container {
    flex-direction: column;
  }

  .buy-info h1 {
    font-size: 1.5rem;
  }
}
/* ....... */

.buy-confirm, .payment-result {
  max-width: 600px;
  margin: 100px auto;
  text-align: center;
  padding: 40px;
  background: rgba(245, 186, 19, 0.1);
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.buy-confirm h2, .payment-result h2 {
  color: #2d0e5a;
  margin-bottom: 15px;
}

.btn-confirm, .btn-back, .btn-cancel {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 22px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #553cb3, #d0c2a7);
  color: white;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-confirm:hover, .btn-back:hover {
  background: linear-gradient(135deg, #fe9a17, #fed11d);
}

.btn-cancel {
  background: #ccc;
  color: #333;
}
/* ........ */
/* Flex row wrapper */
.header-actions-row {
  display: flex;
  align-items: center;       /* vertically center items */
  gap: 16px;                 /* space between cart/divider/user */
  height: 100%;
}

/* Divider line */
.header-actions-row .divider-line {
  width: 1px;
  height: 24px;
  background-color: #ccc;
}

/* Cart button */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  padding: 0;
  line-height: 1;
  height: 100%;
}

.cart-btn:hover {
  transform: scale(1.1);
}

/* Badge */
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: #ff4d4f;
  color: #fff;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: bold;
  line-height: 1;
  padding: 2px 6px;
  min-width: 16px;
  text-align: center;
  box-shadow: 0 0 2px rgba(0,0,0,0.3);
}

/* Mobile Fix */
@media (max-width: 768px) {

  /* Hide user dropdown only (not cart) */
  .header-actions-row .user-dropdown {
    display: none;
  }

  /* Make header actions horizontal */
  .header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
  }

  /* Show cart + divider on mobile */
  .header-actions-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
    order: 1;
  }
  .cart-icon-container{
    order: 1;
  }

  /* Compact cart icon */
  .cart-btn {
    
    line-height: 1;
  }

  /* Smaller badge */
  .cart-badge {
    top: -4px;
    right: -4px;
    font-size: 0.55rem;
    padding: 1px 5px;
    min-width: 14px;
    height: 14px;
  }

  /* Divider next to cart */
  .divider-line {
    height: 16px;
    width: 1px;
    opacity: 0.5;
  }

  /* Hamburger stays inline */
  .hamburger {
    margin: 0;
    flex-shrink: 0;
  }
}

/* ensure .cart-badge exists styling (if you already have it, keep yours) */
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: #ff4d4f;
  color: #fff;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: bold;
  line-height: 1;
  padding: 2px 6px;
  min-width: 16px;
  text-align: center;
  box-shadow: 0 0 2px rgba(0,0,0,0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* class used by JS to hide the badge (so we don't manipulate inline styles) */
.hidden-by-js {
  display: none !important;
}
.alert-error {
  background-color: #fdecea; /* soft red background */
  color: #b71c1c; /* dark red text */
  border: 1px solid #f5c6cb;
  padding: 10px 16px;
  border-radius: 6px;
  margin: 10px 0;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.alert-success {
  background-color: #e6f4ea; /* soft green background */
  color: #2e7d32; /* dark green text */
  border: 1px solid #c3e6cb;
  padding: 10px 16px;
  border-radius: 6px;
  margin: 10px 0;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.alert {
  transition: opacity 0.5s ease;
}
/* ===========================
   ⏳ MODERN STYLISH LOADER
   =========================== */
#page-loader {
  position: fixed;
  inset: 0;
  background: rgb(44, 14, 90); /* dark overlay from your palette */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(4px); /* subtle glassy effect */
}

#page-loader .loader {
  width: 80px;
  height: 80px;
  border: 8px solid rgba(241, 225, 184, 0.25); /* soft beige ring */
  border-top: 8px solid #fed11d; /* bright gold highlight */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 20px rgba(254, 209, 29, 0.5);
}

#page-loader .dots {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

#page-loader .dots span {
  width: 12px;
  height: 12px;
  background: #fed11d;
  border-radius: 50%;
  animation: bounce 0.6s infinite alternate;
}

#page-loader .dots span:nth-child(2) {
  animation-delay: 0.2s;
}

#page-loader .dots span:nth-child(3) {
  animation-delay: 0.4s;
}

#page-loader span.text {
  font-size: 18px;
  color: #f1e1b8;
  margin-top: 16px;
  font-weight: 500;
  text-shadow: 0 0 6px rgba(0,0,0,0.3);
}

/* Spinner animation */
@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Bounce animation for dots */
@keyframes bounce {
  0% { transform: translateY(0); opacity: 0.6; }
  100% { transform: translateY(-12px); opacity: 1; }
}

/* Fade-out */
#page-loader.hide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}
.rich-articles-wrapper {
  padding: 70px 24px;
  display: flex;
  flex-direction: column;
  align-items: center; /* centers grid horizontally */
  max-width: 1200px;
  margin: auto;
}

.rich-articles-title {
  text-align: right;
  font-size: 1.5rem;
  color: #2d0e5a;
  margin-bottom: 50px; /* space between title and cards */
  font-weight: 700;
  letter-spacing: 1px;
}

.rich-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1200px;
}

.rich-article-card {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(
      135deg,
      #f1e1b8 0%,
      #f0f0f0 60%
    );

  

  box-shadow:
    0 6px 18px rgba(45, 14, 90, 0.12);

  border-radius: 12px;
  overflow: hidden;
  
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.rich-article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

.rich-article-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.rich-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: none; /* no hover zoom */
}

.rich-article-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rich-article-content h3 {
  font-size: 1.35rem;
  color: #553cb3;
  margin: 0;
}

.rich-article-content p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  flex-grow: 1;
}

.rich-article-read-more {
  font-size: 0.9rem;
  color: #fe9a17;
  font-weight: 600;
  align-self: flex-end;
  transition: color 0.3s ease;
}

.rich-article-read-more:hover {
  color: #fed11d;
}
/* ================================
   📄 SINGLE ARTICLE PAGE
================================ */
.single-article-container{
  max-width: 1146px;
  background-color: #f1e1b846;
  backdrop-filter: blur(20px);
  margin: 60px auto;
  padding: 10px;
 
}

.single-article-wrapper {
  max-width: 1146px;
  margin: auto;
  padding: 30px;
  background-color: white;
}

.single-article-header h1 {
  font-size: 2.2rem;
  color: #2d0e5a;
  margin-bottom: 12px;
  font-weight: 800;
}
.single-article-header h3 {
  font-size: 1.2rem;       /* slightly smaller than h1 */
  font-weight: 500;        /* medium weight */
  color: #553cb3;          /* a complementary purple to match theme */
  margin-bottom: 16px;     /* spacing below h3 */
  line-height: 1.4;        /* nice readable line height */
}


.single-article-summary {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.9;
  text-align: justify;
}

.article-block-image {
  width: 100%;
  height: 380px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.article-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- CONTENT AREA ---------- */
.single-article-content {
  line-height: 2.1;
  font-size: 1.07rem;
  color: #333;
  text-align: justify;
}

.single-article-content h2,
.single-article-content h3 {
  margin-top: 35px;
  margin-bottom: 15px;
  color: #553cb3;
  font-weight: 700;
}
.single-article-content ul,
.single-article-content ol {
  margin: 20px 0;
  padding-left: 20px; /* keep simple indentation */
  list-style: none;
}

.single-article-content li {
  margin-bottom: 10px;
  padding: 8px 12px;
  background: rgba(245, 186, 19, 0.15); /* soft subtle highlight */
  border-left: 4px solid #f5ba13; /* minimal accent */
  border-radius: 4px;
  color: #333;
  transition: background 0.3s ease;
}

.single-article-content li:hover {
  background: rgba(245, 186, 19, 0.3); /* slight hover effect */
}


/* ---------- CONCLUSION BOX ---------- */
.single-article-conclusion {
  margin-top: 65px;
  padding: 28px;
  background: #f1e1b8;
  border-left: 6px solid #fe9a17;
  border-radius: 12px;
}

.single-article-conclusion h2 {
  color: #2d0e5a;
  margin-bottom: 12px;
  font-size: 1.4rem;
  font-weight: 700;
}

.single-article-conclusion p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #333;
}
/* ===== ABOUT US (FA / RTL) ===== */

.heroAbout {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  direction: rtl;
  padding: 0 24px;

  background: linear-gradient(
    135deg,
    #2d0e5a 0%,
    #553cb3 70%
  );

  position: relative;
  overflow: hidden;
}

/* subtle modern glow */
.heroAbout::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(254, 209, 29, 0.35),
    transparent 65%
  );
  top: -200px;
  right: -200px;
}

.heroAbout h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  max-width: 900px;
  line-height: 1.4;
  z-index: 1;
}

/* ===== CONTENT AREA ===== */

.about-info {
  background: linear-gradient(
    to bottom,
    #f1e1b8 0%,
    #eeecf7 45%
  );
  padding: 80px 20px 120px;
  direction: rtl;
}

/* ===== MAIN CARD ===== */

.info-box {
  max-width: 1000px;
  margin: -120px auto 0;
  background: #f8f6f0;
  border-radius: 24px;
  padding: 60px;
  box-shadow:
    0 20px 50px rgba(45, 14, 90, 0.15);
  position: relative;
}

/* top accent bar */
.info-box::before {
  content: "";
  position: absolute;
  top: 0;
  right: 48px;
  left: 48px;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(
    90deg,
    #fed11d,
    #fe9a17
  );
}

/* ===== TYPOGRAPHY ===== */

.info-box h2 {
  font-size: 2.1rem;
  font-weight: 700;
  color: #2d0e5a;
  margin-bottom: 16px;
}

.info-box > p {
  font-size: 1.1rem;
  line-height: 2;
  color: #444;
  margin-bottom: 48px;
}

/* section titles */
.info-box h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #553cb3;
  margin: 40px 0 12px;
  padding-right: 18px;
  position: relative;
}

.info-box h3::after {
  content: "";
  position: absolute;
  right: 0;
  top: 6px;
  width: 6px;
  height: 70%;
  border-radius: 4px;
  background: linear-gradient(
    to bottom,
    #fed11d,
    #fe9a17
  );
}

.info-box p {
  font-size: 1.05rem;
  line-height: 2;
  color: #333;
}

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

@media (max-width: 768px) {
  .info-box {
    padding: 40px 24px;
    margin-top: -80px;
  }

  .info-box h2 {
    font-size: 1.7rem;
  }

  .info-box h3 {
    font-size: 1.2rem;
  }
}
/* ===== TEAM SECTION ===== */

.team-section {
  max-width: 1100px;
  margin: 140px auto 0;
  text-align: center;
  direction: rtl;
}

.team-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #2d0e5a;
  margin-bottom: 12px;
}

.team-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 64px;
  line-height: 1.9;
}

/* grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
}

/* card */
.team-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 0;
  padding-bottom: 36px;
  box-shadow: 0 18px 45px rgba(45, 14, 90, 0.14);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(45, 14, 90, 0.22);
}

/* image */
.team-image {
  width: 100%;
  height: auto;
  
  border-radius: 0 0 22px 22px;
  margin-bottom: 24px;
}

/* name */
.team-card h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #2d0e5a;
  margin-bottom: 6px;
}

/* role */
.team-card span {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #553cb3;
  margin-bottom: 16px;
}

/* description */
.team-card p {
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
  padding: 0 8px;
}
/* ===== SCROLL ANIMATION (TOP TO BOTTOM) ===== */

.team-card {
  opacity: 0;
  transform: translateY(-40px);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

/* when visible */
.team-card.show {
  opacity: 1;
  transform: translateY(0);
}

.team-text{
  padding: 5%;
}

/* Mobile */
@media (max-width: 600px) {
  .code-monitor{
    max-width: 320px;
  }
  .hero-socials{
    max-width: 250px;
    margin: auto;
    margin-top: 35px;
  }
  .content p{
    text-align: justify;
    font-size: 15px;
  }
  .content h3{
    font-size: medium;
  }
  .content h2{
    font-size: larger;
  }
  .btn-card{
    font-size: large;
  }
  .main-container > * {
    width: 100%;
    margin: 0;
    max-width: none;
  }
  .learn-more-body{
    text-align: justify;
  }
  .learn-more-body p{
    font-size: 15px;
  }
  
  .learn-more-cta{
    background-image: none;

  }
  .product-card{
    max-height: fit-content;
  }
  .buy{
    font-size: small;
  }
  .download{
    flex: 1;
    width: 100%;
  }
  .product-buttons{
    flex-wrap: nowrap;
  }
  
  .service-article{
    height: fit-content;
  }
  .read-more-btn{
    margin: auto;
  }
  .article-content p{
    text-align: justify;
  }
  .product-image{
    border-radius: 18px 18px 0 0;
  }
  .footer-col.brand {
    grid-column: span 2;
  }
  .footer-col.social{
    grid-column: span 2;
  }
  .footer-container{
    grid-template-columns: auto;
  }
  html, body{
    background-color: #f0f0f0;
  }

 }

/* Tablet */
@media (max-width: 900px) { }

/* Laptop */
@media (max-width: 1300px) { }

/* Desktop */
@media (min-width: 1301px) { }

/* --------- Desktop --------- */
@media (min-width: 1301px) {
  .single-article-wrapper {
    padding: 30px;
  }

  .article-block-image {
    height: 380px;
  }

  .single-article-header h1 {
    font-size: 2.2rem;
  }

  .single-article-content {
    font-size: 1.07rem;
  }

  .single-article-content h2,
  .single-article-content h3 {
    font-size: 1.6rem;
  }

  .single-article-conclusion {
    padding: 28px;
  }
}

/* --------- Laptop --------- */
@media (max-width: 1300px) {
  .single-article-wrapper {
    padding: 25px;
  }

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

  .single-article-summary {
    font-size: 1.08rem;
  }

  .article-block-image {
    height: 350px;
  }

  .single-article-content {
    font-size: 1.05rem;
  }

  .single-article-content h2,
  .single-article-content h3 {
    font-size: 1.5rem;
  }

  .single-article-conclusion {
    padding: 25px;
  }

  .single-article-conclusion h2 {
    font-size: 1.35rem;
  }
}

/* --------- Tablet --------- */
@media (max-width: 900px) {
  .single-article-container {
    margin: 40px 15px;
    padding: 8px;
  }

  .single-article-wrapper {
    padding: 20px;
  }

  .single-article-header h1 {
    font-size: 1.9rem;
  }

  .single-article-summary {
    font-size: 1.05rem;
  }

  .article-block-image {
    height: 300px;
  }

  .single-article-content {
    font-size: 1rem;
  }

  .single-article-content h2,
  .single-article-content h3 {
    font-size: 1.4rem;
  }

  .single-article-conclusion {
    padding: 20px;
  }

  .single-article-conclusion h2 {
    font-size: 1.3rem;
  }
  ul.article-block-list{
    padding-left: 0;
  }
}

/* --------- Mobile --------- */
@media (max-width: 600px) {
  .single-article-container {
    margin: 30px 10px;
    padding: 5px;
  }

  .single-article-wrapper {
    padding: 15px;
  }

  .single-article-header h1 {
    font-size: 1.6rem;
  }

  .single-article-summary {
    font-size: 1rem;
  }

  .article-block-image {
    height: 220px;
  }

  .single-article-content {
    font-size: 0.95rem;
  }

  .single-article-content h2,
  .single-article-content h3 {
    font-size: 1.2rem;
  }

  .single-article-conclusion {
    padding: 15px;
  }

  .single-article-conclusion h2 {
    font-size: 1.2rem;
  }
  ul.article-block-list{
    padding-left: 0;
  }
  .content h2{
    font-size: 25px;
    margin-bottom: 20px;
  }
  .content h3{
    font-size: 14px;
  }
  .content p{
    text-align: justify;
  }
  
}
/* ===== Google Auth Button ===== */
.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(254, 209, 29, 0.35);
  color: #f1e1b8;

  border-radius: 10px;
  padding: 12px 0;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;

  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-google i {
  color: #fed11d;
  font-size: 1.1rem;
}

.btn-google:hover {
  background: linear-gradient(135deg, #553cb3, #2d0e5a);
  border-color: #fed11d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(254, 209, 29, 0.35);
}

.btn-google:active {
  transform: scale(0.97);
}
/* ===== Divider ===== */
.auth-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0;
  color: #d0c2a7;
  font-size: 0.85rem;
  opacity: 0.8;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(208, 194, 167, 0.3);
  margin: 0 10px;
}


/* Mobile only */
@media (max-width: 768px) {
  
  .product-content p {
    text-align: justify;
  }
}
/* Legal/Policy page container */
.legal-page {
  max-width: 900px;
  margin: 40px auto;
  padding: 24px 16px;
  background-color: #f0f0f0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  color: #2d0e5a;
  line-height: 1.8;
  font-size: 1rem;
  direction: rtl;
  font-family: 'Vazir', sans-serif;
}

/* Page titles */
.legal-page h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #553cb3;
  text-align: center;
}

/* Paragraphs */
.legal-page p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: #2d0e5a;
  word-wrap: break-word;
  white-space: pre-wrap;
}

/* Links inside content */
.legal-page a {
  color: #fe9a17;
  text-decoration: none;
  transition: color 0.3s;
}

.legal-page a:hover {
  color: #fed11d;
  text-decoration: underline;
}

/* Subheadings */
.legal-page h2, 
.legal-page h3 {
  color: #553cb3;
  margin-top: 24px;
  margin-bottom: 12px;
  font-weight: 500;
}

/* Lists styling */
.legal-page ul, .legal-page ol {
  margin-left: 20px;
  margin-bottom: 16px;
}

.legal-page li {
  margin-bottom: 8px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .legal-page {
    padding: 16px 12px;
    font-size: 0.95rem;
  }

  .legal-page h1 {
    font-size: 1.6rem;
  }
}
.flash-message {
    overflow: hidden;          /* important for smooth height collapse */
    transition: opacity 0.5s ease, transform 0.5s ease, max-height 0.5s ease;
    max-height: 500px;         /* enough to fit your message */
  }
  .card-logo{
    display: flex;
    justify-content: flex-start;
  
    align-items: center;
  }
  .card-logo img{
    max-height: 60px;
    max-width: 60px;
   background: rgba(255, 255, 255, 0.8); /* semi-transparent white */
  padding: 6px;                          /* gives breathing space */
  border-radius: 16px;                     /* soft rounding */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    position: absolute;
    top: 20px;
    left: 20px;
  }
  @media (max-width: 768px) {
  
  .card-logo img {
    display: none;
  }
  .product-image img{
    height: auto;
  }
  .product-image{
    max-height: fit-content;
  }
 .rating-box{
  width: 100%;
  justify-content: center;
 }
 .platform-box{
  width: 100%;
  justify-content: center;
 }
 .divider-vertical{
  height: 0px;
  width: 0px;
 }
}
