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

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f0f2f5 !important;
  color: #1e1e2f;
  line-height: 1.6;
}

main {
  flex: 1;
}
  


/* HOME */



.hero {
  background: linear-gradient(135deg, #1a1f36, #234e70);
  color: white;
  text-align: center;
  padding: 4rem 2rem 6rem;
  position: relative;
  border-bottom-left-radius: 100% 30%;
  border-top-right-radius: 100% 30%;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 3rem;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding-right: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  text-decoration: underline;
  color: #4da8da;
  text-decoration: none;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-primary {
  background-color: #4da8da;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

.btn-primary:hover {
  background-color: #2f7cac;
  text-decoration: none;
}

.services {
  padding: 6rem 2rem 4rem;
  background-color: #f0f2f5;
  text-align: center;
  position: relative;
  z-index: 1;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

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

.card {
  background-color: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.416);
}
.card:hover {
  background-color: rgba(255, 255, 255, 0.411);
}

.card .icon {
  font-size: 2.5rem;
  color: #1a1f36;
  margin-bottom: 1rem;
}

.gradient {
  background: linear-gradient(135deg, #d9eafa, #e2e6f5);
  text-align: left;
  padding: 2rem;
  border-radius: 16px;
}

.btn-secondary {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #1a1f36;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: #2d334e;
}

.footer {
  background-color: #1a1f36;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

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

.hero-content h1,
.hero-content p,
.hero-content .btn-primary {
  animation: fadeUp 1s ease forwards;
}

.hero-content h1 { animation-delay: 0.2s; }
.hero-content p { animation-delay: 0.4s; }
.hero-content .btn-primary { animation-delay: 0.6s; }

.hero {
  background: linear-gradient(270deg, #1a1f36, #234e70, #4da8da);
  background-size: 600% 600%;
  animation: gradientMove 12s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



/* CONTACT PAGE */



#contact {
  background: linear-gradient(135deg, #1a1f36, #234e70);
  color: #fff;
}

#contact .contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

#contact .contact-container {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 500px;
  backdrop-filter: blur(8px);
}

#contact .contact-container h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 2em;
}

#contact .contact-container p {
  text-align: center;
  margin-bottom: 30px;
  color: #e0e0e0;
}

#contact form input,
#contact form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: none;
  border-radius: 10px;
  font-size: 1em;
  background: #ffffff15;
  color: #fff;
}

#contact form input::placeholder,
#contact form textarea::placeholder {
  color: #ccc;
}

#contact form button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background-color: #3f8efc;
  color: #fff;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contact form button:hover {
  background-color: #3073d4;
}

.alert {
  background-color: #d4edda; 
  color: #155724;          
  border: 1px solid #c3e6cb;   
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
}

.alert span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.alert .close-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #155724;
  cursor: pointer;
}



/* SERVICES PAGE */



#services .hero {
  background: url('/static/img/hero-services.jpg') center/cover no-repeat;
  border-bottom-left-radius: 0%;
  border-top-right-radius: 0%;
  height: 600px;
  animation: fadeIn 1s ease;
}

#services .hero-nav {
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 600px;
}

#services .features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

#services .about {
  background: linear-gradient(to bottom, #ffffff, #f8faff);
  padding: 4rem 0;
}

#services .about-image img {
  width: 400px;
  border-radius: 1rem;
  transition: transform 0.4s ease;
}

#services .about-image img:hover {
  transform: scale(1.05);
}

#services .about-text {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s ease forwards;
}

#services .about-grid {
  display: flex;
  gap: 2rem;
  flex-direction: column;
  flex-wrap: wrap;
}

#services .about-text div ul {
  margin: 1rem 0;
  padding-left: 1rem;
}

#services .about-text li {
  margin-bottom: 0.5rem;
}

#services .manage {
  padding: 4rem 0;
  background: #f0f0f0;
}

#services .manage h2 {
  text-align: center;
  margin-bottom: 2rem;
}

#services .grid-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

#services .card {
  background: white;
  width: 300px;
  border-radius: 8px;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  color: white;
  transition: transform 0.3s ease;
}

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

#services .card-imagen {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(0.5);
  z-index: 1;
  transition: transform 0.4s ease;
}

#services .card:hover .card-imagen {
  transform: scale(1.05);
}

#services .card-content {
  position: relative;
  z-index: 2;
  padding: 10rem 1rem 1rem;
}

#services .card-content h4 {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid white; 
}

#services .bg-1 { background-image: url('/static/img/card1-services.jpg'); }
#services .bg-2 { background-image: url('/static/img/card2-services.jpg'); }
#services .bg-3 { background-image: url('/static/img/card3-services.jpg'); }
#services .bg-4 { background-image: url('/static/img/card4-services.jpg'); }

#services .cta {
  background: linear-gradient(135deg, #1a1f36, #234e70);
}

#services .cta-content {
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}

#services .cta button {
  padding: 0.8rem 1.5rem;
  background: white;
  color: #222;
  border: none;
  margin-top: 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

#services .cta button:hover {
  background: #1a1f36;
  color: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* 
.infinite-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider-track {
  display: flex;
  width: max-content;
  animation: scroll-horizontal 60s linear infinite;
}

.slide {
  flex: 0 0 300px;
  margin-right: 2rem;
  background: linear-gradient(135deg, #1a1f36, #234e70);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.slide h3 {
  color: #4da8da;
  margin: 0;
  font-size: 1.2rem;
  white-space: nowrap;
}

@keyframes scroll-horizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
} */

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1440px !important;
    }
}


