/* Google Fonts Link */
@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  /* Colors */
  --white-color: #fff;
  --dark-color: #252525;
  --primary-color: #005cab;
  --secondary-color: #f3961c;
  --third-color: rgba(182, 208, 231, 0.2);
  /*#B6D0E7;*/
  --third-color-opacity: rgba(182, 208, 231, 0);

  /*--secondary-color: #AB4E00;*/
  --light-pink-color: #faf4f5;
  --medium-gray-color: #ccc;

  /* Font size */
  --font-size-s: 0.9rem;
  --font-size-n: 1rem;
  --font-size-m: 1.12rem;
  --font-size-l: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 2.3rem;

  /* Font weight */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Border radius */
  --border-radius-s: 8px;
  --border-radius-m: 30px;
  --border-radius-circle: 50%;

  /* Site max width */
  --site-max-width: 1300px;

  --font-size-social: 3rem;

}

html {
  scroll-behavior: smooth;
}

/* Stylings for whole site */
ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

img {
  width: 100%;
}

:where(section, footer) .section-content {
  margin: 0 auto;
  padding: 0 20px;
  max-width: var(--site-max-width);
}

section .section-title {
  text-align: center;
  padding: 60px 0 100px;
  text-transform: uppercase;
  font-size: var(--font-size-xl);
}

section .section-title::after {
  content: "";
  width: 80px;
  height: 5px;
  display: block;
  margin: 10px auto 0;
  background: var(--secondary-color);
  border-radius: var(--border-radius-s);
}

/* Navbar styling */
header {
  z-index: 5000;
  width: 100%;
  position: fixed;
  background: var(--primary-color);
}

header .navbar {
  display: flex;
  padding: 20px;
  align-items: center;
  margin: 0 auto;
  justify-content: space-between;
  max-width: var(--site-max-width);
}

