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

:root {
  --bg-primary: #0a0a0c;
  --bg-secondary: #121216;
  --bg-tertiary: #191920;
  --accent: #f27a30;
  --accent-rgb: 242, 122, 48;
  --accent-hover: #e0651d;
  --text-primary: #ffffff;
  --text-secondary: #cdd1d8;
  --text-muted: #797e8a;
  --glass-bg: rgba(18, 18, 22, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-arabic: 'Cairo', sans-serif;
  --font-english: 'Poppins', sans-serif;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-arabic);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  direction: rtl;
  text-align: right;
  position: relative;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button, input, textarea {
  font-family: var(--font-arabic);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Utilities & Layout Helpers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 8rem 0;
}

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

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--accent);
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Common Section Header */
.section-header {
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  padding: 0.25rem 1rem;
  background: rgba(242, 122, 48, 0.1);
  border-radius: 50px;
  border: 1px solid rgba(242, 122, 48, 0.15);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
}

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

.section-subtitle {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Glassmorphism Classes */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.5rem 0;
}

header.scrolled {
  padding: 0.8rem 0;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  width: 170px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  direction: ltr;
  position: relative;
}

.logo-graphic {
  position: absolute;
  top: -11px;
  left: 2px;
  z-index: 5;
  pointer-events: none;
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1;
  position: relative;
  padding-top: 4px;
}

.logo-group-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 2px;
}

.logo-group-text {
  font-family: var(--font-english);
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 2px;
}

.logo-cane-line {
  flex-grow: 1;
  height: 1.5px;
  background-color: var(--accent);
  border-radius: 2px;
  width: 32px;
}

.logo-main-title {
  font-family: var(--font-english);
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.logo-main-title .accent-color {
  color: var(--accent);
}

.logo-sub-title {
  font-family: var(--font-english);
  font-size: 7.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  left: 0;
}

.nav-cta {
  background: var(--accent);
  color: #ffffff;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(242, 122, 48, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 122, 48, 0.4);
}

/* Hamburger Menu Button */
.burger-menu {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  position: absolute;
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.burger-menu span:nth-child(1) { top: 0; }
.burger-menu span:nth-child(2) { top: 11px; }
.burger-menu span:nth-child(3) { top: 22px; }

/* Mobile Menu Open States */
.burger-menu.open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.burger-menu.open span:nth-child(2) {
  opacity: 0;
}
.burger-menu.open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

@media (max-width: 991px) {
  .burger-menu {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    border-right: 1px solid var(--glass-border);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 3rem;
    transition: var(--transition-smooth);
    z-index: 999;
  }

  .nav-links.open {
    left: 0;
    box-shadow: 20px 0 40px rgba(0, 0, 0, 0.6);
  }

  /* Override RTL for menu drawer since it slides from left */
  body.menu-open {
    overflow: hidden;
  }

  .nav-cta {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25) contrast(1.1);
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate ease-in-out;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(242, 122, 48, 0.08) 0%, transparent 60%),
              linear-gradient(to top, var(--bg-primary) 5%, transparent 70%, rgba(10, 10, 12, 0.4) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 5;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(242, 122, 48, 0.35);
  border-radius: 4px;
  background: rgba(242, 122, 48, 0.05);
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(242, 122, 48, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(242, 122, 48, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(242, 122, 48, 0); }
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

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

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 620px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.25rem;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 5px 20px rgba(242, 122, 48, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(242, 122, 48, 0.45);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #ffffff;
  transform: translateY(-3px);
}

/* Floating Badges in Hero */
.hero-badges {
  position: absolute;
  left: 10%;
  top: 40%;
  width: 350px;
  height: 350px;
  display: none;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero-badges {
    display: block;
  }
}

.floating-badge {
  position: absolute;
  padding: 1.25rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 6s infinite ease-in-out;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.badge-1 {
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 20%;
  left: 0%;
  animation-delay: 3s;
}

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

.badge-icon {
  width: 48px;
  height: 48px;
  background: rgba(242, 122, 48, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
  border: 1px solid rgba(242, 122, 48, 0.3);
}

.badge-info h4 {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.badge-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Stats Section */
.stats-section {
  padding: 3rem 0;
  margin-top: -4rem;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  padding: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent);
  font-family: var(--font-english);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about-content {
  position: relative;
}

.about-heading {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.35;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 480px) {
  .about-features {
    grid-template-columns: 1fr;
  }
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(242, 122, 48, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.about-feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.about-feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* About Visual */
.about-visual {
  position: relative;
}

.about-img-container {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.about-img-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.6) 0%, transparent 50%);
}

.about-floating-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  text-align: center;
  max-width: 200px;
}

@media (max-width: 768px) {
  .about-floating-card {
    right: 1.5rem;
    bottom: -20px;
  }
}

.about-floating-card .years {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.about-floating-card .label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  border: 1px solid var(--glass-border);
  z-index: 1;
}

@media (max-width: 576px) {
  .product-card {
    padding: 1.5rem;
    height: 380px;
  }
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) contrast(1.05);
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.4) 50%, transparent 100%);
  z-index: -1;
  transition: var(--transition-smooth);
}

.product-icon {
  width: 54px;
  height: 54px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 20px rgba(242, 122, 48, 0.3);
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.product-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  transform: translateY(15px);
  transition: var(--transition-smooth);
}

.product-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(15px);
  transition: var(--transition-smooth);
  line-height: 1.6;
}

.product-btn {
  align-self: flex-start;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(15px);
  transition: var(--transition-smooth);
}

.product-btn i {
  transition: var(--transition-smooth);
  font-size: 0.8rem;
}

/* Hover States for Product Cards */
.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-card:hover::after {
  height: 90%;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.98) 10%, rgba(10, 10, 12, 0.6) 60%, transparent 100%);
}

