body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #333;
}

body.dark-mode {
	background-color: #1e1e1e;
	color: #f1f1f1;
}
body.dark-mode .navbar, body.dark-mode footer {
	background-color: #121212;
}
body.dark-mode .card {
	background-color: #2c2c2c;
	color: white;
}

.navbar {
	/* background-color: #e74c3c; */
  background-color: #003049;
}

.navbar .nav-link, .navbar-brand {
	color: white;
}

.navbar .nav-link:hover {
	color: #f1c40f;
}

.hero {
	  /* background: url('https://images.unsplash.com/photo-1529070538774-1843cb3265df') no-repeat center center/cover; */
	/* background-color: #e74c3c; */
  background-color: #003049;
	color: white;
	text-align: center;
	padding: 100px 20px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
}

.cta-button {
  background-color: #f39c12;
  color: white;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
}

.cta-button:hover {
	background-color: #e67e22;
}

.section-heading {
	color: #e74c3c;
	font-weight: bold;
	margin-bottom: 20px;
}

footer {
	/* background-color: #333; */
  background-color: #003049;
	color: white;
	text-align: center;
	padding: 20px;
}

.icon {
	color: #e74c3c;
}

.card-img-top {
	height: 200px;
	object-fit: cover;
}
	
.hidden-section {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in {
/*   opacity: 1;
  transform: translateY(0);*/
  opacity: 1 !important;
  transform: none !important;  
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  padding: 15px;
  font-size: 24px;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.whatsapp-icon {
  color: white;
}

/*centra imagen instructor*/
.image-container {
  display: flex;
  justify-content: center;   /* centra horizontalmente */
  /* align-items: center;       centra verticalmente */
  height: 600px;             /* ajusta según necesites */
  /* background-color: #f0f0f0; opcional, solo para visualización */
}

.image-container img {
  max-width: 100%;
  max-height: 100%;
}
/*centra imagen instructor*/

/*abre imagen en modal*/
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    /* z-index: 999; */
    left: 0;
    top: 0;
    width: 400px;
    height: 600px;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    border: 5px solid white;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover {
    color: red;
}

.btn-outline-primary {
  color: #003049;
  border-color: #003049;
}

.btn-outline-primary:hover {
  background-color: #003049;
  color: white;
}

/*abre imagen en modal*/
@media (max-width: 576px) {
  h1, .section-heading { font-size: 1.5rem; }
  .cta-button { font-size: 0.9rem; padding: 10px 18px; }
  .navbar .nav-link { font-size: 0.9rem; }
}

/* Responsive image */
@media (max-width: 768px) {
  .image-container img {
    max-height: 300px;
    width: 100%;
  }
}
