/*

TemplateMo 581 Kind Heart Charity

https://templatemo.com/tm-581-kind-heart-charity

*/



@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-Regular.woff2') format('woff2'),
        url('../fonts/Metropolis/Metropolis-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-Light.woff2') format('woff2'),
        url('../fonts/Metropolis/Metropolis-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-SemiBold.woff2') format('woff2'),
        url('../fonts/Metropolis/Metropolis-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-Bold.woff2') format('woff2'),
        url('../fonts/Metropolis/Metropolis-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
    --white-color: #ffffff;
    --primary-color: #0088cc;
    --secondary-color: #5a6f80;
    --section-bg-color: #f0f8ff;
    --site-footer-bg-color: #44525d;
    --custom-btn-bg-color: #fff;
    --custom-btn-bg-hover-color: #5bc1ac;
    --dark-color: #000000;
    --p-color: #5a6f80;
    --border-color: #e9eaeb;

    --body-font-family: 'Metropolis', sans-serif;

    --h1-font-size: 52px;
    --h2-font-size: 46px;
    --h3-font-size: 32px;
    --h4-font-size: 28px;
    --h5-font-size: 24px;
    --h6-font-size: 22px;
    --p-font-size: 16px;
    --btn-font-size: 18px;
    --copyright-font-size: 14px;

    --border-radius-large: 6px;
    --border-radius-medium: 6px;
    --border-radius-small: 4px;

    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

body {
    background-color: var(--white-color);
    font-family: var(--body-font-family);
}


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-weight-semibold);
    letter-spacing: -1px;
}

h1 {
    font-size: var(--h1-font-size);
    font-weight: var(--font-weight-bold);
    letter-spacing: -2px;
}

h2 {
    color: var(--secondary-color);
    font-size: var(--h2-font-size);
    letter-spacing: -2px;
}

h3 {
    font-size: var(--h3-font-size);
}

h4 {
    font-size: var(--h4-font-size);
}

h5 {
    color: var(--primary-color);
    font-size: var(--h5-font-size);
}

h6 {
    font-size: var(--h6-font-size);
}

p {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-light);
}

ul li {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-normal);
}

a,
button {
    touch-action: manipulation;
    transition: all 0.3s;
}

a {
    color: var(--p-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-color);
}

