@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');
* {
    padding: 0;
    margin: 0;
    font-family: "PT Sans", sans-serif;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

.header.off {
    transform: translateY(-100%);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    backdrop-filter: blur(50px);
    z-index: -1;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
    transition: 0.5s;
}

.header:hover::after {
    left: 100%;
}

.logo {
    width: 130px;
}

.navbar a {
    font-size: 1.15rem;
    color: rgb(1, 1, 1);
    text-decoration: none;
    font-weight: 700;
    margin-left: 2.5rem;
    position: relative;
    display: inline-block;
    transition: color 0.35s ease;
}

.navbar a::before,
.navbar a::after {
    content: '';
    height: 7px;
    width: 7px;
    position: absolute;
    transition: all 0.35s ease;
    opacity: 0;
}

.navbar a::before {
    right: -8px;
    top: -8px;
    border-top: 3px solid #3BAA33;
    border-right: 3px solid #3BAA33;
    transform: translate(-100%, 50%);
}

.navbar a::after {
    left: -8px;
    bottom: -8px;
    border-bottom: 3px solid #3BAA33;
    border-left: 3px solid #3BAA33;
    transform: translate(100%, -50%);
}

.navbar a:hover::before,
.navbar a:hover::after {
    transform: translate(0, 0);
    opacity: 1;
}

.navbar a:hover {
    color: #1877f2;
}

#check {
    display: none;
}

.icons {
    position: absolute;
    right: 5%;
    font-size: 2.8rem;
    color: rgb(4, 4, 4);
    cursor: pointer;
    display: none;
}

.linea {
    width: 100%;
    height: 3px;
    position: absolute;
    bottom: -2px;
    left: 0;
    background: linear-gradient(to right, #3BAA33, #4954A3, #049BE2, #286522);
    background-size: 200% auto;
    animation: cambioColor 2.5s linear infinite;
    z-index: 99;
}

.contenedor-linea {
    position: relative;
}

.linea-footer {
    width: 100%;
    height: 3px;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to right, #3BAA33, #4954A3, #049BE2, #286522);
    background-size: 200% auto;
    animation: cambioColor 2.5s linear infinite;
    z-index: 99;
}

.bp {
    color: #f30c0c;
    text-decoration: none;
}

@keyframes cambioColor {
    0% {
        background-position: 0 0; /* Inicia desde el extremo izquierdo */
    }
    100% {
        background-position: 200% 0; /* Termina en el extremo derecho */
    }
}

@media(max-width: 992px) {
    .header {
        padding: 1.3rem 5%;
    }
}

@media(max-width: 768px) {
    
    .icons {
        display: inline-flex;
    }
    
    #check:checked ~ .icons #menu-icon {
        display: none;
    }
    
    .icons #close-icon {
        display: none;
    }
    
    #check:checked ~ .icons #close-icon {
        display: block;
    }
    
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(0, 0, 0, 0.1);
        background-color: #fff;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        overflow: hidden;
        transition: height 0.3s ease;
    }
    
    #check:checked ~ .navbar {
        height: 22.5rem; /* Aumenta la altura */
    }
    
    .navbar a {
        display: block;
        font-size: 1.2rem;
        margin: 1.5rem 0;
        color: #000000;
        text-align: center;
        transform: translateY(-50px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    #check:checked ~ .navbar a {
        transform: translateY(0);
        transition-delay: calc(0.15s * var(--i));
        opacity: 1;
    }
    
    .navbar a::before,
    .navbar a::after {
        content: none;
    }
}

/*FOOTER*/
.pie-pagina{
    width: 100%;
    background-color: #ffffff;
	margin-top: auto;
}
.pie-pagina .grupo-1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap:50px;
    padding: 45px 0px;
}
.pie-pagina .grupo-1 .box-footer figure{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pie-pagina .grupo-1 .box-footer figure img{
    width: 200px;
}
.pie-pagina .grupo-1 .box-footer h2{
    color: #049BE2;
    margin-bottom: 25px;
    font-size: 25px;
    font-weight: 700;
}
.pie-pagina .grupo-1 .box-footer p{
    color: #3BAA33;

    margin-bottom: 10px;
    font-weight: 700;
}
.pie-pagina .grupo-1 .red-social a{
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-radius: 50%;
    color: #ffffff;
    margin-right: 10px;
    text-align: center;
    transition: all 300ms ease;
}
.pie-pagina .grupo-2{
    background:#dcdddc ;
    padding: 15px 10px;
    text-align: center;
    font-weight: 700;
    color: #fff;
}
.pie-pagina .grupo-2 small{
    font-size: 15px;
	color: #020202;
}

.red-social a.instagram {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045); 
}

.red-social a.facebook {
    background: linear-gradient(45deg, #3b5998, #1877f2); 
}

.red-social a.tiktok {
    background-color: #000000; 
}

.red-social a.twitter {
    background-color: #1da1f2; 
}

.red-social a:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}


@media screen and (max-width:800px){
    .pie-pagina .grupo-1{
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap:30px;
        padding: 35px 0px;
    }
}

