/* Font import moved to HTML for better performance */

/* Variables de color */
:root {
  --primary-color: #00bfff;
  --secondary-color: #001f3f;
  --accent-color: #708090;
  --header-height: 70px;
}

/* Bootstrap overrides */
.bg-gradient {
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  ) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.custom-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.icon-container {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
}

.icon-container i {
  color: white !important;
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease-out;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
  padding-top: var(--header-height);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  height: var(--header-height);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  min-height: var(--header-height);
}

.logo {
  height: 50px !important;
  max-height: 100%;
  width: auto;
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* About image removed from layout; related rules cleaned up */

/* Ensure service hero sits below header using dynamic header height */
.service-hero {
  margin-top: calc(var(--header-height) + 20px);
}

/* Make toggle/icon visible on header gradient */
header .btn-outline-dark {
  color: white !important;
  border-color: rgba(255,255,255,0.2) !important;
}

/* WhatsApp Button */
.whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white !important;
  border: none !important;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  margin-left: 15px;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, #128c7e, #25d366);
  color: white !important;
  text-decoration: none;
}

.whatsapp-btn i {
  font-size: 16px;
}

/* Mobile responsive for WhatsApp button */
@media (max-width: 768px) {
  .whatsapp-btn {
    padding: 6px 12px;
    font-size: 13px;
    margin-left: 10px;
  }
  
  .whatsapp-btn span {
    display: none;
  }
}

@media (max-width: 480px) {
  .whatsapp-btn {
    padding: 8px;
    margin-left: 5px;
  }
}

/* Booking Button */
.booking-btn {
  background: linear-gradient(135deg, #0078d4, #005a9e);
  color: white !important;
  border: none !important;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  margin-left: 15px;
  box-shadow: 0 2px 10px rgba(0, 120, 212, 0.3);
}

.booking-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 120, 212, 0.4);
  background: linear-gradient(135deg, #005a9e, #0078d4);
  color: white !important;
  text-decoration: none;
}

.booking-btn i {
  font-size: 16px;
}

/* Mobile responsive for Booking button */
@media (max-width: 768px) {
  .booking-btn {
    padding: 6px 12px;
    font-size: 13px;
    margin-left: 10px;
  }
  
  .booking-btn span {
    display: none;
  }
}

@media (max-width: 480px) {
  .booking-btn {
    padding: 8px;
    margin-left: 5px;
  }
}

/* Dark mode support for Booking button */
.dark-mode .booking-btn {
  background: linear-gradient(135deg, #0078d4, #005a9e);
  box-shadow: 0 2px 10px rgba(0, 120, 212, 0.2);
}

.dark-mode .booking-btn:hover {
  box-shadow: 0 4px 15px rgba(0, 120, 212, 0.3);
}

/* Enhanced About Section */
.about-enhanced {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.about-enhanced::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 191, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.about-header {
  position: relative;
  z-index: 2;
}

.about-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  margin: 0 auto;
  border-radius: 2px;
}

.about-content {
  position: relative;
  z-index: 2;
}

.about-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 30px;
  position: relative;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 20px 20px 0 0;
}

.feature-icon {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 15px;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 191, 255, 0.15);
  background: rgba(255, 255, 255, 0.9);
}

.feature-icon h5 {
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.feature-icon p {
  margin: 0;
  font-size: 0.95em;
}

.about-mission {
  margin-top: 40px;
}

.mission-card {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
  50% { transform: translate(-50%, -50%) rotate(180deg); }
}

.mission-card .mission-icon {
  font-size: 3em;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.mission-card h4 {
  position: relative;
  z-index: 2;
  font-weight: 700;
  margin-bottom: 20px;
}

.mission-card p {
  position: relative;
  z-index: 2;
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 25px;
  opacity: 0.95;
}

.mission-card .btn {
  position: relative;
  z-index: 2;
  background: white;
  color: var(--secondary-color);
  border: none;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.mission-card .btn:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  color: var(--secondary-color);
}

/* Dark mode support for WhatsApp button */
.dark-mode .whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.2);
}

