.section {
    width: 100%;
    min-height: 90vh; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../assets/images/home/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    overflow: hidden;
}

.section::after {
    content: '';
    width: 100%;
    height: 115%;
    position: absolute;
    top: -90px;
    left: 50%;
    transform: translateX(-50%) translateY(100vh);
    background: url(../assets/images/home/bg5.png) center bottom;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0;
    animation: none;
}

.section.in-view::after {
    opacity: 1;
    animation: slideUp 1.4s ease-in-out forwards;
}

@keyframes slideUp {
    0% {
        transform: translateX(-50%) translateY(100vh);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.text {
    position: relative;
    font-family: "Asap", serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: italic;
    font-size: 12rem;
    letter-spacing: 8px;
    color: white;
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.8);
    will-change: transform;
    text-align: center;
    z-index: 0;
    opacity: 0;
    transition: opacity 1s ease-out, transform 0.1s ease-out, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex; 
    align-items: center;
    justify-content: center;
    gap: 1vw;
    flex-direction: column;
}

.text.in-view {
    opacity: 1;
    animation: slideDown 1.4s ease-in-out;
}

.text img{
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.8);
}

@keyframes slideDown {
    0% {
        transform: translateY(-100vh);
    }
    100% {
        transform: translateY(-100px);
    }
}

.text img {
    width: 20vw;
    height: 20vw;
    max-width: 140px;
    max-height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: -2vw;
    vertical-align: middle;
}

.section0 {
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding-top: 50px;
    background-color: #dff7ff;
    background-image: url(../assets/images/bg/BG.png);
}

@media (max-width: 1000px) {
    .section{
        min-height: 70vh;
    }

    .section::after {
        height: 27%;
        width: 100%;
    }

    .section::after {
        height: 25%;
        width: 100%;
    }

    .text {
        font-size: 10vw;
        transform: scale(1, 1.1) translate(-50%, 5%);
    }
}

#container0 {
    display: flex;
    gap: 20px;
    margin: 20px;
}

.left-content {
    display: flex;
    flex-wrap: wrap; 
    align-items: center;
    gap: 20px;
    justify-content: center; 
    max-width: 90%; 
    margin: 0 auto;
    padding: 20px;
    opacity: 0;
    transition: opacity 1s ease-out, transform 1.4s ease-out, box-shadow 0.3s ease;
    overflow: hidden;
}

.left-content.in-view{
    opacity: 1;
    animation: slideInLeft 1.4s ease-in-out;
}


.right-content {
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: opacity 1s ease-out, transform 1.4s ease-out, box-shadow 0.3s ease;
    overflow: hidden;
}

.right-content.in-view{
    opacity: 1;
    animation: slideInRight 1.4s ease-in-out;
}


@keyframes slideInLeft {
    0% {
        transform: translateX(-120%);
    }
    80% {
        transform: translateX(3%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(120%);
    }
    80% {
        transform: translateX(-3%);
    }
    100% {
        transform: translateX(0);
    }
}

.left-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem); 
    text-align: center;
    font-family: Futura;
    font-weight: bolder;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #4fc7ff, #44b3ee);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 1px 0 #50c0fc,
    0 2px 0 #43bdff,
    0 3px 0 #1fb0fe,
    0 4px 0 #53c3ff,
    1px 15px 10px #4fc7ff4a,
    1px 20px 20px #4fc7ff4a,
    1px 25px 40px #4fc7ff4a,
    1px 30px 80px #4fc7ff4a;
    animation: fadeIn 2s ease-in-out;
}

.text-content {
    max-width: 650px;
    text-align: center;
}

.icon-left, .icon-right {
    width: clamp(40px, 12vw, 200px); 
    height: auto;
    opacity: 0.8;
    transition: transform 0.3s ease-in-out;
    animation: showimg 2s ease-in-out;
}

@keyframes showimg {
    0% {
        transform: scale(0);
    }
    80% {
        transform: scale(1.1);
    }
    100%{
        transform: scale(1);
    }
}

