@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800;900&family=Outfit:wght@300;400;500;600;700;900&display=swap');

:root {
  /* Color Palette */
  --primary: #0A1F44;
  --secondary: #20E3B2;
  --accent: #ff2a74;
  --dark-bg: #030a16;
  --light-bg: #f5f8fc;

  /* Transition curve */
  --ease-transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --glass-blur: blur(12px);

  /* Dark Mode Default values */
  --bg-app: #040c1a;
  --bg-glass: rgba(10, 31, 68, 0.45);
  --bg-glass-hover: rgba(10, 31, 68, 0.65);
  --border-glass: rgba(32, 227, 178, 0.15);
  --border-glass-hover: rgba(32, 227, 178, 0.4);
  --text-main: #f0f5ff;
  --text-muted: #94a3b8;
  --shadow-glow: 0 0 25px rgba(32, 227, 178, 0.25);
  --shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  --grid-color: rgba(32, 227, 178, 0.03);
}

[data-theme="light"] {
  --bg-app: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.75);
  --bg-glass-hover: rgba(255, 255, 255, 0.9);
  --border-glass: rgba(10, 31, 68, 0.1);
  --border-glass-hover: rgba(10, 31, 68, 0.25);
  --text-main: #0a1f44;
  --text-muted: #64748b;
  --shadow-glow: 0 0 25px rgba(10, 31, 68, 0.1);
  --shadow-card: 0 8px 32px 0 rgba(10, 31, 68, 0.05);
  --grid-color: rgba(10, 31, 68, 0.02);
}

/* Reset and Core Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-app);
  color: var(--text-main);
  font-family: 'Cairo', 'Outfit', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.3s ease;
  line-height: 1.6;
}

/* Language styling adjustments */
[dir="rtl"] body {
  font-family: 'Cairo', sans-serif;
}

[dir="ltr"] body {
  font-family: 'Outfit', sans-serif;
}

/* Background grid effect */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  mask-image: radial-gradient(circle, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle, black, transparent 80%);
}

.glow-orb {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 227, 178, 0.1) 0%, transparent 70%);
  z-index: -2;
  filter: blur(40px);
  pointer-events: none;
}

.glow-orb-1 {
  top: -100px;
  inset-inline-start: -100px;
}

.glow-orb-2 {
  bottom: -100px;
  inset-inline-end: -100px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-app);
}

::-webkit-scrollbar-thumb {
  background: var(--border-glass);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--ease-transition);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background: rgba(var(--bg-app), 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--ease-transition);
}

header.scrolled {
  height: 70px;
  background: var(--bg-app);
  box-shadow: var(--shadow-card);
}

.header-container {
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  height: 50px;
  width: 50px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--secondary);
  box-shadow: var(--shadow-glow);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-main);
  background: linear-gradient(120deg, var(--text-main) 60%, var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.mobile-only-link {
  display: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--text-muted);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
  background: rgba(32, 227, 178, 0.08);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--ease-transition);
  transform: translateX(-50%);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 80%;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--ease-transition);
  position: relative;
  overflow: hidden;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, #17c197 100%);
  color: #040c1a;
  box-shadow: 0 4px 15px rgba(32, 227, 178, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(32, 227, 178, 0.5);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: var(--bg-glass-hover);
  transform: translateY(-2px);
}

.btn-control {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: var(--ease-transition);
}

.btn-control:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: scale(1.05);
}

.mobile-toggle {
  display: none;
}

/* App container and views */
main {
  padding-top: 80px;
  min-height: calc(100vh - 80px);
}

.view-section {
  display: none;
  padding: 60px 24px;
  max-width: 1300px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.view-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-card);
  transition: var(--ease-transition);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  transform: translateY(-6px);
}

/* Hero Section */
.hero-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-badge {
  background: rgba(32, 227, 178, 0.1);
  border: 1px solid var(--border-glass);
  color: var(--secondary);
  padding: 6px 16px;
  border-radius: 30px;
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-headline {
  font-size: 3.2rem;
  line-height: 1.2;
}

.hero-headline span {
  color: var(--secondary);
  text-shadow: 0 0 15px rgba(32, 227, 178, 0.2);
}

.hero-subheadline {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-frame {
  position: relative;
  z-index: 10;
  width: 280px;
  height: 280px;
  border-radius: 32px;
  overflow: hidden;
  border: 2px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  animation: float 6s ease-in-out infinite;
}

.hero-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-logo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  box-shadow: inset 0 0 30px rgba(32, 227, 178, 0.4);
  pointer-events: none;
}

.hero-glow-back {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 227, 178, 0.2) 0%, transparent 65%);
  filter: blur(20px);
  z-index: 1;
}