.dark-mode .whatsapp-btn:hover {
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Dark mode support for enhanced about section */
.dark-mode .about-enhanced {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
}

.dark-mode .about-card {
  background: rgba(45, 45, 45, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.dark-mode .feature-icon {
  background: rgba(45, 45, 45, 0.6);
  color: #ffffff;
}

.dark-mode .feature-icon:hover {
  background: rgba(45, 45, 45, 0.9);
}

.dark-mode .feature-icon h5 {
  color: var(--primary-color);
}

.dark-mode .feature-icon p {
  color: #cccccc;
}

.dark-mode .mission-card {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Dark mode support for service pages */
.dark-mode .service-detail {
  background-color: #1a1a1a !important;
  color: #ffffff !important;
}

.dark-mode .service-description,
.dark-mode .service-benefits {
  color: #ffffff !important;
}

.dark-mode .service-description h3,
.dark-mode .service-benefits h3 {
  color: var(--primary-color) !important;
}

.dark-mode .service-description h4 {
  color: #ffffff !important;
}

.dark-mode .service-description p,
.dark-mode .service-benefits p {
  color: #cccccc !important;
}

.dark-mode .service-benefits li {
  color: #ffffff !important;
}

.dark-mode .service-benefits i {
  color: var(--primary-color) !important;
}

.dark-mode .service-detail .cta-section .cta-button {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
}

.dark-mode .service-detail .cta-section .cta-button:hover {
  background-color: var(--secondary-color) !important;
}

/* Responsive design for enhanced about section */
@media (max-width: 768px) {
  .about-card {
    padding: 30px 20px;
    margin-bottom: 20px;
  }
  
  .feature-icon {
    padding: 15px;
    margin-bottom: 20px;
  }
  
  .mission-card {
    padding: 30px 20px;
  }
  
  .mission-card .mission-icon {
    font-size: 2.5em;
  }
  
  .mission-card h4 {
    font-size: 1.5em;
  }
  
  .mission-card p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .about-enhanced {
    padding: 60px 0;
  }
  
  .about-card {
    padding: 25px 15px;
  }
  
  .mission-card {
    padding: 25px 15px;
  }
}

/* Logo optimizado para ambos modos */

h1 {
  font-size: 1.5em;
}

.brand {
  font-weight: 700;
  color: #001f3f;
}

.tagline {
  font-weight: 400;
  color: #708090;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #00bfff;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #00bfff, #001f3f);
  color: #fff;
  padding: 120px 0 80px;
  text-align: center;
  margin-top: 0;
}

.hero h2 {
  font-size: 2.8em;
  margin-bottom: 30px;
  line-height: 1.3;
}

.hero p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 15px;
}

.hero .btn-light {
  background-color: white;
  color: #001f3f;
  font-weight: 700;
  padding: 12px 40px;
  transition: all 0.3s ease;
}

.hero .btn-light:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}


/* Services Section */
.services {
  padding: 60px 0;
  background-color: #fff;
}

.services h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #00bfff;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* FAQ */
.faq h5 {
  color: var(--secondary-color);
  margin-top: 15px;
}
.faq p {
  color: #555;
  margin-bottom: 12px;
}

.resources {
  text-align: center;
  padding: 20px 0;
}
.resources .btn-outline-dark {
  border-width: 2px;
  padding: 10px 18px;
}

.service {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service h3 {
  color: #00bfff;
  margin-bottom: 10px;
}

.service h3 a {
  color: inherit;
  text-decoration: none;
}

.service h3 a:hover {
  text-decoration: underline;
}

.service h3 i {
  color: #00bfff;
  margin-right: 10px;
}

/* Service Hero */
.service-hero {
  background: linear-gradient(to right, #00bfff, #001f3f);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.service-icon {
  font-size: 4em;
  margin-bottom: 20px;
  color: #fff;
}

.service-hero h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.service-hero p {
  font-size: 1.2em;
}

/* Service Detail Enhanced */
.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.service-description h3,
.service-benefits h3 {
  color: #00bfff;
  margin-bottom: 15px;
}

.service-benefits ul {
  list-style: none;
  padding: 0;
}

.service-benefits li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.service-benefits i {
  color: #00bfff;
  margin-right: 10px;
}

.cta-section {
  text-align: center;
}

.cta-button {
  background-color: #00bfff;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #001f3f;
}

/* Dark Mode */
.dark-mode {
  background-color: #121212 !important;
  color: #ffffff !important;
}

.dark-mode .navbar {
  background-color: #1f1f1f !important;
  border-bottom: 1px solid #333 !important;
}

.dark-mode .navbar-light {
  background-color: #1f1f1f !important;
}

.dark-mode .navbar-brand .brand {
  color: #ffffff !important;
}

.dark-mode .navbar-brand .tagline {
  color: #cccccc !important;
}

.dark-mode .nav-link {
  color: #ffffff !important;
}

.dark-mode .nav-link:hover {
  color: #00bfff !important;
}

.dark-mode .dropdown-menu {
  background-color: #1f1f1f !important;
  border: 1px solid #444 !important;
}

.dark-mode .dropdown-item {
  color: #ffffff !important;
}

.dark-mode .dropdown-item:hover {
  background-color: #333 !important;
  color: #00bfff !important;
}

.dark-mode .dropdown-divider {
  border-top: 1px solid #444 !important;
}

.dark-mode .navbar-toggler {
  border-color: #ffffff !important;
}

.dark-mode .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.dark-mode .card {
  background-color: #2a2a2a !important;
  color: #ffffff !important;
  border-color: #444 !important;
}

.dark-mode .card-title a {
  color: #ffffff !important;
}

.dark-mode .text-muted {
  color: #aaa !important;
}

.dark-mode .bg-light {
  background-color: #1f1f1f !important;
}

.dark-mode .bg-white {
  background-color: #1f1f1f !important;
}

.dark-mode .bg-dark {
  background-color: #000 !important;
}

.dark-mode .text-white {
  color: #ffffff !important;
}

.dark-mode .btn-outline-dark {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

.dark-mode .btn-outline-dark:hover {
  background-color: #ffffff !important;
  color: #000 !important;
}

.dark-mode h2 {
  color: #ffffff !important;
}

.dark-mode h3 {
  color: #ffffff !important;
}

.dark-mode h4 {
  color: #ffffff !important;
}

.dark-mode h5 {
  color: #ffffff !important;
}

.dark-mode h6 {
  color: #ffffff !important;
}

.dark-mode p {
  color: #cccccc !important;
}

.dark-mode li {
  color: #cccccc !important;
}

.dark-mode footer {
  background-color: #000000 !important;
  color: #ffffff !important;
}

.dark-mode footer p {
  color: #ffffff !important;
}

/* Additional dark-mode overrides for hero and services */
.dark-mode .hero,
.dark-mode .service-hero {
  background: linear-gradient(135deg, #0b2a3a, #071423) !important;
  color: #eaeaea !important;
}

.dark-mode .service {
  background-color: #1f1f1f !important;
  color: #eaeaea !important;
  border-color: #333 !important;
}

.dark-mode .service-list .service {
  background-color: #1f1f1f !important;
  color: #eaeaea !important;
}

.dark-mode .service h3 {
  color: #00bfff !important;
}

/* Form Styles */
.contact-form {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  display: block;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(0, 191, 255, 0.3);
}

.btn-submit {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  background-color: var(--secondary-color);
}

/* Dark Mode Form Styles */
.dark-mode .contact-form {
  background-color: #2a2a2a !important;
  color: #ffffff !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.dark-mode .form-label {
  color: #ffffff !important;
}

.dark-mode .form-control {
  background-color: #3a3a3a !important;
  border-color: #555 !important;
  color: #ffffff !important;
}

.dark-mode .form-control:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 5px rgba(0, 191, 255, 0.5) !important;
}

.dark-mode .form-control::placeholder {
  color: #999 !important;
}

/* Responsive for service pages */
@media (max-width: 768px) {
  .service-content {
    grid-template-columns: 1fr;
  }

  .service-hero h2 {
    font-size: 2em;
  }

  .service-icon {
    font-size: 3em;
  }
}

.service p {
  font-size: 0.9em;
}

/* Service Detail Section */
.service-detail {
  padding: 100px 0 60px;
  background-color: #fff;
}

.service-detail h2 {
  color: #00bfff;
  margin-bottom: 20px;
}

.service-detail p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Contact Section */
.contact {
  padding: 60px 0;
  background-color: #f4f4f4;
  text-align: center;
}

.contact h2 {
  color: #00bfff;
  margin-bottom: 20px;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    margin-top: 10px;
  }

  nav ul li {
    margin-left: 10px;
  }

  .hero h2 {
    font-size: 1.8em;
  }

  .hero p {
    font-size: 1em;
  }

  .hero .btn-light {
    padding: 10px 25px;
    font-size: 14px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 40px !important;
  }
  .hero {
    padding: 80px 0 60px;
  }
  .service-hero {
    margin-top: calc(var(--header-height) + 12px);
  }
}

/* Mobile tweaks to improve visual balance and avoid chat overlap */
@media (max-width: 420px) {
  /* Give extra bottom space so fixed chat button doesn't cover CTAs */
  body {
    padding-bottom: 120px;
  }

  /* Make primary buttons less tall and add spacing */
  .btn-primary, .btn-light, .cta-button {
    padding: 10px 18px;
    font-size: 15px;
    margin-bottom: 14px;
  }

  /* Slightly smaller hero title for very small screens */
  .hero h2 {
    font-size: 1.6em;
  }
}