b,
strong {
    font-weight: var(--font-weight-bold);
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-bg {
    background-color: var(--section-bg-color);
}

.section-overlay {
    background: rgba(0, 0, 0, 0.35);
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

.section-overlay+.container {
    position: relative;
}


/*---------------------------------------
  CUSTOM BLOCK               
-----------------------------------------*/
.custom-block-wrap {
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
    transition: all 0.5s;
}

.custom-block-wrap:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
}

.custom-block-body {
    padding: 30px;
}

.custom-block-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-block .custom-btn {
    border-radius: 0;
    display: block;
}


/*---------------------------------------
  PROGRESS BAR               
-----------------------------------------*/
.progress {
    background: var(--border-color);
    height: 5px;
}

.progress-bar {
    background: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM ICON COLOR               
-----------------------------------------*/
.custom-icon {
    color: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM LIST               
-----------------------------------------*/
.custom-list {
    margin-bottom: 0;
    padding-left: 0;
}

.custom-list-item {
    list-style: none;
    margin-top: 10px;
    margin-bottom: 10px;
    color: var(--custom-btn-bg-hover-color);
}


/*---------------------------------------
  CUSTOM TEXT BOX               
-----------------------------------------*/
.custom-text-box {
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    margin-bottom: 24px;
    padding: 40px;
}

.parrafo{
    color: var(--dark-color);
}

.custom-text-box-image {
    border-radius: var(--border-radius-medium);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-text-box-icon {
    background: var(--section-bg-color);
    border-radius: var(--border-radius-large);
    color: var(--secondary-color);
    font-size: var(--h6-font-size);
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    width: 25px;
    height: 25px;
    line-height: 30px;
}


/*---------------------------------------
  AVATAR IMAGE - TESTIMONIAL, AUTHOR               
-----------------------------------------*/
.avatar-image {
    border-radius: var(--border-radius-large);
    width: 65px;
    height: 65px;
    object-fit: cover;
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
    background: var(--secondary-color);
    border: 2px solid transparent;
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-size: var(--btn-font-size);
    font-weight: var(--font-weight-normal);
    line-height: normal;
    padding: 15px 25px;
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn {
    color: var(--custom-btn-bg-color);
    margin-top: 8px;
    padding: 12px 25px;
}

.custom-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.custom-border-btn {
    background: transparent;
    border: 2px solid var(--custom-btn-bg-color);
    color: var(--primary-color);
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn:hover,
.custom-border-btn:hover {
    background: var(--custom-btn-bg-hover-color);
    border-color: transparent;
    color: var(--white-color);
}


/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.navbar {
    background: var(--white-color);
    z-index: 9;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand {
    color: var(--primary-color);
    font-size: var(--h6-font-size);
    font-weight: var(--font-weight-bold);
}

.navbar-brand span {
    display: inline-block;
    vertical-align: middle;
}

.navbar-brand small {
    color: var(--secondary-color);
    display: block;
    font-size: 10px;
    line-height: normal;
    text-transform: uppercase;
}

.logo {
    width: 80px;
    height: auto;
}

.navbar-expand-lg .navbar-nav .nav-link {
    margin-right: 0;
    margin-left: 0;
    padding: 20px;
}

.navbar-nav .nav-link {
    display: inline-block;
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-medium);
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    background: transparent;
    color: var(--primary-color);
}

.dropdown-menu {
    background: var(--white-color);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
    border: 0;
    max-width: 50px;
    padding: 0;
    margin-top: 20px;
}

.dropdown-item {
    display: inline-block;
    color: var(--p-bg-color);
    font-size: var(--menu-font-size);
    font-weight: var(--font-weight-medium);
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
}

.dropdown-menu li:last-child .dropdown-item {
    padding-top: 0;
}

.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:focus,
.dropdown-item:hover {
    background: transparent;
    color: var(--primary-color);
}

.dropdown-toggle::after {
    content: "\f282";
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-size: var(--copyright-font-size);
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    left: 2px;
    border: 0;
}

@media screen and (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.navbar-toggler {
    border: 0;
    padding: 0;
    cursor: pointer;
    margin: 0;
    width: 30px;
    height: 35px;
    outline: none;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
    transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
    background: var(--dark-color);
    transition: background 10ms 300ms ease;
    display: block;
    width: 30px;
    height: 2px;
    position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
    transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
    position: absolute;
    right: 0;
    left: 0;
    background: var(--dark-color);
    width: 30px;
    height: 2px;
    content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
    top: 8px;
}


/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
    background: var(--white-color);
    padding-top: 15px;
    padding-bottom: 10px;
}

.site-header p,
.site-header p a,
.site-header .social-icon-link {
    color: var(--primary-color);
    font-size: var(--copyright-font-size);
}

.site-header .social-icon {
    text-align: right;
}

.site-header .social-icon-link {
    background: transparent;
    width: inherit;
    height: inherit;
    line-height: inherit;
    margin-right: 15px;
}


/*---------------------------------------
  HERO & HERO SLIDE         
-----------------------------------------*/
.hero-section-full-height {
    height: 72vh;
    min-height: 460px;
    max-height: 760px;
    position: relative;
    overflow: hidden;
}

.carousel:hover .carousel-control-next-icon,
.carousel:hover .carousel-control-prev-icon {
    opacity: 1;
}

#hero-slide .carousel-item {
    height: 72vh;
    min-height: 460px;
    max-height: 760px;
}

#hero-slide .carousel-caption {
    
    /* Triángulo invertido horizontalmente */
    
    color: var(--secondary-color);
    top: 1px;
    bottom: 20px;
    left: 0;
    right: auto;
    text-align: left;
    justify-content: center;
    max-width: 780px;
    min-width: 0;
    padding: 0 100px;
}

.carousel-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

#hero-slide .carousel-indicators-wrap {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
}

#hero-slide .carousel-indicators {
    margin-right: 0;
    margin-left: 22px;
    justify-content: inherit;
}

.carousel-control-prev,
.carousel-control-next {
    top: auto;
    bottom: 28px;
    left: auto;
    width: auto;
    height: auto;
    padding: 0;
    opacity: 1;
    z-index: 5;
}

.carousel-control-prev { right: 84px; }
.carousel-control-next { right: 28px; }

.carousel-control-next-icon,
.carousel-control-prev-icon {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background-size: 40% 40%;
    width: 44px;
    height: 44px;
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-control-next-icon:hover,
.carousel-control-prev-icon:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}


/*---------------------------------------
  FEATURE BLOCK              
-----------------------------------------*/
.featured-block {
    text-align: center;
    transition: all 0.5s ease;
    min-height: 256px;
    padding: 15px;
}

.featured-block:hover {
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
}

.featured-block-icon {
    display: block;
    font-size: 56px;
    line-height: 1;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.featured-block:hover .featured-block-icon {
    color: var(--secondary-color);
}

.featured-block:hover .featured-block-text {
    margin-top: 0;
}

.featured-block-text {
    color: var(--primary-color);
    font-size: var(--h5-font-size);
    margin-top: 20px;
    transition: all 0.5s;
}


/*---------------------------------------
  ABOUT              
-----------------------------------------*/
.about-section {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.about-image {
    border-radius: var(--border-radius-medium);
    display: block;
    width: 350px;
    height: 400px;
    object-fit: cover;
}

.custom-text-block {
    padding: 60px 40px;
}


/*---------------------------------------
  COUNTER NUMBERS              
-----------------------------------------*/
.counter-thumb {
    margin: 20px;
    margin-bottom: 0;
}

.counter-number {
    color: var(--white-color);
    display: block;
}

.counter-text {
    color: var(--secondary-color);
    display: block;
    font-size: 15px;
    line-height: 1.4;
}

.counter-number,
.counter-number-text {
    color: var(--primary-color);
    font-size: var(--h1-font-size);
    font-weight: var(--font-weight-bold);
    line-height: normal;
}


/*---------------------------------------
  VOLUNTEER              
-----------------------------------------*/
.volunteer-section {
    background: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.volunteer-section::after {
    content: "";
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    bottom: -110px;
    right: -80px;
    width: 350px;
    height: 350px;
}

.volunteer-form {
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    padding: 50px;
}

.volunteer-image {
    border-radius: 100%;
    display: block;
    margin: auto;
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.volunteer-section .custom-block-body {
    max-width: 440px;
    margin: 0 auto;
}

.volunteer-section .custom-block-body p {
    line-height: 1.7;
}


/*---------------------------------------
  DONATE              
-----------------------------------------*/
.donate-section {
    background-image: url('../images/different-people-doing-volunteer-work.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding-top: 150px;
    padding-bottom: 150px;
}

.donate-form {
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
    padding: 50px;
}


/*---------------------------------------
  NEWS         
-----------------------------------------*/
.news-detail-header-section {
    background-image: url('../images/news/close-up-volunteer-oganizing-stuff-donation.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding-top: 150px;
    padding-bottom: 150px;
}

.news-block-top {
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
}

.news-block-two-col-image-wrap {
    border-radius: var(--border-radius-small);
    position: relative;
    overflow: hidden;
    width: 150px;
    margin-right: 20px;
}

.news-category-block {
    background: var(--secondary-color);
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 10px 20px;
}

.news-category-block .category-block-link {
    color: var(--white-color);
    margin-right: 10px;
}

.news-block-info {
    padding-top: 10px;
    padding-bottom: 10px;
}

.news-block-title-link {
    color: var(--dark-color);
}

.news-detail-image {
    display: block;
    border-radius: var(--border-radius-medium);
}

blockquote {
    background: var(--section-bg-color);
    border-radius: var(--border-radius-small);
    font-size: var(--h5-font-size);
    font-weight: var(--font-weight-semibold);
    color: var(--site-footer-bg-color);
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 90px 50px 50px 50px;
    text-align: center;
}

blockquote::before {
    content: "“";
    color: var(--custom-btn-bg-color);
    font-size: 100px;
    line-height: 1rem;
    display: block;
}

.author-comment-link {
    font-size: var(--copyright-font-size);
    font-weight: var(--font-weight-semibold);
}

.search-form {
    margin-top: 20px;
}

.category-block,
.subscribe-form {
    margin-top: 40px;
    margin-bottom: 40px;
}

.category-block-link {
    font-size: var(--copyright-font-size);
    margin-top: 5px;
    margin-bottom: 5px;
}

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

.badge {
    background: var(--secondary-color);
    border-radius: var(--border-radius-medium);
    font-weight: var(--font-weight-normal);
    line-height: normal;
    padding-bottom: 2px;
}

.tags-block-link {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    display: inline-block;
    font-size: var(--copyright-font-size);
    line-height: normal;
    margin-right: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 8px 15px;
}

.tags-block-link:hover {
    border-color: var(--dark-color);
    color: var(--dark-color);
}

.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: -100px;
    left: -30px;
    margin: auto;
    width: 200px;
    height: 200px;
}

.cta-section::after {
    content: "";
    border: 20px solid var(--custom-btn-bg-color);
    border-radius: 50%;
    position: absolute;
    bottom: -100px;
    right: 0;
    left: 0;
    margin: auto;
    width: 150px;
    height: 150px;
}


/*---------------------------------------
  TESTIMONIAL CAROUSEL              
-----------------------------------------*/
.testimonial-section {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.testimonial-section::before {
    content: "";
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: -100px;
    left: -30px;
    margin: auto;
    width: 250px;
    height: 250px;
}

.testimonial-section::after {
    content: "";
    background: var(--custom-btn-bg-color);
    border-radius: 50%;
    position: absolute;
    bottom: -110px;
    right: -80px;
    width: 350px;
    height: 350px;
}

#testimonial-carousel .carousel-caption {
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
}

#testimonial-carousel .carousel-title {
    background: var(--section-bg-color);
    line-height: normal;
    margin-bottom: 30px;
}

#testimonial-carousel .carousel-title::before {
    content: open-quote;
    color: var(--p-color);
    font-size: var(--h1-font-size);
    position: relative;
    top: 10px;
    right: 10px;
}

#testimonial-carousel .carousel-title::after {
    content: close-quote;
    color: var(--p-color);
    font-size: var(--h1-font-size);
    position: relative;
    top: 10px;
    left: 10px;
}

#testimonial-carousel .carousel-title {
    quotes: "“" "”" "‘" "’";
}

#testimonial-carousel .carousel-name {
    background: var(--primary-color);
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
    padding: 10px 20px;
}

#testimonial-carousel .carousel-name::before {
    content: "";
    position: absolute;
    top: -10px;
    right: 0;
    left: 0;
    width: 0;
    height: 0;
    margin: auto;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--primary-color);
}

