@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
  --orange: #F38E1E;
  --orange-glow: rgba(243,142,30,0.3);
  --navy: #1B2A4A;
  --navy-dark: #0F1B33;
  --accent-blue: #4A90D9;
  --light-blue: #E8F4FD;
  --white: #ffffff;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 40px var(--orange-glow);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Tajawal', 'Inter', sans-serif;
  direction: rtl;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 12px 32px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  top: 12px;
}

.nav-logo { height: 36px; }

.nav-links { display: flex; gap: 28px; list-style: none; }

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s;
  border-radius: 2px;
}

.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--orange);
  color: white;
  border: none;
  padding: 10px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s;
  text-decoration: none;
}

.nav-cta:hover {
  background: #e07d0e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--navy-dark); /* Fallback */
  padding: 120px 80px 80px;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background-color: var(--navy-dark);
}

.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 aspect ratio */
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 1; /* Fully visible */
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Lighter overlay to ensure video is clearly visible while keeping text readable */
  background: linear-gradient(135deg, rgba(15,27,51,0.6) 0%, rgba(27,42,74,0.4) 50%, rgba(15,27,51,0.7) 100%);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  animation: pulse 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(74,144,217,0.15) 0%, transparent 70%);
  bottom: -50px;
  left: 10%;
  border-radius: 50%;
  animation: pulse 8s ease-in-out infinite reverse;
}

.hero-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: right;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-text { flex: 1; max-width: 600px; display: flex; flex-direction: column; align-items: flex-start; text-align: right; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(243,142,30,0.15);
  border: 1px solid rgba(243,142,30,0.3);
  color: var(--orange);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '●';
  font-size: 8px;
  animation: blink 2s infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero h1 span { color: var(--orange); }

.hero-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-start; }

.btn-primary {
  background: var(--orange);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  background: #e07d0e;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--orange-glow);
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 16px 40px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}

/* Hero 3D Visual */
.hero-visual {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.hero-float-item {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.4s;
}

.hero-float-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-float-item:nth-child(1) {
  width: 380px;
  height: 260px;
  top: 10%;
  right: 0;
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}

.hero-float-item:nth-child(2) {
  width: 240px;
  height: 200px;
  bottom: 15%;
  right: 30%;
  animation: float 7s ease-in-out infinite 1s;
  z-index: 2;
}

.hero-float-item:nth-child(3) {
  width: 200px;
  height: 160px;
  top: 35%;
  left: 0;
  animation: float 5s ease-in-out infinite 0.5s;
  z-index: 4;
}

.hero-float-item:hover { transform: scale(1.05) translateY(-10px); }

/* Glass SVG Styles */
.glass-svg {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.animated-svg {
  width: 80%;
  height: 80%;
  filter: drop-shadow(0 0 10px rgba(243,142,30,0.3));
}

.svg-label {
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.5px;
}

/* Glass overlay on hero items */
.hero-float-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 120px 80px;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(243,142,30,0.1);
  color: var(--orange);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 60px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Services header specific for desktop */
.services-header-desktop .section-label {
  margin-right: 0;
  margin-left: auto;
}
.services-header-desktop .section-title {
  text-align: right;
}
.services-header-desktop .section-subtitle {
  text-align: right;
  margin-right: 0;
  margin-left: auto;
}

/* ===== SERVICES ===== */
.services-bg {
  background: var(--gray-50);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.services-bg::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(243,142,30,0.06) 0%, transparent 70%);
  top: -150px;
  left: -150px;
  border-radius: 50%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 60px;
}

.service-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--accent-blue));
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1), 0 0 30px var(--orange-glow);
  border-color: rgba(243,142,30,0.2);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 32px;
  position: relative;
}