.product-card:hover .product-icon,
.product-card:hover .product-title,
.product-card:hover .product-desc,
.product-card:hover .product-btn {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover .product-icon {
  transition-delay: 0.05s;
}
.product-card:hover .product-title {
  transition-delay: 0.1s;
}
.product-card:hover .product-desc {
  transition-delay: 0.15s;
}
.product-card:hover .product-btn {
  transition-delay: 0.2s;
}

.product-card:hover .product-btn i {
  transform: translateX(-5px); /* Move left because layout is RTL */
}

/* Why Choose Us Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 991px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.feature-card {
  padding: 3rem 2rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 10%, rgba(242, 122, 48, 0.08) 0%, transparent 50%);
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(242, 122, 48, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-box {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(242, 122, 48, 0.35);
  border-color: transparent;
}

.feature-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.feature-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Customization Interactive CTA */
.custom-cta {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-radius: 30px;
  padding: 4rem;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

@media (max-width: 768px) {
  .custom-cta {
    padding: 2.5rem 1.5rem;
  }
}

.custom-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 90%, rgba(242, 122, 48, 0.08) 0%, transparent 45%);
  z-index: -1;
}

.custom-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 991px) {
  .custom-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.custom-content h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.custom-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* Custom Interactive Mockup Visualizer */
.mockup-visualizer {
  position: relative;
  background: rgba(10, 10, 12, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.mockup-item {
  width: 100%;
  height: 150px;
  background: #ffffff;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
  transition: var(--transition-smooth);
}

.mockup-fabric-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#ececec 2px, transparent 2px), radial-gradient(#ececec 2px, transparent 2px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
  opacity: 0.15;
}

.mockup-logo-overlay {
  position: relative;
  z-index: 2;
  font-family: var(--font-english);
  font-size: 1.1rem;
  font-weight: 800;
  color: #121216;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.5rem 1rem;
  border: 2px dashed rgba(18, 18, 22, 0.3);
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.mockup-controls {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mockup-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  color: #ffffff;
  font-size: 0.95rem;
  text-align: center;
}

.mockup-input::placeholder {
  color: var(--text-muted);
}

.mockup-color-selectors {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.color-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
}

.color-dot.active {
  border-color: var(--accent);
  transform: scale(1.15);
}

/* Contact Section & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method-card {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-icon-box {
  width: 52px;
  height: 52px;
  background: rgba(242, 122, 48, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Form Styles */
.contact-form {
  padding: 3rem;
}

@media (max-width: 576px) {
  .contact-form {
    padding: 1.5rem;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: #ffffff;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(242, 122, 48, 0.15);
}

textarea.form-input {
  height: 120px;
  resize: none;
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

select.form-input {
  appearance: none;
  -webkit-appearance: none;
  padding-left: 2.5rem; /* Space for the arrow */
}

select.form-input option {
  background: var(--bg-secondary);
  color: #ffffff;
}

/* Scroll Animation Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Floating WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 998;
  transition: var(--transition-smooth);
}

.whatsapp-widget:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
  .whatsapp-widget {
    bottom: 5.5rem; /* Place higher so it doesn't block the bottom action bar on mobile */
    right: 1.5rem;
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }
}

/* Mobile Quick Action Bar (Floating Sticky at bottom) */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(18, 18, 22, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid var(--glass-border);
  padding: 0.75rem 1rem;
  z-index: 999;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 768px) {
  .mobile-action-bar {
    display: flex;
  }
}

.mobile-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
}

.mobile-action-call {
  background: var(--accent);
}

.mobile-action-wa {
  background: #25d366;
}

/* Footer Section */
footer {
  background: #060608;
  border-top: 1px solid var(--glass-border);
  padding: 5rem 0 2rem 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  footer {
    padding-bottom: 6rem; /* Extra padding to clear mobile action bar */
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand-logo {
  height: 48px;
  align-self: flex-start;
}

.footer-brand-logo img {
  height: 100%;
}

.footer-brand-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-heading {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-right: 5px; /* Subtle slide effect in RTL */
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 0.25rem;
}

/* Footer Bottom Credit */
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

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

.footer-credit {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-credit a {
  color: var(--accent);
  font-weight: 600;
}

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

/* ==========================================================================
   PREMIUM AESTHETICS & MICRO-ANIMATIONS EXTENSION
   ========================================================================== */

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to left, var(--accent), #ffb07c);
  z-index: 2000;
  width: 0%;
  transition: width 0.1s ease;
}

/* Decorative Background Glow Blobs */
.glow-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.08) 0%, rgba(var(--accent-rgb), 0) 70%);
  filter: blur(80px);
  z-index: -10;
  pointer-events: none;
  animation: floatBlob 25s infinite alternate ease-in-out;
}

.blob-1 {
  top: 15%;
  left: -100px;
}

.blob-2 {
  top: 55%;
  right: -150px;
  animation-delay: -7s;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.06) 0%, rgba(var(--accent-rgb), 0) 70%);
}

