/* ============================================================
   NOYAL SAFETY NETS — Global Design System
   Brand Colors: Purple #863bff | Deep #7e14ff | Blue #47bfff
   ============================================================ */

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

/* ======================== CSS VARIABLES ======================== */
:root {
  --primary: #863bff;
  --primary-deep: #7e14ff;
  --primary-light: #a06bff;
  --accent: #47bfff;
  --accent-dark: #1a9fe0;
  --tint: #ede6ff;
  --tint-2: #f0f7ff;

  --dark: #0a0a1a;
  --dark-2: #12122a;
  --dark-3: #1a1a35;
  --dark-card: #15152e;

  --text-white: #ffffff;
  --text-light: #e8e4f5;
  --text-muted: #a89bc4;
  --text-body: #2d2d4e;

  --gradient-1: linear-gradient(135deg, #7e14ff 0%, #863bff 50%, #47bfff 100%);
  --gradient-2: linear-gradient(135deg, #0a0a1a 0%, #12122a 100%);
  --gradient-3: linear-gradient(135deg, #863bff 0%, #47bfff 100%);
  --gradient-card: linear-gradient(135deg, rgba(134,59,255,0.08) 0%, rgba(71,191,255,0.05) 100%);

  --shadow-sm: 0 2px 10px rgba(134,59,255,0.15);
  --shadow-md: 0 8px 30px rgba(134,59,255,0.2);
  --shadow-lg: 0 20px 60px rgba(134,59,255,0.25);
  --shadow-glow: 0 0 40px rgba(134,59,255,0.4);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --nav-height: 80px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ======================== RESET & BASE ======================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', 'Inter', sans-serif;
  background: #ffffff;
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

/* ======================== TYPOGRAPHY ======================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(134,59,255,0.12), rgba(71,191,255,0.08));
  border: 1px solid rgba(134,59,255,0.25);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-title span {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1rem;
  color: #666;
  max-width: 600px;
  line-height: 1.7;
}

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

.section-header .section-desc {
  margin: 0 auto;
}

/* ======================== LAYOUT ======================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--dark);
  color: var(--text-white);
}

.section-dark .section-title {
  color: var(--text-white);
}

.section-dark .section-desc {
  color: var(--text-muted);
}

.section-tint {
  background: linear-gradient(180deg, #f8f5ff 0%, #ffffff 100%);
}

/* ======================== NAVBAR ======================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
  height: 66px;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 50px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  padding: 3px 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.nav-logo-tagline {
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(134,59,255,0.2);
}

.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links .dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(15,15,35,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(134,59,255,0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  min-width: 680px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  box-shadow: var(--shadow-lg);
}

.nav-links .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-links .dropdown-menu a {
  font-size: 0.78rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  color: rgba(255,255,255,0.75);
}

.nav-links .dropdown-menu a:hover {
  color: var(--primary-light);
  background: rgba(134,59,255,0.15);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-call-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-1);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(134,59,255,0.4);
}

.btn-call-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(134,59,255,0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: rgba(134,59,255,0.15);
  border-radius: var(--radius-sm);
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ======================== BUTTONS ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  cursor: pointer;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--gradient-1);
  color: #fff;
  box-shadow: 0 6px 25px rgba(134,59,255,0.45);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(134,59,255,0.55);
  color: #fff;
}

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

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37,211,102,0.5);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.05rem;
}

/* ======================== CARDS ======================== */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

/* ======================== SERVICE CARDS ======================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: var(--transition);
  border: 1px solid rgba(134,59,255,0.08);
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: rgba(134,59,255,0.25);
}

.service-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--gradient-card);
}

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

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,26,0.6), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover .service-card-img-overlay {
  opacity: 1;
}

.service-card-body {
  padding: 20px 22px 24px;
}

.service-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.service-card-link:hover {
  gap: 10px;
  color: var(--primary-deep);
}

.service-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ======================== FLOATING WHATSAPP ======================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 35px rgba(37,211,102,0.6);
  animation: none;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #fff;
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 6px 25px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 25px rgba(37,211,102,0.5), 0 0 0 14px rgba(37,211,102,0); }
}

/* ======================== CALL FLOAT ======================== */
.call-float {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 999;
  width: 54px;
  height: 54px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.call-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.call-float svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  fill: none;
}

/* ======================== BREADCRUMB ======================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: rgba(255,255,255,0.4);
}

.breadcrumb-current {
  color: var(--accent);
  font-weight: 600;
}

/* ======================== PAGE HERO ======================== */
.page-hero {
  background: var(--gradient-2);
  padding: 130px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(134,59,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(71,191,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}

.page-hero h1 span {
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ======================== FEATURES LIST ======================== */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(134,59,255,0.04), rgba(71,191,255,0.02));
  border: 1px solid rgba(134,59,255,0.1);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: rgba(134,59,255,0.3);
  background: linear-gradient(135deg, rgba(134,59,255,0.08), rgba(71,191,255,0.04));
  transform: translateX(6px);
}

.feature-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--gradient-1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.feature-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}

.feature-text p {
  font-size: 0.83rem;
  color: #777;
  line-height: 1.5;
}

/* ======================== STATS ======================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 36px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(134,59,255,0.2);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transition: var(--transition);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card:hover {
  border-color: rgba(134,59,255,0.4);
  background: rgba(134,59,255,0.08);
  transform: translateY(-4px);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

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

/* ======================== TESTIMONIAL ======================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(134,59,255,0.15);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  border-color: rgba(134,59,255,0.35);
  transform: translateY(-6px);
  background: rgba(134,59,255,0.06);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

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

.stars {
  color: #ffc107;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

/* ======================== FOOTER ======================== */
.footer {
  background: #05050f;
  color: #fff;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand .nav-logo {
  margin-bottom: 18px;
}

.footer-brand .nav-logo img {
  height: 46px;
  background: #fff;
  border-radius: 8px;
  padding: 3px 6px;
}


.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.footer-social-link {
  width: 38px;
  height: 38px;
  background: rgba(134,59,255,0.15);
  border: 1px solid rgba(134,59,255,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-1);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  color: var(--primary);
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(134,59,255,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.footer-contact-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.footer-contact-text a {
  color: rgba(255,255,255,0.55);
}

.footer-contact-text a:hover {
  color: var(--accent);
}

.footer-contact-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

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

/* ======================== ANIMATIONS ======================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

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

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

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

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Scroll-triggered animation base */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ======================== FAQ ACCORDION ======================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(134,59,255,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.faq-item.active {
  border-color: rgba(134,59,255,0.3);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(134,59,255,0.03);
}

.faq-question span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  padding-right: 16px;
  line-height: 1.4;
}

.faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: rgba(134,59,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
}

.faq-item.active .faq-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
  border-top: 1px solid rgba(134,59,255,0.08);
  padding-top: 16px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ======================== CTA SECTION ======================== */
.cta-section {
  background: var(--gradient-1);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: rgba(0,0,0,0.1);
  border-radius: 50%;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ======================== GALLERY ======================== */
.gallery-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  background: transparent;
  color: var(--dark);
  border: 2px solid rgba(134,59,255,0.2);
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(134,59,255,0.35);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--dark-3);
}

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

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

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,26,0.8) 0%, rgba(134,59,255,0.2) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  width: 54px;
  height: 54px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: var(--transition);
  font-size: 1.3rem;
  color: var(--primary);
}

.gallery-item:hover .gallery-zoom-icon {
  transform: scale(1);
}

/* ======================== LIGHTBOX ======================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 5, 20, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 900px;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.2rem;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--primary);
}

/* ======================== CONTACT FORM ======================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-form-wrapper {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 10px 50px rgba(134,59,255,0.1);
  border: 1px solid rgba(134,59,255,0.1);
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid rgba(134,59,255,0.15);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: #fdfcff;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(134,59,255,0.08);
}

.form-control::placeholder {
  color: #bbb;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23863bff' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid rgba(134,59,255,0.1);
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateX(6px);
  border-color: rgba(134,59,255,0.3);
  box-shadow: var(--shadow-sm);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--gradient-1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 6px 18px rgba(134,59,255,0.3);
}

.contact-info-content h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.contact-info-content p,
.contact-info-content a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.contact-info-content a:hover {
  color: var(--primary);
}

/* ======================== VIDEO SECTION ======================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.video-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--dark-3);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.video-card video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.video-card-title {
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: var(--dark-card);
}

/* ======================== PROCESS STEPS ======================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 14px);
  right: calc(12.5% + 14px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-num {
  width: 56px;
  height: 56px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(134,59,255,0.4);
}

.process-step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.82rem;
  color: #777;
  line-height: 1.5;
}

/* ======================== WHY CHOOSE US ======================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 36px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(134,59,255,0.15);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.why-card:hover {
  border-color: rgba(134,59,255,0.35);
  background: rgba(134,59,255,0.07);
  transform: translateY(-6px);
}

.why-card-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px rgba(134,59,255,0.35);
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ======================== MAP ======================== */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid rgba(134,59,255,0.2);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* ======================== MOBILE MENU ======================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(10,10,26,0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 24px;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
}

.mobile-menu-links a {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  width: 100%;
  text-align: center;
}

.mobile-menu-links a:hover {
  color: #fff;
  background: rgba(134,59,255,0.2);
}

.mobile-menu-cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 400px;
}

/* ======================== BACK TO TOP ======================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 48px;
  height: 48px;
  background: var(--dark-card);
  border: 2px solid rgba(134,59,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  color: var(--primary);
  font-size: 1.1rem;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-4px);
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 70px 0;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .contact-form-wrapper {
    padding: 28px 20px;
  }
}

/* ======================== SERVICE PAGE LAYOUT CLASSES ======================== */

/* Overview 2-col grid → stacks on mobile */
.service-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Related services 4-col → responsive */
.related-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Hero CTA buttons row */
.page-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Quick contact bar on contact page */
.quick-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.quick-contact-card {
  padding: 28px 20px;
  background: rgba(255,255,255,0.12);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  display: block;
}

.quick-contact-card:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
  transform: translateY(-4px);
}

.quick-contact-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.quick-contact-label {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.quick-contact-value {
  font-size: 1rem;
  font-weight: 800;
}

/* ======================== SERVICE PAGE RESPONSIVE ======================== */

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

@media (max-width: 900px) {
  .service-overview-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .related-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick-contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .page-hero {
    padding: 100px 0 50px;
  }
  .page-hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
  }
  .page-hero p {
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .service-overview-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .related-services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .page-hero-btns {
    flex-direction: column;
  }
  .page-hero-btns .btn {
    width: 100%;
    justify-content: center;
  }
  .service-card-img {
    height: 160px;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding: 52px 0;
  }
  .section-header {
    margin-bottom: 36px;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .cta-section {
    padding: 56px 0;
  }
  .cta-section h2 {
    font-size: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .stat-card {
    padding: 24px 14px;
  }
  .why-card {
    padding: 24px 16px;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .nav-logo-tagline {
    display: none;
  }
}

@media (max-width: 400px) {
  .related-services-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .page-hero h1 {
    font-size: 1.5rem;
  }
}

/* ======================== FOOTER CREDIT ======================== */
.footer-credit {
  text-align: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

.footer-credit a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-credit a:hover {
  color: #fff;
}