/* Statistics Section */
.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
}

.stat-item {
  text-align: center;
  padding: 30px 12px;
}

.stat-num {
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(32, 227, 178, 0.2);
  white-space: nowrap;
}

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

/* Section Header Shared */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-title {
  font-size: 2.2rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--secondary);
  margin: 12px auto 0 auto;
  border-radius: 2px;
  box-shadow: var(--shadow-glow);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Why Choose Us Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.why-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.why-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(32, 227, 178, 0.1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid var(--border-glass);
}

.why-card h3 {
  font-size: 1.25rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Services Preview */
.services-preview-wrapper {
  margin-top: 80px;
}

.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.srv-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.srv-card-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.srv-card h3 {
  font-size: 1.3rem;
  color: var(--text-main);
}

.srv-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Services Page CSS */
.services-categories-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.service-nav-btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 20px;
}

.services-grid-detailed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.srv-detailed-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.srv-list-items {
  margin: 16px 0;
  padding-inline-start: 12px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.srv-list-items li {
  font-size: 0.88rem;
  position: relative;
  padding-inline-start: 18px;
  color: var(--text-muted);
}

.srv-list-items li::before {
  content: '✦';
  color: var(--secondary);
  position: absolute;
  inset-inline-start: 0;
  font-size: 0.75rem;
}

/* Portfolio CSS */
.portfolio-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-item {
  overflow: hidden;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.portfolio-img-box {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-glass);
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

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

.portfolio-item:hover .portfolio-img-box img {
  transform: scale(1.08);
}

.portfolio-dummy-logo {
  max-width: 60px;
  max-height: 60px;
  opacity: 0.3;
}

.portfolio-meta {
  padding: 16px 20px;
}

.portfolio-meta h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.portfolio-meta span {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
}

/* Before / After Slider Component */
.before-after-container {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  user-select: none;
  border-bottom: 1px solid var(--border-glass);
}

.before-after-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.before-after-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-inline-end: 2px solid var(--secondary);
  box-shadow: 0 0 10px rgba(32, 227, 178, 0.5);
}

.before-after-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  background: var(--secondary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  cursor: ew-resize;
  z-index: 15;
  color: #040c1a;
  font-size: 0.8rem;
  font-weight: 900;
}

.slider-badge {
  position: absolute;
  bottom: 8px;
  padding: 2px 8px;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 4px;
  background: rgba(4, 12, 26, 0.8);
  color: #fff;
  z-index: 14;
}

.slider-badge-before {
  inset-inline-start: 8px;
}

.slider-badge-after {
  inset-inline-end: 8px;
}

/* Pricing CSS */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 80px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px;
}

.pricing-card.popular {
  border-color: var(--secondary);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  transform: translateY(-8px);
}

.pricing-card.popular:hover {
  transform: translateY(-12px);
}

.popular-ribbon {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  background: var(--secondary);
  color: #040c1a;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: var(--shadow-glow);
}

.price-header {
  margin-bottom: 24px;
}

.price-header h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.price-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 16px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.pricing-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: bold;
}

