@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700;800&display=swap');

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --brand-dark:#073c49;
  --brand-teal:#37797c;
  --brand-light:#a2e0e0;
  --brand-white:#ffffff;
}

html,
body{
  font-family:'Exo 2',sans-serif;
  background:var(--brand-white);
  color:var(--brand-dark);
  scroll-behavior:smooth;
}

.main-container{
  min-height:100vh;
}

/* NAVBAR */

.navbar{
  background:#073c49;
  padding:0 2rem;
  height:64px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  position:sticky;
  top:0;
  z-index:100;
}

.logo-container{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo-box{
  width:36px;
  height:36px;
  border-radius:8px;
  background:#37797c;

  display:flex;
  align-items:center;
  justify-content:center;
}

.logo-box i{
  color:#a2e0e0;
  font-size:20px;
}

.logo-text{
  color:#fff;
  font-size:18px;
  font-weight:700;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:2rem;
}

.nav-links a{
  color:#a2e0e0;
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  transition:0.3s;
}

.nav-links a:hover{
  color:#fff;
}

.btn-primary{
  background:#37797c;
  color:#fff;

  border:none;
  padding:8px 18px;

  border-radius:6px;
  cursor:pointer;

  font-family:'Exo 2',sans-serif;
  font-weight:600;

  transition:0.3s;
}

.btn-primary:hover{
  background:#2c6669;
}

/* HERO */

.hero{

  background:
  linear-gradient(
    rgba(7,60,73,0.82),
    rgba(7,60,73,0.82)
  ),
  url("IMG/fondoblanco.jpeg");

  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;

  min-height:520px;

  display:flex;
  align-items:center;

  padding:4rem 3rem;

  position:relative;
  overflow:hidden;
}

.hero::before{
  content:"";

  position:absolute;

  right:-60px;
  top:-60px;

  width:400px;
  height:400px;

  border-radius:50%;

  background:rgba(162,224,224,0.08);
}

.hero::after{
  content:"";

  position:absolute;

  right:80px;
  bottom:-80px;

  width:280px;
  height:280px;

  border-radius:50%;

  background:rgba(55,121,124,0.15);
}

.hero-content{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.badge{
  display:inline-block;

  background:rgba(162,224,224,0.15);

  border:1px solid rgba(162,224,224,0.3);

  color:#a2e0e0;

  padding:5px 14px;

  border-radius:20px;

  font-size:12px;
  font-weight:600;

  margin-bottom:1.5rem;

  text-transform:uppercase;
}

.hero h1{
  color:#fff;
  font-size:2.8rem;
  line-height:1.2;
  margin-bottom:1rem;
  font-weight:800;
}

.hero p{
  color:#a2e0e0;
  line-height:1.7;
  margin-bottom:2rem;
  font-size:1rem;
}

.hero-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.btn-light{
  background:#a2e0e0;
  color:#073c49;

  border:none;
  padding:12px 28px;

  border-radius:7px;

  cursor:pointer;

  font-weight:700;

  transition:0.3s;
}

.btn-light:hover{
  transform:translateY(-2px);
}

.btn-outline{
  background:transparent;

  color:#a2e0e0;

  border:2px solid rgba(162,224,224,0.4);

  padding:12px 28px;

  border-radius:7px;

  cursor:pointer;

  transition:0.3s;
}

.btn-outline:hover{
  background:rgba(162,224,224,0.1);
}

/* STATS */

.stats{
  background:#f7fafa;

  padding:2.5rem 3rem;

  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));

  gap:2rem;

  text-align:center;

  border-bottom:1px solid #e0eeee;
}

.stat-item h2{
  font-size:2rem;
  font-weight:800;
  color:#073c49;
}

.stat-item p{
  margin-top:5px;
  color:#37797c;
  font-size:14px;
}

/* CURSOS */

.courses{
  padding:3.5rem 3rem;
}

.courses h2{
  font-size:1.8rem;
  margin-bottom:10px;
}

.section-text{
  color:#37797c;
  margin-bottom:2rem;
}

.courses-grid{
  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(220px,1fr));

  gap:18px;
}

.course-card{
  background:#fff;

  border:1px solid #c5e4e4;

  border-radius:12px;

  padding:1.5rem;

  transition:0.3s;
}

.course-card:hover{
  transform:translateY(-5px);
  box-shadow:0 10px 20px rgba(0,0,0,0.08);
}

