/* =============================================================================
   NKRAN DIGITAL HUB - SERVICES PAGE STYLES
   ============================================================================= */

/* ===== 1. CORE VARIABLES & CONFIG ===== */
:root {
  --bg-primary: #0A192F;
  --bg-secondary: #112240;
  --bg-tertiary: #1a3a5c;
  --accent-cyan: #00D4FF;
  --accent-cyan-glow: rgba(0, 212, 255, 0.6);
  --accent-green: #39FF14;
  --accent-green-glow: rgba(57, 255, 20, 0.4);
  --text-primary: #FFFFFF;
  --text-secondary: #E5E7EB;
  --text-muted: #8892B0;
  --font-heading: 'Orbitron', sans-serif;
  --font-sub: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-smooth: all 0.3s ease;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-glow: 0 0 20px var(--accent-cyan-glow);
  --shadow-glow-green: 0 0 15px var(--accent-green-glow);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.5);
  --gradient-primary: linear-gradient(135deg, var(--accent-cyan), #0099cc);
  --gradient-glow: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  --particle-color: rgba(0, 212, 255, 0.4);
}

/* ===== 2. RESET & BASE STYLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: '';
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 25%),
    radial-gradient(circle at 90% 80%, rgba(57, 255, 20, 0.06) 0%, transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(100, 100, 255, 0.04) 0%, transparent 40%);
  z-index: -3;
  animation: bgPulse 20s ease-in-out infinite alternate;
}
@keyframes bgPulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
a { color: inherit; text-decoration: none; transition: var(--transition-smooth); }
ul { list-style: none; }
img, svg { max-width: 100%; display: block; }

.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--accent-cyan); color: var(--bg-primary);
  padding: 0.5rem 1rem; z-index: 10000; transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* ===== SCROLL ANIMATION SYSTEM ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.slide-left {
  transform: translateX(-50px);
}

.animate-on-scroll.slide-right {
  transform: translateX(50px);
}

.animate-on-scroll.fade-in {
  transform: translateY(0);
}

.animate-on-scroll.zoom-in {
  transform: scale(0.8);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.5s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.6s; }

/* ===== 3. PARTICLE BACKGROUND ===== */
#particles-canvas {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: -2 !important;
  pointer-events: none !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ===== 4. NAVIGATION ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 1.2rem 5%; background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0, 212, 255, 0.25);
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition); animation: slideDown 0.6s ease-out;
}
@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.navbar.scrolled {
  padding: 0.8rem 5%; background: rgba(10, 25, 47, 0.95);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4); border-bottom-color: var(--accent-cyan);
}
.nav-logo {
  display: flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700;
  color: var(--accent-cyan); position: relative;
  text-shadow: 0 0 10px var(--accent-cyan-glow);
  animation: logoGlow 3s ease-in-out infinite alternate;
}
@keyframes logoGlow {
  from { text-shadow: 0 0 5px var(--accent-cyan-glow); }
  to { text-shadow: 0 0 20px var(--accent-cyan-glow), 0 0 30px var(--accent-cyan); }
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-nkran { font-weight: 900; letter-spacing: 1px; }
.logo-digital { font-size: 0.85em; color: var(--text-secondary); font-weight: 600; }

.nav-menu { display: flex; gap: 2.2rem; }
.nav-link {
  font-family: var(--font-sub); font-weight: 600; color: var(--text-secondary);
  padding: 0.5rem 0; position: relative; letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}
.nav-link::before {
  content: ''; position: absolute; top: 50%; left: -5px;
  width: 3px; height: 0; background: var(--accent-cyan);
  border-radius: 2px; transition: var(--transition);
  transform: translateY(-50%); opacity: 0;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); transform: translateX(3px); }
.nav-link:hover::before, .nav-link.active::before { height: 70%; opacity: 1; }
.nav-link::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px; background: var(--gradient-primary);
  transition: var(--transition); border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-cyan-glow);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.menu-toggle {
  display: none; flex-direction: column; gap: 6px; cursor: pointer;
  padding: 5px; z-index: 1001; background: none; border: none;
}
.menu-toggle span {
  width: 28px; height: 3px; background: var(--text-primary);
  border-radius: 3px; transition: var(--transition);
  box-shadow: 0 0 5px var(--accent-cyan-glow);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); background: var(--accent-cyan); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); background: var(--accent-cyan); }

