/* ========================================
   إنجازي - Custom Styles for Bootstrap 5
   ======================================== */

/* ===== Color Variables ===== */

@import url('./vars.css');

:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #2dd4bf;
  --secondary: #64748b;
  --background-light: #f8fafc;
  --background-dark: #0f172a;
  --surface-light: #ffffff;
  --surface-dark: #1e293b;
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
}

/* ===== Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Readex Pro', 'Inter', sans-serif;
  background-color: var(--background-light);
  color: var(--slate-800);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition:
    background-color 0.3s,
    color 0.3s;
}

body.dark-mode {
  background-color: var(--background-dark);
  color: var(--slate-100);
}

/* ===== Typography ===== */
.font-display {
  font-family: 'Readex Pro', sans-serif;
}

.gradient-text {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(to left, var(--primary), var(--primary-light));
}

/* ===== Utility Classes ===== */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.mask-gradient-fade {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* ===== Animations ===== */
@keyframes infinite-scroll-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes infinite-scroll-down {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.animate-infinite-scroll-up {
  animation: infinite-scroll-up 30s linear infinite;
}

.animate-infinite-scroll-down {
  animation: infinite-scroll-down 30s linear infinite;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* ===== Navigation Bar ===== */
.navbar-custom {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
}

/* Hide mobile menu on large screens */
@media (min-width: 992px) {
  #navbarNav {
    display: none !important;
  }
}

body.dark-mode .navbar-custom {
  background-color: rgba(30, 41, 59, 0.9);
  border-bottom-color: var(--slate-700);
}

.nav-link-custom {
  color: var(--slate-600);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0.25rem;
  transition: color 0.3s;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--primary);
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s;
}

.nav-link-custom:hover::after {
  width: 100%;
}

body.dark-mode .nav-link-custom {
  color: var(--slate-400);
}

body.dark-mode .nav-link-custom:hover,
body.dark-mode .nav-link-custom.active {
  color: var(--primary);
}

/* ===== Buttons ===== */
.btn-primary-custom {
  background: linear-gradient(to left, var(--primary), var(--teal-600));
  border: none;
  color: white;
  font-weight: 700;
  padding: 1.25rem 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(13, 148, 136, 0.3);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-primary-custom:hover {
  background: linear-gradient(to left, var(--teal-600), var(--teal-700));
  box-shadow: 0 20px 25px -5px rgba(13, 148, 136, 0.5);
  transform: translateY(-4px) scale(1.02);
  color: white;
}

.btn-outline-primary-custom {
  background-color: white;
  border: 1px solid var(--primary);
  color: var(--primary) !important;
  font-weight: 700;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  transition: all 0.3s;
}

.btn-outline-primary-custom:hover {
  background-color: var(--slate-50);
  color: var(--primary);
}

body.dark-mode .btn-outline-primary-custom {
  background-color: var(--slate-800);
  border-color: var(--primary);
}

body.dark-mode .btn-outline-primary-custom:hover {
  background-color: var(--slate-700);
}

.btn-sm-custom {
  padding: 0.625rem 1.5rem;
  font-size: 1rem;
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 8rem;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.1;
  pointer-events: none;
}

body.dark-mode .hero-bg-gradient {
  opacity: 0.2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: var(--teal-100);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--teal-200);
}

body.dark-mode .hero-badge {
  background-color: rgba(19, 78, 74, 0.3);
  border-color: var(--teal-800);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-description {
  font-size: 1.25rem;
  color: var(--slate-600);
  line-height: 1.625;
}

body.dark-mode .hero-description {
  color: var(--slate-400);
}

/* ===== Animated Cards ===== */
.animated-cards-container {
  position: relative;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.animated-cards-blur {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background-color: rgba(20, 184, 166, 0.2);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.card-preview {
  background-color: white;
  border-radius: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--slate-100);
  overflow: hidden;
}

body.dark-mode .card-preview {
  background-color: var(--slate-900);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  border-color: var(--slate-800);
}

/* ===== Features Section ===== */
.feature-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background-color: var(--slate-50);
  border: 1px solid var(--slate-100);
  transition: all 0.3s;
}

.feature-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body.dark-mode .feature-card {
  background-color: var(--slate-800);
  border-color: var(--slate-700);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

body.dark-mode .feature-icon {
  background-color: var(--slate-700);
}

/* ===== Mobile App Section ===== */
.mobile-app-section {
  padding: 4rem 0;
  background-color: var(--mobile);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .mobile-app-section {
    padding: 3rem 0;
  }

  .mobile-app-section .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .btn-primary-custom {
    justify-content: center;
    text-align: center;
  }
}

body.dark-mode .mobile-app-section {
  background-color: var(--background-dark);
}

.mobile-app-card {
  background: linear-gradient(to bottom right, var(--primary), #115e59);
  border-radius: 3rem;
  padding: 5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===== Testimonials Section ===== */
.testimonial-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--slate-100);
  transition: all 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

body.dark-mode .testimonial-card {
  background-color: var(--surface-dark);
  border-color: var(--slate-800);
}

/* ===== Certificates Section ===== */
.certificate-card {
  width: 300px;
  background-color: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--slate-100);
  transition: all 0.5s;
}

.certificate-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(-4px);
}

@media (min-width: 768px) {
  .certificate-card {
    width: 350px;
  }
}

body.dark-mode .certificate-card {
  background-color: var(--slate-900);
  border-color: var(--slate-800);
}

.certificate-image {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
}

.certificate-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.7s ease-out !important;
}

.certificate-card:hover .certificate-image img {
  transform: scale(1.1);
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom left, var(--slate-900), var(--slate-800));
  color: white;
  position: relative;
  overflow: hidden;
}