.navbar .nav-logo .logo-text {
  color: var(--white-color);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

.navbar .nav-menu {
  gap: 10px;
  display: flex;
}

.navbar .nav-menu .nav-link {
  padding: 10px 18px;
  color: var(--white-color);
  font-size: var(--font-size-m);
  border-radius: var(--border-radius-m);
  transition: 0.3s ease;
}

.navbar .nav-menu .nav-link:hover {
  color: var(--primary-color);
  background: var(--secondary-color);
}

.navbar :where(#menu-open-button, #menu-close-button) {
  display: none;
}

/* Hero section styling */
.hero-section {
  min-height: 100vh;
  background: var(--primary-color);
  height: 100vh;
  background-image: url("../assets/images/alexandra-fuller-4RNLzJzEMMs-unsplash.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.hero-section.blog {
  background-image: url("../assets/images/sebastien-le-derout-wX_zbzIxclA-unsplash.jpg");
}

.hero-section.planeacion {
  background-image: url("../assets/images/alvaro-reyes-qWwpHwip31M-unsplash.jpg");
}

.hero-title {
  margin: 0 auto;
  text-align: center;
  font-size: 3rem;
  color: var(--white-color);
  text-shadow: 2px 2px #000;
}

.hero-section .section-content {
  display: flex;
  padding-top: 40px;
  align-items: center;
  min-height: 100vh;
  justify-content: space-between;
}

.hero-section .hero-details {
  color: var(--white-color);
}

.hero-section .hero-details .title {
  font-size: var(--font-size-xxl);
  color: var(--secondary-color);
  font-family: "Miniver", sans-serif;
}

.hero-section .hero-details .subtitle {
  margin-top: 8px;
  max-width: 70%;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

.hero-section .hero-details .description {
  max-width: 70%;
  margin: 24px 0 40px;
  font-size: var(--font-size-m);
}

.hero-section .hero-details .buttons {
  display: flex;
  gap: 23px;
}

.hero-section .hero-details .button {
  padding: 10px 26px;
  display: block;
  border: 2px solid transparent;
  border-radius: var(--border-radius-m);
  background: var(--secondary-color);
  color: var(--primary-color);
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-medium);
  transition: 0.3s ease;
}

.hero-section .hero-details .button:hover,
.hero-section .hero-details .button.contact-us {
  color: var(--white-color);
  border-color: var(--white-color);
  background: transparent;
}

.hero-section .hero-details .button.contact-us:hover {
  color: var(--primary-color);
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.hero-section .hero-image-wrapper {
  max-width: 500px;
  margin-right: 30px;
}

/* Responsive media query code for max width 640px */
@media screen and (max-width: 640px) {

  .hero-title {
    font-size: 2.1rem;
  }

}

/* Video seciton styling */
.video-section {
  color: var(--white-color);
  background: var(--dark-color);
  padding: 50px 0 100px;
}

.video-section .section-content {
  padding-top: 40px;  
  justify-content: space-between;
}


/* Project seciton styling */
.project-section {
  color: var(--white-color);
  background: var(--dark-color);
  padding: 50px 0 100px;
}

.project-section .section-content {
  padding-top: 40px;
  min-height: 100vh;
  justify-content: space-between;
}

.project-section .section-content h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.project-section .section-content .text-info {
  line-height: 30px;
  font-size: var(--font-size-m);
}

.project-section .section-content ul {
  list-style: circle;
  padding-left: 2rem;
}

.project-section .section-content ul li {
  line-height: 1.9rem;
}

.project-section .section-content .figure {
  text-align: center;
}

.project-section .section-content .figure img {
  border-radius: 10px;
  max-width: 350px;
}

.project-section .section-content .figure span {
  font-weight: bold;
  color: var(--secondary-color);
  display: block;
  text-align: center;
}

.project-section .section-content sup {
  font-weight: bold;
  color: var(--secondary-color);
}

.project-section .section-content a,
.project-section .section-content a:visited,
.project-section .section-content a:active {
  color: var(--white-color);
}

.project-section .section-content a:hover {
  color: var(--secondary-color);
}

/* About section styling */
.about-section {
  padding: 120px 0 0 0;
  background: var(--third-color);
}

.about-section .section-content {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
}

.about-section .about-image-wrapper .about-image {
  height: 400px;
  width: 400px;
  object-fit: cover;
  border-radius: var(--border-radius-circle);
}

.about-section .about-details {
  max-width: 50%;
}

.about-section .about-details .section-title {
  padding: 0;
}

.about-section .about-details .text {
  line-height: 30px;
  margin: 50px 0 30px;
  text-align: left;
  font-size: var(--font-size-m);
}

.about-section .social-link-list {
  display: flex;
  gap: 25px;
  justify-content: center;
}

.about-section .social-link-list .social-link {
  color: var(--primary-color);
  font-size: var(--font-size-l);
  transition: 0.2s ease;
}

.about-section .social-link-list .social-link:hover {
  color: var(--secondary-color);
}

.about-section .social-link-list .social-link-big {
  color: var(--primary-color);
  font-size: var(--font-size-social);
  transition: 0.2s ease;
}

.about-section .social-link-list .social-link-big:hover {
  color: var(--secondary-color);
}

/* About details seciton styling */
.about-details-section {
  background: var(--third-color);
  /*padding: 0 0 100px;*/
}

.about-details-section .section-content {
  padding-top: 40px;
  min-height: 100vh;
  justify-content: space-between;
}

.about-details-section .section-content h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.about-details-section .section-content .text-info {
  line-height: 30px;
  font-size: var(--font-size-m);
}


/* Menu section styling */
.menu-section {
  color: var(--dark-color);
  background: var(--white-color);
  padding: 50px 0 100px;
}

.menu-section .img-f-left {
  float: left;
  width: 20%;
  margin: 0 15px 10px 0;
  border-radius: 10px;
}

.menu-section .b-image-center {
  text-align: center;
  margin: 15px 0;
}

.menu-section .img-center {
  width: 70%;
  border-radius: 10px;
}

.menu-section .menu-list {
  display: flex;
  gap: 110px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.menu-section .menu-list .menu-item {
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: calc(100% / 3 - 110px);
}

.menu-section .menu-list .menu-item .menu-image {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 15px;
  object-fit: cover;
  border-radius: 10px;
}

.menu-section .menu-list .menu-item .name {
  margin: 12px 0;
  font-size: var(--font-size-l);
  font-weight: var(--font-weight-semibold);
}

.menu-section .menu-list .menu-item .text {
  font-size: var(--font-size-m);
}

.menu-section .section-content .text-info {
  line-height: 30px;
  font-size: var(--font-size-m);
}

.menu-section .section-content ul {
  list-style: circle;
  padding-left: 2rem;
}

.menu-section .section-content ul li {
  line-height: 1.9rem;
  font-size: var(--font-size-m);
}


/* Testimonials section styling */
.testimonials-section {
  padding: 50px 0 100px;
  background: var(--third-color);
}

.testimonials-section .slider-wrapper {
  overflow: hidden;
  margin: 0 60px 50px;
}

.testimonials-section .testimonial {
  user-select: none;
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.testimonials-section .testimonial .user-image {
  width: 180px;
  height: 180px;
  margin-bottom: 50px;
  object-fit: cover;
  border-radius: var(--border-radius-circle);
}

.testimonials-section .testimonial .name {
  margin-bottom: 16px;
  font-size: var(--font-size-m);
}

.testimonials-section .testimonial .feedback {
  line-height: 25px;
}

.testimonials-section .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  opacity: 1;
  background: var(--secondary-color);
}

.testimonials-section .swiper-slide-button {
  color: var(--secondary-color);
  margin-top: -50px;
  transition: 0.3s ease;
}

.testimonials-section .swiper-slide-button:hover {
  color: var(--primary-color);
}

/* Gallery section styling */
.gallery-section {
  padding: 50px 0 100px;
}

.gallery-section .gallery-list {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.gallery-section .gallery-list .gallery-item {
  overflow: hidden;
  border-radius: var(--border-radius-s);
  width: calc(100% / 3 - 32px);
}

.gallery-section .gallery-item .gallery-image {
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  transition: 0.3s ease;
}

.gallery-section .gallery-item:hover .gallery-image {
  transform: scale(1.3);
}

/* Contact section styling */
.contact-section {
  padding: 50px 0 100px;
  background: var(--third-color);
}

.contact-section .section-content {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
}

.contact-section .contact-info-list .contact-info {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  align-items: center;
}

.contact-section .contact-info-list .contact-info i {
  font-size: var(--font-size-m);
}

.contact-section .contact-form .form-input {
  width: 100%;
  height: 50px;
  padding: 0 12px;
  outline: none;
  margin-bottom: 16px;
  font-size: var(--font-size-s);
  border-radius: var(--border-radius-s);
  border: 1px solid var(--medium-gray-color);
}

.contact-section .contact-form {
  max-width: 50%;
  margin: 0 auto;
}

.contact-section .contact-form textarea.form-input {
  height: 100px;
  padding: 12px;
  resize: vertical;
}

.contact-section .contact-form .form-input:focus {
  border-color: var(--secondary-color);
}

.contact-section .contact-form .submit-button {
  padding: 10px 28px;
  outline: none;
  margin-top: 10px;
  border: 1px solid var(--primary-color);
  border-radius: var(--border-radius-m);
  background: var(--primary-color);
  color: var(--white-color);
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-medium);
  transition: 0.3s ease;
}

.contact-section .contact-form .submit-button:hover {
  color: var(--primary-color);
  background: transparent;
}

/* Blog seciton styling */
.blog-section {
  padding: 50px 0 100px;
}

.blog-section.first-color {
  color: var(--white-color);
  background: var(--dark-color);
}

.blog-section.second-color {
  color: var(--dark-color);
  background: var(--third-color);
}

.blog-section.third-color {
  background: var(--white-color);
}

.blog-section .section-content {
  padding-top: 40px;
  justify-content: space-between;
}

.blog-section .section-content h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.blog-section .section-content .text-info {
  line-height: 30px;
  font-size: var(--font-size-m);
}

.blog-section .section-content ul {
  list-style: circle;
  padding-left: 2rem;
}

.blog-section .section-content ul.w-letters {
  list-style-type: lower-latin;
  padding-left: 2rem;
}

.blog-section .section-content ul.w-decimal {
  list-style-type: decimal;
  padding-left: 2rem;
}

.blog-section .section-content ul li {
  line-height: 1.9rem;
}

.blog-section .section-content ol {
  padding-left: 2rem;
  padding-right: 1rem;
}

.blog-section .section-content ol li {
  line-height: 1.9rem;
}

.blog-section .section-content .figure {
  text-align: center;
}

.blog-section .section-content .figure img {
  border-radius: 10px;
  max-width: 350px;
}

.blog-section .section-content .figure span {
  font-weight: bold;
  color: var(--secondary-color);
  display: block;
  text-align: center;
}

.blog-section .section-content sup {
  font-weight: bold;
  color: var(--secondary-color);
}

.blog-section .section-content a,
.blog-section .section-content a:visited,
.blog-section .section-content a:active {
  color: var(--white-color);
}

.blog-section .section-content a:hover {
  color: var(--secondary-color);
}

/* Planeacion section styling */
.planeacion-section {
  padding: 50px 0 100px;
}

.planeacion-section.first-color {
  color: var(--white-color);
  background: var(--dark-color);
}

.planeacion-section.second-color {
  color: var(--dark-color);
  background: var(--third-color);
}

.planeacion-section.third-color {
  background: var(--white-color);
}

.planeacion-section .section-content {
  padding-top: 40px;
  justify-content: space-between;
}

.planeacion-section .section-content h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.planeacion-section .section-content .text-info {
  line-height: 30px;
  font-size: var(--font-size-m);
}

.planeacion-section .section-content ul {
  list-style: circle;
  padding-left: 2rem;
}

.planeacion-section .section-content ul.w-letters {
  list-style-type: lower-latin;
  padding-left: 2rem;
}

.planeacion-section .section-content ul.w-decimal {
  list-style-type: decimal;
  padding-left: 2rem;
}

.planeacion-section .section-content ul li {
  line-height: 1.9rem;
}

.planeacion-section .section-content ol {
  padding-left: 2rem;
  padding-right: 1rem;
}

.planeacion-section .section-content ol li {
  line-height: 1.9rem;
}

.planeacion-section .section-content .figure {
  text-align: center;
}

.planeacion-section .section-content .figure img {
  border-radius: 10px;
  max-width: 350px;
}

.planeacion-section .section-content .figure span {
  font-weight: bold;
  color: var(--secondary-color);
  display: block;
  text-align: center;
}

.planeacion-section .section-content sup {
  font-weight: bold;
  color: var(--secondary-color);
}

.planeacion-section .section-content a,
.planeacion-section .section-content a:visited,
.planeacion-section .section-content a:active {
  color: var(--white-color);
}

.planeacion-section.third-color .section-content a,
.planeacion-section.third-color .section-content a:visited,
.planeacion-section.third-color .section-content a:active {
  color: var(--dark-color);
  text-decoration: underline;
  text-decoration-color: var(--secondary-color);
}

.planeacion-section .section-content a:hover {
  color: var(--secondary-color);
}


.planeacion-section .columns {
  display: flex;
  flex-wrap:wrap;
}

.planeacion-section .columns .column1 {
  width: 100%;        
}

.planeacion-section .columns .column2 {
  width: 100%;        
  text-align: center;    
}

.planeacion-section .columns .column3 {
  width: 100%;        
  text-align: center;     
}

.planeacion-section .columns .column4 {
  width: 100%;        
}

/* tablet breakpoint */
@media (min-width:768px) {
  .planeacion-section .columns .column1 {
    width: 50%;        
  }
  
  .planeacion-section .columns .column2 {
    width: 50%;
    text-align: center;    
  }
  
  .planeacion-section .columns .column3 {
    width: 50%;   
    text-align: center;     
  }
  
  .planeacion-section .columns .column4 {
    width: 50%;      
  }  
}

.planeacion-center{
text-align: center;
}

.planeacion-float{
  float: right;
  }

.img-planeacion1{
  width: 250px;
  border-radius: 10px;
}

.img-planeacion2{
  width: 350px;
  border-radius: 10px;
}

.img-planeacion3{
  width: 350px;
  border-radius: 10px;
}

.img-planeacion4{
  width: 350px;
  border-radius: 10px;
}

.img-planeacion5{
  width: 350px;
  border-radius: 10px;
}

.img-planeacion6{
  width: 350px;
  border-radius: 10px;
}

.img-planeacion7{
  width: 350px;
  border-radius: 10px;
}

.img-planeacion8{
  width: 350px;
  border-radius: 10px;
}

.btn-section {
  text-align: center;
}

.btn-blog {
  background: var(--primary-color);
  color: white;
  border-radius: 10px;
  transition: all 300ms;
  width: 250px;
  height: 100px;
  font-size: 1.5rem;
}

.btn-blog:hover {
  transform: scale(1.1);
  letter-spacing: 2px;
  background: white;
  color: var(--primary-color);
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.57);
}


/* Footer section styling */
.footer-section {
  padding: 20px 0;
  background: var(--dark-color);
}

.footer-section .section-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-section :where(.copyright-text, .social-link, .policy-link) {
  color: var(--white-color);
  transition: 0.2s ease;
}

.footer-section .social-link-list {
  display: flex;
  gap: 25px;
}

.footer-section .social-link-list .social-link {
  font-size: var(--font-size-l);
}

.footer-section .social-link-list .social-link:hover,
.footer-section .policy-text .policy-link:hover {
  color: var(--secondary-color);
}

.footer-section .policy-text .separator {
  color: #fff;
  margin: 0 5px;
}

/* Responsive media query code for max width 1024px */
@media screen and (max-width: 1024px) {
  .menu-section .menu-list {
    gap: 60px;
  }

  .menu-section .menu-list .menu-item {
    width: calc(100% / 3 - 60px);
  }

}

/* Responsive media query code for max width 900px */
@media screen and (max-width: 900px) {
  :root {
    --font-size-m: 1rem;
    --font-size-l: 1.3rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 1.8rem;
  }

  body.show-mobile-menu {
    overflow: hidden;
  }

  body.show-mobile-menu header::before {
    content: "";
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.2);
  }

  .navbar :is(#menu-open-button, #menu-close-button) {
    font-size: var(--font-size-l);

    display: block;
  }

  .navbar :is(#menu-open-button, #menu-close-button):hover {
    color: var(--secondary-color) !important;
  }

  .navbar #menu-open-button {
    color: #fff;
  }

  .navbar .nav-menu #menu-close-button {
    position: absolute;
    right: 30px;
    top: 30px;
  }

  .navbar .nav-menu {
    display: block;
    background: #fff;
    position: fixed;
    top: 0;
    left: -300px;
    height: 100%;
    width: 300px;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 100px;
    transition: left 0.2s ease;
  }

  body.show-mobile-menu .nav-menu {
    left: 0;
  }

  .navbar .nav-menu .nav-link {
    display: block;
    margin-top: 17px;
    padding: 10px 22px;
    color: var(--dark-color);
    font-size: var(--font-size-l);
  }

  .hero-section .section-content {
    text-align: center;
    gap: 50px;
    padding: 30px 20px 20px;
    justify-content: center;
    flex-direction: column-reverse;
  }

  .hero-section .hero-details :is(.subtitle, .description),
  .about-section .about-details,
  .contact-section .contact-form {
    max-width: 100%;
  }

  .hero-section .hero-details .buttons {
    justify-content: center;
  }

  .hero-section .hero-image-wrapper {
    max-width: 270px;
    margin-right: 0;
  }

  .about-section .section-content {
    gap: 70px;
    flex-direction: column-reverse;
  }

  .about-section .about-image-wrapper .about-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    max-width: 250px;
  }

  .menu-section .menu-list {
    gap: 30px;
  }

  .menu-section .menu-list .menu-item {
    width: calc(100% / 2 - 30px);
  }

  .menu-section .menu-list .menu-item .menu-image {
    max-width: 200px;
    border-radius: 15px;
  }

  .gallery-section .gallery-list {
    gap: 30px;
  }

  .gallery-section .gallery-list .gallery-item {
    width: calc(100% / 2 - 30px);
  }

  .contact-section .section-content {
    align-items: center;
    flex-direction: column-reverse;
  }
}