.icon-left:hover {
    transform: scale(1.2) rotate(5deg);
}
.icon-right:hover{
    transform: scale(1.2) rotate(-5deg);
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.left-content p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    background: linear-gradient(135deg, rgba(79, 199, 255, 0.15), rgba(2, 136, 209, 0.10));
    padding: 18px;
    border-left: 6px solid #0288d1;
    border-radius: 12px;
    color: #0f3c59;
    line-height: 1.8;
    font-weight: 500;
    text-align: justify;
    max-width: 650px;
    margin: 10px auto;
    box-shadow: 2px 2px 5px rgba(255, 255, 255, 0.2),
                4px 4px 12px rgba(0, 0, 0, 0.1);
    animation: fadeInText 2s ease-in-out;
}

@keyframes fadeInText {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.left-content p::before {
    content: "🐾";
    font-size: 22px;
    margin-right: 10px;
    opacity: 0.8;
    animation: pawBounce 1.5s infinite alternate;
    display: inline-block;
}

@keyframes pawBounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

.highlight {
    font-weight: bold;
    background: linear-gradient(90deg, #4fc7ff, #0288d1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 5px rgba(2, 136, 209, 0.3);
}

.donation-box {
    background: linear-gradient(135deg, #7cd8ff, #c9e6ff, #7cd8ff);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
    animation: pulse-box 3s infinite alternate;
}

.donation-box h3 {
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 1.4em;
    font-weight: bolder;
    color: #ffffff;
    text-shadow: 4px 4px 10px rgba(11, 22, 232, 0.5);
    margin-bottom: 10px;
}

.donation-box p {
    font-size: 1.12em;
    color: #ffffff;
    text-shadow: 1px 2px 2px rgba(11, 22, 232, 0.4);
    margin-bottom: 15px;
}

.donation-amounts {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.donate-btn {
    background: rgba(255, 255, 255, 0.9); 
    color: #2eb2ff;
    border: none;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 1em;
    font-weight: bolder;    
    text-shadow: 1px 1px 2px rgba(91, 178, 255, 0.4);
    cursor: url(/assets/images/Cursor/Cursor2_1.ico) 16 16, auto;
    transition: 0.3s;
}

.donate-btn:hover {
    background: #ffffff;
    transform: scale(1.1);
    box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.5);
}

.donate-link {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 20px;
    background: #73c2ff; 
    color: white;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 12px;
    transition: 0.3s ease-in-out;
    cursor: url(/assets/images/Cursor/Cursor2_1.ico) 16 16, auto;
    animation: bounce 2s infinite;
}

.donate-link:hover {
    background: #5bb5ff;
    transform: scale(1.1);
}

@keyframes pulse-box {
    0% { box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.22); }
    100% { box-shadow: 0px 8px 30px rgba(63, 172, 255, 0.6); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.welcome-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 88%;
    margin: auto;
    padding: 40px 3%;
    background: linear-gradient(135deg, #cfebff, #cbe8ff);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    opacity: 0;
    transition: opacity 1s ease-out, transform 1.4s ease-out, box-shadow 0.3s ease;
    overflow: hidden;
}

.welcome-section.in-view{
    opacity: 1;
    animation: welcome 1.4s ease-in-out;
}

.welcome-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.4);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.welcome-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: #2A5D99;
    margin-bottom: 10px;
}

.welcome-content p {
    font-size: 1.2rem;
    color: #444;
    max-width: 500px;
    margin-bottom: 20px;
}

.welcome-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin-top: 10px;
}

.stat-item {
    background: #B3DFFF;
    padding: 20px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: #1E90FF;
}

.stat-item p {
    font-size: 1rem;
    font-weight: 500;
    color: #25a4ff;
    text-shadow: 0px 1px 3px #84c8f8;
    margin: 0;
}

.welcome-img {
    width: 220px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: rotate(-10deg);  
    transition: opacity 1s ease-out, transform 0.34s ease-out, box-shadow 0.3s ease;
    overflow: hidden;
}

.welcome-img.in-view{
    opacity: 1;
    animation: welcome-img 1.8s ease-in-out;
}

.welcome-img.in-view:hover {
    transform: rotate(0deg);
}

@keyframes welcome-img{
    0% { transform: scale(0) rotate(0deg); }
    80% { transform: scale(1.08) rotate(-5deg); }
    100% { transform: scale(1) rotate(-10deg); }
}

.welcome-right {
    flex: 1;
    max-width: 500px;
    text-align: justify;
    padding: 25px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

.welcome-right:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.welcome-right p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #2A5D99;
    line-height: 1.6;
    text-align: center;
}

.highlight0 {
    font-weight: 600;
    font-size: 1.6rem;
    color: #1E90FF;
    background: linear-gradient(90deg, #32c5ff, #51b4ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes welcome {
    0% {
        transform: translateX(-120%);
    }
    80% {
        transform: translateX(4%);
    }
    100% {
        transform: translateX(0);
    }
}

#container1-effect{
    position: relative;
    opacity: 0;
    transition: opacity 1s ease-out, transform 1.4s ease-out, box-shadow 0.3s ease;
    overflow: hidden;
}

#container1-effect.in-view{
    opacity: 1;
    animation: show1 1.4s ease-in-out;
}