.blob-3 {
  top: 85%;
  left: 5%;
  animation-delay: -14s;
}

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.15); }
  100% { transform: translate(-40px, -60px) scale(0.9); }
}

/* Glassmorphic Header Border Highlight */
header.scrolled::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(var(--accent-rgb), 0.3), transparent);
}

/* Shimmer Button Overlay Effect */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  transition: 0.75s ease;
}

.btn-primary:hover::after {
  left: 150%;
}

/* Premium Card Interaction and Hover Glows */
.product-card {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.6s, box-shadow 0.6s;
}

.product-card:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(var(--accent-rgb), 0.15);
  transform: translateY(-8px);
}

/* Interactive Color Ripple Effect for Customizer */
.mockup-item.ripple-active::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  background: rgba(var(--accent-rgb), 0.2);
  border-radius: 50%;
  animation: colorRipple 0.6s ease-out forwards;
  pointer-events: none;
  z-index: 3;
}

@keyframes colorRipple {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(6); opacity: 0; }
}

/* Smooth Stagger System for Grid Disclosures */
.reveal-stagger {
  opacity: 0;
}

.reveal-stagger.active {
  opacity: 1;
}

.reveal-stagger.active .reveal-item {
  animation: staggerFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-item {
  opacity: 0;
  transform: translateY(25px);
}

@keyframes staggerFadeInUp {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Hero Entrance Transitions */
.hero-title, .hero-description, .hero-actions {
  opacity: 0;
  transform: translateY(20px);
  animation: heroEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title {
  animation-delay: 0.1s;
}

.hero-description {
  animation-delay: 0.3s;
}

.hero-actions {
  animation-delay: 0.5s;
}

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

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE OVERRIDES (BUG FIXES & RTL LAYOUTS)
   ========================================================================== */

@media (max-width: 991px) {
  /* Enforce natural RTL slide-in menu from the right side */
  .nav-links {
    left: auto !important;
    right: -100% !important;
    border-right: none !important;
    border-left: 1px solid var(--glass-border) !important;
    text-align: right;
    visibility: hidden;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s !important;
  }
  
  .nav-links.open {
    right: 0 !important;
    left: auto !important;
    visibility: visible !important;
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.6) !important;
  }

  .nav-links a {
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  }
}

@media (max-width: 768px) {
  /* Enforce proper header items alignment and prevent wrapping */
  header {
    padding: 1rem 0 !important;
  }
  
  .nav-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  .logo {
    width: 155px !important;
    transform: scale(0.9);
    transform-origin: right center;
  }

  /* Hero Mobile Alignment Fixes (Strict RTL Right-Aligned) */
  .hero {
    padding-top: 130px !important;
    padding-bottom: 70px !important;
    min-height: auto !important;
    display: block !important;
  }

  .hero-content {
    text-align: right !important;
    width: 100% !important;
  }

  .hero-tagline {
    display: inline-flex !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-title {
    font-size: 2.2rem !important;
    line-height: 1.35 !important;
    text-align: right !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-description {
    font-size: 1.05rem !important;
    text-align: right !important;
    margin-bottom: 2rem !important;
    line-height: 1.7 !important;
  }

  .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 1rem !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    text-align: center !important;
    padding: 1rem 1.5rem !important;
  }

  /* Product Cards Mobile Auto-Height Fix (Prevents Overlap & Clipping) */
  .products-grid {
    gap: 1.5rem !important;
  }

  .product-card {
    height: auto !important;
    min-height: 420px !important;
    padding: 2.5rem 1.5rem !important;
    justify-content: flex-end !important;
  }

  .product-title {
    font-size: 1.5rem !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
  }

  .product-desc {
    font-size: 0.95rem !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
    margin-bottom: 1.25rem !important;
  }

  .product-btn {
    transform: translateY(0) !important;
    opacity: 1 !important;
  }

  .product-icon {
    transform: translateY(0) !important;
    opacity: 1 !important;
    margin-bottom: 1rem !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 1.3rem !important;
  }

  /* Why Choose Us mobile padding spacing */
  .features-grid {
    gap: 1.25rem !important;
  }

  .feature-card {
    padding: 2rem 1.5rem !important;
  }

  /* Customizer Visualizer layout mobile responsive */
  .custom-cta {
    padding: 2rem 1.25rem !important;
  }

  .custom-content h3 {
    font-size: 1.7rem !important;
    line-height: 1.4 !important;
  }

  .mockup-visualizer {
    padding: 1.25rem !important;
    width: 100% !important;
  }

  .mockup-item {
    height: 120px !important;
  }

  /* Contact and Inquiry form spacing overrides */
  .contact-form {
    padding: 2rem 1.25rem !important;
  }

  .contact-info {
    gap: 1.25rem !important;
  }

  /* Footer bottom credits centering */
  .footer-bottom {
    flex-direction: column !important;
    gap: 0.75rem !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  /* Smaller screens titles spacing adjustments */
  .hero-title {
    font-size: 1.95rem !important;
  }
  
  .section-title {
    font-size: 1.75rem !important;
  }
}