/* Responsive media query code for max width 640px */
@media screen and (max-width: 640px) {

  .menu-section .menu-list .menu-item,
  .gallery-section .gallery-list .gallery-item {
    width: 100%;
  }

  .menu-section .menu-list {
    gap: 60px;
  }

  .testimonials-section .slider-wrapper {
    margin: 0 0 30px;
  }

  .testimonials-section .swiper-slide-button {
    display: none;
  }

  .footer-section .section-content {
    flex-direction: column;
    gap: 20px;
  }
}

/* Slider */

.testim {
  width: 100%;
  /*position: absolute;
  top: 50%;
  -webkit-transform: translatey(-50%);
  -moz-transform: translatey(-50%);
  -ms-transform: translatey(-50%);
  -o-transform: translatey(-50%);
  transform: translatey(-50%);
  */
}

.testim .wrap {
  position: relative;
  width: 100%;
  max-width: 1020px;
  padding: 40px 20px;
  margin: auto;
}

.testim .arrow {
  display: block;
  position: absolute;
  color: var(--secondary-color);
  cursor: pointer;
  font-size: 2em;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  padding: 5px;
  z-index: 4;
}

.testim .arrow:before {
  cursor: pointer;
}

.testim .arrow:hover {
  color: var(--primary-color);
}


