/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(0,102,204,0.7) 0%, rgba(0,74,153,0.7) 100%), url('../pictures/WhatsApp Image 2025-12-05 at 16.43.06_d6559cfe.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 8rem 2rem;
  text-align: center;
  width: 100%;
  position: relative;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.cta-button {
  background: white;
  color: #0066cc;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Who Are We Section */
.who-are-we {
  padding: 5rem 2rem;
  background: white;
  width: 100%;
}

.who-are-we-content {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
  padding: 3rem;
  border-radius: 16px;
  border-left: 5px solid #0066cc;
  text-align: left;
  display: flex;
  gap: 3rem;
  align-items: center;
}

.who-are-we-image-wrapper {
  flex: 0 0 45%;
  max-width: 45%;
}

.who-are-we-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.who-are-we-text {
  flex: 1;
}

.who-are-we .section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 2rem;
  text-align: center;
}

.welcome-text {
  font-size: 2rem;
  font-weight: 600;
  color: #0066cc;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.description-text {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.who-are-we-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .who-are-we {
    padding: 3rem 1.5rem;
  }
  
  .who-are-we-content {
    padding: 2rem 1.5rem;
    flex-direction: column;
    gap: 2rem;
  }
  
  .who-are-we-image-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .who-are-we-text {
    flex: 1;
  }
  
  .who-are-we .section-title {
    font-size: 2rem;
  }
  
  .welcome-text {
    font-size: 1.5rem;
  }
  
  .description-text {
    font-size: 1rem;
  }
}

/* Pool Types Home Section */
.pool-types-home {
  padding: 5rem 2rem;
  background: #f8fafc;
  width: 100%;
}

.pool-types-carousel-wrapper {
  position: relative;
  width: 100%;
  padding: 2rem 0;
}

.pool-types-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.pool-types-slides {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s linear;
  will-change: transform;
  padding: 0 2rem;
}

.pool-type-card-home {
  flex-shrink: 0;
  width: 350px;
  box-sizing: border-box;
}

.pool-type-card-home > div {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.pool-type-card-home > div::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.1), transparent);
  transition: left 0.5s ease;
}

.pool-type-card-home:hover > div::before {
  left: 100%;
}

.pool-type-card-home:hover > div {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 102, 204, 0.2);
  border-color: #0066cc;
}

.pool-type-icon-home {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.pool-type-image-home {
  width: 100%;
  max-width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  transition: all 0.4s ease;
}

.pool-type-card-home:hover .pool-type-image-home {
  transform: scale(1.1);
  box-shadow: 0 12px 24px rgba(0, 102, 204, 0.3);
}

.pool-type-card-home h3 {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.pool-type-card-home:hover h3 {
  color: #0066cc;
}

.pool-type-card-home p {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.pool-type-card-home:hover p {
  color: #333;
}

/* Carousel Indicators - Hidden for continuous scroll */
.carousel-indicators {
  display: none;
}

@media (max-width: 768px) {
  .pool-types-home {
    padding: 3rem 1.5rem;
  }
  
  .pool-types-carousel-wrapper {
    padding: 1rem 0;
  }
  
  .pool-types-slides {
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .pool-type-card-home {
    width: 280px;
  }
  
  .pool-type-card-home > div {
    padding: 1.5rem;
  }
  
  .pool-type-image-home {
    max-width: 100%;
    height: 150px;
  }
}

/* Partners Section Home */
.partners-section-home {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e6f2ff 100%);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.partners-section-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(0, 102, 204, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.partner-content-home {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 102, 204, 0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-content-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.03), transparent);
  transition: left 0.5s ease;
}

.partner-content-home:hover::before {
  left: 100%;
}

.partner-content-home:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 102, 204, 0.15);
}

.partner-header-home {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeInDown 0.8s ease;
}

.partner-header-home h3 {
  color: #1a1a1a;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.partner-header-home h3::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0066cc, #0052a3);
  margin: 1rem auto 0;
  border-radius: 2px;
  animation: expandWidth 0.8s ease 0.3s both;
}

.partner-header-home p {
  color: #555;
  font-size: 1.15rem;
  line-height: 1.8;
  margin-top: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.partner-details-home {
  width: 100%;
}

.system-advantages-home {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.08);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.system-advantages-home::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0066cc, #0052a3, #0066cc);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.system-advantages-home:hover {
  border-color: #0066cc;
  box-shadow: 0 12px 32px rgba(0, 102, 204, 0.15);
  transform: translateY(-3px);
}

.advantages-content-home {
  flex: 1;
}

.advantages-content-home h4 {
  color: #0066cc;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  font-weight: 700;
  position: relative;
  padding-left: 1rem;
  animation: slideInLeft 0.6s ease;
}

.advantages-content-home h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #0066cc, #0052a3);
  border-radius: 2px;
}

.advantages-content-home ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.advantages-content-home li {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInRight 0.6s ease forwards;
}

.advantages-content-home li:nth-child(1) {
  animation-delay: 0.2s;
}

.advantages-content-home li:nth-child(2) {
  animation-delay: 0.4s;
}

.advantages-content-home li:nth-child(3) {
  animation-delay: 0.6s;
}

.advantages-content-home li:hover {
  background: rgba(0, 102, 204, 0.05);
  transform: translateX(5px);
  padding-left: 1rem;
}

.advantages-content-home .bullet {
  color: #0066cc;
  font-size: 1.3rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 0.1rem;
  animation: pulse 2s infinite;
}

.partner-logo-home {
  max-width: 250px;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  animation: zoomIn 0.8s ease 0.5s both;
}

.partner-logo-home::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid rgba(0, 102, 204, 0.2);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.partner-logo-home:hover::before {
  opacity: 1;
}

.partner-logo-home img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 102, 204, 0.2));
  transition: all 0.4s ease;
}

.partner-logo-home:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 8px 20px rgba(0, 102, 204, 0.3));
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* Responsive Design for Partners Section */
@media (max-width: 768px) {
  .partners-section-home {
    padding: 3rem 1.5rem;
  }

  .partner-content-home {
    padding: 2rem 1.5rem;
  }

  .partner-header-home h3 {
    font-size: 1.5rem;
  }

  .partner-header-home p {
    font-size: 1rem;
  }

  .system-advantages-home {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
    text-align: center;
  }

  .advantages-content-home {
    text-align: left;
  }

  .advantages-content-home h4 {
    font-size: 1.3rem;
    text-align: center;
  }

  .partner-logo-home {
    max-width: 200px;
    margin: 0 auto;
  }

  .advantages-content-home li {
    font-size: 1rem;
  }
}

/* Features Grid */
.features {
  background: #f8fafc;
  padding: 5rem 2rem;
  width: 100%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.07);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #0066cc;
}

.feature-card p {
  color: #666;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
}