@keyframes show1 {
    0% {
        transform: translateY(100%);
    }
    80% {
        transform: translateY(-2%);
    }
    100%{
        transform: translateY(0%);
    }
}

#container2{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
}
#container4{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
}

#container2 a{
    cursor: url(/assets/images/Cursor/Cursor2_1.ico) 16 16, auto;
}

#container4 a{
    cursor: url(/assets/images/Cursor/Cursor2_1.ico) 16 16, auto;
}

#container3 a{
    cursor: url(/assets/images/Cursor/Cursor2_1.ico) 16 16, auto;
}

footer a{
    cursor: url(/assets/images/Cursor/Cursor2_1.ico) 16 16, auto;
}

.adopt, .temporales {
    width: 48%;
    padding: 25px;
    background: linear-gradient(145deg, #ffffff, #f1f8ff);
    border-radius: 18px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    opacity: 0; 
    transition: opacity 1s ease-out, transform 1.4s ease-out, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.adopt.in-view{
    opacity: 1;
    animation: slideInLeft 1.4s ease-in-out;
}

.temporales.in-view {
    opacity: 1;
    animation: slideInRight 1.4s ease-in-out;
}

.adopt:hover, .temporales:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.2);
}

.adopt:hover::before, .temporales:hover::before {
    width: 100%;
    left: 0;
}

.adopt:hover::after, .temporales:hover::after {
    border-color: rgba(68, 186, 255, 0.5);
    box-shadow: 0 0 12px rgba(68, 199, 255, 0.3);
    animation: pulse-border 1.5s infinite ease-in-out;
}

@keyframes pulse-border {
    0% { box-shadow: 0 0 12px rgba(68, 205, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(68, 193, 255, 0.5); }
    100% { box-shadow: 0 0 12px rgba(68, 211, 255, 0.3); }
}

.adopt:before, .temporales:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #77e2ff; 
    border-radius: 12px 12px 0 0;
}
.adopt::after, .temporales::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid rgba(4, 184, 255, 0.333);
    border-radius: 15px;
    z-index: 0; 
}


.adopt h2, .temporales h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: #333;
    margin-bottom: 5px;
}

.adopt p, .temporales p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 5px;
}

#container2-dog {
    position: relative;
    display: block;
    text-align: center; 
    width: 200px;
    margin: 0 auto;
    margin-top: 2%;
    top: 5%;
}

#container2-cat:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 5px;
    background: #1E88E5;
    border-radius: 5px 5px 0 0;
}
#container2-dog:before{
    content: '';
    position: absolute;
    top: -25px;
    left: 0;
    right: 0;
    height: 5px;
    background: #1E88E5;
    border-radius: 5px 5px 0 0;
}

