/*
Theme Name: PitechPulse Premium
Description: Premium website with advanced animations like rno1.com
Version: 2.0
*/

:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --accent-primary: #0066ff;
  --accent-secondary: #00ff88;
  --gradient-1: linear-gradient(135deg, #0066ff 0%, #00ff88 100%);
  --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader-text {
  font-size: 3rem;
  font-weight: 700;
  display: flex;
  gap: 2px;
}

.loader-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  gap: 1px;
}

.logo-char {
  display: inline-block;
  transition: transform 0.3s ease;
}

.logo-link:hover .logo-char {
  transform: translateY(-2px);
}

/* MENU MOVED TO RIGHT SIDE */
.main-navigation {
  margin-left: auto;
}

.menu-items {
  display: flex;
  list-style: none;
  gap: 40px;
}

.menu-items a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.menu-items a:hover {
  color: var(--text-primary);
}

.menu-items a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

.menu-items a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-title {
  font-size: clamp(3rem, 5vw, 6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 40px;
}

.title-line {
  display: block;
  overflow: hidden;
}

.word {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

.hero-subtitle-wrapper {
  margin-bottom: 50px;
  overflow: hidden;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  transform: translateY(50px);
  opacity: 0;
}

.hero-cta {
  display: flex;
  gap: 20px;
  overflow: hidden;
}

.cta-button {
  padding: 16px 32px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.primary-cta {
  background: var(--gradient-1);
  color: var(--text-primary);
  transform: translateY(50px);
  opacity: 0;
}

.secondary-cta {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--glass-border);
  transform: translateY(50px);
  opacity: 0;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-visual {
  position: relative;
  height: 500px;
}

.floating-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-1);
  filter: blur(40px);
  opacity: 0.3;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 0;
  left: 0;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 0;
  background: var(--gradient-2);
  animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
  width: 100px;
  height: 100px;
  bottom: 0;
  left: 50%;
  animation: float 10s ease-in-out infinite;
}

/* Rotating Text Animation */
.rotating-text-container {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.rotating-text {
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent-primary);
  text-align: right;
  height: 100px;
  overflow: hidden;
  position: relative;
}

.rotating-word {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0;
  transform: translateY(100px);
  text-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: var(--text-secondary);
  animation: scrollLine 2s ease-in-out infinite;
}

/* Services Section */
.services-section {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.title-pre {
  display: block;
  font-size: 1rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.title-main {
  display: block;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.section-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-primary);
}

.service-icon {
  margin-bottom: 30px;
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  background: var(--glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 25px;
  line-height: 1.6;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-primary);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 15px;
}

/* About Section */
.about-section {
  padding: 120px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 10px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-visual {
  position: relative;
  height: 400px;
}

.visual-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-element {
  position: absolute;
  background: var(--gradient-1);
  border-radius: 20px;
  animation: float 6s ease-in-out infinite;
}

.el-1 {
  width: 120px;
  height: 120px;
  top: 0;
  left: 0;
  animation-delay: 0s;
}

.el-2 {
  width: 80px;
  height: 80px;
  top: 50%;
  right: 0;
  animation-delay: 2s;
}

.el-3 {
  width: 60px;
  height: 60px;
  bottom: 0;
  left: 30%;
  animation-delay: 4s;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* Footer Styles */
.site-footer {
  background: var(--bg-secondary);
  padding: 80px 0 30px;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 15px;
  display: block;
}

.footer-tagline {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 25px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--accent-primary);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  color: var(--text-primary);
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-column a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.85rem;
}

.footer-legal a:hover {
  color: var(--accent-primary);
}

.separator {
  color: var(--text-muted);
  opacity: 0.5;
}

/* Newsletter Section */
.newsletter-section {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}

.newsletter-content {
  flex: 1;
}

.newsletter-content h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.newsletter-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.newsletter-form {
  flex: 1;
  max-width: 400px;
}

.input-group {
  display: flex;
  background: var(--bg-primary);
  border-radius: 50px;
  padding: 5px;
  border: 1px solid var(--glass-border);
  transition: border-color 0.3s ease;
}

.input-group:focus-within {
  border-color: var(--accent-primary);
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 15px 20px;
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
}

.newsletter-input::placeholder {
  color: var(--text-muted);
}

.subscribe-btn {
  background: var(--gradient-1);
  border: none;
  border-radius: 50px;
  padding: 15px 25px;
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.subscribe-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

/* Responsive */
@media (max-width: 968px) {
  .container {
    padding: 0 20px;
  }
  
  .hero-container,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .menu-items {
    display: none;
  }
  
  .rotating-text-container {
    display: none;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .newsletter-section {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }
  
  .newsletter-form {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .newsletter-section {
    padding: 30px 25px;
  }
  
  .input-group {
    flex-direction: column;
    background: transparent;
    gap: 15px;
  }
  
  .newsletter-input {
    background: var(--bg-primary);
    border-radius: 50px;
    border: 1px solid var(--glass-border);
  }
}

/* Technology Icons Animation */
.tech-icons-animation {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.icon-circle {
  width: 60px;
  height: 60px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: floatIcon 6s ease-in-out infinite;
  backdrop-filter: blur(10px);
}

.icon-circle:nth-child(1) { animation-delay: 0s; }
.icon-circle:nth-child(2) { animation-delay: 1s; }
.icon-circle:nth-child(3) { animation-delay: 2s; }
.icon-circle:nth-child(4) { animation-delay: 3s; }
.icon-circle:nth-child(5) { animation-delay: 4s; }
.icon-circle:nth-child(6) { animation-delay: 5s; }

@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0px) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) scale(1.1);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 968px) {
  .tech-icons-animation {
    display: none;
  }
}

/* Enhanced Hero Section */
.hero-subtitle-secondary {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 10px;
}

.hero-stats {
  margin-top: 30px;
}

.stat-trusted {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Enhanced Services Section */
.service-features {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.service-features li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
}

.service-features li::before {
  content: '•';
  color: var(--accent-primary);
  position: absolute;
  left: 0;
}

.service-outcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
}

.service-outcome span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.service-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.services-cta {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background: var(--glass);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

/* Case Studies Section */
.case-studies-section {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.case-study-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.case-study-meta {
  color: var(--accent-primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.case-study-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.case-study-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.case-study-tech {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.case-study-result {
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
  padding: 120px 0;
  background: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-features {
  list-style: none;
  padding: 0;
}

.contact-features li {
  color: var(--text-secondary);
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.contact-features li::before {
  content: '✓';
  color: var(--accent-primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.contact-form {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 15px;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.form-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 20px;
}

/* Services Page Styles */
.services-hero {
  padding: 140px 0 80px;
  background: var(--bg-secondary);
  text-align: center;
}

.services-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}

.services-hero-description {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.services-hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 50px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 5px;
}

.hero-stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
}

.detailed-services-section {
  padding: 100px 0;
}

.detailed-service {
  margin-bottom: 80px;
  padding: 50px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

.service-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
}

.service-icon-large {
  width: 80px;
  height: 80px;
  background: var(--accent-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.service-content h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.service-subtitle {
  font-size: 1.2rem;
  color: var(--accent-primary);
  margin-bottom: 20px;
  font-weight: 600;
}

.service-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.service-detail h4 {
  color: var(--text-primary);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.service-detail ul {
  list-style: none;
  padding: 0;
}

.service-detail li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
}

.service-detail li::before {
  content: '•';
  color: var(--accent-primary);
  position: absolute;
  left: 0;
}

.additional-services {
  margin-top: 80px;
  text-align: center;
}

.additional-services h3 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.additional-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.additional-service {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 30px;
  text-align: left;
}

.additional-service h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.additional-service p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-tag {
  background: var(--accent-primary);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.services-cta-large {
  text-align: center;
  padding: 60px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  margin-top: 60px;
}

.services-cta-large h3 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.services-cta-large p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* Technology Icons Animation */
.tech-icons-animation {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.icon-circle {
  width: 60px;
  height: 60px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: floatIcon 6s ease-in-out infinite;
  backdrop-filter: blur(10px);
}

.icon-circle:nth-child(1) { animation-delay: 0s; }
.icon-circle:nth-child(2) { animation-delay: 1s; }
.icon-circle:nth-child(3) { animation-delay: 2s; }
.icon-circle:nth-child(4) { animation-delay: 3s; }
.icon-circle:nth-child(5) { animation-delay: 4s; }
.icon-circle:nth-child(6) { animation-delay: 5s; }

@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0px) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) scale(1.1);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .service-main {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .service-details-grid {
    grid-template-columns: 1fr;
  }
  
  .services-hero-stats {
    flex-direction: column;
    gap: 30px;
  }
  
  .tech-icons-animation {
    display: none;
  }
}

@media (max-width: 768px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
  
  .detailed-service {
    padding: 30px 20px;
  }
  
  .services-hero h1 {
    font-size: 2.5rem;
  }
}

/* About Stats Section */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 10px;
  display: block;
  line-height: 1;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Responsive Stats */
@media (max-width: 968px) {
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

/* Counter Animation Styles */
.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 10px;
    display: block;
    line-height: 1;
    transition: all 0.3s ease;
}

/* Animation for elements when they come into view */
.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure stats are visible and properly styled */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Contact Page Styles */
.contact-page {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.contact-stat {
    text-align: center;
    padding: 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
}

.contact-form-wrapper {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
}