/* Pricing Quote Form */
.quote-form-container {
  max-width: 800px;
  margin: 0 auto;
  overflow: visible !important;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

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

.form-input,
.form-textarea,
.form-select {
  background: rgba(10, 31, 68, 0.2);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-main);
  font-family: inherit;
  transition: var(--ease-transition);
  outline: none;
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea,
[data-theme="light"] .form-select {
  background: rgba(255, 255, 255, 0.5);
}

.form-select option {
  background: #0f172a;
  color: #f8fafc;
}

[data-theme="light"] .form-select option {
  background: #ffffff;
  color: #0f172a;
}

/* Custom Calendar Date Picker */
.date-picker-wrapper {
  position: relative;
  width: 100%;
}

.custom-calendar-dropdown {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  width: 320px;
  background: rgba(10, 25, 50, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 16px;
  margin-top: 8px;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  user-select: none;
  animation: fadeInCalendar 0.2s ease-out;
}

@keyframes fadeInCalendar {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

[data-theme="light"] .custom-calendar-dropdown {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.calendar-header button {
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: var(--ease-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-header button:hover {
  background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .calendar-header button:hover {
  background: rgba(0, 0, 0, 0.05);
}

.calendar-month-year {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  text-align: center;
}

.calendar-day-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
}

.calendar-cell {
  font-size: 0.85rem;
  height: 36px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-cell:hover:not(.disabled):not(.selected) {
  background: rgba(32, 227, 178, 0.15);
  color: var(--secondary);
}

.calendar-cell.selected {
  background: var(--secondary);
  color: #040c1a !important;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(32, 227, 178, 0.4);
}

.calendar-cell.disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

.calendar-cell.today:not(.selected) {
  border: 1px solid var(--secondary);
  color: var(--secondary);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 10px rgba(32, 227, 178, 0.2);
}

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

.form-submit-btn {
  margin-top: 10px;
  width: 100%;
}

.form-success-box {
  background: rgba(32, 227, 178, 0.1);
  border: 1px solid var(--secondary);
  border-radius: 10px;
  padding: 16px;
  color: var(--secondary);
  font-weight: 600;
  text-align: center;
  margin-top: 20px;
  display: none;
}

/* About Page CSS */
.about-mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 60px;
}

.about-box {
  height: 100%;
}

.about-box h3 {
  font-size: 1.4rem;
  color: var(--secondary);
  margin-bottom: 12px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.value-card {
  text-align: center;
  padding: 20px;
}

.value-card .value-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
}

.value-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.value-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--ease-transition);
}

.faq-header {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
}

.faq-toggle-icon {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
  color: var(--secondary);
}

.faq-content {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
  font-size: 0.92rem;
  border-top: 1px solid transparent;
}

.faq-item.active {
  border-color: var(--secondary);
  box-shadow: var(--shadow-glow);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-content {
  padding: 18px 24px;
  max-height: 300px;
  border-top-color: var(--border-glass);
}

/* Contact Page CSS */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(32, 227, 178, 0.1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 1px solid var(--border-glass);
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.map-wrapper {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  height: 220px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Dashboard Styles (Customer & Admin) */
.dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.dash-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-menu-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--ease-transition);
  text-align: start;
}

.dash-menu-btn.active,
.dash-menu-btn:hover {
  background: rgba(32, 227, 178, 0.1);
  border-color: var(--secondary);
  color: var(--text-main);
  box-shadow: var(--shadow-glow);
}

.dash-content-area {
  min-height: 450px;
}

.dash-header-block {
  margin-bottom: 24px;
}

.dash-header-block h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.dash-header-block p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Dashboard Statistics Row */
.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.dash-stat-box {
  padding: 18px;
  text-align: center;
}

.dash-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary);
}

.dash-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Tables in Dashboards */
.table-wrapper {
  overflow-x: auto;
  margin-top: 16px;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
  font-size: 0.88rem;
}

.dash-table th,
.dash-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-glass);
}

.dash-table th {
  background: rgba(10, 31, 68, 0.6);
  color: var(--text-main);
  font-weight: 700;
}

[data-theme="light"] .dash-table th {
  background: rgba(255, 255, 255, 0.8);
}

.dash-table tr:last-child td {
  border-bottom: none;
}

.badge-status {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
}

.badge-active {
  background: rgba(32, 227, 178, 0.15);
  color: var(--secondary);
}

.badge-pending {
  background: rgba(255, 170, 0, 0.15);
  color: #ffa600;
}

.badge-completed {
  background: rgba(0, 170, 255, 0.15);
  color: #00aaff;
}

.badge-canceled {
  background: rgba(255, 42, 116, 0.15);
  color: var(--accent);
}

/* Dashboard Actions */
.action-group {
  display: flex;
  gap: 6px;
}

.action-btn {
  padding: 5px 10px;
  font-size: 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  font-weight: 600;
  transition: var(--ease-transition);
}

.action-approve {
  background: rgba(32, 227, 178, 0.2);
  color: var(--secondary);
}

.action-approve:hover {
  background: var(--secondary);
  color: #040c1a;
}

.action-reject {
  background: rgba(255, 42, 116, 0.2);
  color: var(--accent);
}

.action-reject:hover {
  background: var(--accent);
  color: #fff;
}

.action-delete {
  background: rgba(100, 116, 139, 0.2);
  color: var(--text-muted);
}

.action-delete:hover {
  background: #64748b;
  color: #fff;
}

/* Dashboard forms */
.inline-form {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

/* Chatbot Floating Widget */
.chat-widget-container {
  position: fixed;
  bottom: 90px;
  inset-inline-end: 24px;
  width: 360px;
  height: 480px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.chat-widget-container.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

.chat-header {
  background: linear-gradient(135deg, var(--primary) 0%, #0d2857 100%);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
}

.chat-header h4 {
  color: var(--secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
}

.chat-close-btn:hover {
  color: var(--text-main);
}

.chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-app);
}

.chat-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
}

.chat-msg.bot {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-inline-start-radius: 2px;
}

.chat-msg.user {
  background: var(--secondary);
  color: #040c1a;
  align-self: flex-end;
  border-bottom-inline-end-radius: 2px;
}

.chat-input-bar {
  display: flex;
  padding: 12px;
  border-top: 1px solid var(--border-glass);
  background: var(--bg-glass);
}

.chat-input-bar input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-main);
  outline: none;
  font-size: 0.85rem;
  font-family: inherit;
  padding: 0 8px;
}

