/*
Theme Name: Hello Biz Child
Description: Child theme of Hello Biz
Template: hello-biz
Version: 1.0
*/

/* Alternative root variables for modern browsers */
:root {
  --primary: #2563eb;
  --secondary: #1e293b;
  --accent: #8b5cf6;
  --dark: #0f172a;
  --light: #f8fafc;
  --text: #1e293b;
  --text-muted: #64748b;
}

/* Global Styles - Override existing theme */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica Neue, Arial, sans-serif !important;
  line-height: 1.6;
  color: #000000;
  background-color: burlywood !important;
}


/* Override existing link colors */
a {
  color: #FEFF82 !important;
  transition: color 0.3s ease;
}

a:hover, a:active {
  color: #999 !important;
}

/* Hero Section Styles */
.hero-section {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: #ffffff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

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

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #ffffff; /* Fallback color */
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Technology Cards */
.tech-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

.tech-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-size: 1.5rem;
}

.tech-card {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1e293b;
}

.tech-card p {
  color: #64748b;
  line-height: 1.7;
}

/* AI Specific Styles */
.ai-section {
  background: #0f172a;
  color: #ffffff;
  padding: 80px 0;
  position: relative;
}

.ai-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 3rem -1rem 0 -1rem;
}

.ai-feature {
  flex: 1 1 300px;
  margin: 1rem;
  min-width: 300px;
  /* Fallback solid background for old browsers */
  background: #1a1a1a;
  /* Semi-transparent background for modern browsers */
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  /* backdrop-filter fallback - just remove it or use a solid background */
  /* backdrop-filter: blur(10px); */
  border: 1px solid rgb(255, 255, 255);
  /* Fallback border for old browsers */
  border: 1px solid #333;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.ai-feature:hover {
  /* Fallback background */
  background: #2a2a2a;
  /* Modern background */
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

/* IT Services Grid */
.it-services-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 3rem -1rem 0 -1rem;
}

.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #ffffff;
  font-size: 2rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.cta-button {
  background: #ffffff;
  color: #2563eb;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  color: #2563eb;
}

/* Elementor Widget Overrides - Higher specificity */
.elementor-widget-heading .elementor-heading-title {
  font-weight: 700 !important;
}

.elementor-widget-text-editor {
  line-height: 1.7 !important;
}

/* Button Styles - Override theme buttons 

.elementor-button-wrapper .elementor-button {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%) !important;
  border-radius: 50px !important;
  padding: 1rem 2rem !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  border: none !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
  color: white !important;
}


.elementor-button-wrapper .elementor-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
  background: #06b6d4 !important;
}  */

/* Technology Badge */
.tech-badge {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0.25rem;
}

/* Stats Section */
.stats-section {
  background: #f8fafc;
  padding: 60px 0;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  display: block;
}

.stat-label {
  font-size: 1.1rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Timeline Styles for Company History */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 2rem 0;
  padding: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 2rem;
  width: 12px;
  height: 12px;
  background: #2563eb;
  border-radius: 50%;
  transform: translateX(-50%);
}

/* Force Override Existing Theme Styles */
body:not(.elementor-editor-active) .elementor-section .elementor-container {
  max-width: 1200px !important;
}

/* Override theme's existing button styles 
button, [type=button], [type=submit] {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%) !important;
  border: none !important;
  border-radius: 50px !important;
  color: white !important;
  font-weight: 600 !important;
  padding: 0.75rem 1.5rem !important;
  transition: all 0.3s ease !important;
}

button:hover, [type=button]:hover, [type=submit]:hover {
  background: #06b6d4 !important;
  transform: translateY(-2px) !important;
} */

/* Override theme table styles for tech specs */
table {
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

table th {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%) !important;
  color: white !important;
  font-weight: 600 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }
  
  .tech-card, .service-card {
    padding: 1.5rem;
  }
  
  .timeline::before {
    left: 2rem;
  }
  
  .timeline-item {
    padding-left: 4rem;
  }
  
  .timeline-item::before {
    left: 2rem;
  }
}

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

.animate-on-scroll {
  animation: fadeInUp 0.6s ease forwards;
}

/* Loading Animation for Tech Icons */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.tech-icon {
  animation: pulse 2s infinite;
}

/* Glassmorphism Effect */
.glass-card {
  background: rgb(255, 255, 255);
  border: 1px solid rgb(255, 255, 255);
  border-radius: 16px;
}

.elementor-458 .elementor-element.elementor-element-2b895f78 .ehp-flex-hero .ehp-flex-hero__subheading {
    color: #000000 !important;
}

.elementor-458 .elementor-element.elementor-element-2b895f78 .ehp-flex-footer .ehp-flex-footer__subheading {
    color: #000000 !important; 
}
