/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

html {
  font-size: 62.5%;
  /* 1rem = 10px */
  scroll-behavior: smooth;
}

:root {
  /* Font sizes and family */
  /* when setting html font size to 62.5%, so 1rem = 10px */

  --body-font: 'Poppins', sans-serif;

  --big-font: 4rem;
  --h1-font: 3.6rem;
  --h2-font: 2.4rem;
  --h3-font: 2rem;
  --h4-font: 1.8rem;
  --normal-font: 1.6rem;
  --small-font: 1.4rem;
  --smaller-font: 1.3rem;

  /* Font Weight ***/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /* Color Variables */
  --primary-color: #40A629;
  --primary-color-hover: #247C26;
  --text-color: #333;
  --text-color-light: #888682;
  --border-color: #484848;
  --white-color: #FFF;
  --section-bg: #2C3034;

  /* z-index */
  --z-overlay: 10;
  --z-fixed: 100;

  /* transition */
  --tran-0-2: 0.2s;
  --tran-0-3: 0.3s;
  --tran-0-5: 0.5s;
}

/*===================Font sizes For Small Screen 968px ===================*/
@media screen and (max-width: 990px) {
  :root {
    --big-font: 3.5rem;
    --h1-font: 2.4rem;
    --h2-font: 2rem;
    --h3-font: 1.8rem;
    --h4-font: 1.6rem;
    --normal-font: 1.5rem;
    --small-font: 1.3rem;
    --smaller-font: 1.2rem;
  }
}


/*=================== Pre-CSS ===================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  background-color: var(--white-color);
}

/*=================== Custom Scrollbar ===================*/
::selection {
  background-color: var(--primary-color);
  color: var(--white-color);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background-color: #f9f1ec;
}

::-webkit-scrollbar-thumb {
  border-radius: 1rem;
  background-color: var(--primary-color);
}

::-webkit-scrollbar-thumb:hover {
  border-radius: 1rem;
  background-color: var(--primary-color-hover)
}

body,
button,
input {
  font-family: var(--body-font);
  font-size: var(--normal-font);
  font-weight: var(--font-regular);
  color: var(--text-color);
}