.carousel-name-title {
    font-weight: var(--font-weight-semibold);
}

#testimonial-carousel .carousel-indicators {
    position: relative;
    top: 150px;
    bottom: auto;
    margin-top: 50px;
    margin-bottom: 150px;
}

#testimonial-carousel .carousel-indicators li {
    text-indent: inherit;
    background: transparent;
    margin: 0 10px;
}

#testimonial-carousel .carousel-indicators li,
#testimonial-carousel .carousel-indicators li::before {
    width: 45px;
    height: 45px;
}

#testimonial-carousel .carousel-indicators .avatar-image {
    width: 45px;
    height: 45px;
}

#testimonial-carousel .carousel-indicators .active,
#testimonial-carousel .carousel-indicators .active .avatar-image {
    background: transparent;
    width: 50px;
    height: 50px;
}


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.contact-section {
    background: var(--white-color);
}

.contact-form {
    background: var(--section-bg-color);
    border-radius: var(--border-radius-small);
    padding: 40px;
}

.contact-info-wrap {
    padding-top: 40px;
}

.contact-image-wrap {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    width: 100%;
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control,
.input-group-file {
    background-color: var(--section-bg-color);
    box-shadow: none;
    border: 0;
    color: var(--p-color);
    margin-bottom: 24px;
    padding-top: 13px;
    padding-bottom: 13px;
    outline: none;
}

.custom-form .form-control:hover,
.custom-form .form-control:focus {
    border-color: var(--secondary-color);
}

.custom-form label {
    margin-bottom: 10px;
}

.custom-form .form-check-group {
    margin-bottom: 20px;
}

.donate-form .form-check-group-donation-frequency {
    padding-right: 0;
}

.form-check-group-donation-frequency+.form-check-group-donation-frequency {
    padding-right: 12px;
    padding-left: 0;
}

.form-check-group-donation-frequency .form-check-label {
    font-weight: var(--font-weight-semibold);
}

#DonationFrequencyOne {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#DonationFrequencyMonthly {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.custom-form .form-check-radio {
    position: relative;
    height: 100%;
    padding-left: 0;
}