.testim .arrow.left {
  left: 10px;
}

.testim .arrow.right {
  right: 10px;
}

.testim .dots {
  text-align: center;
  position: absolute;
  width: 100%;
  bottom: 60px;
  left: 0;
  display: block;
  z-index: 3333;
  height: 12px;
}

.testim .dots .dot {
  list-style-type: none;
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--secondary-color);
  margin: 0 10px;
  cursor: pointer;
  -webkit-transition: all .5s ease-in-out;
  -ms-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  position: relative;
}

.testim .dots .dot.active,
.testim .dots .dot:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.testim .dots .dot.active {
  -webkit-animation: testim-scale .5s ease-in-out forwards;
  -moz-animation: testim-scale .5s ease-in-out forwards;
  -ms-animation: testim-scale .5s ease-in-out forwards;
  -o-animation: testim-scale .5s ease-in-out forwards;
  animation: testim-scale .5s ease-in-out forwards;
}

.testim .cont {
  position: relative;
  overflow: hidden;
}

.testim .cont>div {
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 0 70px 0;
  opacity: 0;
}

.testim .cont>div.inactive {
  opacity: 1;
}


.testim .cont>div.active {
  position: relative;
  opacity: 1;
}


.testim .cont div .img img {
  display: block;
  width: 100px;
  height: 100px;
  margin: auto;
  border-radius: 50%;
}

