/* ===================================
   ARVIGA - Ifative.com Inspired Design
   Clean, Modern, Minimalist
   Colors: White + Blue (#007BFF / #4DA6FF)
   =================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0B1D35;
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  /* Text Clarity Optimization */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* ===================================
   TECH LOADER - Modern Cube Animation
   =================================== */
.tech-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease;
}

.tech-loader-cube {
  width: 40px;
  height: 40px;
  position: relative;
  transform-style: preserve-3d;
  animation: cubeRotate 2s infinite ease-in-out;
}

.tech-loader-cube div {
  position: absolute;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #007BFF, #0056b3);
  opacity: 0.8;
  border-radius: 4px;
}

.tech-loader-cube div:nth-child(1) { transform: rotateY(0deg) translateZ(20px); }
.tech-loader-cube div:nth-child(2) { transform: rotateY(90deg) translateZ(20px); }
.tech-loader-cube div:nth-child(3) { transform: rotateY(180deg) translateZ(20px); }
.tech-loader-cube div:nth-child(4) { transform: rotateY(270deg) translateZ(20px); }
.tech-loader-cube div:nth-child(5) { transform: rotateX(90deg) translateZ(20px); }
.tech-loader-cube div:nth-child(6) { transform: rotateX(-90deg) translateZ(20px); }

@keyframes cubeRotate {
  0% { transform: rotateX(0deg) rotateY(0deg); }
  50% { transform: rotateX(180deg) rotateY(180deg); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* ===================================
   FLOATING PARTICLES
   =================================== */
@keyframes particleFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(20px, -30px) scale(1.2);
    opacity: 0.6;
  }
  50% {
    transform: translate(-10px, -60px) scale(0.8);
    opacity: 0.4;
  }
  75% {
    transform: translate(15px, -20px) scale(1.1);
    opacity: 0.5;
  }
}

/* ===================================
   NAVBAR - Scroll Effects
   =================================== */
.navbar {
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 123, 255, 0.15);
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.4);
  z-index: 1000;
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.5);
}

/* ===================================
   WHATSAPP FLOAT BUTTON
   =================================== */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  color: white;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

/* ===================================
   LANGUAGE TOGGLE
   =================================== */
.lang-toggle {
  display: flex;
  gap: 0;
  background: #F0F4F8;
  border-radius: 8px;
  padding: 3px;
  margin-left: 1rem;
}

.lang-btn {
  padding: 0.4rem 0.8rem;
  border: none;
  background: transparent;
  color: #6B7280;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn.active {
  background: #007BFF;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* Ifative.com Style - Clean Sections */
.section {
  padding: 100px 0;
  position: relative;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Ifative.com Style - Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #0B1D35;
  /* Text Clarity */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
  color: #5A8AAF;
  font-size: 1.125rem;
  /* Text Clarity */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ifative.com Style - Buttons */
.btn-ifative {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15);
  /* Text Clarity */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  z-index: 1;
}

.btn-ifative:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
  color: #ffffff;
}

.btn-ifative-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent;
  color: #007BFF;
  border: 2px solid #007BFF;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-ifative-outline:hover {
  background: #007BFF;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Ifative.com Style - Navbar */
.navbar-ifative {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #E8F0F8;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-ifative .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-ifative .logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: #007BFF;
  text-decoration: none;
}

.navbar-ifative .nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-ifative .nav-links a {
  color: #0B1D35;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
  /* Text Clarity */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.navbar-ifative .nav-links a:hover {
  color: #007BFF;
}

.navbar-ifative .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #007BFF;
  transition: width 0.3s ease;
}

.navbar-ifative .nav-links a:hover::after {
  width: 100%;
}

/* Ifative.com Style - Hero Section */
.hero-ifative {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(240, 248, 255, 0.70) 50%, rgba(255, 255, 255, 0.78) 100%),
              url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

/* Beautiful blue ocean landscape background with parallax */
.hero-ifative::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(0, 123, 255, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(58, 159, 224, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Hero bottom wave effect */
.hero-ifative::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(248, 250, 252, 0.5) 100%);
  pointer-events: none;
}

/* Hero bottom wave effect */
.hero-ifative::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(248, 250, 252, 0.5) 100%);
  pointer-events: none;
}