.service-icon.crm { background: linear-gradient(135deg, #FFF3E0, #FFE0B2); }
.service-icon.whatsapp { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }
.service-icon.nfc { background: linear-gradient(135deg, #E3F2FD, #BBDEFB); }
.service-icon.menu { background: linear-gradient(135deg, #F3E5F5, #E1BEE7); }

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== STATS ===== */
.stats-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 100px 80px;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(243,142,30,0.08) 0%, transparent 70%);
  top: -300px;
  right: -200px;
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s;
}

.stat-item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--orange);
  display: block;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  direction: ltr; /* Force English numeral order/style */
  font-variant-numeric: tabular-nums;
}

.stat-label {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  font-weight: 500;
}

/* ===== GALLERY ===== */
.gallery-section { padding: 120px 80px; overflow: hidden; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 60px auto 0;
}

.gallery-item {
  perspective: 1200px;
  cursor: default;
}

.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-md);
  background: var(--gray-50);
  transform: rotateY(-3deg) rotateX(2deg);
}

.gallery-card:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--white);
}

.gallery-card-label {
  padding: 24px 28px;
  background: white;
}

.gallery-card-label h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.gallery-card-label p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* ===== TESTIMONIALS ===== */
.testimonials-bg {
  background: #ffffff; /* أو أي لون تريده */
  padding: 120px 0;
  overflow: visible; /* حتى لا يختفي أي جزء */
  position: relative;
}

.testimonials-bg::before,
.testimonials-bg::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.testimonials-bg::before {
  right: 0;
  background: linear-gradient(to left, var(--gray-50), transparent);
}

.testimonials-bg::after {
  left: 0;
  background: linear-gradient(to right, var(--gray-50), transparent);
}

.testimonials-wrapper {
  overflow: hidden;
  width: 100%;
  direction: ltr; /* LTR for simpler JS math */
  cursor: grab;
  padding: 20px 0;
  user-select: none;
  touch-action: pan-y; /* Prevent default horizontal scrolling, allow vertical */
}

.testimonials-wrapper:active {
  cursor: grabbing;
}

.testimonials-track {
  display: flex;
  gap: 28px;
  width: max-content;
  will-change: transform;
}

.testimonials-slide {
  display: flex;
  gap: 28px;
  flex-shrink: 0;
}

/* Removed CSS animation to handle it in JS */

.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  min-width: 380px;
  max-width: 420px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
  flex-shrink: 0;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars { color: var(--orange); font-size: 1.1rem; margin-bottom: 16px; }

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--gray-400); }

/* ===== CTA ===== */
.cta-section {
  padding: 120px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy), #1e3a5f);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

.cta-box::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
  top: -150px;
  left: -100px;
  border-radius: 50%;
}

.cta-box::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(74,144,217,0.15) 0%, transparent 70%);
  bottom: -100px;
  right: -50px;
  border-radius: 50%;
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: white;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.cta-box p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.cta-box .btn-primary { position: relative; z-index: 2; font-size: 1.1rem; padding: 18px 48px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  padding: 60px 80px 30px;
  color: rgba(255,255,255,0.6);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img { height: 40px; margin-bottom: 16px; filter: brightness(1.5) contrast(0.9); }
.footer-brand p { max-width: 300px; font-size: 0.9rem; line-height: 1.7; }

.footer-links h4 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--orange); }

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  font-size: 0.85rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes scroll-x {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
/* ===== CEO SECTION ===== */
.ceo-section {
  padding: 120px 80px;
  background: var(--white);
}

.ceo-container {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 0;
  position: relative;
}

.ceo-image {
  flex: 1;
  max-width: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.ceo-image img {
  width: 100%;
  display: block;
  transition: transform 0.5s;
}

.ceo-image:hover img { transform: scale(1.05); }

.ceo-content-box {
  flex: 1;
  background: var(--navy-dark);
  color: white;
  padding: 60px;
  border-radius: var(--radius-lg);
  margin-inline-end: -80px; /* Overlap image */
  z-index: 2;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.ceo-content-box::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(243,142,30,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.ceo-content-box h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.ceo-content-box p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
}

.ceo-signature {
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--orange);
  font-size: 1.2rem;
}

/* ===== DESIGNS SECTION ===== */
.designs-section {
  padding: 100px 80px;
  background: var(--gray-50);
}

.designs-container {
  display: flex;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  gap: 80px;
}

.designs-visual {
  flex: 1.2;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: white;
  position: relative;
}

.designs-visual video {
  width: 100%;
  display: block;
}

.designs-text {
  flex: 1;
}

.designs-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
}

.designs-text p {
  font-size: 1.15rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 40px;
}

.btn-outline {
  display: inline-block;
  padding: 14px 36px;
  border: 2px solid var(--navy);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-3px);
}