.chat-send-btn {
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0 8px;
}

/* Floating Actions Buttons */
.floating-actions {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  display: flex;
  gap: 12px;
  z-index: 998;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: var(--ease-transition);
  border: none;
}

.float-whatsapp {
  background: #25D366;
  color: white;
  font-size: 1.6rem;
}

.float-whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.float-chat {
  background: var(--secondary);
  color: #040c1a;
  font-size: 1.4rem;
}

.float-chat:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(32, 227, 178, 0.4);
}

/* Footer Styles */
footer {
  background: rgba(3, 8, 18, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 24px;
  margin-top: 60px;
  position: relative;
}

[data-theme="light"] footer {
  background: rgba(241, 245, 249, 0.5);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-left .logo-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-left .logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-left .brand-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.copyright-divider {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
}

[data-theme="light"] .copyright-divider {
  color: rgba(0, 0, 0, 0.12);
}

#footer-copyright-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links-row a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.25s ease;
}

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

.footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all 0.25s ease;
  font-size: 0.85rem;
}

.social-icon:hover {
  background: var(--secondary);
  color: #040c1a;
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.footer-developer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

#admin-secret-btn {
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(32, 227, 178, 0.15);
  transition: opacity 0.3s ease;
}

#admin-secret-btn:hover {
  opacity: 1;
}

/* ============================
   Admin Login Modal
   ============================ */
.admin-login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInOverlay 0.3s ease;
}

@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.admin-login-modal {
  width: 100%;
  max-width: 420px;
  margin: 0 20px;
  padding: 40px 36px;
  border-radius: 24px;
  border: 1px solid rgba(32, 227, 178, 0.25);
  background: rgba(10, 20, 44, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: slideUpModal 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 0 60px rgba(32, 227, 178, 0.15), 0 20px 60px rgba(0, 0, 0, 0.6);
}

@keyframes slideUpModal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.admin-login-modal.shake {
  animation: shakeModal 0.45s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shakeModal {

  10%,
  90% {
    transform: translateX(-4px);
  }

  20%,
  80% {
    transform: translateX(6px);
  }

  30%,
  50%,
  70% {
    transform: translateX(-6px);
  }

  40%,
  60% {
    transform: translateX(6px);
  }

  100% {
    transform: translateX(0);
  }
}

.admin-login-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(32, 227, 178, 0.15), rgba(10, 31, 68, 0.5));
  border: 2px solid rgba(32, 227, 178, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--secondary);
  box-shadow: 0 0 30px rgba(32, 227, 178, 0.2);
}

.admin-login-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  text-align: center;
}

.admin-login-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.7;
}

.admin-login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-pass-field {
  position: relative;
  display: flex;
  align-items: center;
}

.admin-pass-icon {
  position: absolute;
  inset-inline-start: 16px;
  color: var(--secondary);
  font-size: 0.95rem;
  pointer-events: none;
}

.admin-pass-input {
  width: 100%;
  padding: 14px 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-main);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  letter-spacing: 0.1em;
}

.admin-pass-input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(32, 227, 178, 0.12);
}

.admin-pass-eye {
  position: absolute;
  inset-inline-end: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.95rem;
  padding: 4px;
  transition: color 0.2s ease;
}