.testim .cont div h2 {
  color: var(--primary-color);
  font-size: 1em;
  margin: 15px 0;
}

.testim .cont div p {
  font-size: 1.15em;
  color: var(--dark-color);
  width: 80%;
  margin: auto;
}

.testim .cont div.active .img img {
  -webkit-animation: testim-show .5s ease-in-out forwards;
  -moz-animation: testim-show .5s ease-in-out forwards;
  -ms-animation: testim-show .5s ease-in-out forwards;
  -o-animation: testim-show .5s ease-in-out forwards;
  animation: testim-show .5s ease-in-out forwards;
}

.testim .cont div.active h2 {
  -webkit-animation: testim-content-in .4s ease-in-out forwards;
  -moz-animation: testim-content-in .4s ease-in-out forwards;
  -ms-animation: testim-content-in .4s ease-in-out forwards;
  -o-animation: testim-content-in .4s ease-in-out forwards;
  animation: testim-content-in .4s ease-in-out forwards;
}

.testim .cont div.active p {
  -webkit-animation: testim-content-in .5s ease-in-out forwards;
  -moz-animation: testim-content-in .5s ease-in-out forwards;
  -ms-animation: testim-content-in .5s ease-in-out forwards;
  -o-animation: testim-content-in .5s ease-in-out forwards;
  animation: testim-content-in .5s ease-in-out forwards;
}

.testim .cont div.inactive .img img {
  -webkit-animation: testim-hide .5s ease-in-out forwards;
  -moz-animation: testim-hide .5s ease-in-out forwards;
  -ms-animation: testim-hide .5s ease-in-out forwards;
  -o-animation: testim-hide .5s ease-in-out forwards;
  animation: testim-hide .5s ease-in-out forwards;
}

.testim .cont div.inactive h2 {
  -webkit-animation: testim-content-out .4s ease-in-out forwards;
  -moz-animation: testim-content-out .4s ease-in-out forwards;
  -ms-animation: testim-content-out .4s ease-in-out forwards;
  -o-animation: testim-content-out .4s ease-in-out forwards;
  animation: testim-content-out .4s ease-in-out forwards;
}

.testim .cont div.inactive p {
  -webkit-animation: testim-content-out .5s ease-in-out forwards;
  -moz-animation: testim-content-out .5s ease-in-out forwards;
  -ms-animation: testim-content-out .5s ease-in-out forwards;
  -o-animation: testim-content-out .5s ease-in-out forwards;
  animation: testim-content-out .5s ease-in-out forwards;
}