.custom-form .input-group-text {
    background: var(--secondary-color);
    border: 0;
    color: var(--white-color);
}

.custom-form .form-check-radio .form-check-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.form-check-radio .form-check-input[type=radio] {
    background-color: var(--section-bg-color);
    border-radius: .25rem;
    border: 0;
    box-shadow: none;
    outline: none;
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    padding: 25px 50px;
    transition: all 0.5s;
}

.form-check-radio .form-check-input:checked[type=radio] {
    background-image: none;
}

.form-check-radio .form-check-input:checked[type=radio]+.form-check-label,
.form-check-radio .form-check-input:hover+.form-check-label,
.form-check-radio .form-check-input:checked+.form-check-label {
    color: var(--white-color);
}

.form-check-radio .form-check-input:hover,
.form-check-radio .form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--white-color);
}

.input-group-file {
    border-radius: .25rem;
    padding: 13px .75rem;
}

.input-group-file input[type=file] {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
    padding: 0;
}

.input-group-file .input-group-text {
    background: transparent;
    color: inherit;
    margin-bottom: 0;
    padding: 0;
}

.custom-form button[type="submit"] {
    background: var(--custom-btn-bg-color);
    border: none;
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s;
    margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
    background: var(--custom-btn-bg-hover-color);
    border-color: transparent;
}


