:root {
  --primary-blue: #0066b3;
  --secondary-red: #fa1713;
  --dark-blue: #004d8c;
  --light-bg: #f8f9fa;
}

/* Service Detail Cards */
.service-detail-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-detail-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 45px rgba(14, 84, 168, 0.2);
}

.service-detail-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-detail-card:hover .service-detail-image img {
  transform: scale(1.1);
}

.service-number-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0e54a8, #1a6ec7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.service-detail-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-detail-content h3 {
  color: #0e54a8;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-detail-content h3 i {
  color: #fa1713;
}

.service-detail-content > p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  flex-grow: 1;
}

.service-detail-list li {
  color: #555;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.service-detail-list li:last-child {
  border-bottom: none;
}

.service-detail-list i {
  color: #28a745;
  font-size: 0.9rem;
}

.btn-service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 30px;
  background: linear-gradient(135deg, #0e54a8, #1a6ec7);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(14, 84, 168, 0.3);
  align-self: flex-start;
}

.btn-service-cta:hover {
  background: linear-gradient(135deg, #fa1713, #d4001a);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 23, 19, 0.4);
  color: white;
  gap: 15px;
}

.btn-service-cta i {
  transition: transform 0.3s ease;
}

.btn-service-cta:hover i {
  transform: translateX(5px);
}


/* Hero Section */
.services-hero {
  background: linear-gradient(135deg, rgba(0,102,179,0.95) 0%, rgba(0,77,140,0.95) 100%);
  min-height: 90vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 100px 0 120px;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/Merge 3 images.png') center/cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.services-hero > * {
  position: relative;
  z-index: 1;
}

.hero-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
  animation: bgMove 20s ease-in-out infinite;
}

@keyframes bgMove {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 10px 24px;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}

.hero-title-modern {
  font-size: 4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 24px;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.text-highlight {
  background: linear-gradient(135deg, #00d4ff, #00ff88);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 600px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.2);
}

.feature-icon-circle {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
}

.hero-feature-item strong {
  display: block;
  color: white;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.hero-feature-item p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  margin: 0;
}

.hero-stats-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  animation: floatStats 6s ease-in-out infinite;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

@keyframes floatStats {
  0%, 100% { 
    transform: translateY(0px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  }
  50% { 
    transform: translateY(-20px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  }
}

.stats-item {
  text-align: center;
  padding: 20px 0;
}

.stats-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.stats-label {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stats-divider {
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 20px 0;
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

/* Section Headers */
.section-header-modern {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #e3f2fd, #f1f8ff);
  color: var(--primary-blue);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
  border: 2px solid var(--primary-blue);
}

.section-title-modern {
  font-size: 3rem;
  font-weight: 800;
  color: #2c2c2c;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
}

/* Services Showcase */
.services-showcase {
  padding: 80px 0;
  background: #ffffff;
}

.services-tabs-container {
  max-width: 1400px;
  margin: 0 auto;
}

.services-tab-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.service-tab-btn {
  flex: 1;
  min-width: 200px;
  padding: 20px 30px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.service-tab-btn i {
  font-size: 2rem;
  color: var(--primary-blue);
  transition: all 0.3s ease;
}

.service-tab-btn span {
  font-weight: 600;
  color: #2c2c2c;
  font-size: 0.95rem;
}

.service-tab-btn:hover,
.service-tab-btn.active {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  border-color: var(--primary-blue);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,102,179,0.3);
}

.service-tab-btn:hover i,
.service-tab-btn.active i,
.service-tab-btn:hover span,
.service-tab-btn.active span {
  color: white;
}

.services-tab-content {
  background: white;
  border-radius: 24px;
  padding: 60px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.44);
}

.service-tab-panel {
  display: none;
  animation: fadeIn 0.5s ease;
}

.service-tab-panel.active {
  display: block;
}

.service-image-showcase {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.service-image-showcase img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-image-showcase:hover img {
  transform: scale(1.05);
}

.service-overlay-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  color: white;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.service-panel-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.service-panel-desc {
  font-size: 1.15rem;
  color: #6c757d;
  line-height: 1.8;
  margin-bottom: 30px;
}

.service-features-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-bottom: 40px;
}

.feature-modern-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid var(--primary-blue);
}

.feature-modern-item i {
  color: #28a745;
  font-size: 1.1rem;
}

.feature-modern-item span {
  font-weight: 600;
  color: #2c2c2c;
  font-size: 0.95rem;
}

.btn-modern-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,102,179,0.3);
  transition: all 0.3s ease;
}

.btn-modern-cta:hover {
  background: linear-gradient(135deg, var(--secondary-red), #d4001a);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(250,23,19,0.4);
  color: white;
  gap: 18px;
}

/* Why Choose Section */
.why-choose-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff 90%,  #2c2c2c 100%);
}

.why-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
  border-top: 4px solid var(--primary-blue);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.why-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 20px rgba(0,102,179,0.3);
}

.why-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.why-card p {
  color: #6c757d;
  margin: 0;
  line-height: 1.6;
}

/* Why Choose Us - Modern Cards with Images */
.why-card-modern {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  height: 100%;
}

.why-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.why-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.why-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.why-card-modern:hover .why-card-image img {
  transform: scale(1.1);
}

.why-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

.why-card-overlay i {
  font-size: 3rem;
  color: #fff;
}

.why-card-content {
  padding: 25px;
  text-align: center;
}

.why-card-content h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.why-card-content p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

/* Why Choose Us - Slider Layout */
.why-slider-wrapper {
  position: relative;
  margin-top: 50px;
  padding: 0 60px;
}

.why-slider-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.why-slider-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
  will-change: transform;
}