/* ===== 5. BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2.2rem; border-radius: var(--radius);
  font-family: var(--font-sub); font-weight: 700; letter-spacing: 0.8px;
  transition: var(--transition); position: relative; overflow: hidden;
  cursor: pointer; z-index: 1; border: none; text-transform: uppercase; font-size: 0.9rem;
}
.btn::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%; background: var(--gradient-primary);
  transition: var(--transition); z-index: -1; opacity: 0;
}
.btn::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 0; height: 0; background: rgba(255,255,255,0.3);
  border-radius: 50%; transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease; z-index: -1;
}
.btn:hover::after { width: 300px; height: 300px; }
.btn-primary {
  background: transparent; border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan); box-shadow: 0 0 15px var(--accent-cyan-glow);
}
.btn-primary:hover {
  color: var(--bg-primary); transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-glow), 0 10px 30px rgba(0, 212, 255, 0.4);
}
.btn-primary:hover::before { left: 0; opacity: 1; }

/* ===== 6. PAGE HERO ===== */
.page-hero {
  min-height: 60vh; display: grid; place-items: center;
  padding: 10rem 5% 6rem; position: relative; text-align: center;
  overflow: hidden; background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), transparent 60%);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 70% at center, black, transparent);
  animation: gridMove 25s linear infinite; opacity: 0.5;
}
@keyframes gridMove { 0% { background-position: 0 0, 0 0; } 100% { background-position: 40px 40px, 40px 40px; } }
.page-hero-content { max-width: 900px; position: relative; z-index: 2; }
.page-hero-title {
  font-family: var(--font-heading); font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900; margin-bottom: 1rem; letter-spacing: 2px;
  opacity: 0; transform: translateY(-30px);
  animation: heroFadeDown 1s ease-out 0.3s forwards;
}
@keyframes heroFadeDown {
  to { opacity: 1; transform: translateY(0); }
}
.page-hero-title span { color: var(--accent-cyan); }
.page-hero-subtitle {
  font-family: var(--font-sub); font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-secondary); max-width: 700px; margin: 0 auto;
  opacity: 0; transform: translateY(30px);
  animation: heroFadeUp 1s ease-out 0.6s forwards;
}
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== 7. MAIN SECTIONS ===== */
.section-pad {
  padding: 6rem 5%; max-width: 1400px; margin: 0 auto; position: relative;
}
.section-pad::before {
  content: ''; position: absolute; top: -2px; left: 50%;
  transform: translateX(-50%); width: 80%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.4; animation: lineGlow 3s ease-in-out infinite;
}
@keyframes lineGlow { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.6; } }
.section-header { text-align: center; margin-bottom: 4.5rem; position: relative; }
.section-title {
  font-family: var(--font-heading); font-size: clamp(1.8rem, 4.5vw, 3rem);
  margin-bottom: 1.2rem; position: relative; display: inline-block;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.section-title.animated {
  opacity: 1; transform: translateY(0);
}
.section-title::after {
  content: ''; position: absolute; bottom: -10px; left: 50%;
  transform: translateX(-50%); width: 60%; height: 3px;
  background: var(--gradient-primary); border-radius: 3px;
  box-shadow: 0 0 10px var(--accent-cyan-glow);
  animation: pulseLine 2s ease-in-out infinite;
}
@keyframes pulseLine { 0%, 100% { width: 60%; opacity: 0.7; } 50% { width: 80%; opacity: 1; } }
.section-title span { color: var(--accent-cyan); }
.section-subtitle { color: var(--text-secondary); max-width: 700px; margin: 0 auto; font-size: 1.1rem; }

/* ===== 8. SERVICE FILTERS ===== */
.service-filters {
  display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: 0.7rem 1.5rem; background: var(--bg-secondary);
  border: 1px solid rgba(0, 212, 255, 0.3); border-radius: 30px;
  color: var(--text-secondary); font-family: var(--font-sub);
  font-weight: 500; cursor: pointer; transition: var(--transition);
  position: relative; overflow: hidden;
}
.filter-btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-primary); opacity: 0; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  color: var(--bg-primary); border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow); font-weight: 600;
}
.filter-btn:hover::before, .filter-btn.active::before { opacity: 1; }

