/* ============================= */
/* 🌍 CLEAN + MERGED BODY ROOT   */
/* ============================= */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  /* Font */
  font-family: "Poppins", "Arial", sans-serif;

  /* Colors */
  color: var(--text-main);

  /* Layout */
  overflow-y: auto !important;

  /* Animation */
  transition: background 0.3s ease, color 0.3s ease;
}




html {
  overflow-y: auto !important;
  height: 100%;
}

.about-section {
  overflow: visible !important;
}

.contact-section {
  overflow: visible !important;
  background: var(--bg-gradient);

}

#page-content {
  overflow-x: hidden;
  overflow-y: visible;
  /* background: var(--bg-gradient); */

}






/* ============================= */
/* 🌍 About Section Styles       */
/* ============================= */
.about-section {
  position: relative;
  padding: 5rem 1.5rem;
  overflow: visible;
  background: var(--about-bg);
  color: var(--about-text);
  transition: background 0.4s ease, color 0.4s ease;
}

.bg-gradient {
  position: absolute;
  background: var(--about-bg);
  z-index: 0;
}

.about-container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.badge {
  background: var(--about-blur-bg);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(5px);
  color: var(--about-accent);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--about-accent);
}

.desc {
  color: var(--about-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* ============================= */
/* 📊 Stats Section              */
/* ============================= */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--about-card-border);
  padding-top: 1.5rem;
  gap: 1rem;
}

.stat .num {
  font-size: 2rem;
  font-weight: bold;
  color: var(--about-accent);
}

.stat .label {
  color: var(--about-muted);
  font-size: 0.9rem;
}

/* ============================= */
/* 💎 Value Cards                */
/* ============================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--about-card-bg);
  border: 1px solid var(--about-card-border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--about-hover-border);
}

.value-card .icon {
  width: 3rem;
  height: 3rem;
  background: var(--about-icon-bg);
  color: var(--about-icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--about-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ============================= */
/* 🖼️ Images Section             */
/* ============================= */
.images-grid {
  gap: 1.5rem;
  margin-top: 4rem;
}

.img-box {
  border-radius: 1rem;
  overflow: visible;
  aspect-ratio: 4/3;
  padding: 20px;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.img-box:hover img {
  transform: scale(1.1);
}

/* ============================= */
/* 📱 Responsive                */
/* ============================= */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
}






/* ✨ Section Base */
.advantages-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-family: "Poppins", sans-serif;
  color: var(--text-main);
}

.advantages-header {
  text-align: center;
  padding: 10px 14px;
  max-width: 750px;
  margin: 0 auto 60px;
}

.advantages-header h2 {
  font-size: 2.2rem;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text-main);
}

.advantages-header p {
  color: var(--text-sub);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* 🧱 Grid Improvements */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 80px;
}

.adv-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 28px;
  text-align: left;
  box-shadow: 0 8px 20px var(--card-shadow);
  transition: transform 0.4s ease, background 0.3s ease;
  backdrop-filter: blur(10px);
}

.adv-card:hover {
  transform: translateY(-8px);
}

.adv-card.large {
  grid-column: span 2;
}

.adv-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.adv-card h3 {
  font-size: 1.4rem;
  line-height: 36px;
  margin-bottom: 10px;
  color: var(--button-bg);
}

.adv-card p {
  color: var(--text-sub);
  line-height: 1.6;
  font-size: 1rem;
  line-height: 24px;
}

/* 🌈 Final CTA Section */
.adv-final {
  background: var(--final-bg);
  border-radius: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 60px;
  align-items: center;
  color: white;
  transition: background 0.4s ease;
}

.adv-final-text h3 {
  font-size: 2rem;
  /* margin-bottom: 15px; */
}

