* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 17px;
}
body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
}

:root {
  --primary-color: #0d2950;
  --secondary-color: #59b03b;
}

/********* 
    Colores 
*********/

button{
  padding: 14px 26px;
  border-radius: 100px;
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: 400;
  border: 1px solid var(--secondary-color);
  cursor: pointer;
  transition: transform 0.5s ease;
}

button:hover{
  transform: scale(1.1);
}

.bg-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.text-white {
  color: #ffffff;
}

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

h1 {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 20px;
}

h1 span {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--secondary-color);
}

h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
}

h2 span {
  font-size: 2.8rem;
}

h3 {
  font-size: 1.5rem;
}

span {
  font-size: 0.8rem;
}

.text-center {
  text-align: center;
}

.text-left{
    text-align: left;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-fluid{
    max-width: 100%;
    padding: 0px 50px;
}

.col-lg-60 {
  width: 60%;
}

.col-50 {
  width: 50%;
}

.col-lg-40 {
  width: 40%;
}

.py-1 {
  padding: 5px 0;
}

.py-2 {
  padding: 10px 0;
}
.mt-20{
  margin-top: 20px;
}

.py-3 {
  padding: 20px 0;
}

.py-100 {
  padding: 120px 0px;
}

.mb-50 {
  margin-bottom: 80px;
}
img {
  margin: auto;
  width: 100%;
}

.row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.flex {
  display: flex;
}

.gap-40 {
  gap: 40px;
}

.justify-center {
  justify-content: center;
}
.card-grid{
  gap: 20px;
}

/********* 
    Header section styles
*********/
header {
  background-image: url("../assets/images/bn.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  height: 80vh;
  display: flex;
  align-items: center;
  padding: 30px 10px;
}

.sub-title {
  font-size: 2rem;
  font-weight: 400;
  color: var(--secondary-color);
  line-height: 35px;
  margin-bottom: 20px;
}

header p {
  line-height: 20px;
  font-size: 1rem;
}

/********* 
    CATEGORY section styles
*********/
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card figure {
  margin-bottom: 20px;
}

/********* 
    NOSOTROS: section styles
*********/
.nosotros h2 {
  margin-bottom: 30px;
}
.nosotros p {
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 200;
  color: var(--secondary-color);
  padding-left: 10px;
}
.nosotros ul {
  padding-left: 90px;
}

.nosotros ul li {
  margin-bottom: 5px;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 100;
}

/********* 
    PROYECTOS: section styles
*********/
.proyecto .card{
    display: flex;
    flex-direction: column;
    align-items: start;
}

.proyecto h3{
    text-transform: uppercase;
}

.proyecto p{
    font-size: 1rem;
}

/********* 
    POST: section styles
*********/
.post{
    background-image: url("images/bn_1.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 400px;
}

/********* 
    FOOTER: section styles
*********/
footer{
    background-image: url("images/bg_footer.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

footer .footer-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
    text-align: center;
}

footer figure{
    margin-bottom: 20px;
}

footer  p{
    margin-bottom: 50px;
    width: 80%;
}

footer ul{
    display: flex;
    list-style-type: none;
    padding-left: 0;
    color: #fff;
    justify-content: space-between;
    gap: 100px;
    margin-top: 50px;
}

.whatsaapp{
  position: fixed;
  right: 20px;
  bottom: 400px;
  width: 80px;
  height: 80px;
}

.video{
  display: flex;
  justify-content: center;
}

.col-nosotros{
  width: 45%;
}

video{
  max-width: 450px;
}

@media (max-width: 768px) {
  h1, h1 span{
    font-size: 2rem;
  }
  .nav-top, .phone_call{
    display: none;
  }
  .col-md-100{
    width: 100%;
  }
  .row{
    flex-direction: column;
  }
  header{
    height: auto;
  }
  .sub-title{
    font-size: 1.3rem;
    line-height: 25px;
    margin-bottom: 5px;
  }

  .col-nosotros{
    width: 100%;
  }

  footer ul{
    flex-direction: column;
    gap: 10px;
  }
}