/* Hero top-right radial glow */
.hero-ifative::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-ifative .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-ifative .hero-content h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #0A1F33;
  /* Enhanced Text Clarity - High Contrast */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9), 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  display: block;
}

.hero-ifative .hero-content h1 span {
  color: #0056b3;
  /* Gradient text effect */
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

/* Typing Animation Override */
.hero-ifative .hero-content h1 span.typing-text {
  background: none;
  -webkit-text-fill-color: #0056b3;
  background-clip: unset;
  color: #0056b3;
  display: inline-block;
  min-width: 200px;
}

.hero-ifative .hero-content p {
  font-size: 1.25rem;
  color: #0B1D35;
  margin-bottom: 2rem;
  line-height: 1.7;
  /* Text Clarity - High Contrast */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
}

.hero-ifative .hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-ifative .hero-image {
  position: relative;
}

.hero-ifative .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
  background: transparent;
  /* HD Quality */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

/* SVG - Hero Section HD (No Transparency on SVG itself) */
.hero-ifative .hero-image img[src*=".svg"] {
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  /* SVG HD Rendering */
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
  /* Floating Animation */
  animation: floatUpDown 6s ease-in-out infinite;
}

/* Floating Animation Keyframes */
@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Ifative.com Style - Service Cards */
.services-ifative {
  padding: 50px 0 100px 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 50%, #F0F7FF 100%);
  position: relative;
  z-index: 3;
}

.services-ifative .section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.services-ifative .section-header::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: var(--arv-section-underline-width);
  height: var(--arv-section-underline-height);
  background: var(--arv-section-underline-gradient);
  border-radius: 999px;
}

.services-ifative .section-header h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #0A1F33;
  /* Enhanced Text Clarity */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.services-ifative .section-header p {
  font-size: 1.25rem;
  color: #3D6F91;
  max-width: 700px;
  margin: 0 auto;
  /* Text Clarity */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 500;
}

/* ===================================
   PREMIUM SERVICES HERO
   =================================== */

.services-hero-premium {
  /* Overridden by pages/services.css */
  position: relative;
  overflow: hidden;
}

.services-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 60vh;
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}

.services-hero-content {
  text-align: left;
}

.services-hero-content .section-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
  color: white;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.services-hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  letter-spacing: -0.02em;
}

.services-hero-content p {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #3D6F91;
  margin-bottom: 2.5rem;
  max-width: 95%;
}

.services-hero-stats {
  display: flex;
  gap: 3rem;
}

.services-hero-stats .stat-item {
  text-align: center;
}

.services-hero-stats .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.services-hero-stats .stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.services-hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-hero-image img {
  width: 100%;
  max-width: 550px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 123, 255, 0.25));
  animation: floatUpDown 6s ease-in-out infinite;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .services-hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .services-hero-content {
    text-align: center;
  }
  
  .services-hero-content h1 {
    font-size: 2.5rem;
  }
  
  .services-hero-content p {
    max-width: 100%;
  }
  
  .services-hero-stats {
    justify-content: center;
  }
  
  .services-hero-image img {
    max-width: 450px;
  }
}

@media (max-width: 640px) {
  .services-hero-grid {
    gap: 2rem;
    padding: 3rem 0;
  }
  
  .services-hero-content h1 {
    font-size: 2rem;
  }
  
  .services-hero-content p {
    font-size: 1.125rem;
  }
  
  .services-hero-stats {
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .services-hero-stats .stat-number {
    font-size: 2rem;
  }
  
  .services-hero-image img {
    max-width: 350px;
  }
}

/* ===================================
   PERFORMANCE OPTIMIZATIONS
   =================================== */

/* Hardware acceleration for animations */
.service-card-ifative,
.feature-item-ifative,
.services-hero-image img {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.services-grid-ifative {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 2.5rem;
  contain: layout style;
}

/* Desktop: force 3 columns for wider screens */
@media (min-width: 992px) {
  .services-grid-ifative {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.service-card-ifative {
  background: linear-gradient(145deg, #ffffff 0%, #EDF6FF 40%, #D4ECFD 100%);
  border: 1px solid rgba(0, 123, 255, 0.18);
  border-radius: 16px;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.1), 0 2px 4px rgba(0, 0, 0, 0.04);
  z-index: auto;
  cursor: pointer;
}

.service-card-ifative::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0,123,255,0.3), rgba(77,166,255,0.2), transparent, transparent);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.service-card-ifative:hover::before {
  opacity: 1;
}

.service-card-ifative:hover {
  background: linear-gradient(145deg, #ffffff 0%, #E3F1FD 35%, #C8E4FA 100%);
  border-color: rgba(0, 123, 255, 0.35);
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 123, 255, 0.22), 0 8px 20px rgba(0, 0, 0, 0.06);
}

.service-card-ifative .service-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #F8FAFC 0%, #E8F4FD 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.service-card-ifative .service-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: none;
  z-index: 2;
}

.service-card-ifative:hover .service-image::after {
  animation: shineEffect 0.6s ease forwards;
}

@keyframes shineEffect {
  0% { left: -100%; }
  100% { left: 200%; }
}

.service-card-ifative .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  shape-rendering: geometricPrecision;
}

