/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {
  --primary-color: #0A66C2;
  /* LinkedIn Blue / Tech Trust Blue */
  --secondary-color: #6c757d;
  --dark-bg: #111111;
  --light-bg: #F3F4F6;
  --white: #FFFFFF;
  --whatsapp-color: #25d366;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  /* Suave */
  --card-shadow-hover: 0 20px 40px rgba(10, 102, 194, 0.15);
  /* Blue-ish tint on hover */

  --accent-primary: #00F0B5;
  /* Teal */
  --accent-secondary: #38BDF8;
  /* Sky Blue */
}

body {
  font-family: 'Inter', sans-serif;
  /* Modern, clean font */
  overflow-x: hidden;
  color: #333;
  background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.5px;
  /* Tighter headings */
}

/* Navbar */
.navbar {
  transition: background-color 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.text-gradient {
  color: var(--accent-primary);
  /* Fallback */
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: url('../img/hero.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 160px 0 100px 0;
  /* More top padding for fixed nav */
  min-height: 90vh;
  /* Taller hero */
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.9), rgba(10, 102, 194, 0.4));
  /* Dark to Blue gradient */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 3.5rem;
  /* Larger title */
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
}

.hero-section .lead {
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.9;
}

/* Buttons */
.btn {
  border-radius: 50px;
  /* Rounded pill buttons */
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #004182;
  border-color: #004182;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(10, 102, 194, 0.4);
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Cards & Services */
.section-title {
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark-bg);
}

.card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Bouncy hover */
  border: none;
  border-radius: 20px;
  /* Rounded cards */
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: var(--white);
  height: 100%;
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: var(--card-shadow-hover);
}

.card-img-top {
  height: 350px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.card-header {
  background-color: transparent;
  border-bottom: none;
  padding: 25px 25px 0 25px;
  text-align: center;
}

.card-header h3 {
  color: var(--primary-color);
  font-weight: 700;
}

.card-body {
  padding: 30px;
}

.service-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(10, 102, 194, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  transition: background-color 0.3s ease;
}

.card:hover .service-icon-wrapper {
  background-color: var(--primary-color);
}

.card:hover .service-icon-wrapper i {
  color: white !important;
}

.pricing-card-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-bg);
}

.card-body ul li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
  font-size: 0.95rem;
  color: #555;
}

.card-body ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 2px;
}

/* Feature Boxes (Additional Services) */
.feature-box {
  padding: 40px 30px;
  border-radius: 20px;
  background-color: var(--white);
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-10px);
}

.feature-box i {
  color: var(--primary-color);
  margin-bottom: 25px;
}

/* Contact Section */
#contacto {
  background-color: var(--light-bg);
  padding: 80px 0;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMSIgY3k9IjEiIHI9IjEiIGZpbGw9IiMwYTY2YzIiIGZpbGwtb3BhY2l0eT0iMC4wNSIvPjwvc3ZnPg==');
  /* Subtle dot pattern */
}

.contact-info-box {
  padding: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(10, 102, 194, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--primary-color);
}

#contactForm {
  border-radius: 20px;
  padding: 40px !important;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-control {
  border-radius: 10px;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(10, 102, 194, 0.1);
}

/* Social Buttons */
.btn-social {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--dark-bg);
  color: var(--dark-bg);
  transition: all 0.3s ease;
}

.btn-social:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 65px;
  /* Slightly bigger */
  height: 65px;
  bottom: 30px;
  right: 30px;
  background-color: var(--whatsapp-color);
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  font-size: 35px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  color: white;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: #aaa;
  padding: 50px 0 30px 0;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
}