.adv-final-text p {
  opacity: 0.9;
  margin-bottom: 24px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.adv-final-text .apps-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.adv-btn {
  background: var(--button-text);
  color: var(--button-bg);
  padding: 14px 36px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s;
}

.adv-btn:hover {
  transform: scale(1.05);
  background: var(--button-hover);
  color: #fff;
}

.adv-final-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* 📱 Responsive */
@media (max-width: 992px) {
  .advantages-header h2 {
    font-size: 2rem;
  }

  .adv-final {
    padding: 40px;
    gap: 25px;
  }

  .adv-card.large {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .advantages-section {
    padding: 60px 16px;
  }

  .advantages-header p {
    font-size: 1rem;
  }

  .adv-final {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .adv-final-img {
    order: -1;
  }

  .adv-btn {
    width: 100%;
    max-width: 260px;
  }
}

@media (max-width: 480px) {
  .advantages-header h2 {
    font-size: 1.6rem;
  }

  .adv-card {
    padding: 22px;
  }

  .adv-card h3 {
    font-size: 1.2rem;
  }

  .adv-final-text h3 {
    font-size: 1.6rem;
  }
}


/* From Uiverse.io by Yaya12085 */
.playstore-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
  border-radius: 9999px;
  background-color: rgba(0, 0, 0, 1);
  padding: 0.625rem 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 1);
  outline: 0;
  transition: all 0.2s ease;
  text-decoration: none;
}

.playstore-button:hover {
  background-color: transparent;
  color: rgba(0, 0, 0, 1);
}

.icon {
  height: 1.5rem;
  width: 1.5rem;
}

.texts {
  margin-left: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.text-1 {
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-2 {
  font-weight: 600;
}







.login-section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 120px;
}

.blur-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(120px);
  animation: pulse 8s infinite ease-in-out;
  z-index: 0;
}

.circle-purple {
  background: var(--primary1);
  top: -80px;
  right: -100px;
}

.circle-pink {
  background: var(--secondary2);
  bottom: -80px;
  left: -100px;
  animation-delay: 2s;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}

.login-card {
  position: relative;
  z-index: 1;
  width: 500px;
  padding: 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(var(--card-dark), var(--card-dark)) padding-box,
    linear-gradient(145deg, transparent 35%, var(--primary1), var(--secondary2)) border-box;
  border: 2px solid transparent;
  background-size: 200% 100%;
  animation: gradient-border 5s ease infinite;
  /* box-shadow: 0 0 40px rgba(0, 0, 0, 0.3); */
  transition: all 0.5s ease;
  color: var(--primary1);
  margin-inline: 20px;
}

body.light .login-card {
  background: linear-gradient(var(--card-light), var(--card-light)) padding-box,
    linear-gradient(145deg, transparent 35%, var(--primary1), var(--secondary2)) border-box;
  color: var(--text-light);
  /* box-shadow: 0 0 30px rgba(0, 0, 0, 0.1); */
}

@keyframes gradient-border {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

h1 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 400;
}

p {
  text-align: center;
  color: #999;
  margin-bottom: 2rem;
}

label {
  display: flex;
  margin-bottom: 0.3rem;
  color: #717171;
  font-size: 0.8rem;
  align-items: center;
  white-space: nowrap;
}

input {
  width: 100%;
  padding: 0.8rem 0.8rem 0.8rem 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-dark);
  background: transparent;
  color: var(--text-dark);
  outline: none;
  transition: all 0.3s ease;
  margin-right: 8px;
}

input:focus {
  border-color: var(--primary1);
}

body.light input {
  border-color: var(--border-light);
  color: var(--text-light);
}

.input-icon {
  position: absolute;
  left: 0.8rem;
  top: 50%;

  color: gray;
  pointer-events: none;
}

.field {
  position: relative;
  margin-bottom: 1.5rem;


}

.options {
  display: flex;
  justify-content: space-between;

  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 1.5rem;
}




.btn {
  width: 100%;
  padding: 0.8rem;
  background: var(--primary1);
  /* border: 1px solid #414141; */
  color: var(--text-dark);
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--secondary2);
  color: var(--text-dark);

}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 2rem 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid #333;
}

.divider span {
  margin: 0 1rem;
  color: #777;
  font-size: 0.8rem;
}

.socials {
  display: flex;
  gap: 1rem;
  color: var(--bg-dark);
}

.socials button {
  flex: 1;
  padding: 0.8rem;



  background: var(--speed-bg);
  border: 1px solid var(--speed-border);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.socials button:hover {
  background: var(--speed-border);
}

.toggle-theme {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 2px solid var(--primary1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--primary1);
  font-weight: bold;
  transition: all 0.3s ease;
}

.toggle-theme:hover {
  background: var(--primary1);
  color: #fff;
}

.footer-text {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #aaa;
}

a {
  color: var(--primary1);
  text-decoration: none;
}

a:hover {
  color: var(--secondary2);
}


.speedLogin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-dark) !important;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.speedLogin:hover {
  transform: translateY(-2px);
}

i {
  font-size: 1.2em;
}










/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--hero-border);
  /* background: var(--hero-tag-bg); */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;

}

.theme-toggle:hover {
  transform: scale(1.1);
  border-color: var(--hero-btn-primary-bg);
}

.theme-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--hero-text);
}

.moon-icon {
  display: none;
}

body.dark-mode .sun-icon {
  display: none;
}

body.dark-mode .moon-icon {
  display: block;
}

/* Contact Section */
.contact-section {
  position: relative;
  padding: 100px 24px;
  /* background: linear-gradient(to bottom, var(--hero-bg), var(--hero-img-bg), var(--hero-bg)); */
  overflow: visible !important;
  min-height: 100vh;
}



@keyframes pulse1 {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }
}

@keyframes pulse2 {

  0%,
  100% {
    transform: scale(1.2);
    opacity: 0.3;
  }

  50% {
    transform: scale(1);
    opacity: 0.5;
  }
}

.contacts-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

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