/*---------------------------------------
  CONTACT SEARCH & DONATE & SUBCRIBE FORM              
-----------------------------------------*/
.contact-form .form-control {
    background: var(--white-color);
}

.search-form {
    position: relative;
}

.search-form .form-control {
    padding-right: 50px;
}

.search-form button[type="submit"] {
    background: transparent;
    position: absolute;
    top: 0;
    right: 0;
    color: var(--p-color);
    width: 50px;
    padding: 12px;
}

.search-form button[type="submit"]:hover {
    background: transparent;
    color: var(--dark-color);
}

.subscribe-form {
    background: var(--section-bg-color);
    border-radius: var(--border-radius-small);
    padding: 30px;
}

.subscribe-form .form-control {
    background: var(--white-color);
}

.donate-form .form-control {
    margin-bottom: 0;
}


/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
    background-color: var(--site-footer-bg-color);
    padding-top: 70px;
}

.site-footer-bottom {
    background-color: var(--secondary-color);
    position: relative;
    z-index: 2;
    margin-top: 70px;
    padding-top: 25px;
    padding-bottom: 25px;
}

.site-footer-bottom a {
    color: var(--white-color);
}

.site-footer-bottom a:hover {
    color: #FF6;
}

.site-footer-link {
    color: var(--white-color);
}

.copyright-text {
    color: var(--section-bg-color);
    font-size: var(--copyright-font-size);
    margin-right: 30px;
}

.site-footer .custom-btn {
    font-size: var(--copyright-font-size);
}

.site-footer .custom-btn:hover {
    background: var(--primary-color);
}


/*---------------------------------------
  FOOTER MENU               
-----------------------------------------*/
.footer-menu {
    column-count: 2;
    margin: 0;
    padding: 0;
}

.footer-menu-item {
    list-style: none;
    display: block;
}

.footer-menu-link {
    font-size: var(--p-font-size);
    color: var(--white-color);
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    margin-bottom: 5px;
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
    margin: 0;
    padding: 0;
}

.social-icon-item {
    list-style: none;
    display: inline-block;
    vertical-align: top;
}

.social-icon-link {
    background: var(--site-footer-bg-color);
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-size: var(--copyright-font-size);
    display: block;
    margin-right: 5px;
    text-align: center;
    width: 35px;
    height: 35px;
    line-height: 38px;
}

.social-icon-link:hover {
    background: var(--primary-color);
    color: var(--white-color);
}


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
    .featured-block {
        min-height: inherit;
    }

    .volunteer-section::after {
        width: 450px;
        height: 450px;
    }

    .volunteer-image {
        width: 350px;
        height: 350px;
    }
}

@media screen and (max-width: 1170px) {
    #hero-slide .carousel-image {
        height: 100%;
        object-fit: cover;
    }
}