.service-card-ifative:hover .service-image img {
  transform: scale(1.03);
}

.service-card-ifative .service-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #F9FAFB 100%);
}

.service-card-ifative h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #0A1F33;
  background: linear-gradient(135deg, #0A1F33 0%, #0056b3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.4;
  transition: all 0.3s ease;
  position: relative;
  /* Text Clarity */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

@supports not (-webkit-text-fill-color: transparent) {
  .service-card-ifative h3 {
    color: #0A1F33;
  }
}

.service-card-ifative:hover h3 {
  color: #0056b3;
  background: linear-gradient(135deg, #0056b3 0%, #007BFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card-ifative p {
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
  font-size: 0.88rem;
  /* Text Clarity */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Service Tags - Technology Stack */
.service-card-ifative .service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  margin-top: -0.5rem;
}

/* Tech Icons - Technology Badges */
.service-card-ifative .tech-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.service-card-ifative .tech-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.12) 0%, rgba(58, 159, 224, 0.06) 100%);
  color: #2B8BC9;
  border: 1px solid rgba(0, 123, 255, 0.2);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.25s ease;
  cursor: default;
}

.service-card-ifative .tech-badge:hover {
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
  color: #ffffff;
  border-color: #007BFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.service-card-ifative .tech-badge.tech-badge-more {
  background: rgba(0, 123, 255, 0.12);
  color: #0A1F33;
  border-color: rgba(0, 123, 255, 0.18);
  font-weight: 800;
}

.service-card-ifative .service-tags .tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: linear-gradient(135deg, #E8F4FD 0%, #F0F8FF 100%);
  color: #0056b3;
  border: 1px solid rgba(0, 123, 255, 0.2);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  cursor: default;
  /* Text Clarity */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-transform: uppercase;
}

