/* Home Page Styles */
.home-page {
  font-family: "Poppins", sans-serif;
  color: #4f4f51;
}

/* Global font family for home page */
body {
  font-family: "Poppins", sans-serif !important;
}

/* Ensure all text elements use Poppins */
h1, h2, h3, h4, h5, h6,
p, span, div, a, button,
.hero-title, .hero-subtitle, .section-title, .section-subtitle,
.solution-title, .solution-description,
.btn-hero-primary, .btn-hero-secondary,
.industry-title, .industry-description,
.testimonial-text, .author-info h6, .author-info p {
  font-family: "Poppins", sans-serif !important;
}

/* Enhanced Home-specific styling */
.home-hero-accent {
  background: linear-gradient(135deg, #01898c 0%, #00b4d8 50%, #01898c 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Enhanced floating elements for Home theme */
.hero-section .floating-element-1.home-element {
  background: radial-gradient(circle, rgba(1, 137, 140, 0.15) 0%, transparent 70%);
  animation: homeFloat 6s ease-in-out infinite;
}

.hero-section .floating-element-2.home-element {
  background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
  animation: homeFloat 8s ease-in-out infinite reverse;
}

@keyframes homeFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-20px) rotate(180deg) scale(1.1);
  }
}

/* Enhanced hero title with Home theme */
.hero-title.home-title {
  position: relative;
  display: inline-block;
}

.hero-title.home-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(135deg, #01898c, #00b4d8);
  opacity: 0.3;
  border-radius: 1px;
}

/* Enhanced buttons with Home theme */
.btn-hero-primary.home-btn {
  background: linear-gradient(135deg, #01898c, #00b4d8);
  position: relative;
  overflow: hidden;
}

.btn-hero-primary.home-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-hero-primary.home-btn:hover::before {
  left: 100%;
}

/* Enhanced section headers */
.section-header.home-header {
  position: relative;
}

.section-header.home-header::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #01898c, #00b4d8);
  border-radius: 2px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f0f8ff 100%);
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 2rem 0 4rem 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(1, 137, 140, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(1, 137, 140, 0.05) 0%, transparent 50%);
  opacity: 0.8;
  z-index: 1;
}

/* Floating background elements */
.hero-section .floating-element-1 {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(1, 137, 140, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}

.hero-section .floating-element-2 {
  content: '';
  position: absolute;
  top: 60%;
  right: 15%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
  z-index: 1;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 300;
  background: linear-gradient(135deg, #01898c, #00b4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease;
  text-shadow: 0 2px 4px rgba(1, 137, 140, 0.1);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  color: #727376;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #01898c, #00b4d8);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 300;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(1, 137, 140, 0.3);
  color: white;
}

.btn-hero-secondary {
  background: transparent;
  color: #01898c;
  border: 2px solid #01898c;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 300;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-hero-secondary:hover {
  background: #01898c;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(1, 137, 140, 0.2);
}

/* Core Solutions Section */
.core-solutions {
  padding: 5rem 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 300;
  color: #01898c;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: #727376;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.solution-card {
  background: white;
  border-radius: 15px;
  border: 1px solid rgba(1, 137, 140, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 8px 30px rgba(1, 137, 140, 0.1);
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(1, 137, 140, 0.15);
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #01898c, #00b4d8);
}

.solution-content {
  padding: 2rem;
}

.solution-title {
  font-size: 1.5rem;
  font-weight: 300;
  color: #01898c;
  margin-bottom: 1rem;
}

.solution-description {
  font-weight: 300;
  color: #727376;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-learn-more {
  background: linear-gradient(135deg, #01898c, #00b4d8);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 300;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-learn-more:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(1, 137, 140, 0.3);
  color: white;
}

/* Clients Section - Slider Layout */
.clients-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  overflow: hidden;
}

.clients-carousel {
  margin-top: 3rem;
  position: relative;
}

.clients-track {
  display: flex;
  animation: slideClients 30s linear infinite;
  width: max-content;
}

.clients-track:hover {
  animation-play-state: paused;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  min-width: 200px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.client-logo:hover {
  transform: scale(1.05);
}

.client-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  transition: all 0.3s ease;
}

@keyframes slideClients {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Industries Section */
.industries-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.industry-card {
  background: white;
  border-radius: 15px;
  border: 1px solid rgba(1, 137, 140, 0.1);
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 30px rgba(1, 137, 140, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #01898c, #00b4d8);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.industry-card:hover::before {
  transform: scaleX(1);
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(1, 137, 140, 0.15);
}

.industry-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #01898c, #00b4d8);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.industry-card:hover .industry-icon {
  transform: scale(1.1) rotate(5deg);
}

.industry-title {
  font-size: 1.4rem;
  font-weight: 300;
  color: #01898c;
  margin-bottom: 1rem;
}

.industry-description {
  font-weight: 300;
  color: #727376;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  border-radius: 15px;
  border: 1px solid rgba(1, 137, 140, 0.1);
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(1, 137, 140, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: rgba(1, 137, 140, 0.1);
  font-family: serif;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(1, 137, 140, 0.15);
}

.testimonial-text {
  font-weight: 300;
  color: #4f4f51;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #01898c, #00b4d8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 300;
  font-size: 1.2rem;
}

.author-info h6 {
  color: #01898c;
  font-weight: 300;
  margin: 0;
}

.author-info p {
  font-weight: 300;
  color: #727376;
  font-size: 0.9rem;
  margin: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    min-height: calc(100vh - 70px);
    padding-top: 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .solution-card {
    margin: 0 0.5rem;
  }
  
  .solution-content {
    padding: 1.5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .industries-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .client-logo {
    width: 100px;
    height: 70px;
  }
  
  .clients-track {
    animation-duration: 20s;
  }
  
  .clients-carousel {
    margin: 0 -1rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 4rem 0 3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .core-solutions,
  .testimonials-section {
    padding: 3rem 0;
  }
  
  .solution-content,
  .testimonial-card {
    padding: 1.5rem;
  }
}

/* Additional mobile improvements */
@media (max-width: 768px) {
  /* Improve touch targets */
  .btn-hero-primary,
  .btn-hero-secondary {
    min-height: 44px;
  }
  
  /* Better spacing for mobile */
  .container-lg {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Better product card spacing */
  .solution-card {
    margin-bottom: 20px;
  }
  
  /* Improve text readability */
  .hero-subtitle,
  .section-subtitle,
  .solution-description,
  .testimonial-text {
    line-height: 1.6;
  }
  
  /* Better button spacing */
  .hero-buttons {
    margin-top: 1rem;
  }
}
}