#container2 h2, #container4 h2{
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: #0288D1;
    margin-bottom: 5px;
}

#container2 p, #container4 p{
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #5b5b5b;
    margin-bottom: 5px;
}

#container4-dog {
    position: relative;
    display: block;
    text-align: center; 
    width: 250px; 
    margin: 0 auto; 
    margin-top: 2%;
}

#container4-dog:before{
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    height: 5px;
    background: #1E88E5;
    border-radius: 5px 5px 0 0; 
}
#container4-cat:before{
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 5px;
    background: #1E88E5;
    border-radius: 5px 5px 0 0;
}
.dog {
    width: 100%; 
    display: block;
}

.dog-eyes {
    position: absolute;
    top: 25%; 
    left: 50%;
    width: 80px; 
    display: flex;
    justify-content: space-between;
    transform: translateX(-50%);
}

.dog-eye {
    position: absolute;
    width: 45%;
    aspect-ratio: 1/1; 
    left: 0%;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5), inset 0 0 5px rgb(0, 0, 0);
}

.dog-eye::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    background: rgb(0, 0, 0);
    border: 3.5px solid rgb(148, 114, 12);
    box-sizing: border-box;
    border-radius: 50%;
}

.dog-eye::after{
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
    filter: blur(1.5px);
}

.dog-eye0 {
    position: absolute;
    width: 45%;
    aspect-ratio: 1/1; 
    right: -14%;
    top: -26px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5), inset 0 0 5px rgb(0, 0, 0);
}

.dog-eye0::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    background: rgb(0, 0, 0);
    border: 3.5px solid rgb(148, 114, 12);
    box-sizing: border-box;
    border-radius: 50%;
}

.dog-eye0::after{
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
    filter: blur(1.5px);
}

.button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(145deg, #64B5F6, #1E88E5);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: url(/assets/images/Cursor/Cursor2_1.ico) 16 16, auto;
    outline: none;
    position: relative; 
    z-index: 2; 
}

.button:hover {
    background: linear-gradient(145deg, #1E88E5, #64B5F6);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.button:active {
    transform: translateY(1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#container2-cat {
    position: relative;
    display: block; 
    text-align: center;
    width: 280px;
    margin: 0 auto; 
    top: 20px;
}

#container4-cat {
    position: relative;
    display: block; 
    text-align: center; 
    width: 320px;
    margin: 0 auto; 
}


.cat {
    width: 100%; 
    display: block;
}

.cat-eyes {
    position: absolute;
    top: 32%; 
    left: 50%;
    width: 80px; 
    display: flex;
    justify-content: space-between;
    transform: translateX(-50%);
}

.cat-eye {
    position: absolute;
    width: 52%; 
    aspect-ratio: 1/1;
    left: -24%;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5), inset 0 0 5px rgb(0, 0, 0);
}

.cat-eye::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 25px;
    background: rgb(0, 0, 0);
    border: 4px solid rgb(156, 156, 156);
    box-sizing: border-box;
    border-radius: 50%;
}

.cat-eye::after{
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    filter: blur(1.5px);
}

.cat-eye0 {
    position: absolute;
    width: 52%; 
    aspect-ratio: 1/1;
    right: -14%;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5), inset 0 0 5px rgb(0, 0, 0);
}

.cat-eye0::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 25px;
    background: rgb(0, 0, 0);
    border: 4px solid rgb(156, 156, 156);
    box-sizing: border-box;
    border-radius: 50%;
}

.cat-eye0::after{
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    filter: blur(1.5px);
}

#container3 {
    text-align: center;
    padding-top: 40px;
    background: linear-gradient(135deg, #f8f8f8, #f9ffff);
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0; 
}

#container3.in-view {
    transform: translateY(0); 
    opacity: 1; 
    animation: show1 1.25s ease-out forwards;
}