/* ===== Footer ===== */
.footer {
  background-color: white;
  border-top: 1px solid var(--slate-200);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

body.dark-mode .footer {
  background-color: var(--surface-dark);
  border-top-color: var(--slate-800);
}

/* ===== Image Modal ===== */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  cursor: pointer;
  animation: fadeIn 0.3s ease;
}

.image-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 0.5rem;
  animation: zoomIn 0.3s ease;
}

.image-modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.image-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== Responsive Utilities ===== */
.pc {
  display: none;
}

.mo {
  display: block;
}

@media (min-width: 1024px) {
  .pc {
    display: flex;
  }

  .mo {
    display: none;
  }
}

/* ===== Dark Mode Toggle ===== */
body.dark-mode {
  background-color: var(--background-dark);
  color: var(--slate-100);
}

body.dark-mode .bg-light-custom {
  background-color: var(--surface-dark) !important;
}

body.dark-mode .text-dark-custom {
  color: var(--slate-100) !important;
}

body.dark-mode .border-light-custom {
  border-color: var(--slate-700) !important;
}

/* ===== Additional Custom Styles ===== */
.rounded-custom-xl {
  border-radius: 1rem;
}

.rounded-custom-2xl {
  border-radius: 1.5rem;
}

.rounded-custom-3xl {
  border-radius: 2rem;
}

