/* AutomatizIA Custom Styles */

:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #f093fb;
  --success-color: #4facfe;
  --warning-color: #43e97b;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-accent: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Hero Section Enhancements */
.hero-gradient {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}



.hero-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

/* Logo and Branding */
.sitename {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Alternative solid color for better contrast */
.sitename-solid {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  font-weight: 700;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}

/* CTA Buttons */
.cta-button {
  background: var(--gradient-primary);
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

.btn-get-started {
  background: var(--gradient-primary);
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-get-started:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

/* Service Cards */
.service-card {
  border: none;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  background: white;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card .icon {
  background: var(--gradient-primary);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  display: inline-block;
}

.service-card .icon i {
  color: white;
  font-size: 2.5rem;
}

/* Category Items */
.category-item {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.category-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.category-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: var(--primary-color);
}

.category-item:hover::before {
  transform: scaleX(1);
}

.category-icon {
  background: var(--gradient-primary);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  display: inline-block;
  transition: all 0.3s ease;
}

.category-item:hover .category-icon {
  transform: scale(1.1);
}

.category-icon i {
  color: white;
  font-size: 2.5rem;
}





.category-item h4 {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.category-item p {
  color: #6c757d;
  margin-bottom: 20px;
  line-height: 1.6;
}

.category-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-features li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  color: #495057;
  font-size: 0.9rem;
}

.category-features li i {
  color: var(--success-color);
  margin-right: 8px;
  font-size: 1rem;
}

/* Automation Icons */
.automation-icon {
  font-size: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Steps Enhancement */
.steps-item {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.steps-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.steps-number {
  background: var(--gradient-primary);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Team Cards */
.member {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.member:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.member-img {
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
  padding: 40px 20px;
  text-align: center;
}

.member-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.member-icon .automation-icon {
  font-size: 4rem;
  color: white;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: white;
  background-clip: unset;
}

.member:hover .member-icon .automation-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* FAQ Enhancement */
.faq-item {
  background: white;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.faq-item:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.faq-item.faq-active {
  background: var(--gradient-primary);
  color: white;
}

.faq-item.faq-active h3 {
  color: white;
}

/* Contact Form Enhancement */
.php-email-form .form-control {
  border-radius: 15px;
  border: 2px solid #e9ecef;
  padding: 15px 20px;
  transition: all 0.3s ease;
}

.php-email-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Footer Enhancement */
.footer {
  background: var(--dark-color);
  color: white;
}

/* Footer links improvement for better readability */
.footer .footer-links ul a {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.footer .footer-links ul i {
  color: var(--accent-color) !important;
}

/* Footer headings improvement */
.footer h4 {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  font-weight: 600;
}

/* Portfolio Section */
.portfolio-item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.portfolio-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  border: 2px solid var(--primary-color);
}

.portfolio-img {
  background: var(--gradient-primary);
  padding: 40px 30px;
  text-align: center;
  position: relative;
}

.portfolio-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.logo-icon {
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.logo-icon i {
  color: white;
  font-size: 2.5rem;
}

/* Portfolio Logo Images */
.portfolio-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.portfolio-logo h3 {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.portfolio-info {
  padding: 30px;
}

.portfolio-info h4 {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.portfolio-info p {
  color: #6c757d;
  margin-bottom: 20px;
  line-height: 1.6;
}

.portfolio-features {
  margin-bottom: 20px;
}

.portfolio-features .feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.portfolio-features .feature-item i {
  color: var(--success-color);
  margin-right: 10px;
  font-size: 1rem;
}

.portfolio-features .feature-item span {
  color: #495057;
  font-size: 0.9rem;
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background: var(--gradient-primary);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Why AutomatizIA Section - Centered List */
.text-center ul.list-unstyled {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
}

.text-center ul.list-unstyled li {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  text-align: center;
}

.text-center ul.list-unstyled li i {
  margin-right: 10px;
  font-size: 1.2rem;
  min-width: 20px;
}

.portfolio-link {
  margin-top: 20px;
  text-align: center;
}

.portfolio-link .btn {
  background: var(--gradient-primary);
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.portfolio-link .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.footer-newsletter {
  background: var(--gradient-primary);
  color: white;
}

.footer-newsletter input[type="email"] {
  border-radius: 25px;
  border: none;
  padding: 15px 25px;
}

.footer-newsletter input[type="submit"] {
  background: white;
  color: var(--primary-color);
  border: none;
  border-radius: 25px;
  padding: 15px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-newsletter input[type="submit"]:hover {
  background: var(--light-color);
  transform: translateY(-2px);
}

/* Social Links */
.social-links a {
  background: var(--gradient-primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.animated {
  animation: float 3s ease-in-out infinite;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .cta-button {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
  
  .service-card {
    margin-bottom: 30px;
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.sent-message {
  background: var(--gradient-accent);
  color: white;
  padding: 15px;
  border-radius: 10px;
  margin-top: 15px;
}

.error-message {
  background: #ff6b6b;
  color: white;
  padding: 15px;
  border-radius: 10px;
  margin-top: 15px;
}

/* WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  animation: whatsapp-bounce 2s infinite;
}

.whatsapp-button {
  display: flex;
  align-items: center;
  background: #25d366;
  color: white;
  padding: 15px 20px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  font-weight: 600;
}

.whatsapp-button:hover {
  background: #128c7e;
  color: white;
  text-decoration: none;
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-button i {
  font-size: 2rem;
  margin-right: 10px;
}

.whatsapp-text {
  font-size: 0.9rem;
  white-space: nowrap;
}

@keyframes whatsapp-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Responsive WhatsApp Widget */
@media (max-width: 768px) {
  .whatsapp-widget {
    bottom: 15px;
    right: 15px;
  }
  
  .whatsapp-button {
    padding: 12px 15px;
  }
  
  .whatsapp-text {
    display: none;
  }
  
  .whatsapp-button i {
    font-size: 1.8rem;
    margin-right: 0;
  }
} 