.course-card i{
  font-size:30px;
  color:#073c49;
  margin-bottom:12px;
}

.course-card h3{
  margin-bottom:8px;
  font-size:16px;
}

.course-card p{
  color:#37797c;
  line-height:1.6;
  font-size:14px;
}

.course-card span{
  display:inline-block;

  margin-top:14px;

  background:#a2e0e040;

  color:#073c49;

  padding:4px 10px;

  border-radius:20px;

  font-size:12px;
  font-weight:600;
}

/* SECTION DARK */
.hero-bg{

  background:
  linear-gradient(
    rgba(7,60,73,0.65),
    rgba(7,60,73,0.65)
  ),
  url("IMG/fondoblanco.jpeg");

  background-size:cover;
  background-position:center 50%;
  background-repeat:no-repeat;

}

.section-dark{
  padding:8rem 3rem;
  text-align:center;
}

.section-dark h1{
  color:#fff;
  font-size:2.2rem;
  margin-bottom:10px;
}

.section-dark p{
  color:#a2e0e0;
}

/* ABOUT */

.about-content{
  padding: 3rem;

  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(250px,1fr));

  gap:2rem;
}

.about-box{
  background:#fff;

  border:1px solid #c5e4e4;

  border-radius:12px;

  padding:2rem;
}

.about-box i{
  font-size:35px;
  color:#073c49;
  margin-bottom:14px;
}

.about-box h3{
  margin-bottom:10px;
}

.about-box p{
  color:#37797c;
  line-height:1.7;
}

/* VALORES */

.values{
  padding:3rem;
}

.values h2{
  margin-bottom:2rem;
}

.values-grid{
  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(180px,1fr));

  gap:16px;
}

.value-card{
  background:#f0f9f9;

  border:1px solid #c5e4e4;

  border-radius:10px;

  padding:1.5rem;

  text-align:center;
}

.value-card i{
  font-size:28px;
  color:#37797c;
  margin-bottom:10px;
}

.value-card p{
  font-weight:600;
}

/* CAMPUS */

.campus-grid{
  padding:3rem;

  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(220px,1fr));

  gap:20px;
}

.campus-card{
  border:1px solid #c5e4e4;

  border-radius:10px;

  padding:1.5rem;

  background:#fff;
}

.campus-card i{
  font-size:30px;
  color:#073c49;
  margin-bottom:12px;
}

.campus-card h3{
  margin-bottom:8px;
}

.campus-card p{
  color:#37797c;
  line-height:1.6;
}

/* TABLA */

.table-section{
  padding:3rem;
}

.table-section h2{
  margin-bottom:1.5rem;
}

table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;

  border-radius:10px;
}

thead{
  background:#073c49;
}

thead th{
  color:#a2e0e0;

  padding:1rem;

  text-align:left;

  font-size:14px;
}

tbody tr{
  border-bottom:1px solid #e8f5f5;
}

tbody tr:nth-child(even){
  background:#f9fdfd;
}

tbody td{
  padding:1rem;
  font-size:14px;
  color:#073c49;
}

/* FOOTER */

.footer{
  background:#073c49;
  padding:2rem 3rem;
  margin-top:2rem;
}

.footer-content{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:1rem;
}

.footer-logo{
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
  font-weight:700;
}

.footer-links{
  display:flex;
  gap:1.5rem;
}

.footer-links a{
  color:#a2e0e0;
  text-decoration:none;
  font-size:14px;
}

.copyright{
  margin-top:1.5rem;
  text-align:center;
  color:#37797c;
  font-size:13px;
}

/* RESPONSIVE */

@media(max-width:768px){

  .navbar{
    flex-direction:column;
    height:auto;
    padding:1rem;
    gap:1rem;
  }

  .nav-links{
    flex-wrap:wrap;
    justify-content:center;
  }

  .hero{
    padding:3rem 1.5rem;
  }

  .hero h1{
    font-size:2rem;
  }

  .stats,
  .courses,
  .about-content,
  .values,
  .campus-grid,
  .table-section{
    padding:2rem 1.5rem;
  }

}

/* LOGO NAVBAR */

.logo-box img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:8px;
}

/* LOGO HERO */

.hero-logo{
  width:260px;
  height:auto;

  display:block;

  margin-bottom:12px;

  background:transparent;

  box-shadow:none;

  border:none;
}

/* HERO */

.hero{
  display:flex;
  justify-content:space-between;
  align-items:center;

  gap:2rem;

  overflow:hidden;
}