.tag {
  display: inline-block;
  padding: 8px 16px;
  background: var(--hero-tag-bg);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--hero-text);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.contacts-title {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 16px;
  color: var(--hero-text2);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease 0.1s forwards;
}

.contacts-subtitle {
  font-size: 20px;
  color: var(--hero-subtext);
  max-width: 672px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease 0.2s forwards;
}

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

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Contact Info */
.contact-info {
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeInLeft 0.6s ease forwards;
}

@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.section-title {
  font-size: 24px;
  margin-bottom: 32px;
  color: var(--hero-text);
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--hero-tag-bg);
  border: 1px solid var(--hero-border);
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-30px);
}

.info-card:nth-child(1) {
  animation: fadeInLeft 0.5s ease 0.1s forwards;
}

.info-card:nth-child(2) {
  animation: fadeInLeft 0.5s ease 0.2s forwards;
}

.info-card:nth-child(3) {
  animation: fadeInLeft 0.5s ease 0.3s forwards;
}

.info-card:nth-child(4) {
  animation: fadeInLeft 0.5s ease 0.4s forwards;
}

.info-card:hover {
  transform: translateX(10px);
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--hero-img-bg);
}

.icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.icon-wrapper svg {
  stroke: white;
}

.gradient-blue {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.gradient-purple {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}

.gradient-orange {
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.gradient-green {
  background: linear-gradient(135deg, #10b981, #14b8a6);
}

.info-label {
  font-size: 14px;
  color: var(--hero-subtext);
  margin-bottom: 4px;
}

.info-value {
  color: var(--hero-text);
  transition: color 0.3s ease;
}

.info-card:hover .info-value {
  color: var(--hero-text2);
}

.response-time {
  margin-top: 32px;
  padding: 24px;
  border-radius: 12px;
  background: var(--hero-tag-bg);
  border: 1px solid var(--hero-border);
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeInLeft 0.6s ease 0.5s forwards;
}

.response-time h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--hero-text);
}

.response-time p {
  font-size: 14px;
  color: var(--hero-subtext);
  line-height: 1.6;
}

/* Form Container */
.form-container {
  opacity: 0;
  transform: translateX(30px);
  animation: fadeInRight 0.6s ease forwards;
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-wrapper {
  background: var(--hero-bg);
  padding: 32px;
  border-radius: 32px;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.form-wrapper::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(145deg, transparent 35%, #FF7434, #238481);
  border-radius: 32px;
  z-index: -1;
  background-size: 200% 100%;
  animation: gradient-border 5s ease infinite;
}

@keyframes gradient-border {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--hero-btn-primary-bg);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 16px;
  background: transparent;
  border: 1px solid var(--hero-btn-outline-border);
  color: var(--hero-text);
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--hero-subtext);
  opacity: 0.5;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--hero-btn-primary-bg);

}

/* input:focus {
  border-color: var(--primary1);
} */

.form-group textarea {
  resize: none;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--hero-btn-primary-bg);
  border: 1px solid var(--hero-btn-primary-bg);
  color: var(--hero-tag-bg);
  border-radius: 16px;
  cursor: pointer;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  width: -webkit-fill-available;
}

.submit-btn:hover {
  background: var(--hero-text2);
  border-color: var(--hero-text2);
  color: var(--hero-bg);
  transform: scale(1.02);
}

.submit-btn:active {
  transform: scale(0.95);
}

.submit-btn svg {
  width: 16px;
  height: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-section {
    padding: 60px 16px;
  }

  .contacts-header {
    margin-bottom: 48px;
  }

  .content-grid {
    gap: 32px;
  }

  .form-wrapper {
    padding: 24px;
  }
}






body.dark {
  --bg: #0f0f0f;
  --text: #ffffff;
  --subtext: #bbbbbb;
  --card-bg: #1c1c1c;
}



/* Theme Toggle */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--card-bg);
  border: 1px solid var(--subtext);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.theme-toggle:hover {
  transform: scale(1.1);
  border-color: var(--primary);
}

.moon-icon {
  display: none;
}

body.dark .sun-icon {
  display: none;
}

body.dark .moon-icon {
  display: block;
}

/* Footer */
.footer {
  background: var(--card-bg);
  padding: 80px 20px 40px;
  transition: all 0.3s ease;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-logo img {

  margin-bottom: 8px;
}

.footer-logo p {
  color: var(--subtext);
  max-width: 280px;
  text-align: center;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--subtext);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  background: var(--card-bg);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text);
  transition: all 0.3s;
}

.footer-socials a:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid var(--subtext);
  text-align: center;
  padding-top: 20px;
  color: var(--subtext);
  font-size: 13px;
}

/* Responsive */
@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-logo p {
    text-align: left;
  }
}









/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  overflow: visible;
  padding: 120px 0;
  background-color: var(--hero-bg);
  color: var(--hero-text);

}

.hero-content {
  z-index: 50;
}

/* Background Video */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.10;
}

