
:root {
  --primary-orange: #FF8C00;
  --primary-blue: #003366;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
}

/* Navigation */
nav {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  height: 50px;
  border-radius: 10px;
}

.company-name {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 1.2rem;
}

.nav-links a {
  margin-left: 2rem;
  text-decoration: none;
  color: var(--primary-blue);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-orange);
}

/* Hero Section */
#home {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--primary-blue);
  overflow: hidden;
}

.bubble-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 140, 0, 0.1);
  animation: float 8s infinite;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

.hero-content {
  text-align: center;
  color: var(--white);
  z-index: 1;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--primary-orange);
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  transition: transform 0.3s;
  animation: fadeInUp 1s ease 0.4s;
}

.cta-button:hover {
  transform: translateY(-3px);
}

/* Sections */
section {
  padding: 5rem 10%;
}

h2 {
  color: var(--primary-blue);
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: linear-gradient(145deg, var(--primary-blue), #004080);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  color: white;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background: var(--primary-blue);
  color: var(--white);
  padding: 3rem 5% 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 60px;
}

.footer-links a {
  display: block;
  color: var(--white);
  text-decoration: none;
  margin: 0.5rem 0;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-orange);
}

.footer-legal {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-legal a {
  color: var(--white);
  text-decoration: none;
  margin: 0 1rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.footer-legal a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Decorative elements */
.service-card::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 1px solid var(--primary-orange);
  border-radius: 12px;
  opacity: 0;
  transition: all 0.3s ease;
}

.service-card:hover::before {
  opacity: 0.2;
  transform: scale(1.05);
}

.client-card::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -25px;
  right: -25px;
  transition: all 0.3s ease;
}

.client-card:hover::after {
  transform: scale(1.2) rotate(45deg);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  section {
    padding: 3rem 5%;
  }
}
/* Enhanced Hero Content */
.main-tagline {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.sub-taglines p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* Client Cards */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.chi-siamo-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
}

.chi-siamo-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

.client-card {
  background: linear-gradient(145deg, var(--primary-blue), #004080);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: all 0.4s ease;
  animation: fadeIn 1s ease-in-out;
  color: white;
}

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

.client-card .icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.client-card:hover .icon {
  transform: scale(1.1);
}

.client-card h3 {
  color: var(--white);
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
  font-weight: 600;
}

.client-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  font-size: 1.1rem;
}

section {
  padding: 6rem 10%;
}

h2 {
  color: var(--primary-blue);
  text-align: center;
  margin-bottom: 3.5rem;
  font-size: 2.8rem;
  position: relative;
  padding-bottom: 1rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-orange);
  border-radius: 2px;
}

.client-card:hover {
  transform: translateY(-10px);
}

.client-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.client-card h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.client-card p {
  color: var(--white);
  line-height: 1.6;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
