body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #ffffff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

 header {
    position: sticky;
    top: 0; /* Punto donde se pega */
    background-color:#333;
    color: white;
    padding: 10px;
    z-index: 1000; /* Para que quede encima de otros elementos */
  }
  

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-box {
  width: 50px;
  height: 50px;
  background: #00a896;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  border-radius: 10px;
}

.logo h1 {
  font-size: 1.5rem;
}

.logo p {
  font-size: 0.9rem;
  opacity: 0.8;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

.hero {
  background: linear-gradient(135deg, #0a4d68, #00a896);
  color: white;
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 8px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.hero h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.hero p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  background: #00a896;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.btn:hover {
  opacity: 0.9;
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
}

.section {
  padding: 70px 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

.bg-light {
  background: #f8f9fa;
}

.dark {
  background: #0a4d68;
  color: white;
}

.services,
.courses,
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  color: #222;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.dark .card {
  background: rgba(255,255,255,0.1);
  color: white;
}

.card h3 {
  margin-bottom: 15px;
}

.jobs {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
}

.jobs li {
  padding: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

form {
  max-width: 700px;
  margin: 0 auto;
}

input,
textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.checkbox input {
  width: auto;
  margin: 0;
}

.footer {
  background: #062f3c;
  color: white;
  text-align: center;
  padding: 25px 0;
}

.col-izquierda {
    float: left;
    width: 200px;
}

.col-derecha {
    float: right;
    width: 200px;
}

.contenido {
    margin: 0 220px; /* deja espacio para las columnas */
}
.layout {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 20px;
}

.left { float: left; }
.right { float: right; }

.extra {
    float: right;
    width: 200px;   /* ajusta */
    background: #eee;
    padding: 10px;
    margin-top: 10px;
}

.left, .right {
    display: inline-block;
    vertical-align: top;
}

.columna {
	flex: 1;
	display:flex;
	align-items:center;
	justtify-content:center;
	font-size: 1.5 rem;
	color:white;
	border: solid 5px;
	zindex:999;
}

.img-derecha {
    display: block;       /* Para que respete el ancho completo */
    margin-left: auto;    /* Empuja la imagen hacia la derecha */
    margin-right: 0;
    max-width: 100%;     /* Opcional: limitar tama?o */
  }
  
.img-izquierda {
    display: block;       /* Para que respete m?rgenes */
    margin-left: 0;       /* Sin margen a la izquierda */
    margin-right: auto;   /* Empuja hacia la izquierda */
    max-width: 100%;      /* Evita que se desborde */
  }
  
.cabecera {
	position: sicky;
	width:100%;
	height:400px;
	display:flex;
}  

 th, td {
        border: 2px solid red; /* Color y grosor del borde */
        padding: 8px;
        text-align: center;
    }
    th {
        background-color: #f2f2f2; /* Color de fondo opcional */
    }
	
html {
    scroll-behavior: smooth;
}