.shadow-custom {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

body.dark-mode .shadow-custom {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.backdrop-blur-custom {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ===== Scroll Snap ===== */
.scroll-snap-x {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.scroll-snap-center {
  scroll-snap-align: center;
}

/* Hover effect for app image */
.hover-straight:hover {
  transform: rotate(0deg) !important;
}

h4.fw-bold.mb-4 {
  font-size: 1rem !important;
}

@media (max-width: 768px) {
  .mobile-app-card {
    background: linear-gradient(to bottom right, var(--primary), #115e59);
    border-radius: 3rem;
    padding: 5rem 2rem 5rem 2rem;
  }

  .mobile-app-card h3 {
    font-size: 2.5rem !important;
    line-height: 1.2;
  }

  .mobile-app-card .animate-float {
    width: 240px !important;
  }
}

/* Section Styling */
.contact-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.contact-section.light-mode {
  background-color: var(--contact);
}

.contact-section.dark-mode {
  background-color: #020617;
}

/* Gradient Overlay Background */
.gradient-bg {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: radial-gradient(#0d9488 1px, transparent 1px);
  background-size: 32px 32px;
}

.dark-mode .gradient-bg {
  opacity: 0.05;
}

/* Floating Blobs */
.blob-top-right {
  position: absolute;
  top: 0;
  right: 25%;
  width: 24rem;
  height: 24rem;
  background: rgba(13, 148, 136, 0.1);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.blob-bottom-left {
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: rgba(100, 116, 139, 0.1);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

/* Card Styling */
.contact-card {
  border-radius: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}

.contact-card.light-mode {
  background-color: var(--mobile);
  border: 1px solid var(--new-border);
}

.contact-card.dark-mode {
  background-color: var(--surface-dark);
  border: 1px solid #334155;
}

/* Left Section with Gradient */
.contact-info-section {
  flex: 1;
  min-width: 100%;
  background: linear-gradient(to bottom right, var(--primary), var(--teal-dark));
  padding: 2.5rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-info-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 10rem;
  height: 10rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(2rem);
  margin-top: -2.5rem;
  margin-right: -2.5rem;
}

.contact-info-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 10rem;
  height: 10rem;
  background: rgba(45, 212, 191, 0.2);
  border-radius: 50%;
  filter: blur(2rem);
  margin-bottom: -2.5rem;
  margin-left: -2.5rem;
}

/* Right Section for Form */
.contact-form-section {
  flex: 1;
  min-width: 100%;
  padding: 2.5rem;
}

.contact-form-section.light-mode {
  background-color: var(--mobile);
}

.contact-form-section.dark-mode {
  background-color: var(--surface-dark);
}

/* Icon Boxes */
.icon-box {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  backdrop-filter: blur(12px);
  font-size: 1.5rem;
}

/* Contact Item */
.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-item-label {
  display: block;
  color: rgb(204, 251, 241);
  font-size: 0.875rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.contact-item-value {
  font-size: 1.125rem;
}

.contact-item-value a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item-value a:hover {
  color: white;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.social-icon:hover {
  background: white;
  color: var(--primary);
}

.social-text {
  font-size: 0.875rem;
  color: rgb(204, 251, 241);
  margin-right: auto;
}

/* Form Styling */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.form-label.light-mode {
  color: var(--text-color-sd);
}

.form-label.dark-mode {
  color: #cbd5e1;
}

.form-control,
.form-control-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid;
  font-family: 'Readex Pro', sans-serif;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-control.light-mode,
.form-control-textarea.light-mode {
  border-color: #cbd5e1 !important;
  background-color: var(--template) !important;
  color: var(--text-color-sd) !important;
}

.form-control.light-mode::placeholder,
.form-control-textarea.light-mode::placeholder {
  color: #9ca3af;
}

.form-control.light-mode:focus,
.form-control-textarea.light-mode:focus {
  border-color: var(--primary) !important;
  background-color: var(--template) !important;
  color: var(--text-color-sd) !important;
  box-shadow: 0 0 0 0.2rem rgba(13, 148, 136, 0.25) !important;
  outline: none !important;
}

.form-control.dark-mode,
.form-control-textarea.dark-mode {
  border-color: #64748b;
  background-color: rgba(51, 65, 85, 0.5);
  color: white;
}

.form-control.dark-mode::placeholder,
.form-control-textarea.dark-mode::placeholder {
  color: #cbd5e1;
}

.form-control.dark-mode:focus,
.form-control-textarea.dark-mode:focus {
  border-color: var(--primary);
  background-color: rgba(51, 65, 85, 0.5);
  color: white;
  box-shadow: 0 0 0 0.2rem rgba(13, 148, 136, 0.25);
  outline: none;
}

.form-control-textarea {
  resize: none;
  font-family: 'Readex Pro', sans-serif;
}

/* Submit Button */
.btn-submit {
  background-color: var(--primary);
  color: white;
  font-weight: bold;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 15px -3px rgba(20, 184, 166, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-submit:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 10px 15px -3px rgba(20, 184, 166, 0.4);
  transform: translateY(-0.25rem);
  color: white;
  text-decoration: none;
}

/* Heading Styling */
.section-subtitle {
  color: var(--primary);
  font-weight: bold;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-title.light-mode {
  color: #111827;
}

.section-title.dark-mode {
  color: white;
}

.section-description {
  font-size: 1.125rem;
}

.section-description.light-mode {
  color: #475569;
}

.section-description.dark-mode {
  color: #94a3b8;
}

/* Contact Info Section Title */
.contact-info-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (min-width: 992px) {
  .contact-card {
    flex-wrap: nowrap;
  }

  .contact-info-section {
    flex: 0 0 40%;
    min-width: 40%;
    padding: 3.5rem;
  }

  .contact-form-section {
    flex: 0 0 60%;
    min-width: 60%;
    padding: 3.5rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  @media (max-width: 768px) {
    .section-title {
      font-size: 1.875rem;
    }
  }
}

@media (max-width: 575px) {
  .contact-section {
    padding: 3rem 0;
  }

  .contact-info-section {
    padding: 2rem;
  }

  .contact-form-section {
    padding: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .btn-submit {
    width: 100%;
    justify-content: center;
  }

  .contact-item-value {
    font-size: 1rem;
  }
}

.contact-info-section {
  flex: 1;
  background: linear-gradient(to bottom right, #0d9488, #115e59);
}

/* ========================================
   Login Page Styles
   ======================================== */

/* Login page specific variables */
:root {
  --primary-color: #0d9488;
  --primary-dark: #115e59;
  --secondary-color: #64748b;
  --bg-light: #f8fafc;
  --bg-dark: #0f172a;
  --surface-light: #ffffff;
  --surface-dark: #1e293b;
}

/* Glass panel effect for login */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
}

body.dark-mode .glass-panel {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(51, 65, 85, 0.3);
}

/* Enhanced input styles for login */
.input-enhanced {
  border-radius: 1rem;
  border: 0;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.5);
  color: #1e293b;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

body.dark-mode .input-enhanced {
  background: rgba(15, 23, 42, 0.5);
  color: #fff;
}

.input-enhanced:focus {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 148, 136, 0.25);
  color: #1e293b;
}

body.dark-mode .input-enhanced:focus {
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
}

/* Button styles for login */
.btn-primary {
  background: linear-gradient(to left, var(--primary-color), #14b8a6);
  border: none;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(20, 184, 166, 0.2);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(to left, var(--primary-color), #0d7377);
  box-shadow: 0 15px 30px rgba(20, 184, 166, 0.4);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Blob animation */
@keyframes blob {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  100% {
    transform: translate(0px, 0px) scale(1);
  }
}

.blob {
  animation: blob 7s infinite;
}

/* Logo icon styles */
.logo-icon {
  color: var(--primary-color);
  font-size: 3.5rem;
  background: white;
  padding: 1.5rem;
  border-radius: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

body.dark-mode .logo-icon {
  background: #1e293b;
}

.logo-container:hover .logo-icon {
  transform: translateY(-0.5rem);
}

/* Selection styling */
::selection {
  background-color: var(--primary-color);
  color: white;
}

/* Text primary styling */
.text-primary {
  color: var(--primary-color) !important;
}

.text-primary:hover {
  color: var(--primary-dark) !important;
}

/* Link styling */
a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline !important;
}

/* Gradient top bar */
.gradient-top {
  background: linear-gradient(to right, transparent, var(--primary-color), transparent);
  height: 6px;
  opacity: 0.5;
}

/* Enhanced shadow */
.shadow-lg {
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 6%) !important;
}

/* ========================================
   Order Page Styles
   ======================================== */

/* Order page specific variables */
:root {
  --primary: #1ca390;
  --primary-dark: #168676;
  --background-light: #f3f4f6;
  --background-dark: #0f172a;
  --surface-light: #ffffff;
  --surface-dark: #1e293b;
  --text-light: #374151;
  --text-dark: #e2e8f0;
  --border-light: #e5e7eb;
  --border-dark: #334155;
}

/* Base styles for order page */
body {
  font-family: 'Readex Pro', sans-serif;
  background-color: #f3f4f6;
  color: #374151;
  min-height: 100vh;
  transition: all 0.3s ease;
  margin: 0;
}

/* Navigation for order page */
.navbar-custom {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Card styles for order page */
.card-custom {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.02),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

/* Text colors for order page */
.text-primary {
  color: #1ca390 !important;
}
.text-gray-800 {
  color: #374151 !important;
}
.text-gray-600 {
  color: #4b5563 !important;
}
.text-gray-500 {
  color: #6b7280 !important;
}
.text-gray-400 {
  color: #9ca3af !important;
}
.text-white {
  color: #ffffff !important;
}

/* Border colors for order page */
.border-border-light {
  border-color: #e5e7eb !important;
}
.border-gray-300 {
  border-color: #d1d5db !important;
}

/* Dashed border */
.border-dashed {
  border: 1px dashed #d1d5db !important;
}

/* Background colors for order page */
.bg-gray-50 {
  background-color: #f9fafb !important;
}
.bg-gray-200 {
  background-color: #e5e7eb !important;
}
.bg-gray-700 {
  background-color: #374151 !important;
}
.bg-gray-800 {
  background-color: #1f2937 !important;
}
.bg-white {
  background-color: #ffffff !important;
}

/* Form controls for order page */
.form-control-custom {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.75rem 0.75rem 0.75rem 3rem;
  transition: all 0.2s ease;
  color: #374151;
}

body.dark-mode .form-control-custom {
  background-color: #1f2937;
  border-color: #334155;
  color: #e2e8f0;
}

.form-control-custom:focus {
  border-color: #1ca390;
  box-shadow: 0 0 0 0.2rem rgba(28, 163, 144, 0.25);
  outline: none;
}

/* Icon positioning */
.input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
  transition: color 0.2s ease;
  z-index: 10;
}

.position-relative:focus-within .input-icon {
  color: #1ca390;
}

/* Form labels */
.form-label-custom {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

/* Buttons for order page */
.btn-primary-custom {
  background-color: #1ca390;
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  padding: 1rem;
  box-shadow: 0 10px 15px -3px rgba(28, 163, 144, 0.2);
  transition: all 0.3s ease;
  color: #ffffff;
}

.btn-primary-custom:hover {
  background-color: #168676;
  box-shadow: 0 10px 15px -3px rgba(28, 163, 144, 0.3);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-primary-custom:active {
  transform: scale(0.98);
}

/* Alert box */
.alert-custom {
  background-color: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 0.75rem;
  padding: 1rem;
}

body.dark-mode .alert-custom {
  background-color: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

/* Payment method */
.payment-option {
  background-color: #ffffff;
  border: 2px solid #1ca390;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.dark-mode .payment-option {
  background-color: #1f2937;
}

.payment-option:hover {
  background-color: rgba(28, 163, 144, 0.05);
}

body.dark-mode .payment-option:hover {
  background-color: rgba(28, 163, 144, 0.1);
}

/* Gradient bar */
.gradient-bar {
  height: 4px;
  background: linear-gradient(to right, #1ca390, #14b8a6);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

/* Sticky positioning */
.sticky-top-custom {
  position: sticky;
  top: 2rem;
}

/* Transition for height */
.transition-height {
  transition: max-height 0.3s ease-in-out;
}

/* Coupon section styling */
.coupon-button {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgb(28 163 144 / 1);
  opacity: 1;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  box-shadow: none;
  transition: color 0.2s ease;
  text-decoration: none;
}

.coupon-button:hover {
  color: rgb(22 134 118 / 1);
  text-decoration: none;
  box-shadow: none;
  background: none;
}

.coupon-button:focus {
  outline: none;
  box-shadow: none;
}

/* Material icons */
.material-icons-outlined {
  vertical-align: middle;
}

/* Payment option styling */
label.d-flex.align-items-center.justify-content-between.p-3.dark\:bg-gray-800.border.border-primary.rounded-xl.cursor-pointer.shadow-sm {
  background-color: #f0fdfa;
  border: 1px solid #1ca390 !important;
  border-radius: 1rem;
}

/* ========================================
   Mobile Responsive for Both Pages
   ======================================== */

/* Mobile Responsive for Login Page */
@media (max-width: 768px) {
  .glass-panel {
    padding: 1.5rem !important;
    border-radius: 1rem;
  }

  h1 {
    font-size: 1.75rem !important;
  }

  h2 {
    font-size: 1.25rem !important;
  }

  .input-enhanced {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .form-label {
    font-size: 0.9rem;
  }

  .btn {
    padding: 0.6rem 0.5rem !important;
    font-size: 0.95rem !important;
  }

  .material-symbols-outlined {
    font-size: 1.2rem !important;
  }

  p {
    font-size: 0.95rem;
  }

  .logo-container img {
    width: 150px !important;
    height: 120px !important;
  }

  footer {
    padding: 1rem !important;
  }
}

@media (max-width: 480px) {
  .glass-panel {
    padding: 1rem !important;
    border-radius: 0.75rem;
  }

  h1 {
    font-size: 1.5rem !important;
  }

  h2 {
    font-size: 1.1rem !important;
  }

  .input-enhanced {
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
  }

  .form-label {
    font-size: 0.85rem;
  }

  .btn {
    padding: 0.5rem 0.4rem !important;
    font-size: 0.9rem !important;
  }

  .material-symbols-outlined {
    font-size: 1rem !important;
  }

  .mb-5 {
    margin-bottom: 1.5rem !important;
  }

  .mb-4 {
    margin-bottom: 1rem !important;
  }

  .logo-container img {
    width: 120px !important;
    height: 100px !important;
  }

  footer {
    padding: 0.75rem !important;
  }

  p.text-secondary {
    font-size: 0.85rem;
  }
}

.form-control:focus {
  padding: 0.875rem 1.25rem 0.875rem 3rem !important;
}

.icon-box:before {
  content: '' !important;
}

section.template {
  background-color: var(--template);
}

a {
  color: var(--gray-border) !important;
}

.mobile-app-section p,
.mobile-app-section h2,
.mobile-app-section h3,
.mobile-app-section h4,
.mobile-app-section h5 {
  color: white !important;
}

.accordion-button::after {
  color: gray !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='gray'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e") !important;
}