#container3 .button{
    background: linear-gradient(145deg, #f66464, #e51e1e) !important;
    cursor: url(/assets/images/Cursor/Cursor2_1.ico) 16 16, auto;
}

#container3 .button:hover {
    background: linear-gradient(145deg, #e51e1e, #f66464) !important;
}

#container3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #fa9595;
    border-radius: 12px 12px 0 0;
}
#container3::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid rgba(255, 120, 120, 0.235);
    border-radius: 15px;
    z-index: 0;
}

#container3:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.2);
}

#container3:hover::before {
    width: 100%;
    left: 0;
}

#container3:hover::after {
    border-color: rgba(255, 68, 68, 0.5);
    box-shadow: 0 0 12px rgba(255, 68, 68, 0.3);
    animation: pulse-border 1.5s infinite ease-in-out;
}

@keyframes pulse-border {
    0% { box-shadow: 0 0 12px rgba(255, 68, 68, 0.3); }
    50% { box-shadow: 0 0 20px rgba(255, 68, 68, 0.5); }
    100% { box-shadow: 0 0 12px rgba(255, 68, 68, 0.3); }
}


#container3-dog {
    position: relative;
    display: block;
    text-align: center; 
    width: 420px; 
    margin-top: 2%; 
}

#container3-dog::after{
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    height: 5px;
    background: #ff6767; 
    border-radius: 5px 5px 0 0; 
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#container3 h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px; 
    font-weight: bolder;
    color: #ff5e5e; 
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 1px; 
}

#container3 p {
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    color: #555;
    font-weight: bold;
    line-height: 1.8;
    text-align: justify;
    max-width: 900px; 
    width: 90%; 
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    border-radius: 8px;
}

#container3 p span {
    color: #d32f2f;
    font-style: italic;
    font-weight: 600;
}

.dog0 {
    width: 100%;
    display: block;
}

.dog0-eyes {
    position: absolute;
    top: 37%; 
    left: 50%;
    width: 80px;
    display: flex;
    justify-content: space-between;
    transform: translateX(-50%);
}

.dog0-eye {
    position: absolute;
    width: 58%; 
    aspect-ratio: 1/1;
    left: -35%;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5), inset 0 0 5px rgb(0, 0, 0);
}

.dog0-eye::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: rgb(0, 0, 0);
    border: 4px solid rgb(148, 114, 12);
    box-sizing: border-box;
    border-radius: 50%;
}

.dog0-eye::after{
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    filter: blur(1.5px);
}

.dog0-eye0 {
    position: absolute;
    width: 58%; 
    aspect-ratio: 1/1; 
    right: -38%;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5), inset 0 0 5px rgb(0, 0, 0);
}

.dog0-eye0::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: rgb(0, 0, 0);
    border: 4px solid rgb(148, 114, 12);
    box-sizing: border-box;
    border-radius: 50%;
}

.dog0-eye0::after{
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    filter: blur(1.5px);
}

.dog-eye, .dog-eye0, .cat-eye, .cat-eye0, .dog0-eye, .dog0-eye0 {
    will-change: transform;
}

.section-title {
    text-align: center;
    margin-top: 100px;
    margin-bottom: -30px;
}

.section-title h2 {
    font-size: 3rem; 
    color: #2b4f6d;
    font-weight: 800; 
    position: relative;
    display: inline-block;
    line-height: 0.7em;
    text-transform: uppercase; 
    letter-spacing: 4px; 
    font-family: 'Montserrat', sans-serif;
    -webkit-box-reflect: below 1px linear-gradient(transparent, rgba(0, 0, 0, 0.253));
    transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease; 
    animation: bright 5s linear infinite !important;
}

@keyframes bright{
    0%,18%,20%,50.1%,60%,65.1%,80%,90.1%,92%{
        color: #1b6cab;
        text-shadow: none;
    }
    18.1%,20.1%,30%,50%,60.1%,65%,80.1%,90%,92.1%,100%{
        color: #fff;
        text-shadow: 0 0 10px #03bcf4,
        0 0 20px #03bcf4,
        0 0 40px #03bcf4,
        0 0 80px #03bcf4,
        0 0 160px #03bcf4;
    }
}