.service-card-ifative .service-tags .tag:hover {
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
  color: #ffffff;
  border-color: #007BFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* More Tags Badge */
.service-card-ifative .service-tags .tag-more {
  background: linear-gradient(135deg, #0056b3 0%, #1A7BC8 100%);
  color: #ffffff;
  border-color: #0056b3;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.service-card-ifative .service-tags .tag-more:hover {
  background: linear-gradient(135deg, #1A7BC8 0%, #0A5A9E 100%);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(58, 159, 224, 0.4);
}

/* Tooltip for all tags on hover */
.service-card-ifative .service-tags {
  position: relative;
}

.service-card-ifative .service-tags .all-tags-tooltip {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 100;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
  min-width: 200px;
}

.service-card-ifative .service-tags .tag-more:hover + .all-tags-tooltip,
.service-card-ifative .service-tags .all-tags-tooltip:hover {
  display: flex;
}

.service-card-ifative .service-tags .all-tags-tooltip .tag {
  font-size: 0.65rem;
  padding: 0.25rem 0.6rem;
}

.service-card-ifative .card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  text-decoration: none;
  background: transparent;
  padding: 0;
  border: none;
  display: block;
}

.service-card-ifative .learn-more {
  color: #ffffff;
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  position: relative;
  z-index: 2;
  overflow: hidden;
  pointer-events: auto;
  background-size: 200% 200%;
  background-position: 0% 50%;
}

.service-card-ifative .learn-more i {
  transition: transform 0.3s ease;
  pointer-events: none;
}

.service-card-ifative .learn-more:hover {
  background: linear-gradient(135deg, #0056b3 0%, #2B8BC9 50%, #007BFF 100%);
  background-size: 200% 200%;
  background-position: 100% 50%;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.45);
  transform: translateY(-2px);
  gap: 0.75rem;
}

.service-card-ifative .learn-more:hover i {
  transform: translateX(4px);
}

/* Ifative.com Style - Features Section */
.features-ifative {
  padding: 100px 0;
  background: #F5F9FF;
}

.features-ifative .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-ifative .section-header h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #0A1F33;
  /* Enhanced Text Clarity */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.features-ifative .section-header p {
  font-size: 1.25rem;
  color: #3D6F91;
  max-width: 700px;
  margin: 0 auto;
  /* Text Clarity */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 500;
}

.features-grid-ifative {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item-ifative {
  text-align: center;
  padding: 2rem;
}

.feature-item-ifative .icon {
  width: 80px;
  height: 80px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #007BFF;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.15);
}

.feature-item-ifative h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #0A1F33;
  /* Text Clarity */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.feature-item-ifative p {
  color: #3D6F91;
  line-height: 1.7;
  /* Text Clarity */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 500;
}

/* Ifative.com Style - About Section */
.about-ifative {
  padding: 100px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F9FF 50%, #FFFFFF 100%);
}

/* ===================================
   ABOUT BANNER SECTION
   Rectangular Image Banner with CTA
   =================================== */
.about-banner-section {
  padding: 2rem 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F8FF 20%, #E8F4FD 50%, #F0F8FF 80%, #FFFFFF 100%);
  position: relative;
  overflow: visible;
}

.about-banner-section::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.6), rgba(58, 159, 224, 0.4), transparent);
  animation: shimmerLine 3s ease-in-out infinite;
  z-index: 10;
}

.about-banner-section::after {
  content: '';
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(58, 159, 224, 0.4), rgba(0, 123, 255, 0.6), transparent);
  animation: shimmerLine 3s ease-in-out infinite reverse;
  z-index: 10;
}

@keyframes shimmerLine {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.about-banner-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 123, 255, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 123, 255, 0.1);
  transition: all 0.4s ease;
}

/* Decorative corner accents */
.about-banner-container::before {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, transparent 50%, rgba(0, 123, 255, 0.15) 50%);
  border-radius: 0 24px 0 0;
  z-index: 10;
  pointer-events: none;
}

.about-banner-container::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -2px;
  width: 100px;
  height: 100px;
  background: linear-gradient(315deg, transparent 50%, rgba(58, 159, 224, 0.15) 50%);
  border-radius: 0 0 0 24px;
  z-index: 10;
  pointer-events: none;
}

.about-banner-container:hover {
  box-shadow: 0 30px 80px rgba(0, 123, 255, 0.25), 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  border-color: rgba(0, 123, 255, 0.2);
}

.about-banner-image {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  background: linear-gradient(135deg, #E8F4FD 0%, #F5F9FF 100%);
  padding: 0;
  min-height: 380px;
  max-height: 380px;
}

.about-banner-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(0, 123, 255, 0.12) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  animation: pulseGlow 5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

.about-banner-image img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: all 0.5s ease;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 30px rgba(0, 123, 255, 0.15));
  transform: scale(1.15) translateY(-15%) translateX(-5%);
}

.about-banner-image:hover img {
  filter: drop-shadow(0 15px 40px rgba(0, 123, 255, 0.25));
}

/* Overlay Gradient - Optimized for left text, right image */
.about-banner-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    rgba(10, 31, 51, 0.92) 0%, 
    rgba(10, 31, 51, 0.75) 35%, 
    rgba(10, 31, 51, 0.30) 65%, 
    rgba(10, 31, 51, 0.05) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Content Overlay - Positioned on Left */
.about-banner-content {
  position: absolute;
  top: 50%;
  left: 8%;
  right: auto;
  transform: translateY(-50%);
  max-width: 650px;
  z-index: 3;
  padding: 2rem;
}

.about-banner-title {
  font-size: 2rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  white-space: nowrap;
}

.about-banner-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  margin-bottom: 1.8rem;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.btn-about-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.4), 0 4px 12px rgba(0, 0, 0, 0.2);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.btn-about-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 123, 255, 0.5), 0 6px 16px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, #6BC5FF 0%, #4AAFE8 100%);
}