/* ===== DEMO SECTION ===== */
.demo-section {
  padding: 120px 20px;
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

.demo-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
  z-index: 0;
}

.demo-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.demo-content {
  flex: 1;
  text-align: right;
}

.demo-content .section-title {
  color: var(--white);
  margin-bottom: 25px;
}

.demo-content .section-subtitle {
  color: var(--gray-400);
  margin-bottom: 35px;
}

.demo-features {
  margin-bottom: 40px;
  display: grid;
  gap: 15px;
}

.demo-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-100);
  font-size: 1.05rem;
}

.demo-feat span {
  font-size: 1.2rem;
}

.demo-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.demo-card-float {
  width: 340px;
  position: relative;
  animation: floatCard 6s ease-in-out infinite;
}

.demo-card-float img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}

.demo-card-overlay {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-30px) rotate(2deg); }
}
/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 120px 20px;
  background: var(--white);
}

.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.about-card {
  background: var(--gray-50);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.about-visual {
  width: 80px;
  height: 80px;
  margin-bottom: 30px;
}

.about-svg-icon {
  width: 100%;
  height: 100%;
}

.svg-circle-path {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: drawPath 2s forwards ease-in-out;
}

.svg-rect-path {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: drawPath 2s forwards ease-in-out 0.5s;
}

@keyframes drawPath {
  to { stroke-dashoffset: 0; }
}

.svg-pulse {
  animation: pulseSvg 2s infinite;
  transform-origin: center;
}

.svg-pulse-blue {
  animation: pulseSvgBlue 2s infinite;
  transform-origin: center;
}

@keyframes pulseSvg {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 0.4; }
  100% { transform: scale(1); opacity: 0.8; }
}

@keyframes pulseSvgBlue {
  0% { transform: scale(1); opacity: 0.8; fill: var(--accent-blue); }
  50% { transform: scale(1.3); opacity: 0.4; fill: var(--orange); }
  100% { transform: scale(1); opacity: 0.8; fill: var(--accent-blue); }
}

.about-text h2 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 40px;
  height: 3px;
  background: var(--orange);
  border-radius: 100px;
}