.admin-pass-eye:hover {
  color: var(--secondary);
}

.admin-login-error {
  font-size: 0.85rem;
  color: #ff4d6d;
  text-align: center;
  min-height: 20px;
  font-weight: 600;
}

.admin-login-btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.admin-cancel-btn {
  width: 100%;
  padding: 12px;
  font-size: 0.9rem;
  border-radius: 12px;
}

/* Admin Logout button inside dashboard */
.admin-logout-btn {
  background: rgba(255, 45, 85, 0.12);
  border: 1px solid rgba(255, 45, 85, 0.3);
  color: #ff4d6d;
  padding: 8px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--ease-transition);
  margin-inline-start: auto;
}

.admin-logout-btn:hover {
  background: rgba(255, 45, 85, 0.22);
  border-color: #ff4d6d;
  transform: translateY(-2px);
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .hero-badge {
    align-self: center;
  }

  .hero-subheadline {
    margin: 0 auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-logo-frame {
    width: 220px;
    height: 220px;
  }

  .stats-container,
  .why-grid,
  .services-preview-grid,
  .services-grid-detailed,
  .portfolio-grid,
  .pricing-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-mission-vision {
    grid-template-columns: 1fr;
  }

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

  .dash-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .dash-menu-btn {
    width: auto;
    flex: 1;
    min-width: 150px;
  }
}

@media (max-width: 1200px) {
  header {
    height: 70px;
  }

  .header-container {
    padding: 0 16px;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    inset-inline-start: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-app);
    flex-direction: column;
    padding: 40px 24px;
    align-items: flex-start;
    gap: 24px;
    transition: inset-inline-start 0.4s ease;
    z-index: 99;
    border-top: 1px solid var(--border-glass);
    overflow-y: auto;
  }

  .nav-menu.mobile-active {
    inset-inline-start: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    padding: 10px 16px;
  }

  .mobile-only-link {
    display: block;
    width: 100%;
    margin-top: 10px;
  }

  .nav-menu .mobile-only-link a {
    background: rgba(32, 227, 178, 0.1);
    border: 1px solid var(--secondary);
    color: var(--secondary) !important;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(32, 227, 178, 0.1);
    display: block;
    border-radius: 8px;
  }

  .nav-menu .mobile-only-link a:hover {
    background: var(--secondary);
    color: var(--bg-app) !important;
  }

  .mobile-toggle {
    display: flex;
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-controls .btn-primary {
    display: none !important;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  .logo-img {
    height: 40px;
    width: 40px;
  }
  .nav-controls {
    gap: 8px;
  }
  .btn-control {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  header {
    height: 60px !important;
  }
  .nav-menu {
    top: 60px !important;
    height: calc(100vh - 60px) !important;
  }
  .mobile-toggle {
    display: flex !important;
    border-color: var(--secondary) !important;
    color: var(--secondary) !important;
    box-shadow: 0 0 10px rgba(32, 227, 178, 0.2);
  }

  .stats-container {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid,
  .services-preview-grid,
  .services-grid-detailed,
  .portfolio-grid,
  .pricing-cards-grid {
    grid-template-columns: 1fr;
  }

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

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

  .dash-stats-row {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .footer-container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    flex-direction: column;
    gap: 10px;
  }

  .footer-links-row {
    flex-direction: column;
    gap: 12px;
  }

  .copyright-divider {
    display: none;
  }

  .hero-headline {
    font-size: 2.2rem;
  }

  .chat-widget-container {
    width: calc(100vw - 32px);
    inset-inline-end: 16px;
    height: 400px;
  }

  .custom-calendar-dropdown {
    width: 290px;
    padding: 10px;
  }

  .calendar-cell {
    height: 32px;
    font-size: 0.8rem;
  }

  .calendar-day-label {
    height: 26px;
    font-size: 0.7rem;
  }
}

/* Testimonials Section Styles */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--ease-transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.testimonial-stars {
  color: #ffa600;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(32, 227, 178, 0.15);
  border: 1px solid var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--secondary);
}

.testimonial-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
  margin-top: 0;
}

.testimonial-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Social Cards Grid in About Us */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  text-decoration: none !important;
  color: var(--text-main) !important;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  min-height: 280px;
  justify-content: space-between;
}

.social-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.social-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.social-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
  transition: all 0.3s ease;
}