.section-title h2:hover {
    transform: translateY(-5px); 
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); 
}

.divider {
    width: 80px;
    height: 4px;
    margin: 20px auto;
    background: linear-gradient(45deg, #46f0ff, #4b95c0);
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title h2 {
    animation: slideIn 1s ease-out;
}

#container1 {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    max-height: 95vh;
    min-height: 400px;
    margin-top: -38px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 15px;
}

.slider {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    min-height: 745px;
    background: #ccc;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    padding: 10px;
    transition: transform 0.5s ease;
    backdrop-filter: blur(10px);
}

.slides {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 240px;
    height: 320px;
    background-size: cover;
    background-position: center;
    transition: left 0.5s ease, width 0.5s ease, height 0.5s ease, top 0.5s ease, opacity 0.5s ease;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    border: 3px solid rgba(255, 255, 255, 0.7);
}

.slider::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 5px solid #a1f4ff;
    border-radius: 25px;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.6);
    pointer-events: none;
    transition: box-shadow 0.3s ease;
}

.slider:hover::before {
    box-shadow: 0 0 25px rgb(57, 232, 255);
}

.slides.active-slide {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(0);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0);
    opacity: 1;
    transition: left 0.5s ease, width 0.5s ease, height 0.5s ease, top 0.5s ease, opacity 0.5s ease;
}

#container1 .content {
    position: absolute;
    bottom: 20px;
    left: 0px;
    padding: 40px;
    max-width: 680px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#container1 .slides.active-slide .content {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease 1s, transform 0.5s ease 0s; 
}

#container1 .slides:not(.active-slide) .content {
    opacity: 0;
    transform: translateY(40px);
    display: none;
}

#container1 .buttons {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

#container1 .buttons span {
    position: relative;
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #64b5f6, #1e88e5);
    cursor: url(/assets/images/Cursor/Cursor2_1.ico) 16 16, auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

#container1 .buttons span:hover {
    background: linear-gradient(145deg, #1e88e5, #64b5f6);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

#container1 .buttons span::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-top: 4px solid #fff;
    border-left: 4px solid #fff;
    transform: rotate(315deg) translate(2px, 2px);
}

#container1 .buttons span:nth-child(2)::before {
    transform: rotate(135deg) translate(2px, 2px);
}

#container1 .buttons span:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0.7;
}

#container1 .content h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.4em; 
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px 25px;
    border-radius: 15px;
    display: inline-block;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6); 
    margin-bottom: 20px; 
    transition: all 0.3s ease; 
}

#container1 .content h2:hover {
    background: rgba(0, 0, 0, 0.8); 
    transform: translateY(-5px); 
}

#container1 .content p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3em; 
    color: #fff;
    background: rgba(0, 0, 0, 0.6); 
    padding: 12px 25px;
    border-radius: 15px; 
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5); 
    transition: all 0.3s ease; 
}

#container1 .content p:hover {
    background: rgba(0, 0, 0, 0.8); 
    transform: translateY(-3px); 
}

@media (max-width: 1600px){
    .section{
        min-height: 88.8vh;
    }
    .slider{
        min-height: 733px;
    }
    #container1{
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 1396px) {
    .left-content {
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 100%;
    }

    .icon-left, .icon-right {
        width: clamp(70px, 11vw, 150px); 
    }

    .text-content {
        max-width: 60%;
        font-size: 0.9em;
    }
    #container1 {
        max-height: 85vh;
        margin-top: 40px;
        aspect-ratio: 16 / 11;
    }
    .slider {
        width: 94%;
    }
}

@media (max-width: 1130px) {
    .slider {
        min-height: 688px;
    }
}

@media (max-width: 1055px) {
    .slider {
        min-height: 645px;
    }
}

@media (max-width: 1024px){
    .section{
        min-height: 78vh;
    }
    .right-content {
        width: 40%;
    }
}