.about-text p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* ===== RESPONSIVE: TABLET (max-width: 1024px) ===== */
@media (max-width: 1024px) {
  /* Demo */
  .demo-container { flex-direction: column; text-align: center; gap: 60px; }
  .demo-content { text-align: center; }
  .demo-feat { justify-content: center; }
  .demo-section { padding: 80px 24px; }

  /* CEO */
  .ceo-section { padding: 80px 24px; }
  .ceo-container { flex-direction: column; padding: 0; }
  .ceo-image { max-width: 100%; }
  .ceo-content-box { margin-inline-end: 0; margin-top: -60px; width: 100%; padding: 40px 30px; }
  .ceo-content-box h2 { font-size: 2rem; }

  /* Designs */
  .designs-section { padding: 80px 24px; }
  .designs-container { flex-direction: column; text-align: center; gap: 40px; }
  .designs-visual { width: 100%; }
  .designs-text h2 { font-size: 2rem; }

  /* Hero */
  .hero { padding: 120px 40px 80px; }
  .hero-content { flex-direction: column; text-align: center; gap: 40px; }
  .hero-text { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-visual { min-height: 350px; width: 100%; }
  .hero-float-item:nth-child(1) { width: 280px; height: 200px; right: 10%; }
  .hero-float-item:nth-child(2) { width: 180px; height: 150px; right: 5%; }
  .hero-float-item:nth-child(3) { width: 160px; height: 130px; left: 5%; }

  /* Sections */
  .section { padding: 80px 24px; }
  .gallery-section { padding: 80px 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  /* Stats */
  .stats-section { padding: 80px 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  /* CTA */
  .cta-section { padding: 80px 24px; }
  .cta-box { padding: 60px 40px; }

  /* Footer */
  .footer { padding: 50px 24px 24px; }

  /* About */
  .about-section { padding: 80px 24px; }
  .about-grid { gap: 24px; }
  .about-card { padding: 30px; }
}

/* ===== RESPONSIVE: MOBILE (max-width: 768px) ===== */
@media (max-width: 768px) {
  /* Navbar */
  .navbar {
    padding: 10px 16px;
    gap: 0;
    justify-content: space-between;
    top: 12px;
    left: 12px;
    right: 12px;
    transform: none;
    width: auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 65px;
    right: 0;
    left: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    gap: 4px;
    border: 1px solid var(--gray-200);
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 12px 16px;
    text-align: center;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s, color 0.2s;
  }

  .nav-links a:hover {
    background: rgba(243,142,30,0.08);
  }

  .nav-links a::after { display: none; }

  .nav-cta.desktop { display: none; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 100px 20px 50px;
  }

  .hero h1 { font-size: 2rem; }
  .hero-desc { font-size: 1rem; margin-bottom: 28px; }

  .hero-visual { min-height: 260px; }
  .hero-float-item:nth-child(1) { width: 200px; height: 150px; top: 5%; right: 5%; }
  .hero-float-item:nth-child(2) { width: 140px; height: 110px; right: 0; bottom: 10%; }
  .hero-float-item:nth-child(3) { width: 120px; height: 95px; left: 2%; top: 30%; }

  .hero-badge { font-size: 0.8rem; padding: 6px 16px; margin-bottom: 20px; }
  .hero-buttons { gap: 12px; }
  .btn-primary { padding: 14px 32px; font-size: 0.95rem; }
  .btn-secondary { padding: 14px 32px; font-size: 0.95rem; }

  /* Services */
  .services-bg { padding: 60px 0; }
  .section { padding: 60px 20px; }
  .section-title { font-size: 1.8rem; }
  .section-subtitle { font-size: 1rem; margin-bottom: 40px; }
  .services-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
  .service-card { padding: 28px 24px; }
  .service-icon { width: 56px; height: 56px; font-size: 24px; margin-bottom: 16px; }

  .services-header-desktop .section-label { margin-right: auto; margin-left: auto; }
  .services-header-desktop .section-title { text-align: center; }
  .services-header-desktop .section-subtitle { text-align: center; margin-right: auto; margin-left: auto; }

  /* About */
  .about-section { padding: 60px 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-card { padding: 28px 24px; }
  .about-card:hover { transform: translateY(-5px); }
  .about-visual { width: 60px; height: 60px; margin-bottom: 20px; }
  .about-text h2 { font-size: 1.5rem; }
  .about-text p { font-size: 0.95rem; }

  /* CEO */
  .ceo-section { padding: 60px 20px; }
  .ceo-content-box { padding: 32px 24px; margin-top: -40px; }
  .ceo-content-box h2 { font-size: 1.6rem; }
  .ceo-content-box p { font-size: 1rem; }

  /* Designs */
  .designs-section { padding: 60px 20px; }
  .designs-container { gap: 30px; }
  .designs-text h2 { font-size: 1.6rem; }
  .designs-text p { font-size: 1rem; }

  /* Demo */
  .demo-section { padding: 60px 20px; }
  .demo-container { gap: 40px; }
  .demo-content .section-title { font-size: 1.6rem; }
  .demo-content .section-subtitle { font-size: 0.95rem; }
  .demo-feat { font-size: 0.95rem; }

  /* Gallery */
  .gallery-section { padding: 60px 20px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery-card { transform: none; }
  .gallery-card:hover { transform: translateY(-5px) scale(1.01); }
  .gallery-card-label { padding: 18px 20px; }
  .gallery-card-label h3 { font-size: 1.05rem; }

  /* Stats */
  .stats-section { padding: 50px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item { padding: 28px 16px; }
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: 0.85rem; }

  /* Testimonials */
  .testimonials-bg { padding: 60px 0; }
  .testimonial-card { min-width: 280px; max-width: 320px; padding: 28px; }
  .testimonial-card blockquote { font-size: 0.9rem; }
  .testimonials-bg::before,
  .testimonials-bg::after { width: 60px; }

  /* CTA */
  .cta-section { padding: 60px 20px; }
  .cta-box { padding: 50px 24px; border-radius: var(--radius-lg); }
  .cta-box h2 { font-size: 1.6rem; }
  .cta-box p { font-size: 0.95rem; margin-bottom: 28px; }
  .cta-box .btn-primary { font-size: 1rem; padding: 16px 36px; }

  /* Footer */
  .footer { padding: 40px 20px 20px; }
  .footer-content { flex-direction: column; gap: 32px; }
  .footer-brand p { max-width: 100%; }
  .footer-links h4 { margin-bottom: 12px; }
  .footer-bottom { font-size: 0.8rem; }
}

/* ===== RESPONSIVE: SMALL MOBILE (max-width: 480px) ===== */
@media (max-width: 480px) {
  .hero { padding: 90px 16px 40px; }
  .hero h1 { font-size: 1.7rem; }
  .hero-desc { font-size: 0.9rem; }
  .hero-badge { font-size: 0.75rem; padding: 5px 14px; }
  .hero-buttons { flex-direction: column; align-items: center; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; text-align: center; }

  .hero-visual { min-height: 220px; }
  .hero-float-item:nth-child(1) { width: 160px; height: 120px; }
  .hero-float-item:nth-child(2) { width: 110px; height: 90px; }
  .hero-float-item:nth-child(3) { width: 100px; height: 80px; }
  .svg-label { font-size: 0.65rem; }

  /* Section titles */
  .section-title { font-size: 1.5rem; }
  .section-label { font-size: 0.75rem; padding: 6px 14px; }

  /* Services */
  .service-card { padding: 24px 20px; }

  /* About */
  .about-card { padding: 24px 20px; }
  .about-text h2 { font-size: 1.3rem; }
  .about-text p { font-size: 0.9rem; line-height: 1.7; }

  /* CEO */
  .ceo-content-box { padding: 28px 20px; }
  .ceo-content-box h2 { font-size: 1.4rem; }
  .ceo-content-box p { font-size: 0.9rem; }
  .ceo-signature { font-size: 1rem; }

  /* Designs */
  .designs-text h2 { font-size: 1.4rem; }
  .designs-text p { font-size: 0.9rem; }
  .btn-outline { padding: 12px 28px; font-size: 0.9rem; }

  /* Demo */
  .demo-card-float { width: 100%; max-width: 260px; }
  .demo-content .section-title { font-size: 1.4rem; }
  .demo-content .section-subtitle { font-size: 0.9rem; }
  .demo-feat { font-size: 0.9rem; gap: 8px; }

  /* Stats */
  .stat-item { padding: 24px 12px; border-radius: var(--radius-md); }
  .stat-number { font-size: 1.7rem; }
  .stat-label { font-size: 0.8rem; }

  /* Testimonials */
  .testimonial-card { min-width: 260px; max-width: 280px; padding: 24px; }

  /* CTA */
  .cta-box { padding: 40px 20px; }
  .cta-box h2 { font-size: 1.4rem; }
  .cta-box p { font-size: 0.85rem; }
  .cta-box .btn-primary { width: 100%; justify-content: center; }

  /* Footer */
  .footer-content { gap: 28px; }
  .footer-links ul { display: flex; flex-wrap: wrap; gap: 8px 16px; }
  .footer-links li { margin-bottom: 0; }
}