input {
  outline: none;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*=================== Reusuable CSS ===================*/
.section {
  padding: 7rem 2rem;
}

.container {
  max-width: 1030px;
  width: 100%;
  margin: 0 auto;
  padding: 0 3rem;
}

.flex {
  display: flex;
  align-items: center;
  column-gap: 0.6rem;
}

.button {
  border: none;
  outline: none;
  color: var(--white-color);
  padding: 1.4rem 4rem;
  border-radius: 3rem;
  background-color: var(--primary-color);
  transition: var(--tran-0-3);
  cursor: pointer;
}

.button:hover {
  background-color: var(--primary-color-hover);
}

.section-subtitle,
.content-subtitle {
  color: var(--primary-color);
  font-size: var(--normal-font);
  letter-spacing: 1px;
  font-weight: var(--font-medium);
  text-align: center;
}

.section-title,
.content-title {
  text-align: center;
  font-size: var(--h2-font);
  font-weight: var(--font-medium);
  margin: 1rem 0;
}

.section-description,
.content-description {
  text-align: center;
  margin-bottom: 2rem;
}

.section-description {
  padding: 0 16rem;
}

.content-subtitle {
  color: var(--primary-color);
  font-size: var(--normal-font);
  letter-spacing: 1px;
  font-weight: var(--font-medium);
  text-align: center;
}

.content-title {
  text-align: center;
  font-size: var(--h2-font);
  font-weight: var(--font-medium);
  margin: 1rem 0;
}

.content-description {
  text-align: center;
  margin-bottom: 2rem;
}

/*=================== Header ===================*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  height: 7rem;
  width: 100%;
  z-index: var(--z-fixed);
  transition: var(--tran-0-5);
}

.header-active {
  height: 6rem;
  background-color: var(--white-color);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/*=================== nav ===================*/
.nav {
  position: relative;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.logo-texts {
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

.txt {
  font-size: var(--h3-font);
  text-transform: capitalize;
  font-weight: var(--font-semi-bold);
}

.txt-second {
  font-size: 8.1px;
  text-transform: capitalize;
}

.logo {
  width: 50px;
}

.header-active .txt,
.header-active .txt-second,
.header-active .nav-link,
.header-active .phone-icon,
.header-active .phone-number,
.header-active .btn-navOpen {
  color: var(--text-color);
}

.logo-texts,
.nav-link,
.phone-icon,
.phone-number {
  color: var(--white-color);
  transition: var(--tran-0-2);
}

.nm .logo-texts,
.nm .nav-link,
.nm .phone-icon,
.nm .phone-number {
  color: var(--text-color);
  transition: var(--tran-0-2);
}

.nav-link:hover {
  color: var(--primary-color-hover);
}

.phone-icon {
  font-size: 2rem;
}

.menu-list {
  column-gap: 2rem;
}

.nav-link {
  position: relative;
  text-transform: capitalize;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background-color: var(--white-color);
  transform: translateX(-50%);
  opacity: 0;
}

.active-navlink::before {
  opacity: 1;
}

.header-active .active-navlink::before {
  background-color: var(--text-color);
}

.btn-navClose,
.btn-navOpen {
  display: none;
}

/*=================== Nav Responsive ===================*/
@media screen and (max-width: 950px) {

  .contact-content {
    display: none;
  }

  .btn-navClose,
  .btn-navOpen {
    display: block;
  }

  .nav .menu-content {
    position: fixed;
    top: 0;
    right: -100%;
    max-width: 300px;
    width: 100%;
    height: 100%;
    z-index: var(--z-fixed);
    padding-top: 10rem;
    background-color: var(--white-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: var(--tran-0-5);
  }

  .nav .menu-content.open {
    right: 0;
  }

  .menu-list {
    flex-direction: column;
    row-gap: 2.5rem;
    font-size: var(--h4-font);
  }

  .nav-link {
    color: var(--text-color);
  }

  .nav-link::before {
    background-color: var(--text-color);
  }

  .btn-navClose {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    cursor: pointer;
  }

  .btn-navOpen {
    font-size: 2rem;
    cursor: pointer;
    color: var(--white-color);
  }
}



/*=================== About ===================*/
.about .content-title,
.about .content-description {
  text-align: left;
}

.about-content {
  column-gap: 7rem;
  align-items: center;
  padding: 6rem 5rem 0 5rem;
}


.about-details {
  display: grid;
  grid-template-columns: 1fr 350px;
  align-items: start;
  column-gap: 4rem;
}

.about-images {
  display: grid;
  grid-template-rows: repeat(3, 200px);
  row-gap: 20px;
}

.about-logo {
  object-fit: contain;
}

/*=================== Administracion ===================*/
.admin {
  background-color: var(--section-bg);
}

.admin-title {
  text-align: center;
  margin-bottom: 4rem;
  color: var(--white-color);
}

.admin-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 40px;
  color: var(--white-color);
}

.rol {
  flex-direction: column;
}

.rol-iconUs {
  font-size: 5rem;
  color: var(--white-color);
}

.name {
  text-transform: capitalize;
  font-size: var(--h4-font);
  font-weight: var(--font-regular);
}

.cargo {
  color: var(--primary-color);
}

/*=================== Socios ===================*/
.socios-title {
  text-align: center;
}


.socios-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(7, 1fr);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-name {
  text-transform: uppercase;
  font-size: var(--h4-font);
  font-weight: var(--font-medium);
}

.card-logo {
  color: var(--text-color-light);
}


/*=================== Footer ===================*/
.footer {
  padding: 4rem 2rem 3rem;
  background-color: var(--section-bg);
}

.footer .content-description,
.footer .map-icon,
.footer .location-text {
  color: var(--white-color);
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 2rem;
  align-items: center;
}

.footer-content {
  display: grid;
  row-gap: 3rem;
}

.footer .logo-text,
.footer .logo-icon {
  color: var(--white-color);
  font-size: 2rem;
  font-weight: var(--font-medium);
}


.logo-text-footer {
  display: flex;
  flex-direction: column;
  color: var(--white-color);
}


.footer .content-description,
.footer .location-text {
  text-align: left;
  font-size: var(--small-font);
}

.footer .map-icon {
  font-size: 3rem;
  margin-right: 1rem;
}

.footer-linkContent {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
}

.footer-links {
  display: grid;
  row-gap: 1rem;
  font-weight: var(--font-medium);
  color: var(--white-color);
}

.footer-link {
  font-size: var(--small-font);
  color: rgba(255, 255, 255, 0.5);
  transition: var(--tran-0-3);
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-copyRight {
  max-width: 970px;
  margin: 0 auto;
  text-align: center;
  padding-top: 3rem;
  margin-top: 3rem;
  font-size: var(--small-font);
  border-top: 2px solid var(--text-color-light);
  color: rgba(255, 255, 255, 0.8);
  ;
}




/*=================== Scroll Up ===================*/
.scrollUp-btn {
  position: fixed;
  bottom: -30%;
  right: 3rem;
  height: 3rem;
  width: 3rem;
  font-size: 2rem;
  border-radius: 4px;
  color: var(--primary-color-hover);
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  background-color: var(--white-color);
  z-index: var(--z-overlay);
  justify-content: center;
  transition: var(--tran-0-3);
}

.scrollUpBtn-active {
  bottom: 3rem;
}

.scrollUp-icon {
  opacity: 0.9;
  transition: var(--tran-0-3);
}

.scrollUp-btn:hover .scrollUp-icon {
  opacity: 1;
}


/*=================== Responsive Media ===================*/
@media screen and (max-width: 1150px) {
  .swiper-button-prev {
    left: 10rem;
  }

  .swiper-button-next {
    right: 10rem;
  }

}

@media screen and (max-width: 1000px) {
  .swiper-button-prev {
    left: 3rem;
  }

  .swiper-button-next {
    right: 3rem;
  }

  .section-description {
    padding: 0 8rem;
  }

  .about-content {
    padding: 1rem 5rem 0 5rem;
  }

  .about .content-title {
    text-align: center;
  }

  .about-details {
    grid-template-columns: 1fr;
  }


  .about-images {
    display: none;
  }
}

@media screen and (max-width: 860px) {

  .admin-roles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 40px;
    color: var(--white-color);
  }

  .socios-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(11, 1fr);
  }

}

@media screen and (max-width: 768px) {

  .swiper-navBtn {
    visibility: hidden;
  }

  .swiper-pagination-bullet {
    visibility: visible;
  }

  .section {
    padding: 7rem 1rem;
  }

  .footer-container {
    row-gap: 1.5rem;
  }
}

@media screen and (max-width: 690px) {


  .socios-cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(15, 1fr);
  }

}

@media screen and (max-width: 600px) {
    
  .container {
    padding: 3rem;
  }
  
  .nav {
    padding: 0 2rem;
  }

  .admin-roles {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 40px;
    color: var(--white-color);
  }

  .footer .content-description {
    text-align: center;
    width: 70%;
  }

  .footer-container {
    grid-template-columns: 1fr;
    row-gap: 6rem;
  }

  .footer-content {
    justify-items: center;
  }

  .footer-linkContent {
    justify-items: center;
  }

}

@media screen and (max-width: 400px) {
  .nav {
    padding: 0 2rem;
  }
  
  .homeTitle {
    font-size: 3rem;
  }

  .footer .content-description {
    text-align: center;
    width: 70%;
  }

  .footer-linkContent {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    justify-items: start;
    align-items: start;
  }
}