@media (max-width: 1600px) {
    .slider {
        width: 92%;
    }
}

@media (max-width: 1000px){
    .text {
        flex-direction: column;
        font-size: 10vw;
        gap: 0.5vw; 
    }
    .text img {
        width: 10vw;
        height: 10vw;
        margin-left: 0; 
        margin-top: 1vw; 
    }
    .section {
        min-height: 80vh;
    }
    
    .section::after {
        background-size: contain;
        min-height: 80vh;
        top: 0%;
    }
    .slider {
        width: 96%;
        min-height: 595px;
    }
    #container1 {
        max-height: 70vh;
    }
}

@media (max-width: 900px) {
    .welcome-right p {
        font-size: 1.3rem;
    }

    .highlight0 {
        font-size: 1.4rem;
    }

    .slider {
        width: 96%;
        min-height: 495px;
    }

    #container1 {
        max-height: 100vh;
        min-height: 450px;
        aspect-ratio: 16 / 17;
        margin-top: -160px;
    }

    .slides {
        width: 100px;
        height: 100px;
        top: initial;
        bottom: -170px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
        transition: width 0.5s ease, height 0.5s ease, left 0.5s ease, bottom 0.5s ease, top 0.5s ease;
    }

    .slides.active-slide {
        width: 100%;
        height: 100%;
        top: initial;
        bottom: 0;
        left: 0;
        transform: none;
    }

    #container1 .content h2 {
        font-size: 2em; 
        padding: 8px 15px; 
    }

    #container1 .content p {
        font-size: 1em;
        padding: 8px 15px; 
    }

    #container1 .buttons {
        bottom: 0px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 800px){
    #container1 {
        max-height: 95vh;
        aspect-ratio: 16 / 17;
        margin-top: -175px;
    }
    .slider {
        width: 98%;
    }
}

@media (max-width: 790px){
    .slider {
        min-height: 465px;
    }
    #container1 {
        margin-top: -132px;
    }
}

@media (max-width: 768px) {
    .section {
        min-height: 81vh;
    }
    .section::after {
        background-size: contain;
        min-height: 90vh;
        top: -11%;
    }
    .welcome-section {
        flex-direction: column;
        text-align: center;
        padding: 20px 5%;
    }

    .welcome-right {
        max-width: 100%;
    }

    .welcome-content h2 {
        font-size: 2rem;
    }

    .welcome-right p{
        font-size: 1rem;
    }

    .highlight0{
        font-size: 1.15rem;
    }

    .stat-item {
        padding: 15px 20px;
    }

    .divider {
        height: 5px;
        width: 60%;
        left: 20%;
        top: auto;
        bottom: 0;
        background: linear-gradient(90deg, #6EC6FF, #FF80AB);
    }
    .text {
        flex-direction: column;
        font-size: 15vw; 
        gap: 0.5vw;
    }
    .text img {
        width: 13vw;
        height: 13vw;
        margin-left: -1.5vw;
    }
    #container0 {
        flex-direction: column;
    }

    .left-content {
        text-align: center;
    }

    .icon-left, .icon-right {
        width: clamp(70px, 11vw, 80px); 
        opacity: 0.8;
    }

    .left-content p {
        padding: 15px;
        font-size: 1rem;
        text-align: center;
    }

    .left-content h2 {
        font-size: 1.8rem;
    }

    .right-content {
        width: 80%;
        margin: auto;
    }

    #container2 {
        flex-direction: column;
        align-items: center;
    }

    #container4 {
        flex-direction: column;
        align-items: center;
    }

    .adopt,
    .temporales {
        width: 100%;
        margin-bottom: 20px;
    }

    #container3 h2 {
        font-size: 28px;
    }

    #container3 p{
        font-size: 18px;        
    }

    .section-title h2 {
        font-size: 2.6rem;
        line-height: 1;
    }

    #container1 .content h2 {
        font-size: 1.8em; 
    }

    #container1 .content p {
        font-size: 0.9em; 
    }
    .donation-box h3{
        font-size: 1.4em;
        margin-bottom: 7px;
    }
    .donation-box p{
        font-size: 1.2em;
    }
    .donate-link{
        margin-top: 0;
        font-size: 1.1em;
    }
    .welcome-content p {
        font-size: 1rem;
    }
    .stat-number {
        font-size: 1.5rem;
    }
    .welcome-img {
        width: 150px;
    }
    #container1 .content {
        padding: 15px;
        max-width: 380px;
    }
}