/* Hero Layout */
section.hero {
  padding: 8rem 1.5rem 5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Left Content */
.hero-content .tag {
  display: inline-block;
  background: var(--hero-tag-bg);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  color: var(--hero-text);
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin: 1rem 0;

  span {
    color: var(--hero-text2);

  }
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--hero-subtext);
  margin-bottom: 2rem;
}

/* Buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.btn-primary {
  background: var(--hero-btn-primary-bg);
  color: #fff;
}

.btn-primary:hover {
  background: var(--hero-btn-primary-hover);
}

.btn-outline {
  border: 1px solid var(--hero-btn-outline-border);
  background: transparent;
  color: var(--hero-text);
}

.btn-outline:hover {
  background: var(--hero-tag-bg);
}

/* Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hero-border);
}

.hero-stats div {
  text-align: center;
  border-radius: 20px;

}

.hero-stats .number {
  /* border: solid 1px var(--hero-text2); */
  color: var(--hero-text2);
  font-size: 2rem;
  font-weight: bold;
}

.hero-stats .label {
  color: var(--hero-subtext);

}


.hero-images {
  position: relative;
  width: 400px;

  /* background-color: #962725; */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-images {
  /* height: 100vh; */
  position: relative;
  width: -webkit-fill-available;
  aspect-ratio: 1 / 1;

  .man-image {
    position: absolute;
    width: 100%;
    z-index: 4;
    bottom: 0;
    right: 5%;
  }
}


.man-container {
  position: absolute;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-images .man-container :nth-child(1) {
  position: absolute;
  z-index: 3;
  width: calc(90% - 150px);
  /* transform: rotate(45deg); */
  animation: rotate1 6s linear infinite;
}

.hero-images .man-container :nth-child(2) {
  position: absolute;
  z-index: 2;
  width: calc(90% - 75px);
  animation: rotate2 10s linear infinite;
}

.hero-images .man-container :nth-child(3) {
  position: absolute;
  z-index: 1;

  width: 90%;
  animation: rotate3 14s linear infinite;
}

/* keyframes */
@keyframes rotate1 {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotate2 {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }

  /* عكس الاتجاه */
}

@keyframes rotate3 {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .container {
    grid-template-columns: 1fr;
  }

  .hero-images {
    order: -1;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr 1fr;

  }
}




/* ------------------------------
   🌗 THEME VARIABLES
------------------------------ */



/* ------------------------------
     🌍 LANGUAGE DIRECTION
  ------------------------------ */
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] {
  direction: ltr;
  text-align: left;
}

/* ------------------------------
     🧱 HEADER STYLES
  ------------------------------ */

/* Container */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Header */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: var(--header-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header.scrolled {
  background: var(--header-bg-scrolled);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 2px 5px var(--header-shadow);
}

/* Nav */
.nav {
  padding: 1rem 0;
  padding-inline: 20px;
}

/* Logo container */
.logo {
  display: flex;
  align-items: center;
  gap: 5px;          /* reduced spacing for a cleaner header */
  font-size: 1rem;  /* adjust text size next to logo */
  font-weight: 500;
  color: var(--text-color);
}

/* Logo image */
.logo-img {
  max-width: 100px;   /* maximum width */
  height: auto;       /* keep aspect ratio */
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-img {
      max-width: 90px;
  }
  .logo {
      gap: 8px;
      font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .logo-img {
      max-width: 70px;
  }
  .logo {
      gap: 6px;
      font-size: 0.9rem;
  }
}


/* Desktop Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-hover);
}

/* Button */
.btn-apply {
  background: var(--btn-bg) !important;
  color: var(--btn-color) !important;
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s ease;
  justify-content: center !important;
}

.start-now {
  width: max-content;
}

.btn-apply:hover {
  background: var(--btn-bg-hover) !important;
  color: white !important;

}

/* Mobile Menu Button */
.menu-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
  color: var(--text-color);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem 1.5rem;
  background: var(--mobile-bg);
  border-bottom: 1px solid var(--mobile-border);
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 1rem;
}

.mobile-menu .btn-apply {
  width: 100%;
}

/* When mobile menu open */
.header.menu-open {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .header {
    flex-direction: column;
  }

  .menu-btn {
    display: block;
  }

  .mobile-menu.active {
    display: flex;
    width: 100%;
  }
}

/* ------------------------------
     🌗 TOGGLE BUTTONS (Dark / Lang)
  ------------------------------ */
.theme-toggle,
.lang-toggle {
  position: fixed;
  bottom: 20px;
  border: 1px solid var(--header-border);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  background: var(--mobile-bg);
  color: var(--text-color);
  z-index: 2000;
}

.theme-toggle:hover,
.lang-toggle:hover {
  background: var(--header-bg-scrolled);
}

.theme-toggle {
  right: 20px;
}

.lang-toggle {
  right: 75px;
}


.lang-btn {
  background: transparent;
  border: 1px solid var(--btn-bg);
  color: var(--btn-bg);
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.lang-btn:hover {
  background: var(--btn-bg);
  color: #fff;
}



/* From Uiverse.io by cuzpq */
.theme-checkbox {
  --toggle-size: 16px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 3.25em;
  height: 2.125em;
  background: -webkit-gradient(linear, left top, right top, color-stop(50%, #efefef), color-stop(50%, #2a2a2a)) no-repeat;
  background: -o-linear-gradient(left, #efefef 50%, #2a2a2a 50%) no-repeat;
  background: linear-gradient(to right, #efefef 50%, #2a2a2a 50%) no-repeat;
  background-size: 205%;
  background-position: 0;
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
  border-radius: 99em;
  position: relative;
  cursor: pointer;
  font-size: var(--toggle-size);
}




.theme-checkbox::before {
  content: "";
  width: 1.1em;
  height: 1.1em;
  position: absolute;
  top: 0.438em;
  left: 0.438em;
  background: -webkit-gradient(linear, left top, right top, color-stop(50%, #efefef), color-stop(50%, #2a2a2a)) no-repeat;
  background: -o-linear-gradient(left, #efefef 50%, #2a2a2a 50%) no-repeat;
  background: linear-gradient(to right, #efefef 50%, #2a2a2a 50%) no-repeat;
  background-size: 205%;
  background-position: 100%;
  border-radius: 50%;
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}

.theme-checkbox:checked::before {
  left: calc(100% - 1.20em - 0.438em);
  background-position: 0;
}

.theme-checkbox:checked {
  background-position: 100%;
}









.plans-section {
  padding: 100px 20px !important;
  position: relative;
  overflow: visible;
}

.plans-header {
  text-align: center;
  margin-bottom: 60px;
}

.plans-header .tag {
  display: inline-block;
  padding: 6px 20px;
  background: var(--section-tag-bg);
  color: white;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.plans-header h2 {
  font-size: 3rem;
  margin: 10px 0;
}

.plans-header p {
  font-size: 1.2rem;
  color: var(--text-sub);
  max-width: 700px;
  margin: 0 auto;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

@media(min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan-card {
  position: relative;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 30px;
  padding: 50px 30px 30px 30px;
  box-shadow: 0 10px 30px var(--card-shadow);
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--card-shadow);
}

.plan-card.popular {
  border-color: #FF7434;
  margin-top: -20px;
}

.plan-card .popular-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, #FF7434, #238481);
  color: white;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.plan-card .plan-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom right, #FF7434, #238481);
  border-radius: 16px;
  font-size: 1.5rem;
  color: white;
  transition: transform 0.6s ease;
}

.plan-card:hover .plan-icon {
  transform: rotate(360deg) scale(1.1);
}

.plan-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.plan-card .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.plan-card .price span:first-child {
  font-size: 2.5rem;
}

.plan-card .price span:last-child {
  font-size: 1rem;
  color: var(--text-sub);
}

.plan-card p.description {
  color: var(--text-sub);
  margin-bottom: 20px;
  min-height: 50px;
}

.plan-card button {
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 12px;
  background: var(--button-bg);
  color: var(--button-text);
  font-size: 1rem;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.3s;
}

.plan-card button:hover {
  background: var(--button-hover);
}

.plan-items {
  margin-top: 10px;
}

.plan-items .item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateX(-10px);
  animation: fadeIn 0.5s forwards;
}

.plan-items .item .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e5e5;
  flex-shrink: 0;
}

.plan-items .item.included .check {
  background: #DFF6DD;
  color: #27AE60;
}

.plan-items .item.excluded .check {
  color: #aaa;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.plans-buttons {
  width: 100%;
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}



.btn-primary:hover {
  background: var(--hero-btn-primary-hover);
}




:root {
  /* Light mode variables */
  --stats-bg: #f9fafb;
  --stats-text-main: #111827;
  --hover-bg: rgba(0,0,0,0.05);
  --stats-text-muted: #6b7280;
  --stats-card-bg: #ffffff;
  --stats-card-shadow: rgba(0, 0, 0, 0.06);
  --stats-card-hover-shadow: rgba(0, 0, 0, 0.1);
  --stats-badge-bg: #f3e8ff;
  --stats-badge-text: #6b21a8;

  /* Icon color backgrounds */
  --color-purple-bg: #f3e8ff;
  --color-purple: #7e22ce;
  --color-blue-bg: #e0f2fe;
  --color-blue: #0284c7;
  --color-amber-bg: #fef3c7;
  --color-amber: #d97706;
  --color-green-bg: #dcfce7;
  --color-green: #15803d;
  --color-rose-bg: #ffe4e6;
  --color-rose: #e11d48;
  --color-yellow-bg: #fef9c3;
  --color-yellow: #ca8a04;

  /* 🌞 Light Theme */
  --bg-gradient: linear-gradient(to bottom, #ffffff, #f9f9f9, #eefcfb);
  --text-main: #111;
  --text-sub: #555;
  --card-bg: rgba(255, 255, 255, 0.8);
  --card-border: rgba(0, 0, 0, 0.05);
  --card-shadow: rgba(0, 0, 0, 0.05);
  --section-tag-bg: linear-gradient(to right, #FF7434, #238481);
  --final-bg: linear-gradient(to right, #FF7434, #238481);
  --button-bg: #FF7434;
  --button-text: #fff;
  --button-hover: #ff8d58;
  --hero-btn-primary-bg: #FF7434;
  --hero-btn-primary-hover: #ff8d58;

  /* Light mode */

  --header-bg: transparent;
  --header-bg-scrolled: rgba(255, 255, 255, 0.95);
  --header-border: #e5e5e5;
  --header-shadow: rgba(0, 0, 0, 0.05);
  --text-color: #333;
  --text-hover: #b4b4b4;
  --btn-bg: #FF7434;
  --btn-bg-hover: #ff8d58;
  --btn-color: #fff;
  --mobile-bg: #fff;
  --mobile-border: #eee;

  /* Light Theme */
  --hero-bg: #ffffff;
  --hero-text: #111111;
  --hero-text2: #238481;
  --hero-subtext: #555555;
  --hero-tag-bg: #f3f3f3;
  --hero-border: #e5e5e5;
  --hero-btn-primary-bg: #FF7434;
  --hero-btn-primary-hover: #ff8d58;
  --hero-btn-outline-border: #ccc;
  --hero-img-bg: #e5e5e5;

  --bg: #ffffff;
  --text: #111111;
  --subtext: #555555;
  --primary: #FF7434;
  --accent: #238481;
  --card-bg: #f3f3f3;

  /* Light Theme */
  --hero-bg: #ffffff;
  --hero-text: #111111;
  --hero-text2: #238481;
  --hero-subtext: #555555;
  --hero-tag-bg: #f3f3f3;
  --hero-border: #e5e5e5;
  --hero-btn-primary-bg: #FF7434;
  --hero-btn-primary-hover: #ff8d58;
  --hero-btn-outline-border: #ccc;
  --hero-img-bg: #e5e5e5;

  --primary1: #FF7434;
  --secondary2: #238481;
  --bg-dark: #f5f5f5;
  --bg-light: #f5f5f5;
  /**/
  --text-dark: #212121;
  /**/
  --text-light: #f5f5f5;
  --card-dark: #f5f5f5;
  --card-light: #fff;
  /**/
  --border-dark: #238481;
  --border-light: #ddd;
  /**/
  --speed-bg: rgba(0, 0, 0, 0.05);
  --speed-border: rgba(0, 0, 0, 0.1);

  --bg-gradient: linear-gradient(to bottom, #ffffff, #f9f9f9, #eefcfb);
  --text-main: #111;
  --text-sub: #555;
  --card-bg: rgba(255, 255, 255, 0.8);
  --card-border: rgba(0, 0, 0, 0.05);
  --card-shadow: rgba(0, 0, 0, 0.05);
  --section-tag-bg: linear-gradient(to right, #FF7434, #238481);
  --final-bg: linear-gradient(to right, #FF7434, #238481);
  --button-bg: #FF7434;
  --button-text: #fff;
  --button-hover: #ff8d58;

  /* Light Theme */
  --body-bg: #ffffff;

  --about-bg: #ffffff;
  --about-text: #111111;
  --about-accent: #238481;
  --about-muted: #555555;
  --about-card-bg: #f3f3f3;
  --about-card-border: #e5e5e5;
  --about-icon-bg: #111111;
  --about-icon-color: #ffffff;
  --about-gradient: #fafafa;
  --about-blur-bg: rgba(0, 0, 0, 0.02);
  --about-hover-border: #cccccc;

}

body.dark-mode {
  /* Dark mode variables */
  --stats-bg: #1a1a1a;
  --stats-text-main: #f5f5f5;
  --stats-text-muted: #aaaaaa;
  --stats-card-bg: #181818;
  --stats-card-shadow: rgba(255, 255, 255, 0.05);
  --stats-card-hover-shadow: rgba(255, 255, 255, 0.08);
  --stats-badge-bg: #2a1a3d;
  --stats-badge-text: #d6b6ff;
  background: var(--bg-gradient);

  --color-purple-bg: #2b1648;
  --color-purple: #b387ff;
  --color-blue-bg: #102a40;
  --color-blue: #6dc8ff;
  --color-amber-bg: #3c2b00;
  --color-amber: #ffd166;
  --color-green-bg: #0d2d14;
  --color-green: #5af78e;
  --color-rose-bg: #3c0e1a;
  --color-rose: #ff8fa3;
  --color-yellow-bg: #3b2e00;
  --color-yellow: #ffe066;

  /* 🌚 Dark Theme */
  --bg-gradient: linear-gradient(to bottom, #0f0f0f, #1a1a1a, #111);
  --text-main: #f7f7f7;
  --text-sub: #cccccc;
  --card-bg: rgba(25, 25, 25, 0.8);
  --card-border: rgba(255, 255, 255, 0.1);
  --card-shadow: rgba(0, 0, 0, 0.6);
  --section-tag-bg: linear-gradient(to right, #238481, #FF7434);
  --final-bg: linear-gradient(to right, #238481, #FF7434);
  --button-bg: #238481;
  --button-text: #fff;
  --button-hover: #2d9d9a;
  --hero-btn-primary-bg: #FF7434;
  --hero-btn-primary-hover: #ff8d58;


  /* Dark mode */
  --header-bg: transparent;
  --header-bg-scrolled: rgba(18, 18, 18, 0.95);
  --header-border: #2e2e2e;
  --header-shadow: rgba(0, 0, 0, 0.4);
  --text-color: #e5e5e5;
  --text-hover: #a3a3a3;
  --btn-bg: #FF7434;
  --btn-bg-hover: #ff8d58;
  --btn-color: #fff;
  --mobile-bg: #1a1a1a;
  --mobile-border: #333;

  /* Dark Theme */
  --hero-bg: #0f0f0f;
  --hero-text: #ffffff;
  --hero-text2: #238481;
  --hero-subtext: #bbbbbb;
  --hero-tag-bg: #1c1c1c;
  --hero-border: #333333;
  --hero-btn-primary-bg: #FF7434;
  --hero-btn-primary-hover: #ff8d58;
  --hero-btn-outline-border: #444444;
  --hero-img-bg: #222222;


  /* Dark Theme */
  --hero-bg: #0f0f0f;
  --hero-text: #ffffff;
  --hero-text2: #238481;
  --hero-subtext: #bbbbbb;
  --hero-tag-bg: #1c1c1c;
  --hero-border: #333333;
  --hero-btn-primary-bg: #FF7434;
  --hero-btn-primary-hover: #ff8d58;
  --hero-btn-outline-border: #444444;
  --hero-img-bg: #222222;

  --primary1: #FF7434;
  --secondary2: #238481;
  --bg-dark: #0a0a0a;
  --bg-light: #f5f5f5;
  --text-dark: #fff;
  --text-light: #000;
  --card-dark: #212121;
  --card-light: #fff;
  --border-dark: #414141;
  --border-light: #ddd;
  --speed-bg: rgba(255, 255, 255, 0.05);
  --speed-border: rgba(255, 255, 255, 0.1);


  --bg-gradient: linear-gradient(to bottom, #0f0f0f, #1a1a1a, #111);
  --text-main: #f7f7f7;
  --text-sub: #cccccc;
  --card-bg: rgba(25, 25, 25, 0.8);
  --card-border: rgba(255, 255, 255, 0.1);
  --card-shadow: rgba(0, 0, 0, 0.6);
  --section-tag-bg: linear-gradient(to right, #238481, #FF7434);
  --final-bg: linear-gradient(to right, #238481, #FF7434);
  --button-bg: #238481;
  --button-text: #fff;
  --button-hover: #2d9d9a;


  --body-bg: #121212;

  --about-bg: #0f0f0f;
  --about-text: #ffffff;
  --about-accent: #238481;
  --about-muted: #bbbbbb;
  --about-card-bg: #1c1c1c;
  --about-card-border: #333333;
  --about-icon-bg: #ffffff;
  --about-icon-color: #000000;
  --about-gradient: rgba(15, 15, 15, 0.9);
  --about-blur-bg: rgba(255, 255, 255, 0.05);
  --about-hover-border: rgba(255, 255, 255, 0.3);
}

/* ------------------ Section Styling ------------------ */
.stats-section {
  background: var(--stats-bg);
  padding: 100px 20px;
  transition: background 0.4s ease, color 0.4s ease;
}

.stats-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.stats-badge {
  display: inline-block;
  background: var(--stats-badge-bg);
  color: var(--stats-badge-text);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.stats-title {
  font-size: 42px;
  margin-bottom: 12px;
  color: var(--stats-text-main);
  transition: color 0.3s ease;
}

.stats-desc {
  color: var(--stats-text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 60px;
  transition: color 0.3s ease;
}

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

.stat-item {
  background: var(--stats-card-bg);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid var(--stats-card-shadow);
  /* box-shadow: 0 4px 12px var(--stats-card-shadow); */
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;

  /* background: var(--stats-card-bg);
  
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 32px;
  text-align: left;
  box-shadow: 0 8px 20px var(--stats-card-shadow);
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s; */


}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px var(--stats-card-hover-shadow);
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  width: 56px;
  aspect-ratio: 1 / 1;
  justify-content: center;
  padding: 16px;
  border-radius: 50%;
  font-size: 24px;
  margin-bottom: 20px;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Icon color classes */
.stat-icon.purple {
  background: var(--color-purple-bg);
  color: var(--color-purple);
}

.stat-icon.blue {
  background: var(--color-blue-bg);
  color: var(--color-blue);
}

.stat-icon.amber {
  background: var(--color-amber-bg);
  color: var(--color-amber);
}

.stat-icon.green {
  background: var(--color-green-bg);
  color: var(--color-green);
}

.stat-icon.rose {
  background: var(--color-rose-bg);
  color: var(--color-rose);
}

.stat-icon.yellow {
  background: var(--color-yellow-bg);
  color: var(--color-yellow);
}

.stat-number {
  font-size: 24px;
  font-weight: bold;
  color: var(--stats-text-main);
  transition: color 0.3s ease;
}

.stat-label {
  color: var(--stats-text-muted);
  margin-top: 8px;
  font-size: 16px;
  transition: color 0.3s ease;
}




/* Server alert container */
#serverAlert {
  max-width: 600px; /* compact width */
  margin: 1rem auto 2rem auto; /* top and bottom spacing */
  text-align: center;
  display: flex;
  flex-direction: column; /* stack multiple alerts vertically */
  gap: 0.75rem; /* consistent spacing between alerts */
}

/* Each alert message */
#serverAlert .alert {
  display: inline-block; /* shrink to content */
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  margin: 0; /* margin handled by container gap */
}

/* Success alert */
#serverAlert .alert-success {
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
}

/* Danger / error alert */
#serverAlert .alert-danger {
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}

/* Fade in animation for alerts */
#serverAlert .alert {
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}


.avatar-block{
  color: var(--btn-bg-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border:solid 1px var(--btn-bg-hover);
  padding-left: 20px;
  border-radius: 32px;

  p{
    margin: 0;
    font-size: 20px;
  }
}

/* Hide Bootstrap dropdown arrow */
.admin-start-btn::after {
  display: none !important;
}

  /* Admin dropdown button */
.admin-profile .dropdown-toggle {
  background: var(--btn-bg);
  color: var(--button-text);
  border-radius: 25px;
  padding: 8px 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  transition: opacity 0.25s ease;
}

/* Hover effect for button */
.admin-profile .dropdown-toggle:hover {
  opacity: 0.8;
  background: var(--btn-bg); /* prevent bg changes */
}

/* Hide Bootstrap arrow */
.admin-profile .dropdown-toggle::after {
  display: none !important;
}

/* Dropdown menu container */
.admin-profile .dropdown-menu {
  background: var(--card-bg);  /* matches card/bg style */
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3); /* floating card look */
  padding: 8px 0;
  min-width: 200px; /* optional for consistent size */
}

/* Dropdown items */
.admin-profile .dropdown-item {
  padding: 10px 20px !important;
  border-radius: 25px !important;  /* pill style */
  color: var(--text-main) !important;
  background: var(--btn-bg) !important;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
 }

/* Hover effect for items */
.admin-profile .dropdown-item:hover,
.admin-profile .dropdown-item:focus {
  opacity: 0.8;
  color: var(--button-text) !important;
  text-decoration: none;
  background: var(--btn-bg) !important; /* keep bg consistent */
}

 

/* Dashboard item (inherits above styles, just keep it same style) */
.admin-profile .dropdown-item.dashboard {
  background: transparent !important;
  color: var(--text-main) !important;
}

/* Hover for Dashboard */
.admin-profile .dropdown-item.dashboard:hover,
.admin-profile .dropdown-item.dashboard:focus {
  background: var(--hover-bg, rgba(0,0,0,0.05)) !important;
  color: var(--text-main) !important;
}


 


/* Divider styling (optional) */
.admin-profile .dropdown-divider {
  margin: 4px 0;
  border-color: rgba(255,255,255,0.1);
}

.admin-profile .dropdown-item:not(:last-child) {
  margin-bottom: 6px; /* optional spacing without breaking hover */
}



/* Make Logout item transparent */
.admin-profile .dropdown-item.text-danger {
  background: transparent !important; /* no background by default */
  color: #dc3545 !important; /* red text */
}

/* Hover/focus effect for Logout item */
.admin-profile .dropdown-item.text-danger:hover,
.admin-profile .dropdown-item.text-danger:focus {
  background: rgba(220, 53, 69, 0.05) !important; /* subtle red hover */
  color: #dc3545 !important; /* keep text red */
  text-decoration: none;
}


/* Admin icon next to name */
.admin-profile .admin-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;      /* match the text color automatically */
  vertical-align: middle;  /* align with text */
  transition: transform 0.25s ease, color 0.25s ease;
}

/* Optional: rotate dropdown arrow style if you want animation */
.admin-profile .dropdown-toggle:after {
  display: none; /* hiding default Bootstrap arrow */
}

/* Adjust gap between text and icon */
.admin-profile .dropdown-toggle .admin-name {
  margin-right: 6px; /* space between name and icon */
}