.social-arrow {
  transition: transform 0.3s ease;
}

[dir="rtl"] .social-arrow {
  transform: scaleX(-1);
}

/* Hover Effects */
.social-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  background: rgba(10, 31, 68, 0.6);
}

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

.social-card:hover .social-card-action {
  color: var(--text-main);
}

/* Hover transitions for arrows */
[dir="ltr"] .social-card:hover .social-arrow {
  transform: translateX(4px);
}

[dir="rtl"] .social-card:hover .social-arrow {
  transform: scaleX(-1) translateX(-4px);
}

/* Specific Social Brand Colors */
.fb-card:hover {
  border-color: #1877f2;
  box-shadow: 0 0 25px rgba(24, 119, 242, 0.3);
}

.fb-card:hover .social-card-icon {
  background: rgba(24, 119, 242, 0.15);
  color: #1877f2;
  border-color: rgba(24, 119, 242, 0.3);
}

.fb-card .social-card-action {
  color: #1877f2;
}

.fb-card:hover .social-card-action {
  color: #1877f2;
}

.insta-card:hover {
  border-color: #e1306c;
  box-shadow: 0 0 25px rgba(225, 48, 108, 0.3);
}

.insta-card:hover .social-card-icon {
  background: rgba(225, 48, 108, 0.15);
  color: #e1306c;
  border-color: rgba(225, 48, 108, 0.3);
}

.insta-card .social-card-action {
  color: #e1306c;
}

.insta-card:hover .social-card-action {
  color: #e1306c;
}

.tiktok-card:hover {
  border-color: #00f2fe;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.3);
}

.tiktok-card:hover .social-card-icon {
  background: rgba(0, 242, 254, 0.15);
  color: #00f2fe;
  border-color: rgba(0, 242, 254, 0.3);
}

.tiktok-card .social-card-action {
  color: #00f2fe;
}

.tiktok-card:hover .social-card-action {
  color: #00f2fe;
}

.wa-card:hover {
  border-color: #25d366;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.3);
}

.wa-card:hover .social-card-icon {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.3);
}

.wa-card .social-card-action {
  color: #25d366;
}

.wa-card:hover .social-card-action {
  color: #25d366;
}

.tg-card:hover {
  border-color: #0088cc;
  box-shadow: 0 0 25px rgba(0, 136, 204, 0.3);
}

.tg-card:hover .social-card-icon {
  background: rgba(0, 136, 204, 0.15);
  color: #0088cc;
  border-color: rgba(0, 136, 204, 0.3);
}

.tg-card .social-card-action {
  color: #0088cc;
}

.tg-card:hover .social-card-action {
  color: #0088cc;
}

/* --- PREMIUM TOAST NOTIFICATION CONTAINER --- */
#toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  width: calc(100% - 48px);
  pointer-events: none;
}

[dir="rtl"] #toast-container {
  right: auto;
  left: 24px;
}

/* Toast Card */
.toast-card {
  background: rgba(18, 18, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  pointer-events: auto;
  transform: translateY(-20px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.toast-card.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-card.hide {
  transform: scale(0.9);
  opacity: 0;
}

/* Toast Types */
.toast-card.toast-success {
  border-left: 4px solid var(--secondary);
}
[dir="rtl"] .toast-card.toast-success {
  border-left: none;
  border-right: 4px solid var(--secondary);
}
.toast-card.toast-success i {
  color: var(--secondary);
}

.toast-card.toast-error {
  border-left: 4px solid var(--accent);
}
[dir="rtl"] .toast-card.toast-error {
  border-left: none;
  border-right: 4px solid var(--accent);
}
.toast-card.toast-error i {
  color: var(--accent);
}

.toast-card.toast-warning {
  border-left: 4px solid #f59e0b;
}
[dir="rtl"] .toast-card.toast-warning {
  border-left: none;
  border-right: 4px solid #f59e0b;
}
.toast-card.toast-warning i {
  color: #f59e0b;
}

.toast-card.toast-info {
  border-left: 4px solid #00aaff;
}
[dir="rtl"] .toast-card.toast-info {
  border-left: none;
  border-right: 4px solid #00aaff;
}
.toast-card.toast-info i {
  color: #00aaff;
}

/* Icon / Content */
.toast-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.toast-message {
  flex-grow: 1;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.toast-close:hover {
  color: var(--text-light);
}