@-webkit-keyframes testim-scale {
  0% {
    -webkit-box-shadow: 0px 0px 0px 0px #eee;
    box-shadow: 0px 0px 0px 0px #eee;
  }

  35% {
    -webkit-box-shadow: 0px 0px 10px 5px #eee;
    box-shadow: 0px 0px 10px 5px #eee;
  }

  70% {
    -webkit-box-shadow: 0px 0px 10px 5px #ea830e;
    box-shadow: 0px 0px 10px 5px #ea830e;
  }

  100% {
    -webkit-box-shadow: 0px 0px 0px 0px #ea830e;
    box-shadow: 0px 0px 0px 0px #ea830e;
  }
}

@-moz-keyframes testim-scale {
  0% {
    -moz-box-shadow: 0px 0px 0px 0px #eee;
    box-shadow: 0px 0px 0px 0px #eee;
  }

  35% {
    -moz-box-shadow: 0px 0px 10px 5px #eee;
    box-shadow: 0px 0px 10px 5px #eee;
  }

  70% {
    -moz-box-shadow: 0px 0px 10px 5px #ea830e;
    box-shadow: 0px 0px 10px 5px #ea830e;
  }

  100% {
    -moz-box-shadow: 0px 0px 0px 0px #ea830e;
    box-shadow: 0px 0px 0px 0px #ea830e;
  }
}

@-ms-keyframes testim-scale {
  0% {
    -ms-box-shadow: 0px 0px 0px 0px #eee;
    box-shadow: 0px 0px 0px 0px #eee;
  }

  35% {
    -ms-box-shadow: 0px 0px 10px 5px #eee;
    box-shadow: 0px 0px 10px 5px #eee;
  }

  70% {
    -ms-box-shadow: 0px 0px 10px 5px #ea830e;
    box-shadow: 0px 0px 10px 5px #ea830e;
  }

  100% {
    -ms-box-shadow: 0px 0px 0px 0px #ea830e;
    box-shadow: 0px 0px 0px 0px #ea830e;
  }
}

@-o-keyframes testim-scale {
  0% {
    -o-box-shadow: 0px 0px 0px 0px #eee;
    box-shadow: 0px 0px 0px 0px #eee;
  }

  35% {
    -o-box-shadow: 0px 0px 10px 5px #eee;
    box-shadow: 0px 0px 10px 5px #eee;
  }

  70% {
    -o-box-shadow: 0px 0px 10px 5px #ea830e;
    box-shadow: 0px 0px 10px 5px #ea830e;
  }

  100% {
    -o-box-shadow: 0px 0px 0px 0px #ea830e;
    box-shadow: 0px 0px 0px 0px #ea830e;
  }
}

@keyframes testim-scale {
  0% {
    box-shadow: 0px 0px 0px 0px #eee;
  }

  35% {
    box-shadow: 0px 0px 10px 5px #eee;
  }

  70% {
    box-shadow: 0px 0px 10px 5px #ea830e;
  }

  100% {
    box-shadow: 0px 0px 0px 0px #ea830e;
  }
}