.why-card-modern {
  flex: 0 0 calc(25% - 22.5px);
  min-width: calc(25% - 22.5px);
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
}

.why-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.why-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.why-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.why-card-modern:hover .why-card-image img {
  transform: scale(1.1);
}

.why-card-content {
  padding: 25px;
  text-align: center;
}

.why-card-content h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.why-card-content p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

/* Slider Navigation */
.why-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0053a0, #009688);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-slider-nav:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.why-slider-nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.why-slider-prev {
  left: 0;
}

.why-slider-next {
  right: 0;
}

/* Slider Dots */
.why-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.why-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.why-dot.active {
  background: linear-gradient(135deg, #0053a0, #009688);
  width: 30px;
  border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .why-card-modern {
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
  }
}

@media (max-width: 992px) {
  .why-card-modern {
    flex: 0 0 calc(50% - 15px);
    min-width: calc(50% - 15px);
  }
  
  .why-slider-wrapper {
    padding: 0 50px;
  }
  
  .why-slider-nav {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  .why-card-image {
    height: 180px;
  }
  
  .why-card-content h4 {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .why-slider-wrapper {
    padding: 0 45px;
  }
  
  .why-card-modern {
    flex: 0 0 calc(100% - 0px);
    min-width: calc(100% - 0px);
  }
  
  .why-slider-track {
    gap: 20px;
  }
  
  .why-slider-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .why-card-image {
    height: 180px;
  }
  
  .why-card-content {
    padding: 20px;
  }
  
  .why-card-content h4 {
    font-size: 1.1rem;
  }
  
  .why-card-content p {
    font-size: 0.9rem;
  }
  
  .why-card-overlay i {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .why-choose-section {
    padding: 60px 0;
  }
  
  .why-slider-wrapper {
    padding: 0 35px;
    margin-top: 30px;
  }
  
  .why-slider-nav {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .why-slider-prev {
    left: -5px;
  }
  
  .why-slider-next {
    right: -5px;
  }
  
  .why-card-image {
    height: 160px;
  }
  
  .why-card-content {
    padding: 18px;
  }
  
  .why-card-content h4 {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  
  .why-card-content p {
    font-size: 0.85rem;
  }
  
  .why-card-overlay i {
    font-size: 2rem;
  }
  
  .why-slider-dots {
    margin-top: 25px;
    gap: 8px;
  }
  
  .why-dot {
    width: 10px;
    height: 10px;
  }
  
  .why-dot.active {
    width: 24px;
  }
  
  .section-header-modern {
    margin-bottom: 30px;
  }
  
  .section-title-modern {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
  }
}

@media (max-width: 400px) {
  .why-slider-wrapper {
    padding: 0 30px;
  }
  
  .why-slider-nav {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  
  .why-card-image {
    height: 140px;
  }
  
  .why-card-content {
    padding: 15px;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero V3 - New Modern Design */
.services-hero-v3 {
  min-height: 100vh;
  /* background: linear-gradient(135deg, #0a0e27 0%, #1a1d3a 50%, #0f1628 100%); */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  background-image: url('../images/Merge 3 images(copy).jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Optional: for parallax effect */
  
}

.services-hero-v3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0e2785 0%, #1a1d3a 50%, #0f162887 100%);
  z-index: 1;
}

/* Ensure content stays above overlay */
.services-hero-v3 .container {
  position: relative;
  z-index: 2;
}

.hero-v3-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(59,130,246,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(16,185,129,0.1) 0%, transparent 50%);
  animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-v3-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(16,185,129,0.05));
  animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  left: -80px;
  animation-delay: 5s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 10s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-v3-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.hero-v3-badge-wrapper {
  margin-bottom: 32px;
  animation: fadeInDown 1s ease-out 0.2s both;
}

.hero-v3-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(59,130,246,0.15);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(59,130,246,0.3);
  padding: 14px 32px;
  border-radius: 50px;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: all 0.4s ease;
}

.hero-v3-badge:hover {
  background: rgba(59,130,246,0.25);
  border-color: rgba(59,130,246,0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59,130,246,0.4);
}

.hero-v3-badge i {
  font-size: 1.3rem;
  color: #3b82f6;
  animation: pulse 2s ease-in-out infinite;
}

.hero-v3-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 32px;
  animation: fadeInUp 1s ease-out 0.4s both;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.hero-v3-gradient-text {
  background: linear-gradient(135deg, #3b82f6, #10b981, #3b82f6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 4s ease-in-out infinite;
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero-v3-description {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 48px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-v3-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.8s both;
  margin-bottom: 80px;
}

.hero-v3-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.hero-v3-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.hero-v3-btn:hover::before {
  width: 400px;
  height: 400px;
}

.hero-v3-btn span,
.hero-v3-btn i {
  position: relative;
  z-index: 1;
}

.hero-v3-btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  box-shadow: 0 8px 32px rgba(59,130,246,0.4);
}

.hero-v3-btn-primary:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(59,130,246,0.6);
  color: white;
}

.hero-v3-btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
  backdrop-filter: blur(10px);
}

.hero-v3-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(255,255,255,0.2);
  color: white;
}

/* Stats Grid V3 */
.hero-v3-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out 1s both;
}

.hero-v3-stat-box {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  animation: floatMetric 6s ease-in-out infinite;
}

.hero-v3-stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(16,185,129,0.2));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-v3-stat-box:hover {
  transform: translateY(-12px) scale(1.05);
  border-color: rgba(59,130,246,0.5);
  box-shadow: 0 16px 48px rgba(59,130,246,0.3);
}

.hero-v3-stat-box:hover::before {
  opacity: 1;
}

.hero-v3-stat-box:nth-child(1) { animation-delay: 0s; }
.hero-v3-stat-box:nth-child(2) { animation-delay: 1s; }
.hero-v3-stat-box:nth-child(3) { animation-delay: 2s; }
.hero-v3-stat-box:nth-child(4) { animation-delay: 3s; }

.stat-box-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #3b82f6, #10b981);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white;
  box-shadow: 0 8px 24px rgba(59,130,246,0.4);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.hero-v3-stat-box:hover .stat-box-icon {
  transform: rotate(360deg) scale(1.2);
  box-shadow: 0 12px 32px rgba(59,130,246,0.6);
}

.stat-box-content {
  position: relative;
  z-index: 1;
}

.stat-box-number {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.stat-box-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Scroll Indicator */
.hero-v3-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.7);
  animation: fadeIn 1s ease-out 1.5s both;
  z-index: 2;
}

.scroll-mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  position: relative;
  backdrop-filter: blur(10px);
}

.scroll-wheel {
  width: 4px;
  height: 10px;
  background: white;
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% { top: 10px; opacity: 1; }
  50% { top: 25px; opacity: 0.3; }
}

.hero-v3-scroll-indicator span {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title-modern {
    font-size: 2.5rem;
  }

  .hero-stats-card {
    margin-top: 40px;
  }

  .services-tab-content {
    padding: 40px 30px;
  }

  .service-tab-btn {
    min-width: 150px;
  }

  .section-title-modern {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .services-hero {
    min-height: 70vh;
    padding: 60px 0 80px;
  }

  .hero-title-modern {
    font-size: 2rem;
  }

  .service-image-showcase img {
    height: 300px;
  }

  .service-panel-title {
    font-size: 1.8rem;
  }

  .services-tab-content {
    padding: 30px 20px;
  }

  .cta-modern-card {
    padding: 40px 30px;
    text-align: center;
  }

  .cta-modern-title {
    font-size: 1.8rem;
  }

  .btn-cta-modern {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
  }
}

@media (max-width: 1200px) {
  .hero-v3-title {
    font-size: 4rem;
  }

  .hero-v3-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-hero-v3 {
    min-height: auto;
    padding: 80px 0 60px;
  }

  .hero-v3-title {
    font-size: 2.5rem;
  }

  .hero-v3-description {
    font-size: 1.1rem;
  }

  .hero-v3-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-v3-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-v3-stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-v3-scroll-indicator {
    display: none;
  }
}

/* Explanation Text */
.service-panel-explanation {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid #0066b3;
  font-style: italic;
}