@media screen and (max-width: 991px) {
    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 32px;
    }

    h4 {
        font-size: 28px;
    }

    h5 {
        font-size: 20px;
    }

    h6 {
        font-size: 18px;
    }

    .section-padding {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .hero-form {
        padding-bottom: 40px;
    }

    .donate-form {
        padding: 35px;
    }

    .navbar {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .navbar-expand-lg .navbar-nav {
        padding-bottom: 30px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 8px 20px;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
        position: relative;
        margin-top: 5px;
        margin-bottom: 20px;
        left: 20px;
    }

    .site-header .social-icon {
        text-align: left;
        margin-top: 5px;
    }

    .hero-section-full-height,
    #hero-slide .carousel-item {
        height: 62vh;
        min-height: 420px;
    }

    .carousel:hover .carousel-control-next-icon,
    .carousel:hover .carousel-control-prev-icon {
        opacity: 1;
    }

    .carousel-control-prev {
        left: auto;
        right: 68px;
    }

    .carousel-control-next {
        right: 16px;
    }

    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        opacity: 1;
        width: 40px;
        height: 40px;
    }

    .news-detail-header-section {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .cta-section::before {
        width: 150px;
        height: 150px;
    }

    .cta-section::after {
        bottom: -60px;
        width: 100px;
        height: 100px;
    }

    .cta-section .row {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .volunteer-section::after {
        width: 300px;
        height: 300px;
    }

    .testimonial-section::before {
        width: 150px;
        height: 150px;
    }

    .testimonial-section::after {
        width: 200px;
        height: 200px;
    }

    #testimonial-carousel .carousel-caption {
        padding-top: 0;
    }

    blockquote {
        padding: 70px 30px 30px 30px;
    }

    .about-image {
        width: inherit;
        height: 450px;
    }

    .volunteer-image {
        width: 250px;
        height: 250px;
        margin: 0;
    }

    .custom-text-block {
        padding: 20px 0 0 0;
    }

    .custom-text-box,
    .volunteer-form {
        padding: 30px;
    }

    .counter-number,
    .counter-number-text {
        font-size: var(--h2-font-size);
    }

    .contact-info-wrap {
        padding-top: 0;
    }

    .site-footer {
        padding-top: 50px;
    }

    .copyright-text-wrap {
        justify-content: center;
    }

    .site-footer-bottom {
        text-align: center;
        margin-top: 50px;
    }

    .site-footer-bottom .footer-menu {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

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

    .hero-section-full-height,
    #hero-slide .carousel-item {
        min-height: 520px;
    }

    #hero-slide .carousel-caption {
        padding-right: 50px;
        min-width: inherit;
        min-height: inherit;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 26px;
    }

    h4 {
        font-size: 22px;
    }

    h5 {
        font-size: 20px;
    }

    #hero-slide .carousel-caption {
        min-width: inherit;
        padding-bottom: 30px;
    }

    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        width: 38px;
        height: 38px;
    }

    .volunteer-image {
        width: 150px;
        height: 150px;
    }

    .volunteer-section::after {
        width: 200px;
        height: 200px;
    }

    .testimonial-section::before {
        top: -50px;
        width: 100px;
        height: 100px;
    }

    .testimonial-section::after {
        bottom: -150px;
        width: 200px;
        height: 200px;
    }

    .social-share .tags-block {
        margin-bottom: 10px;
    }

    .donate-form {
        padding: 25px;
    }
}

.overlay{
    position: absolute;
    background-color: rgba(0, 0, 0, .5);
    width: 100%;
    height: 100%;
}

/* Excepciones: elementos que siguen siendo circulares */
.carousel-control-next-icon,
.carousel-control-prev-icon,
#hero-slide .carousel-indicators [data-bs-target],
.avatar-image,
.custom-text-box-icon,
.social-icon-link {
    border-radius: 50%;
}


/* Bloque full-bleed: imagen al borde y contenido en 3 cajas apiladas */
.custom-block-full .custom-block-full-content {
    max-width: 720px;
    padding-left: 48px;
    padding-right: 24px;
}

.custom-block-full .custom-text-box-image {
    border-radius: 0;
    min-height: 100%;
}

.counter-row .counter-thumb {
    flex: 1 1 0;
    min-width: 140px;
    margin: 0;
}

@media (max-width: 991px) {
    .custom-block-full .custom-block-full-content {
        max-width: 100%;
        padding: 40px 24px 0;
    }
}


.section-padding-sm {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* La imagen deja de definir el alto de la fila: lo define el texto */
.custom-block-full-media {
    position: relative;
    min-height: 320px;
}

.custom-block-full-media .custom-text-box-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* Cajas más compactas solo en esta sección */
.custom-block-full .custom-text-box {
    padding: 28px 32px;
    margin-bottom: 16px;
}

.custom-block-full .custom-text-box h2 {
    font-size: 38px;
}

.custom-block-full .counter-number,
.custom-block-full .counter-number-text {
    font-size: 42px;
}

@media (max-width: 991px) {
    .custom-block-full-media {
        min-height: 260px;
    }
}


/* Espejo del bloque full-bleed: texto a la izquierda, imagen al borde derecho */
.custom-block-full-content-left {
    padding-left: 24px;
    padding-right: 48px;
    margin-left: auto;
}

.custom-block-full-media .custom-text-box-image {
    object-position: center top;
}

@media (max-width: 991px) {
    .custom-block-full-content-left {
        max-width: 100%;
        padding: 40px 24px 0;
    }
}


/* Galeria de la clinica: hover + modal con carrusel */
.clinic-gallery-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 4 / 3;
}