@media (max-width: 690px){
    .left-content {
        flex-direction: column;
        text-align: center;
    }
    .text-content {
        max-width: 100%;
        font-size: 1.2em !important;
    }
    .section {
        min-height: 81vh;
    }
    .section::after {
        width: 100%;
        height: 100%; 
        background: url(../assets/images/home/bg6.png) center bottom / contain no-repeat;
        top: -11%; 
        background-size: contain; 
    }
    #container1 {
        max-height: 95vh;
        aspect-ratio: 16 / 21;
        margin-top: -175px;
    }
}

@media (max-width: 620px) {
    #container1 {
        max-height: 95vh;
        aspect-ratio: 16 / 19;
        margin-top: -170px;
    }
    .slider {
        width: 98%;
        min-height: 350px;
    }
}

@media (max-width: 580px) {
    .section {
        min-height: 81vh; 
    }
    #container1 {
        max-height: 95vh;
        aspect-ratio: 16 / 21;
        margin-top: -195px;
    }
}

@media (max-width: 555px) {
    #container1 {
        max-height: 95vh;
        aspect-ratio: 16 / 23;
        margin-top: -210px;
    }
}

@media (max-width: 440px) {
    .section {
        min-height: 85vh;
    }

    .section::after {
        width: 100%;
        height: 100%; 
        background: url(../assets/images/home/bg3.png) center bottom / contain no-repeat;
        top: -5%; 
        background-size: contain;
    }
    #container1 .content {
        max-width: 300px;
    }
}


@media (max-width: 530px) {
    .left-content h2 {
        font-size: 1.5rem;
    }
    .donation-box h3{
        font-size: 1.2em;
        margin-bottom: 6px;
    }
    .donation-box p{
        font-size: 1em;
    }
    .donate-link{
        margin-top: 0;
        font-size: 0.9em;
    }
    .text img {
        width: 14vw; 
        height: 14vw;
        margin-left: -3vw;
    }
    #container3 h2 {
        font-size: 24px;
        letter-spacing: 0.8px;
    }

    #container1 .content h2 {
        font-size: 1.2em;
        padding: 6px 12px; 
    }

    #container1 .content p {
        font-size: 0.8em; 
        padding: 6px 12px; 
    }

    .welcome-content h2 {
        font-size: 1.4rem;
    }
    #container1 {
        max-height: 95vh;
        aspect-ratio: 16 / 28;
        margin-top: -225px;
    }
    .slider {
        width: 98%;
    }
    #container1 .content {
        max-width: 320px;
        padding: 10px;
    }
}
@media (max-width: 450px) {
    #container1 {
        max-height: 95vh;
        aspect-ratio: 16 / 30;
        margin-top: -235px;
    }
    .slider {
        min-height: 295px;
    }
}
@media (max-width: 430px) {
    #container1 {
        max-height: 95vh;
        aspect-ratio: 16 / 31;
        margin-top: -230px;
    }
}
@media (max-width: 410px) {
    #container1 {
        max-height: 95vh;
        aspect-ratio: 16 / 33;
        margin-top: -230px;
    }
}
@media (max-width: 385px) {
    #container1 {
        max-height: 95vh;
        aspect-ratio: 16 / 35;
        margin-top: -230px;
    }
}
@media (max-width: 336px) {
    .slider {
        min-height: 245px;
    }
}
@media (max-width: 315px) {
    .slider {
        min-height: 210px;
    }
}