/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html,
body {
  height: 100%;
}

.floatleft {
  float: left;
}

.floatright {
  float: right;
}

.alignleft {
  float: left;
  margin-right: 15px;
  margin-bottom: 15px;
}

.alignright {
  float: right;
  margin-left: 15px;
  margin-bottom: 15px;
}

.aligncenter {
  display: block;
  margin: 0 auto 15px;
}

a:focus {
  outline: 0px solid;
}

img {
  max-width: 100%;
  height: auto;
}

.fix {
  overflow: hidden;
}

p {
  margin: 0 0 15px;
  color: #444;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
  margin: 0 0 15px;
  font-weight: 500;
}

h1 {
  font-size: 48px;
  line-height: 50px;
}

h2 {
  font-size: 38px;
  line-height: 40px;
}

h3 {
  font-size: 30px;
  line-height: 32px;
}

h4 {
  font-size: 24px;
  line-height: 26px;
}

h5 {
  font-size: 20px;
  line-height: 22px;
}

h6 {
  font-size: 16px;
  line-height: 20px;
}

a {
  transition: all 0.3s ease 0s;
  text-decoration: none;
}

a:hover {
  color: #1abc9c;
  text-decoration: none;
}

a:active,
a:hover {
  outline: 0 none;
}

section {
  margin: 0px 0px;
  padding: 60px 0px;
}

body {
  background-color: #f9f9f9;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  text-align: left;
  overflow-x: hidden;
  line-height: 22px;
}


/*--------------------------------------------------------------
# Navbar
--------------------------------------------------------------*/
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link a:hover,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link .active:focus,
.navbar-dark .navbar-nav .nav-link li:hover>a {
  color: #1abc9c;
}

.navbar-brand {
  padding: 0px 10px;
  border-left: 3px solid #1abc9c;
}

/*--------------------------------------------------------------
# Section
--------------------------------------------------------------*/

.section-header {
  text-align: center;
}

.section-header h2 {
  display: inline-block;
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 70px;
  position: relative;
  text-transform: capitalize;
}

.section-header h2::after {
  border: 2px solid #1abc9c;
  bottom: -20px;
  content: "";
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
  width: 60%;
}

/*--------------------------------------------------------------
# nombre
--------------------------------------------------------------*/
.nombre {
  margin-top: 54px;
  background-color: #bbbbbb;
  padding: 5px;
  text-align: center;
}

.frase{
  font-size: 24px;
}

/*--------------------------------------------------------------
# graduaciones
--------------------------------------------------------------*/
#principales-graduaciones .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#principales-graduaciones .col-lg-3,
#principales-graduaciones .col-md-4,
#principales-graduaciones .col-sm-6,
#principales-graduaciones .col-xs-12 {
  display: flex;
  justify-content: center;
}

.graduacion-wrapper {
  width: 100%;
  display: flex;
}

.graduacion {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.graduacion:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
#principales-graduaciones .custom-overlay {
  margin-bottom: 15px;
}
#principales-graduaciones .custom-overlay img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #1abc9c; /* Border color */
}
.graduacion h2 {
  font-size: 1.5rem;
  margin: 15px 0;
}
.graduacion p {
  font-size: 1rem;
  color: #555;
}

/*--------------------------------------------------------------
# Técnicas
--------------------------------------------------------------*/

.tecnicas-divider {
  border: 0;
  border-top: 2px solid #1abc9c;
  margin: 40px 0;
}
.tecnica {
  margin-bottom: 40px; /* Spacing between rows */
  display: flex;
  align-items: center;
}
.tecnica img {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.tecnica-heading {
  font-size: 2rem;
  margin-bottom: 15px;
}
.lead {
  font-size: 16px;
}

#tecnicas h3 {
  display: inline-block;
  margin-bottom: 50px;
  position: relative;
  text-transform: capitalize;
}

#tecnicas h3::after {
  border: 1px solid #1abc9c;
  bottom: -10px;
  content: "";
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
  width: 60%;
}

.tecnica li {
  font-size: 16px;
}


/*--------------------------------------------------------------
# Sedes
--------------------------------------------------------------*/

#sedes .row {
  display: flex;
  justify-content: center;
  /* Center columns horizontally */
}

.sede {
  position: relative;
  overflow: hidden;
  height: 300px;
  /* Fixed height for uniformity */
  display: flex;
  align-items: center;
  border-radius: 20px;
}

@media (max-width: 767.98px) {
  .sede {
    margin-bottom: 30px;
    /* More margin on small screens */
  }
}

.sede img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the image covers the area */
  transition: transform 0.3s ease;
}

.sede:hover img {
  transform: scale(1.1);
}

.sede-contenido {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 15px;
  text-align: center;
}

.sede-contenido h4 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: bold;
}

.sede-contenido p {
  margin: 5px 0 0;
  font-size: 1rem;
  color: white;
}

/*--------------------------------------------------------------
# Contacto
--------------------------------------------------------------*/

#contacto .row {
  display: flex;
  justify-content: center;
}

.contact-item {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 767.98px) {
  .contact-item {
    margin-bottom: 30px;
    /* More margin on small screens */
  }
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.contact-item i {
  font-size: 3rem;
  color: #1abc9c;
  margin-bottom: 15px;
}

.contact-item h4 {
  margin: 15px 0;
  font-size: 1.5rem;
}

.contact-item p a {
  color: #333;
  text-decoration: none;
}

.contact-item p a:hover {
  text-decoration: underline;
}



/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

footer {
  background-color: black;
  padding: 20px 0px;
  color: white;
}

footer a {
  color: white;
}

footer h2 {
  color: white;
  position: relative;
  display: inline-block;
  padding: 0px 10px;
  border-left: 4px solid #1abc9c;
}

footer h4 {
  color: white;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

footer h4::after {
  content: "";
  display: block;
  width: 90%;
  border-bottom: 4px solid #1abc9c;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

footer ul {
  list-style: none;
}

footer ul li {
  border-bottom: 1px solid #333;
  padding: 10px 0px;
}

footer i {
  margin-right: 10px;
}

footer .social-icons i {
  background-color: #333;
  border-radius: 21%;
  padding: 10px;
  margin-right: 10px;
  min-width: 34px;
  text-align: center;
}

footer .social-icons a:hover {
  color: #1abc9c;
}