.clinic-gallery-link .clinic-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.clinic-gallery-link:hover .clinic-gallery-image {
    transform: scale(1.04);
}

.clinic-gallery-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(0, 0, 0, 0.65);
    color: var(--white-color);
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 4px;
    z-index: 2;
}

.clinic-gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: var(--white-color);
    font-size: var(--h5-font-size);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.clinic-gallery-link:hover .clinic-gallery-overlay {
    opacity: 1;
}

#clinic-carousel .carousel-item img {
    object-fit: contain;
    max-height: 80vh;
}


/* Texto blanco donde el fondo es oscuro */
#hero-slide .carousel-caption p,
.site-footer p,
.site-footer ul li,
.site-footer a,
.site-footer-link {
    color: var(--white-color);
}

/* Alturas iguales en las tarjetas de patologias */
#section_4 .custom-block-wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#section_4 .custom-block {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

#section_4 .custom-block-body {
    flex: 1 1 auto;
}

/* h5 usa --dark-color (negro) y el footer es #44525d: contraste 2.6:1 */
.site-footer .site-footer-title {
    color: var(--white-color);
}


/* Tarjetas de Patologias comunes: borde sobrio en vez de bloque macizo */
#section_4 .custom-block-wrap {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#section_4 .custom-block-wrap:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

#section_4 .custom-block-body {
    padding: 24px;
}

#section_4 .custom-block-body h5 {
    font-size: 20px;
    margin-bottom: 12px !important;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

#section_4 .custom-block-body p {
    font-size: 15px;
    line-height: 1.6;
}

/* El boton macizo pasa a ser un link discreto */
#section_4 .custom-block .custom-btn {
    background: transparent;
    border: 0;
    border-top: 1px solid var(--border-color);
    color: var(--primary-color);
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    text-align: left;
    padding: 16px 24px;
    border-radius: 0;
}

#section_4 .custom-block .custom-btn:hover {
    background: var(--section-bg-color);
    color: var(--primary-color);
}


/* BUG: el boton de submit es blanco sobre blanco */
.custom-form button[type="submit"] {
    background: var(--primary-color);
    padding: 14px 24px;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
    background: var(--secondary-color);
    color: var(--white-color);
}

/* Compactar la seccion para que entre de una */
#section_6 .custom-form .form-control {
    margin-bottom: 16px;
}

#section_6 .contact-info p {
    margin-bottom: 10px;
}

#section_6 h2 {
    margin-bottom: 20px;
}


/* FOOTER: grilla mas pareja y CTA discreto */
.site-footer {
    padding-top: 60px;
}

.site-footer-bottom {
    margin-top: 40px;
}

.footer-logo {
    width: 150px;
    max-width: 100%;
}

.footer-tagline {
    font-size: 15px;
    line-height: 1.7;
    max-width: 320px;
    opacity: 0.85;
}

/* 5 items en dos columnas quedan desbalanceados */
.footer-menu {
    column-count: 1;
}

.footer-menu-link {
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

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

.site-footer-title {
    font-size: 18px;
    letter-spacing: 0.02em;
}

/* El "Como llegar" macizo compite con el logo */
.footer-cta {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    color: var(--white-color);
    font-size: 15px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.footer-cta:hover {
    background: var(--white-color);
    color: var(--site-footer-bg-color);
}


/* El navbar tiene fondo azul: los links van en blanco */
.navbar-nav .nav-link {
    color: var(--white-color);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: var(--white-color);
    opacity: 0.75;
}

.navbar-nav .nav-link.custom-btn,
.navbar-nav .nav-link.custom-btn:hover {
    opacity: 1;
}


/* HERO: eyebrow + titular + bajada + CTA */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--white-color);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-eyebrow::before {
    content: "";
    width: 36px;
    height: 3px;
    background: var(--primary-color);
    margin-right: 14px;
}
/* VARIANTE: si lo querés todo en primario, borrá el ::before y poné
   color: var(--primary-color) en .hero-eyebrow */

#hero-slide h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 16px;
    max-width: 16ch;
}

#hero-slide .hero-lead {
    color: var(--white-color);
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 28px;
    max-width: 42ch;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 4px;
    font-size: 17px;
    font-weight: var(--font-weight-semibold);
    padding: 14px 28px;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: var(--white-color);
    color: var(--primary-color);
}

