/**
* Template Name: Mamba - Modernized
* Modernized by Gemini CLI
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #2c3e50;
  line-height: 1.6;
}

.section-bg {
  background-color: #f5f9fc;
}

/* Forzar visibilidad si AOS falla */
[data-aos] {
  opacity: 1 !important;
  transform: translate(0) scale(1) !important;
}

a {
  color: #2196F3;
  transition: 0.3s;
}

a:hover {
  color: #1976D2;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6, .font-primary {
  font-family: "Raleway", sans-serif;
  color: #1a252f;
  font-weight: 700;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  right: 20px;
  bottom: 20px;
  background: #2196F3;
  color: #fff;
  transition: all 0.3s ease-in-out;
  z-index: 99999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.back-to-top i {
  font-size: 24px;
  position: absolute;
  top: 10px;
  left: 10px;
}

.back-to-top:hover {
  color: #fff;
  background: #1976D2;
  transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: #f8f9fa;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
  font-size: 13px;
}

#topbar .contact-info a {
  color: #6c757d;
  transition: 0.3s;
}

#topbar .contact-info a:hover {
  color: #2196F3;
}

#topbar .contact-info i {
  color: #2196F3;
  padding-right: 4px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 80px;
  padding: 15px 0;
  background: #fff;
  z-index: 997;
  transition: all 0.5s;
}

#header.header-scrolled {
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  height: 70px;
  padding: 10px 0;
}

#header .logo img {
  max-height: 50px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.nav-menu, .nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu > ul > li {
  position: relative;
  white-space: nowrap;
  float: left;
}

.nav-menu a {
  display: block;
  position: relative;
  color: #1a252f;
  padding: 10px 15px;
  transition: 0.3s;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-menu a:hover, .nav-menu .active > a, .nav-menu li:hover > a {
  color: #2196F3;
  text-decoration: none;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 20px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: #1a252f;
}

.mobile-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 9999;
  overflow-y: auto;
  left: -260px;
  width: 260px;
  padding-top: 18px;
  background: #1a252f;
  transition: 0.4s;
}

.mobile-nav a {
  display: block;
  position: relative;
  color: #fff;
  padding: 10px 20px;
  font-weight: 500;
}

.mobile-nav a:hover, .mobile-nav .active > a, .mobile-nav li:hover > a {
  color: #2196F3;
  text-decoration: none;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(26, 37, 47, 0.8);
  display: none;
}

.mobile-nav-active .mobile-nav {
  left: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 80vh;
  padding: 0;
  overflow: hidden;
  position: relative;
}

#hero .carousel-item {
  width: 100%;
  height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero .carousel-item::before {
  content: '';
  background-color: rgba(26, 37, 47, 0.7);
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

#hero h2 {
  color: #fff;
  margin-bottom: 25px;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -1px;
}

#hero p {
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 35px;
  opacity: 0.9;
}

#hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  transition: 0.5s;
  color: #fff;
  background: #2196F3;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

#hero .btn-get-started:hover {
  background: #1976D2;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 100px 0;
}

.section-bg {
  background-color: #f8f9fa;
}

.section-title {
  text-align: center;
  padding-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #1a252f;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 4px;
  background: #2196F3;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
.about .container {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.about .about-content {
  padding: 60px;
}

.about .section-title p {
  text-align: left;
  font-size: 16px;
  color: #5c768d;
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts .count-box {
  padding: 40px 30px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  margin-bottom: 30px;
  text-align: center;
}

.counts .count-box i {
  display: block;
  font-size: 48px;
  margin-bottom: 20px;
}

.counts .count-box span {
  font-size: 36px;
  display: block;
  font-weight: 700;
  color: #1a252f;
}

.counts .count-box p {
  margin: 0;
  font-size: 14px;
  color: #5c768d;
}

/*--------------------------------------------------------------
# Services (Products)
--------------------------------------------------------------*/
.services .icon-box {
  margin-bottom: 30px;
  padding: 50px 30px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease-in-out;
  text-align: center;
}

.services .icon-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  border-color: #2196F3;
}

.services .icon-box i {
  width: 80px;
  height: 80px;
  background: #e3f2fd;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2196F3;
  font-size: 32px;
  margin-bottom: 25px;
  transition: 0.3s;
}

.services .icon-box:hover i {
  background: #2196F3;
  color: #fff;
}

.services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.services .title a {
  color: #1a252f;
}

.services .description {
  font-size: 14px;
  line-height: 26px;
  color: #5c768d;
  list-style: none;
  padding: 0;
}

/*--------------------------------------------------------------
# Contact Us
--------------------------------------------------------------*/
.contact .info-box {
  padding: 40px 30px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  text-align: center;
  margin-bottom: 30px;
  height: 100%;
}

.contact .info-box i {
  font-size: 32px;
  color: #2196F3;
  background: #e3f2fd;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.contact .php-email-form {
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 8px;
  padding: 12px 15px;
  border: 1px solid #e9ecef;
}

.contact .php-email-form button[type="submit"] {
  background: #2196F3;
  border: 0;
  padding: 14px 40px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #1976D2;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
  border-radius: 8px;
  margin-bottom: 15px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  border-radius: 8px;
  margin-bottom: 15px;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

@keyframes animate-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #1a252f;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #243342;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
  color: #fff;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #fff;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #35495e;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #2196F3;
  color: #fff;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #2196F3;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #2196F3;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact p {
  line-height: 26px;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}