/* ===== 9. SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin: 2rem 0;
}
.service-card {
  background: linear-gradient(145deg, var(--bg-secondary), var(--bg-tertiary));
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), transparent 50%);
  opacity: 0; transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow), var(--shadow-hover);
}
.service-card:hover::before { opacity: 1; }
.service-card.hidden-card {
  display: none;
}
.service-card.fade-in {
  animation: cardFadeIn 0.5s ease forwards;
}
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Service Image Wrapper */
.service-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  border-bottom: 2px solid rgba(0, 212, 255, 0.2);
}
.service-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.85) contrast(1.1);
}
.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), transparent 60%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.service-card:hover .service-image-wrapper img {
  transform: scale(1.1);
  filter: brightness(1) contrast(1.2) saturate(1.1);
}
.service-card:hover .service-overlay {
  opacity: 1;
}

.service-icon {
  width: 70px; height: 70px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: -35px 0 1.5rem 2rem;
  transition: var(--transition); position: relative; z-index: 2;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.service-card:hover .service-icon {
  background: rgba(0, 212, 255, 0.2);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.3), 0 5px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}
.service-card h3 {
  font-family: var(--font-heading); font-size: 1.4rem;
  margin: 0 2rem 1rem; color: var(--accent-cyan);
  position: relative; display: inline-block; z-index: 2;
}
.service-card h3::after {
  content: ''; position: absolute; bottom: -8px; left: 0;
  width: 40px; height: 3px; background: var(--accent-green);
  border-radius: 2px; animation: pulseLine 2s ease-in-out infinite;
}
.service-card p {
  color: var(--text-secondary); line-height: 1.8;
  font-size: 1.05rem; margin: 0 2rem 1.5rem; flex-grow: 1; z-index: 2;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}
.service-card.animated p {
  opacity: 1; transform: translateY(0);
}
.service-features {
  list-style: none; padding: 1.5rem 2rem 0; margin: 0;
  border-top: 1px solid rgba(255,255,255,0.1); z-index: 2;
}
.service-features li {
  color: var(--text-muted); font-size: 0.95rem;
  margin-bottom: 0.6rem; padding-left: 24px; position: relative;
  font-family: var(--font-sub);
}
.service-features li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--accent-green); font-weight: bold; font-size: 1.1rem;
}
.service-tag {
  display: inline-block; padding: 0.4rem 1rem;
  background: rgba(57, 255, 20, 0.1); color: var(--accent-green);
  border-radius: 20px; font-size: 0.8rem; font-weight: 600;
  margin: 1.5rem 2rem 2rem; border: 1px solid rgba(57, 255, 20, 0.3);
  font-family: var(--font-sub); align-self: flex-start; z-index: 2;
}