@media (max-width: 991px) {
    #hero-slide .carousel-caption { padding: 0 24px; }
    #hero-slide h1 { font-size: 34px; max-width: 100%; }
    .hero-cta { font-size: 15px; padding: 12px 22px; }
}

/* Las 3 fotos del hero son claras y el texto va a la izquierda:
   degradado lateral para sostener el contraste sin tapar la imagen */
#hero-slide .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.30) 50%,
        rgba(0, 0, 0, 0) 85%);
    pointer-events: none;
    z-index: 1;
}

/* el caption de este bootstrap no trae z-index propio */
#hero-slide .carousel-caption {
    z-index: 2;
}


/* HAMBURGUESA: el navbar tiene fondo azul y las barras del template son
   negras (var(--dark-color)), así que el botón se perdía. Se reemplazan
   por el ícono SVG blanco de Bootstrap.
   Ojo: hay que ganarle en especificidad a `.navbar-toggler .navbar-toggler-icon`
   y apagar las barras ::before/::after del template. */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius-small);
    padding: 6px 10px;
    width: auto;
    height: auto;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler .navbar-toggler-icon {
    background: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 24px;
    height: 24px;
}

.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after {
    display: none;
}


/* ESPACIADO DE LOS ICONOS: el min-height de 256px del .featured-block
   dejaba un hueco enorme entre ítems en mobile */
@media (max-width: 991px) {
    .featured-block {
        min-height: auto;
        padding: 20px 15px;
    }

    .featured-block-icon {
        font-size: 44px;
    }

    .featured-block-text {
        margin-top: 12px;
    }
}


/* PADDING DE LAS CAJAS EN MOBILE */
@media (max-width: 767px) {
    .custom-text-box,
    .custom-block-full .custom-text-box {
        padding: 24px 20px;
        margin-bottom: 16px;
    }

    .custom-block-full .custom-text-box h2 {
        font-size: 28px;
    }

    /* los 3 contadores en una fila, no 2 + 1.
       El margin lateral de 20px de .counter-thumb hacía que 33%+40px
       no entrara y el tercero se caía de fila: se pasa a padding
       (que sí cuenta dentro del flex-basis por box-sizing: border-box). */
    .counter-row .counter-thumb {
        flex: 1 1 33%;
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
        padding-right: 10px;
    }

    .custom-block-full .counter-number,
    .custom-block-full .counter-number-text {
        font-size: 30px;
    }

    .counter-text {
        font-size: 13px;
    }
}


/* FACHADA DE VIDEO: los 7 embeds de YouTube de Patologías comunes se
   cargan recién al clickear. Antes eran 7 iframes que se montaban con
   la página. */
.video-facade {
    cursor: pointer;
    overflow: hidden;
    background: #000;
}

.video-facade-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-facade:hover .video-facade-thumb {
    transform: scale(1.05);
}

.video-facade-play {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 2;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* el glifo bi-play-fill trae el bearing corrido a la izquierda */
    padding-left: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    font-size: 32px;
    transition: all 0.3s ease;
}

.video-facade:hover .video-facade-play {
    background: var(--primary-color);
    color: var(--white-color);
}

.video-facade.is-playing {
    cursor: default;
}


/* MODULO IOMA */
/* Reemplazar por el hex real tomado del logo de IOMA */
:root {
    --ioma-color: #009B8E;
    --ioma-color-dark: #007A70;
}

.ioma-section {
    background: var(--ioma-color);
    padding: 70px 0;
    width: 100%;
}

.ioma-eyebrow {
    display: inline-block;
    color: var(--white-color);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 3px;
    padding: 5px 12px;
    margin-bottom: 18px;
}

.ioma-title {
    color: var(--white-color);
    margin-bottom: 14px;
}

.ioma-lead {
    color: var(--white-color);
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 14px;
}

.ioma-text {
    color: var(--white-color);
    opacity: 0.9;
    max-width: 62ch;
    margin-bottom: 0;
}

.ioma-card {
    background: var(--white-color);
    border-radius: 6px;
    padding: 28px;
}

.ioma-card-text {
    color: var(--secondary-color);
    font-size: 15px;
}

.ioma-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ioma-color);
    color: var(--white-color);
    border-radius: 4px;
    font-weight: var(--font-weight-semibold);
    padding: 14px 20px;
    transition: background 0.3s ease;
}

.ioma-cta:hover {
    background: var(--ioma-color-dark);
    color: var(--white-color);
}

@media (max-width: 991px) {
    .ioma-section {
        padding: 50px 0;
    }

    .ioma-lead {
        font-size: 18px;
    }
}