.btn-about-banner i {
  transition: transform 0.3s ease;
}

.btn-about-banner:hover i {
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 992px) {
  .about-banner-image {
    min-height: 350px;
  }
  
  .about-banner-content {
    left: 5%;
    right: 5%;
    max-width: 100%;
    padding: 2rem;
  }
  
  .about-banner-title {
    font-size: 2.25rem;
  }
  
  .about-banner-subtitle {
    font-size: 1rem;
  }
  
  .about-banner-image::after {
    background: linear-gradient(180deg, 
      rgba(10, 31, 51, 0.80) 0%, 
      rgba(10, 31, 51, 0.90) 100%);
  }
}

@media (max-width: 576px) {
  .about-banner-image {
    min-height: 300px;
  }
  
  .about-banner-title {
    font-size: 1.75rem;
  }
  
  .about-banner-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .btn-about-banner {
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
  }
}

.about-ifative .container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.about-ifative .about-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-ifative .about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.15) 0%, rgba(58, 159, 224, 0.10) 100%);
  border-radius: 24px;
  z-index: 0;
  animation: pulseGlow 4s ease-in-out infinite;
}

.about-ifative .about-image::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(0, 123, 255, 0.08) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

.about-ifative .about-image img {
  width: 100%;
  max-width: 650px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 123, 255, 0.2), 0 8px 24px rgba(0, 0, 0, 0.08);
  opacity: 1;
  background: transparent;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
  display: block;
  margin: 0 auto;
}

.about-ifative .about-image img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 123, 255, 0.3), 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* SVG - About Section HD (Card Transparent, SVG Clear) */
.about-ifative .about-image img[src*=".svg"] {
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  /* Floating Animation */
  animation: floatUpDown 7s ease-in-out infinite;
  animation-delay: -2s;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 123, 255, 0.2), 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* About Content - Better Spacing */
.about-ifative .about-content {
  padding: 2rem 1rem 2rem 0;
}

.about-ifative .about-content h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #0A1F33;
  /* Enhanced Text Clarity */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.about-ifative .about-content h2 span {
  color: #0056b3;
  /* Gradient text effect */
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.about-ifative .about-content p {
  font-size: 1.125rem;
  color: #3D6F91;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  /* Text Clarity */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 500;
}

/* Ifative.com Style - CTA Section */
.cta-ifative {
  padding: 100px 0;
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 50%, #2B8BC9 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -4px 20px rgba(0, 123, 255, 0.15);
  opacity: 1;
  filter: none;
}

/* CTA decorative circles only */
.cta-ifative::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.cta-ifative h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #ffffff;
  /* Text Clarity */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-ifative p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  /* Text Clarity */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 500;
}

.cta-ifative .btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 2.5rem;
  background: #ffffff;
  color: #007BFF;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-ifative .btn-white:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* Ifative.com Style - Footer */
.footer-ifative {
  background: #0B1D35;
  color: #ffffff;
  padding: 60px 0 30px;
  opacity: 1;
  filter: none;
}

.footer-ifative .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-ifative h4 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-ifative p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-ifative ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-ifative ul li {
  margin-bottom: 0.75rem;
}

.footer-ifative ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-ifative ul li a:hover {
  color: #007BFF;
}

.footer-ifative .social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-ifative .social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-ifative .social-links a:hover {
  background: #007BFF;
  transform: translateY(-4px);
}

.footer-ifative .footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .hero-ifative .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-ifative .hero-buttons {
    justify-content: center;
  }
  
  .about-ifative .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .navbar-ifative .nav-links {
    display: none;
  }
  
  .services-grid-ifative,
  .features-grid-ifative {
    grid-template-columns: 1fr;
  }
  
  .cta-ifative h2 {
    font-size: 2rem;
  }
}

/* ===================================
   FAQ SECTION STYLES
   =================================== */
.faq-section {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 50%, #F5F9FF 100%);
  border-top: 1px solid rgba(0, 123, 255, 0.08);
  opacity: 1;
  filter: none;
}

.faq-item {
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(0, 123, 255, 0.25) !important;
}

.faq-question {
  user-select: none;
}

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

.faq-question span {
  transition: color 0.3s ease;
}

.faq-question:hover span {
  color: #0056b3 !important;
}

.faq-answer {
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