/* ===== 10. PROCESS SECTION ===== */
.process-section { margin: 5rem 0; text-align: center; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.process-card {
  background: rgba(0, 212, 255, 0.06);
  border-top: 4px solid var(--accent-cyan);
  border-radius: var(--radius);
  padding: 2rem; transition: var(--transition); text-align: center;
}
.process-card:hover {
  background: rgba(0, 212, 255, 0.15); transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.process-icon { font-size: 2.5rem; margin-bottom: 1rem; display: inline-block; }
.process-card h4 { font-family: var(--font-sub); font-size: 1.3rem; margin-bottom: 0.8rem; color: var(--text-primary); }
.process-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ===== 11. CTA SECTION ===== */
.about-cta {
  background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(57,255,20,0.08), transparent);
  border-radius: var(--radius-lg); text-align: center;
  padding: 4.5rem 2.5rem; margin: 5rem auto; position: relative;
  overflow: hidden; border: 1px solid rgba(0, 212, 255, 0.3);
  animation: ctaPulse 8s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
  50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.6), 0 0 60px rgba(57, 255, 20, 0.4); }
}
.about-cta::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  animation: rotateGradient 15s linear infinite; z-index: -1;
}
@keyframes rotateGradient { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.about-cta h2 {
  font-family: var(--font-heading); margin-bottom: 1.2rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}
.about-cta p { color: var(--text-secondary); margin-bottom: 2.2rem; font-size: 1.15rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== 12. FOOTER ===== */
.footer {
  background: linear-gradient(to bottom, var(--bg-primary), #050B14);
  padding: 4rem 5% 2rem; border-top: 1px solid rgba(0, 212, 255, 0.2);
  position: relative;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 1px; background: var(--gradient-glow);
  animation: glowLine 3s ease-in-out infinite;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem 2rem; max-width: 1200px; margin: 0 auto; align-items: start;
}
.footer-col { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.5rem; }
.footer-brand img { border-radius: 8px; flex-shrink: 0; }
.footer-brand h4 { font-family: var(--font-heading); color: var(--accent-cyan); font-size: 1.2rem; margin: 0; line-height: 1.2; }
.footer-col h4 {
  font-family: var(--font-sub); color: var(--accent-cyan);
  margin: 0.5rem 0 1rem 0; font-size: 1.2rem; position: relative; display: inline-block;
}
.footer-col h4::after {
  content: ''; position: absolute; bottom: -8px; left: 0;
  width: 40px; height: 2px; background: var(--accent-green);
  border-radius: 2px; animation: pulseLine 2s ease-in-out infinite;
}
.footer-col > p { color: var(--text-secondary); line-height: 1.7; margin: 0 0 1rem 0; font-size: 0.95rem; }
.contact-list { display: flex; flex-direction: column; gap: 0.8rem; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: flex-start; gap: 0.8rem; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; }
.contact-list .icon { flex-shrink: 0; font-size: 1.1rem; margin-top: 2px; }
.contact-list .text { display: flex; flex-direction: column; gap: 2px; }
.contact-list a { color: var(--text-secondary); transition: var(--transition-smooth); }
.contact-list a:hover { color: var(--accent-cyan); }
.footer-col ul:not(.contact-list) { margin: 0; padding: 0; list-style: none; }
.footer-col ul:not(.contact-list) li { margin-bottom: 0.8rem; position: relative; padding-left: 18px; }
.footer-col ul:not(.contact-list) li::before {
  content: '▹'; position: absolute; left: 0; top: 2px;
  color: var(--accent-cyan); font-weight: bold; font-size: 0.9rem;
  animation: arrowBounce 1.5s ease-in-out infinite;
}
@keyframes arrowBounce { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
.footer-col ul:not(.contact-list) li a { color: var(--text-secondary); transition: var(--transition-smooth); position: relative; display: inline-block; }
.footer-col ul:not(.contact-list) li a:hover { color: var(--accent-cyan); transform: translateX(4px); }
.footer-col ul:not(.contact-list) li a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--accent-cyan); transition: var(--transition-smooth);
}
.footer-col ul:not(.contact-list) li a:hover::after { width: 100%; }

.social-links { display: flex; gap: 0.8rem; margin-top: 0.5rem; }
.social-links a {
  width: 40px; height: 40px; border: 1px solid var(--text-muted);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: var(--transition); position: relative; overflow: hidden;
  background: transparent; flex-shrink: 0;
}
.social-links a svg { width: 18px; height: 18px; fill: var(--text-secondary); transition: var(--transition-smooth); position: relative; z-index: 2; }
.social-links a::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-primary); opacity: 0; transition: var(--transition); z-index: 1;
}
.social-links a:hover { border-color: var(--accent-cyan); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4); }
.social-links a:hover svg { fill: white; transform: scale(1.1); }
.social-links a:hover::before { opacity: 1; }
.social-links a[href*="twitter.com"]:hover::before { background: #1DA1F2; }
.social-links a[href*="facebook.com"]:hover::before { background: #1877F2; }
.social-links a[href*="linkedin.com"]:hover::before { background: #0A66C2; }
.social-links a[href*="instagram.com"]:hover::before { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

.copyright {
  text-align: center; padding-top: 2.5rem; margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08); color: var(--text-muted);
  font-size: 0.9rem; position: relative; max-width: 1200px;
  margin-left: auto; margin-right: auto;
}
.copyright::after {
  content: ''; position: absolute; bottom: -1px; left: 50%;
  transform: translateX(-50%); width: 100px; height: 1px;
  background: var(--gradient-glow); animation: glowLine 2.5s ease-in-out infinite;
}

/* ===== 13. WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; width: 60px; height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
  animation: whatsappPulse 2.5s ease-in-out infinite, float 3s ease-in-out infinite;
  border: 2px solid rgba(255,255,255,0.2); padding: 0; text-decoration: none;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: white; transition: transform 0.3s ease; flex-shrink: 0; }
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 5px 40px rgba(37, 211, 102, 0.9), 0 0 0 10px rgba(37, 211, 102, 0.2); }
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
.whatsapp-float:hover {
  transform: scale(1.12) rotate(8deg); box-shadow: 0 8px 35px rgba(37, 211, 102, 0.8), 0 0 0 15px rgba(37, 211, 102, 0.3);
  animation-play-state: paused; background: linear-gradient(135deg, #128C7E, #075E54);
}
.whatsapp-float:hover svg { transform: scale(1.1); }
.whatsapp-float::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--accent-cyan, #00D4FF);
  border-bottom-color: var(--accent-green, #39FF14);
  animation: spin 2s linear infinite; opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.whatsapp-float:hover::after { opacity: 1; }

/* ===== 14. LOADING ANIMATION ===== */
.loader {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--bg-primary); display: flex; justify-content: center;
  align-items: center; z-index: 9999; transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { text-align: center; }
.loader-logo {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  font-family: var(--font-heading); font-size: 2rem; font-weight: 700;
  color: var(--accent-cyan); margin-bottom: 1.5rem;
  text-shadow: 0 0 15px var(--accent-cyan-glow);
  animation: logoLoad 1.5s ease-in-out infinite alternate;
}
@keyframes logoLoad { from { letter-spacing: 2px; opacity: 0.8; } to { letter-spacing: 8px; opacity: 1; } }
.loader-logo img { animation: logoImgPulse 2s ease-in-out infinite; }
@keyframes logoImgPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.loader-bar {
  width: 200px; height: 4px; background: rgba(255,255,255,0.1);
  border-radius: 2px; overflow: hidden; position: relative;
}
.loader-bar::after {
  content: ''; position: absolute; top: 0; left: 0; height: 100%;
  width: 0; background: var(--gradient-primary);
  animation: loadProgress 1.8s ease-in-out forwards;
  box-shadow: 0 0 10px var(--accent-cyan-glow);
}
@keyframes loadProgress { 0% { width: 0; } 30% { width: 30%; } 70% { width: 85%; } 100% { width: 100%; } }

/* ===== 15. SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: var(--gradient-primary); z-index: 1001;
  width: 0%; transition: width 0.1s ease;
  box-shadow: 0 0 10px var(--accent-cyan-glow);
}

/* ===== 16. IMAGE LOADING ===== */
img {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}
img.loaded {
  opacity: 1;
}

/* ===== 17. RESPONSIVE QUERIES ===== */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    flex-direction: column; padding: 6rem 2.5rem 2rem; transition: var(--transition);
    border-left: 1px solid var(--accent-cyan); box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6); z-index: 999;
  }
  .nav-menu.active { right: 0; }
  .nav-link { font-size: 1.3rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
}
@media (max-width: 768px) {
  .page-hero { min-height: 50vh; padding: 8rem 5% 4rem; }
  .page-hero-title { font-size: clamp(2rem, 7vw, 3.2rem); }
  .btn { width: 100%; max-width: 300px; }
  .whatsapp-float { width: 55px; height: 55px; bottom: 1.5rem; right: 1.5rem; }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .footer-brand { justify-content: center; }
  .footer-col h4::after { left: 50%; transform: translateX(-50%); }
  .footer-col ul:not(.contact-list) li { justify-content: center; padding-left: 0; padding-right: 18px; }
  .footer-col ul:not(.contact-list) li::before { left: auto; right: 0; }
  .contact-list li { justify-content: center; }
  .social-links { justify-content: center; }
  .service-image-wrapper { height: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}