:root {
  --color-primary: #1e90ff;
  --color-dark: #0f172a;
  --color-light: #f8fafc;
  --font: 'Segoe UI', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: #f8fafc;
  color: var(--color-dark);
}

header {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1950px;
  margin: auto;
}

.navbar h1 {
  color: var(--color-primary);
  line-height: 50px;
}

.menu {
  display: flex;
  gap: 1.5rem;
}

.menu a {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 500;
  transition: color 0.3s;
}

.menu a:hover {
  color: var(--color-primary);
}

.hero {
  position: relative;
  padding: 5rem 2rem 6rem; /* espacio para que entre el SVG dentro */
  text-align: center;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
  url('https://www.communityhunters.com/wp-content/uploads/2024/06/pexels-thisisengineering-3861972.png') no-repeat center center/cover;
  color: white;
  overflow: hidden;
}

.hero-wave {
  position: absolute;
  bottom: -40px;
  left: 0;
  margin-top: 40px;
  width: 100%;
  height: 200px;
  border:none;
  line-height: 0;
}

.hero-wave svg{
  display: block;
  width: 100%;
  z-index: 0;
  height: 100%;
}

.section-wave {
  width: 100%;
  height: 100px;
  overflow: hidden;
  line-height: 0;
}

.section-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}


#sssss {

}


.hero h2 {
  font-size: 3rem;
  width: 100%;
  margin-bottom: 2rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.btn {
  background-color: white;
  color: var(--color-primary);
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: var(--color-light);
}

section {
  padding: 4rem 2rem;
  max-width: 1950px;
  margin: auto;
}

.services, .projects-grid, .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

#serviciosTitulo h2{
  font-size: 1.2rem;
  margin-top: -30px;
  color:#000000;
}

#serviciosTitulo{
  max-width: 1250px;
}

.service, .project, .testimonial, .contact {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s;
  margin-top: 20px;
}

.service:hover,
.project:hover,
.testimonial:hover {
  transform: translateY(-5px);
}

.service i {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.service h3 {
  margin-bottom: 1rem;
}

.projects-grid img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial h4 {
  font-weight: bold;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input,
.contact textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

footer {
  background-color: var(--color-dark);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  color: white;
  margin: 0 0.5rem;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--color-primary);
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 24px;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 2rem;
  }

  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
}

/* /// */

/* 
.olaBoddy{
  max-width: 1950px;
  margin: auto;
  height: 240px;
  margin-top: -8%;
} */

#fondoSeccion2{
  background-color: #eceef0;
  width: 100%;
  z-index: -1;
  height: 400px;
}

#fondoSeccion3{
  background-color: #ffffff;
  width: 100%;
  z-index: -1;
  height: 400px;
}

#proyectos{
  max-width: 1250px;
  position: relative;
  z-index: 10;
  margin-top: -420px;
}

#proyectos h2{
  font-size: 1.2rem;
}

#testimonios{
  max-width: 1250px;
  margin-top: -420px;
}