@-webkit-keyframes testim-content-in {
  from {
    opacity: 0;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@-moz-keyframes testim-content-in {
  from {
    opacity: 0;
    -moz-transform: translateY(100%);
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
}

@-ms-keyframes testim-content-in {
  from {
    opacity: 0;
    -ms-transform: translateY(100%);
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

@-o-keyframes testim-content-in {
  from {
    opacity: 0;
    -o-transform: translateY(100%);
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    -o-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes testim-content-in {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@-webkit-keyframes testim-content-out {
  from {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  to {
    opacity: 0;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
}

@-moz-keyframes testim-content-out {
  from {
    opacity: 1;
    -moz-transform: translateY(0);
    transform: translateY(0);
  }

  to {
    opacity: 0;
    -moz-transform: translateY(-100%);
    transform: translateY(-100%);
  }
}

@-ms-keyframes testim-content-out {
  from {
    opacity: 1;
    -ms-transform: translateY(0);
    transform: translateY(0);
  }

  to {
    opacity: 0;
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
  }
}

@-o-keyframes testim-content-out {
  from {
    opacity: 1;
    -o-transform: translateY(0);
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-100%);
    transform: translateY(-100%);
  }
}

@keyframes testim-content-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-100%);
  }
}

@-webkit-keyframes testim-show {
  from {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@-moz-keyframes testim-show {
  from {
    opacity: 0;
    -moz-transform: scale(0);
    transform: scale(0);
  }

  to {
    opacity: 1;
    -moz-transform: scale(1);
    transform: scale(1);
  }
}

@-ms-keyframes testim-show {
  from {
    opacity: 0;
    -ms-transform: scale(0);
    transform: scale(0);
  }

  to {
    opacity: 1;
    -ms-transform: scale(1);
    transform: scale(1);
  }
}

@-o-keyframes testim-show {
  from {
    opacity: 0;
    -o-transform: scale(0);
    transform: scale(0);
  }

  to {
    opacity: 1;
    -o-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes testim-show {
  from {
    opacity: 0;
    transform: scale(0);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@-webkit-keyframes testim-hide {
  from {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  to {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }
}

@-moz-keyframes testim-hide {
  from {
    opacity: 1;
    -moz-transform: scale(1);
    transform: scale(1);
  }

  to {
    opacity: 0;
    -moz-transform: scale(0);
    transform: scale(0);
  }
}

@-ms-keyframes testim-hide {
  from {
    opacity: 1;
    -ms-transform: scale(1);
    transform: scale(1);
  }

  to {
    opacity: 0;
    -ms-transform: scale(0);
    transform: scale(0);
  }
}

@-o-keyframes testim-hide {
  from {
    opacity: 1;
    -o-transform: scale(1);
    transform: scale(1);
  }

  to {
    opacity: 0;
    -o-transform: scale(0);
    transform: scale(0);
  }
}

@keyframes testim-hide {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0);
  }
}

@media all and (max-width: 300px) {
  body {
    font-size: 14px;
    width: 100%;
  }
}

@media all and (max-width: 500px) {
  .testim .arrow {
    font-size: 1.5em;
  }

  .testim .cont div p {
    line-height: 25px;
  }

}

/* Libro */
.card {
  position: relative;
  width: 350px;
  min-height: 350px;
  /*display: flex;
  justify-content: center;
  align-items: center;
  */
  transition: 0.5s;
  transition-delay: 0.5s;
  margin: 20px auto;
}

.card:hover {
  width: 600px;
  transition-delay: 0.5s;
}

.card .circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card .circle::before {
  content: "";
  position: absolute;
  top: 30;
  left: 2;
  right: 2;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: #191919;
  border: 8px solid var(--clr);
  /*filter: drop-shadow(0 0 10px var(--clr)) drop-shadow(0 0 60px var(--clr));*/
  transition: 0.5s, background 0.5s;
  transition-delay: 0.75s, 1s;
}

.card:hover .circle::before {
  transition-delay: 0.5s;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: var(--clr);
}

.card .circle .logo {
  position: relative;
  width: 250px;
  transition: 0.5s;
  transition-delay: 0.5s;
}

.card:hover .circle .logo {
  transform: scale(0);
  transition-delay: 0s;
}

.card .product_img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0) rotate(315deg);
  height: 300px;
  transition: 0.5s ease-in-out;
}

.card:hover .product_img {
  transition-delay: 0.75s;
  top: 55%;
  left: 82%;
  height: 320px;
  transform: translate(-50%, -50%) scale(1) rotate(15deg);
}

.card .content {
  position: absolute;
  width: 60%;
  left: 10%;
  padding: 20px 20px 20px 20px;
  opacity: 0;
  transition: 0.5s;
  visibility: hidden;
}

.card:hover .content {
  transition-delay: 0.75s;
  opacity: 1;
  visibility: visible;
  left: 3px;
  margin-top: 15px;
}

.card .content h2 {
  color: #fff;
  text-transform: uppercase;
  font-size: 2em;
  line-height: 1.3em;
}

.card .content p {
  color: #fff;
}

.card .content a {
  position: relative;
  color: #fff;
  background: #222222;
  padding: 10px 20px;
  border-radius: 10px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  margin-top: 15px;
}

/* Responsive media query code for max width 640px */
@media screen and (max-width: 640px) {

  .card .circle::before {
    width: 280px;
    height: 280px;
  }

  .card .circle .logo {
    width: 150px;

  }

  .card:hover {
    width: 100%;
  }

  .card .product_img {
    display: none;
  }

  .card .content {

    width: 100%;
  }

}

/*  Modal   */
.modal-window {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.25);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}

.modal-window:target {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.modal-window>div {
  width: 400px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 2em;
  background: white;
}

.modal-window a,
.modal-window a:visited,
.modal-window a:active {
  color: var(--primary-color);
}


.modal-window header {
  font-weight: bold;
}

.modal-window h1 {
  font-size: 150%;
  margin: 0 0 15px;
}

.modal-close {
  color: #aaa;
  line-height: 50px;
  font-size: 80%;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 70px;
  text-decoration: none;
}

.modal-close:hover {
  color: black;
}

.modal-window>div {
  border-radius: 1rem;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.05), 0 5px 15px 0 rgba(0, 0, 0, 0.05);
}

/* Cards*/
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 5px;
  justify-items: center;
}

.card {
  background-color: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 330px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.icon {
  /*
  display: flex;
  align-items: center;
  justify-content: center;
  */
  color: #1e2246;
  margin-bottom: 15px;
  gap: 10px;
}

.icon i {
  height: 64px;
  width: 64px;
  border-radius: 14px;
  font-size: 3rem;
}

.fa-youtube {
  color: #ff0033;
}

.fa-tiktok {
  color: var(--primary-color);
}

.fa-globe {
  color: var(--primary-color);
}

.title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

/* Default state for .count (not selected) */
.count,
.count:visited {
  display: block;
  text-decoration: none;
  color: #1e2246;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  padding: 10px 30px;
  margin-top: 40px;
  transition: background-color 0.3s ease;
}

/* Hover state */
.count:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* Selected state */
.count.selected {
  background-color: #1e2246;
  color: #fff;
  border: 2px solid #c2c5e2;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.footer {
  max-width: 845px;
  width: 100%;
  margin-bottom: -30px;
}

/* Responsive Design for Medium Screens (980px) */
@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .card {
    padding: 30px;
    max-width: 280px;
  }

  .icon {
    font-size: 2rem;
    gap: 8px;
  }

  .title {
    font-size: 1.1rem;
  }

  .count {
    font-size: 0.9rem;
  }
}

/* Responsive Design for Smaller Screens (768px and below) */
@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 20px;
  }
}

/* Extra Small Screen Adjustments */
@media (max-width: 480px) {
  .container {
    padding: 30px;
  }

  h1 {
    font-size: 28px;
  }

  .card {
    padding: 15px;
  }

  .title {
    font-size: 1rem;
  }

  .count {
    padding: 8px 20px;
    font-size: 0.8rem;
  }
}


/****** Player *********/
.player {
  width: 60%;
  max-width: 50rem;
  border: 0.25rem solid rgba(0, 0, 0, 0.445);
  position: relative;
  font-size: 0;
  overflow: hidden;
}

.player_video {
  width: 100%;
  cursor: pointer;
}

.fa {
  color: white;
  font-size: 1rem;
}

.fa-play:hover,
.fa-pause:hover,
.fa-stop:hover,
.fa-volume-up:hover,
.fa-fast-backward:hover,
.fa-fast-forward:hover {
  color: dodgerblue;
  cursor: pointer;
}

.player_button {
  background: none;
  border: 0;
  line-height: 1;
  color: white;
  text-align: center;
  outline: 0;
  padding: 0;
  cursor: pointer;
  max-width: 50px;
  font-size: 1rem;
}

.player_button:focus,
.player_button:hover {
  border-color: #ffc600;
  border-color: blue;
}

.player_slider {
  width: 0.75rem;
  height: 3rem;
}

.player_controls {
  display: flex;
  position: absolute;
  bottom: 0;
  width: 100%;
  transform: translateY(100%) translateX(-5px);
  transition: all 0.3s;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.1);
  padding: 0 1.5rem;
}

.player:hover .player_controls {
  transform: translateY(0);
}

.player:hover .progress-range {
  height: 0.75rem;
}

.right-controls {
  display: flex;
  justify-content: flex-end;
}

.left-controls {
  display: flex;
  justify-content: flex-start;
}

.player_controls>* {
  flex: 1;
}

.progress-range {
  flex: 10;
  position: relative;
  display: flex;
  flex-basis: 100%;
  height: 1.5em;
  transition: height 0.3s;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.progress-bar {
  background: dodgerblue;
  width: 50%;
  height: 100%;
  border-radius: 1.5em;
  transition: all 250ms ease;
}

.player:fullscreen {
  max-width: none;
  width: 100%;
}

.player:-webkit-full-screen {
  /*CHROME*/
  max-width: none;
  width: 100%;
}

.player:-moz-full-screen {
  /*FIREFOX*/
  max-width: none;
  width: 100%;
}

.time {
  text-align: right;
  position: relative;
  top: 0.85em;
  padding-left: 0.5em;
  margin-right: 1em;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  /* user-select: none; */
}

.time-elapsed,
.fa-fast-forward {
  padding-left: 0.75em;
}

/**/
/*css to style input type="range"*/
input[type='range'] {
  -webkit-appearance: none;
  background: transparent;
  width: 40%;
  margin: 0 20px;
}

input[type='range']:focus {
  outline: none;
}

input[type='range']::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0), 0 0 1px rgba(13, 13, 13, 0);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  border: 0.2px solid rgba(1, 1, 1, 0);
}

input[type='range']::-webkit-slider-thumb {
  height: 0.75em;
  width: 1em;
  border-radius: 0.25em;
  background: dodgerblue;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -4px;
  box-shadow: 0 0 2px rgb(15, 14, 80);
}

input[type='range']::-moz-range-track {
  /*?*/
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0), 0 0 1px rgba(13, 13, 13, 0);
  background: #ffffff;
  border-radius: 1.3px;
  border: 0.2px solid rgba(1, 1, 1, 0);
}

input[type='range']::-moz-range-thumb {
  /*?*/
  box-shadow: 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(13, 13, 13, 0);
  height: 12px;
  width: 17px;
  border-radius: 50px;
  /* background: #ffc600; */
  background: blue;
  cursor: pointer;
}

@media (max-width: 827px) {
  .fa {
    color: white;
    font-size: 0.9rem;
  }

  button+button {
    margin-left: 0;
  }

  .time {
    padding-left: 0;
    margin-right: 0.5em;
  }

  .time-elapsed,
  .fa-fast-forward {
    padding-left: 0.75em;
  }

  .player {
    width: 80%;
  }
}

@media (max-width: 600px) {
  .player {
    width: 95%;
  }
}

.video_vimeo{
  min-width: 450px;
  min-height: 320px;
}

/* tablet breakpoint */
@media (min-width:768px) {
  .video_vimeo{
    width: 1280px;
    height: 720px;
  }
}