.titulos {
    font-weight: 700;
    font-size: 50px;
    color: #049BE2;
    text-align: center;
}
/*FOOTER*/


/* Main Content Spacing */
.main-content {
    padding-top: 100px; /* Space for fixed header */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Donation Container */
.donation-container {
    padding: 40px 20px 70px;
}

/* Hero section with text and image */
.hero-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin: 40px 0 80px;
    background-color: #f8f9fa;
    border-radius: 20px;
    overflow: hidden;
    padding: 20px; /* Aumenta el espacio interno */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12); /* Sombra más fuerte */
}

.hero-content {
    flex: 1;
    padding: 50px;
}

.hero-content .titulos {
    text-align: left;
    margin-bottom: 20px;
    font-size: 42px;
    background: linear-gradient(90deg, #3BAA33, #049BE2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-text {
    line-height: 1.8;
    color: #333;
    text-align: left;
}

.hero-text p {
    margin-bottom: 15px;
    font-size: 17px;
}

.hero-text ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.hero-text ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.6;
    color: #333;
}

.hero-text ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3BAA33;
    font-weight: bold;
    font-size: 18px;
}

.hero-image {
    flex: 1;
    position: relative;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #3BAA33, #049BE2);
}

.image-frame {
    width: 90%;
    height: auto; /* Asegura que la imagen mantenga su proporción */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 8px solid white;
    position: relative;
    transform: translateX(0); /* Elimina el desplazamiento lateral */
}

.donation-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Donation Button */
.donate-button-container {
    margin: 35px 0 0;
}

.donate-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #3BAA33, #8CD144);
    color: white;
    padding: 14px 40px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 170, 51, 0.3);
    cursor: pointer;
}

.donate-button i {
    margin-right: 10px;
    font-size: 24px;
}

.donate-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(59, 170, 51, 0.4);
}

.donate-button:active {
    transform: translateY(0);
}

/* Section Title */
.section-title {
    color: #049BE2;
    font-size: 36px;
    margin: 30px 0 50px;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #3BAA33, #049BE2);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Donation Cards Grid */
.donation-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.donation-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
}

.donation-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3BAA33, #049BE2);
}

.donation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #049BE2, #4954A3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(4, 155, 226, 0.3);
}

.card-icon i {
    color: white;
    font-size: 36px;
}

.card-title {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.donation-card p {
    color: #555;
    line-height: 1.7;
    font-size: 16px;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.donation-modal {
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: scale(0.7);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .donation-modal {
    transform: scale(1);
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.modal-close:hover {
    background-color: #f5f5f5;
}

.modal-close i {
    font-size: 24px;
    color: #333;
}

/* Modal Content */
.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.modal-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

/* Donation Options */
.donation-options {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.donation-option {
    flex: 1;
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.donation-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.donation-option.mp {
    background: linear-gradient(135deg, #049BE2, #3BAA33);
    color: white;
}

.donation-option.bank {
    border: 2px solid #049BE2;
}

.option-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.option-icon i {
    color: currentColor;
}

.option-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.option-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.donation-option.mp .option-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Bank Details Modal */
.bank-details {
    text-align: left;
    margin-top: 20px;
}

.bank-info {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.bank-info:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.bank-info h4 {
    color: #049BE2;
    margin-bottom: 15px;
    font-size: 18px;
}

.bank-info p {
    margin-bottom: 8px;
    color: #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bank-info strong {
    color: #333;
}

.copy-button {
    background: none;
    border: none;
    color: #049BE2;
    cursor: pointer;
    padding: 5px;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.copy-button:hover {
    color: #3BAA33;
}

.copy-button i {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.copy-button i.bx-check {
    animation: checkAnimation 0.3s ease;
}

@keyframes checkAnimation {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.back-button {
    display: inline-flex;
    align-items: center;
    color: #049BE2;
    text-decoration: none;
    margin-top: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-button:hover {
    color: #3BAA33;
}

.back-button i {
    margin-right: 8px;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .donation-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-section {
        flex-direction: column;
        gap: 0;
    }
    
    .hero-content {
        width: 100%;
        padding: 40px;
    }
    
    .hero-image {
        width: 100%;
        min-height: 300px;
    }
    
    .image-frame {
        transform: translateY(-15px);
        transform: translateX(0);
    }
}

@media screen and (max-width: 768px) {
    .hero-content .titulos {
        font-size: 36px;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text ul {
        text-align: left;
        max-width: 500px;
        margin: 20px auto;
    }
    
    .donate-button-container {
        display: flex;
        justify-content: center;
    }
}

@media screen and (max-width: 600px) {
    .donation-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-content {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .donate-button {
        width: 100%;
        padding: 12px 20px;
    }
    
    .image-frame {
        width: 85%;
        height: 85%;
    }
    
    .donation-modal {
        padding: 30px 20px;
        width: 95%;
    }
    
    .donation-options {
        flex-direction: column;
        gap: 15px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .donation-option {
        padding: 20px;
    }
    
    .option-icon {
        font-size: 32px;
    }
}