* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

body {
    font-family: 'Lato', Arial, sans-serif;
    line-height: 1.55;
    color: #3B2F2A;
    background: #F6F3EE url('img/main.jpg') center center / cover no-repeat fixed;
    font-size: 16px;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.6s ease;
}

main {
    flex: 1;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    position: relative;
    z-index: 1;
    padding: 0;
}

.header-bar {
    background-color: #76a439;
    padding: 5px 0;
    animation: fadeInDown 0.8s ease;
}

.header-bar .container {
    text-align: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.header-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    animation: fadeIn 0.8s ease;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.header-bar h1 {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Photo Collage */
.collage-wrapper {
    background-color: rgba(246, 243, 238, 0.60);
    padding: 0;
}

.photo-collage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.collage-item {
    position: relative;
    overflow: hidden;
    background-color: #F6F3EE;
    height: 400px;
    animation: fadeIn 1s ease;
}

.collage-item:nth-child(1) {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.collage-item:nth-child(2) {
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.collage-item:nth-child(3) {
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.collage-item:nth-child(n+4) {
    display: none;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.3s ease;
}

.collage-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* Hero text after collage */
.hero-text {
    background-color: rgba(246, 243, 238, 0.60);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease 0.8s;
    animation-fill-mode: backwards;
}

.hero-title {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #3B2F2A;
    margin: 0 0 50px 0;
    line-height: 1.3;
    animation: fadeInUp 1s ease 1s;
    animation-fill-mode: backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: nowrap;
    animation: fadeInUp 1s ease 1.2s;
    animation-fill-mode: backwards;
}

.hero-btn {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, #76a439 0%, #8bc34a 100%);
    position: relative;
    overflow: hidden;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(118, 164, 57, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8bc34a 0%, #9ed45e 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-btn:hover::before {
    opacity: 1;
}

.hero-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(118, 164, 57, 0.5);
}

.hero-btn span {
    position: relative;
    z-index: 1;
}

@media (max-width: 1200px) {
    h2 {
        font-size: 30px;
    }
    
    h3 {
        font-size: 22px;
    }
    
    p {
        font-size: 16px;
    }
    
    .hero-title {
        font-size: 52px;
        margin: 0 0 40px 0;
    }
    
    .hero-btn {
        font-size: 16px;
        padding: 16px 35px;
    }
}

@media (max-width: 960px) {
    .header-bar {
        padding: 5px 0;
    }
    
    .header-content {
        gap: 12px;
    }
    
    .header-logo {
        height: 60px;
    }
    
    .header-bar h1 {
        font-size: 17px;
    }
    
    .collage-wrapper {
        padding: 0;
    }
    
    .photo-collage {
        grid-template-columns: repeat(3, 1fr);
        gap: 2px;
    }
    
    .collage-item {
        height: 300px;
    }
    
    .collage-item:nth-child(4),
    .collage-item:nth-child(5),
    .collage-item:nth-child(6) {
        display: block;
        opacity: 1;
        animation: none;
    }
    
    .collage-item:nth-child(n+7) {
        display: none;
    }
    
    .hero-text {
        padding: 60px 20px;
    }
    
    .hero-title {
        font-size: 42px;
        margin: 0 0 35px 0;
    }
    
    .hero-buttons {
        gap: 15px;
    }
    
    .hero-btn {
        font-size: 15px;
        padding: 14px 30px;
    }
}

@media (max-width: 640px) {
    .header-bar {
        padding: 8px 0;
    }
    
    .header-content {
        gap: 8px;
        flex-direction: column;
    }
    
    .header-logo {
        height: 50px;
    }
    
    .header-bar h1 {
        font-size: 15px;
    }
    
    h2 {
        font-size: 26px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    p {
        font-size: 14px;
        line-height: 1.45;
    }
    
    .collage-wrapper {
        padding: 0;
    }
    
    .photo-collage {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
    }
    
    .collage-item {
        height: 200px;
    }
    
    .collage-item:nth-child(4) {
        display: block;
        opacity: 1;
        animation: none;
    }
    
    .collage-item:nth-child(n+5) {
        display: none;
    }
    
    .hero-text {
        padding: 50px 20px;
    }
    
    .hero-title {
        font-size: 32px;
        margin: 0 0 30px 0;
    }
    
    .hero-buttons {
        gap: 15px;
        flex-direction: column;
        width: 100%;
    }
    
    .hero-btn {
        font-size: 15px;
        padding: 14px 25px;
        width: 100%;
        text-align: center;
        white-space: normal;
    }
}

/* Sections */
section {
    padding: 80px 20px;
    background-color: rgba(246, 243, 238, 0.95);
    position: relative;
    z-index: 1;
}

section:nth-child(even) {
    background-color: rgba(246, 243, 238, 0.90);
}

h2 {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 40px;
    color: #3B2F2A;
    line-height: 1.17;
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
    animation-delay: 0.2s;
}

h3 {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #3B2F2A;
    line-height: 1.35;
}

p {
    font-family: 'Lato', Arial, sans-serif;
    margin-bottom: 25px;
    color: #3B2F2A;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.55;
}

/* Hero section */
.hero {
    text-align: center;
    background-color: rgba(246, 243, 238, 0.60);
    padding-top: 40px;
}

.mission {
    margin: 0 0 20px 0;
    padding: 40px;
    background-color: rgba(246, 243, 238, 0.8);
    border-left: 4px solid #76a439;
}

.mission p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #3B2F2A;
}

.values {
    list-style: none;
    margin: 40px 0;
    font-size: 1.15rem;
}

.values li {
    padding: 12px 0;
    color: #3B2F2A;
    opacity: 0.85;
}

/* Map section */
.map-section {
    margin-top: 60px;
    padding: 40px;
    background-color: rgba(246, 243, 238, 0.8);
    border-radius: 8px;
    border: 2px solid #76a439;
}

.map-section h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #76a439;
}

.map-section > p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #3B2F2A;
}

.map-container {
    margin: 25px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
}

.map-link {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #76a439;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.05rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.map-link:hover {
    background-color: #7ea65a;
}

@media (max-width: 768px) {
    .map-section {
        padding: 30px 20px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

/* Why section */
.why {
    text-align: center;
}

/* Quotes Section Bottom */
.quotes-section-bottom {
    background-color: rgba(246, 243, 238, 0.95);
    padding: 100px 20px;
}

.quotes-section-bottom .container {
    max-width: 1200px;
}

/* Quotes Section */
.quotes-section {
    margin-top: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.quotes-title {
    font-size: 36px;
    font-weight: 600;
    color: #3B2F2A;
    margin-bottom: 50px;
    text-align: center;
}

.quotes-intro {
    text-align: center;
    margin-bottom: 60px;
}

.quotes-image {
    max-width: 300px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.quote-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(246, 243, 238, 0.95) 100%);
    padding: 35px;
    border-radius: 16px;
    border-left: 5px solid #76a439;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.quote-card:nth-child(1) { animation-delay: 0.05s; }
.quote-card:nth-child(2) { animation-delay: 0.1s; }
.quote-card:nth-child(3) { animation-delay: 0.15s; }
.quote-card:nth-child(4) { animation-delay: 0.2s; }
.quote-card:nth-child(5) { animation-delay: 0.25s; }
.quote-card:nth-child(6) { animation-delay: 0.3s; }
.quote-card:nth-child(7) { animation-delay: 0.35s; }
.quote-card:nth-child(8) { animation-delay: 0.4s; }
.quote-card:nth-child(9) { animation-delay: 0.45s; }
.quote-card:nth-child(10) { animation-delay: 0.5s; }
.quote-card:nth-child(11) { animation-delay: 0.55s; }
.quote-card:nth-child(12) { animation-delay: 0.6s; }
.quote-card:nth-child(13) { animation-delay: 0.65s; }
.quote-card:nth-child(14) { animation-delay: 0.7s; }
.quote-card:nth-child(15) { animation-delay: 0.75s; }
.quote-card:nth-child(16) { animation-delay: 0.8s; }
.quote-card:nth-child(17) { animation-delay: 0.85s; }
.quote-card:nth-child(18) { animation-delay: 0.9s; }

.quote-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(118, 164, 57, 0.25);
    border-left-width: 8px;
}

.quote-number {
    position: absolute;
    top: -15px;
    left: 25px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #76a439 0%, #8bc34a 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(118, 164, 57, 0.3);
}

.quote-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #76a439;
    margin: 15px 0 20px 0;
    line-height: 1.4;
}

.quote-card p {
    font-size: 17px;
    line-height: 1.8;
    color: #3B2F2A;
    margin-bottom: 20px;
    font-style: italic;
}

.quote-source {
    display: block;
    font-size: 14px;
    color: #76a439;
    font-weight: 500;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .quotes-title {
        font-size: 28px;
    }
    
    .quotes-image {
        max-width: 200px;
    }
    
    .quotes-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .quote-card {
        padding: 30px 25px;
    }
    
    .quote-card h4 {
        font-size: 18px;
    }
    
    .quote-card p {
        font-size: 16px;
    }
}

/* Video Section */
.video-section {
    margin-top: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.video-section h3 {
    font-size: 24px;
    font-weight: 500;
    color: #3B2F2A;
    margin-bottom: 25px;
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background-color: #000;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container video:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .video-section {
        margin-top: 60px;
    }
    
    .video-section h3 {
        font-size: 24px;
    }
}

/* Content with image layout */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 40px 0;
}

.content-with-image.reverse {
    grid-template-columns: 1fr 1fr;
}

.content-with-image.reverse .text-content {
    order: 2;
}

.content-with-image.reverse .section-image {
    order: 1;
}

.text-content {
    text-align: left;
}

.section-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.section-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .content-with-image,
    .content-with-image.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-with-image.reverse .text-content,
    .content-with-image.reverse .section-image {
        order: unset;
    }
    
    .text-content {
        text-align: center;
    }
}

/* Help Options Section */
.help-options {
    text-align: center;
    background-color: rgba(246, 243, 238, 0.95);
}

.section-intro {
    font-size: 24px;
    font-weight: 400;
    color: #76a439;
    margin-bottom: 60px;
}

.help-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.help-card {
    background-color: #ffffff;
    padding: 50px 30px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: scaleIn 0.6s ease forwards;
}

.help-card:nth-child(1) { animation-delay: 0.2s; }
.help-card:nth-child(2) { animation-delay: 0.4s; }
.help-card:nth-child(3) { animation-delay: 0.6s; }

.help-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 45px rgba(118, 164, 57, 0.3);
    border-color: #76a439;
}

.help-card.featured {
    background: linear-gradient(135deg, rgba(118, 164, 57, 0.05) 0%, rgba(139, 195, 74, 0.05) 100%);
    border: 2px solid #76a439;
    transform: scale(1.05);
}

.help-card.featured:hover {
    transform: scale(1.08) translateY(-8px);
}

.help-icon {
    font-size: 64px;
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.help-card:hover .help-icon {
    transform: scale(1.2) rotate(5deg);
}

.help-card h3 {
    font-size: 26px;
    font-weight: 600;
    color: #3B2F2A;
    margin-bottom: 20px;
}

.help-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #3B2F2A;
    margin-bottom: 20px;
    flex-grow: 1;
}

.help-price {
    font-size: 20px;
    font-weight: 600;
    color: #76a439;
    margin: 30px 0;
}

.help-btn {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(135deg, #76a439 0%, #8bc34a 100%);
    color: #ffffff;
    text-decoration: none;
    font-family: 'Lato', Arial, sans-serif;
    margin-top: auto;
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(118, 164, 57, 0.3);
    position: relative;
    overflow: hidden;
}

.help-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8bc34a 0%, #9ed45e 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.help-btn:hover::before {
    opacity: 1;
}

.help-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(118, 164, 57, 0.4);
}

.help-btn span {
    position: relative;
    z-index: 1;
}

@media (max-width: 960px) {
    .help-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .help-card.featured {
        transform: scale(1);
    }
    
    .help-card.featured:hover {
        transform: translateY(-8px);
    }
}

/* Participate section */
.participate {
    background-color: #F6F3EE;
}

.options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

.option {
    padding: 40px 30px;
    background-color: rgba(246, 243, 238, 0.85);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.option:hover {
    transform: translateY(-5px);
    border-color: #76a439;
    box-shadow: 0 4px 15px rgba(118, 164, 57, 0.15);
}

.option h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #3B2F2A;
}

.price {
    font-size: 1.2rem;
    font-weight: 400;
    color: #76a439;
    margin-bottom: 25px;
}

.note {
    margin-top: 50px;
    padding: 35px;
    background-color: rgba(246, 243, 238, 0.8);
    border-left: 4px solid #76a439;
}

/* Promise section */
.promises {
    list-style: none;
    margin: 35px 0;
}

.promises > li {
    padding: 15px 0;
    color: #3B2F2A;
    font-size: 1.1rem;
}

.promises ul {
    list-style: none;
    margin-left: 25px;
    margin-top: 15px;
}

.promises ul li {
    padding: 8px 0;
    color: #3B2F2A;
    font-size: 1.05rem;
    opacity: 0.85;
}

/* Photos section */
.photos {
    background-color: rgba(246, 243, 238, 0.90);
}

.animals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 50px;
}

.animal-card {
    background-color: #F6F3EE;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.animal-card:nth-child(1) { animation-delay: 0.1s; }
.animal-card:nth-child(2) { animation-delay: 0.2s; }
.animal-card:nth-child(3) { animation-delay: 0.3s; }
.animal-card:nth-child(4) { animation-delay: 0.4s; }
.animal-card:nth-child(5) { animation-delay: 0.5s; }
.animal-card:nth-child(6) { animation-delay: 0.6s; }
.animal-card:nth-child(7) { animation-delay: 0.7s; }
.animal-card:nth-child(8) { animation-delay: 0.8s; }
.animal-card:nth-child(9) { animation-delay: 0.9s; }
.animal-card:nth-child(10) { animation-delay: 1s; }
.animal-card:nth-child(11) { animation-delay: 1.1s; }
.animal-card:nth-child(12) { animation-delay: 1.2s; }
.animal-card:nth-child(13) { animation-delay: 1.3s; }

.animal-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(118, 164, 57, 0.25);
    border-color: #76a439;
}

.animal-card.memorial {
    opacity: 0.85;
    position: relative;
}

.animal-card.memorial::after {
    content: '🕊️';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    opacity: 0.6;
}

.animal-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
}

.animal-card:hover img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

.animal-card h3 {
    padding: 25px 20px 15px;
    margin: 0;
    font-size: 1.6rem;
    font-weight: 300;
    text-align: center;
    color: #3B2F2A;
}

.animal-description {
    padding: 0 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: #3B2F2A;
    margin-bottom: 30px;
    opacity: 0.85;
    flex-grow: 1;
}

.guardian-btn {
    display: block;
    width: 100%;
    margin: 0;
    margin-top: auto;
    padding: 15px 30px;
    background: linear-gradient(135deg, #76a439 0%, #8bc34a 100%);
    color: #ffffff;
    border: none;
    font-size: 1.05rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.guardian-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.guardian-btn:hover {
    background: linear-gradient(135deg, #8bc34a 0%, #76a439 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(118, 164, 57, 0.4);
}

.guardian-btn:hover::before {
    left: 100%;
}

/* Animal Detail Pages */
.animal-detail {
    padding: 80px 20px 40px 20px;
    background-color: rgba(246, 243, 238, 0.85);
}

.animal-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.animal-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Animal Gallery */
.animal-gallery {
    width: 100%;
}

.gallery-main {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background-color: #000;
    aspect-ratio: 4/3;
}

.gallery-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.gallery-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.gallery-nav {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.gallery-nav-btn {
    flex: 1;
    min-width: 100px;
    padding: 12px 20px;
    background-color: rgba(118, 164, 57, 0.1);
    color: #76a439;
    border: 2px solid #76a439;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Lato', sans-serif;
}

.gallery-nav-btn:hover {
    background-color: rgba(118, 164, 57, 0.2);
}

.gallery-nav-btn.active {
    background-color: #76a439;
    color: #ffffff;
}

@media (max-width: 768px) {
    .gallery-nav-btn {
        min-width: 80px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Modal for full-size images */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
    line-height: 1;
}

.modal-close:hover {
    color: #76a439;
}

.modal-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 1.2rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 30px;
    border-radius: 4px;
}

/* Messenger choice modal */
.messenger-choice-content {
    background: #ffffff;
    padding: 50px 60px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    animation: zoomIn 0.3s ease;
}

.messenger-choice-content h3 {
    font-size: 2rem;
    color: #3B2F2A;
    margin-bottom: 40px;
    font-weight: 600;
}

.messenger-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.messenger-choice-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 20px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.messenger-choice-btn.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #00a0e9 100%);
    color: #ffffff;
}

.messenger-choice-btn.telegram:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
}

.messenger-choice-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
}

.messenger-choice-btn.whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.messenger-icon {
    font-size: 3rem;
}

.messenger-close-btn {
    background: #f0f0f0;
    color: #3B2F2A;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Lato', Arial, sans-serif;
}

.messenger-close-btn:hover {
    background: #e0e0e0;
}

@media (max-width: 640px) {
    .messenger-choice-content {
        padding: 30px 25px;
        margin: 0 15px;
    }
    
    .messenger-choice-content h3 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .messenger-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .messenger-choice-btn {
        padding: 25px 20px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

.gallery-item[data-type="image"] {
    cursor: zoom-in;
}

@media (max-width: 768px) {
    .modal-close {
        top: 15px;
        right: 20px;
        font-size: 40px;
    }
    
    .modal-caption {
        bottom: 15px;
        font-size: 1rem;
        padding: 8px 20px;
    }
}

.animal-detail-text h2 {
    font-size: 3rem;
    font-weight: 300;
    color: #3B2F2A;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.animal-story {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #3B2F2A;
    margin-bottom: 40px;
}

.animal-story p {
    margin-bottom: 20px;
}

.animal-detail-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.back-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: rgba(118, 164, 57, 0.1);
    color: #76a439;
    border: 2px solid #76a439;
    font-size: 1.05rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    text-decoration: none;
    border-radius: 4px;
}

.back-btn:hover {
    background-color: #76a439;
    color: #ffffff;
}

.guardian-btn-large {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #76a439 0%, #8bc34a 100%);
    color: #ffffff;
    border: none;
    font-size: 1.1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(118, 164, 57, 0.3);
    font-family: 'Lato', Arial, sans-serif;
}

.guardian-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(118, 164, 57, 0.4);
}

@media (max-width: 960px) {
    .animal-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .animal-detail-text h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .animal-detail {
        padding: 60px 20px;
    }
    
    .animal-detail-text h2 {
        font-size: 2rem;
    }
    
    .animal-story {
        font-size: 1.1rem;
    }
    
    .animal-detail-actions {
        flex-direction: column;
    }
    
    .back-btn,
    .guardian-btn-large {
        width: 100%;
        text-align: center;
    }
}

/* Contact section */
.contact {
    text-align: center;
}

.contact-info {
    margin: 50px 0;
    padding: 40px;
    background-color: rgba(246, 243, 238, 0.85);
    border: 2px solid #76a439;
    border-radius: 12px;
    opacity: 0;
    animation: scaleIn 0.8s ease forwards;
    animation-delay: 0.3s;
}

.contact-info a {
    color: #76a439;
    text-decoration: none;
    font-size: 1.2rem;
    border-bottom: 2px solid #76a439;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
}

.contact-info a:hover {
    opacity: 0.7;
    transform: translateY(-2px);
    border-bottom-width: 3px;
}

.community-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #0088cc 0%, #00a0e9 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.community-link:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.5);
    opacity: 1 !important;
    background: linear-gradient(135deg, #00a0e9 0%, #0088cc 100%);
}

/* Requisites section */
.requisites-section {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(246, 243, 238, 0.95) 100%);
    border: 2px solid #76a439;
    border-radius: 12px;
    opacity: 0;
    animation: scaleIn 0.8s ease forwards;
    animation-delay: 0.5s;
}

.requisites-section h3 {
    font-size: 1.8rem;
    color: #3B2F2A;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.requisites-content {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #76a439;
}

.requisites-content p {
    margin: 12px 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #3B2F2A;
}

.requisites-content p strong {
    color: #76a439;
    font-weight: 600;
    display: inline-block;
    min-width: 150px;
}

.telegram-icon {
    font-size: 1.5rem;
}

/* Honest section */
.honest {
    text-align: center;
}

.final-image {
    margin-top: 50px;
}

.final-image img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(118, 164, 57, 0.2);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(246, 243, 238, 0.85);
    color: #3B2F2A;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    margin-top: 0;
    border-top: 2px solid rgba(118, 164, 57, 0.3);
}

footer p {
    transition: color 0.3s ease;
}

footer p:hover {
    color: #76a439;
}

footer p {
    margin: 0;
    color: #3B2F2A;
    opacity: 0.7;
}

/* Floating Messengers */
.floating-messengers {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: fadeIn 1s ease 2s;
    animation-fill-mode: backwards;
}

.messenger-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #76a439 0%, #8bc34a 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(118, 164, 57, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.messenger-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(118, 164, 57, 0.5);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(118, 164, 57, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(118, 164, 57, 0.6);
    }
}

.messenger-options {
    position: absolute;
    bottom: 75px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.messenger-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.messenger-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    color: #ffffff;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    transform-origin: right center;
}

.messenger-btn:hover {
    transform: translateX(-8px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.messenger-btn.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #00a0e9 100%);
}

.messenger-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.messenger-btn svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .floating-messengers {
        bottom: 20px;
        right: 20px;
    }
    
    .messenger-toggle {
        width: 55px;
        height: 55px;
    }
    
    .messenger-btn {
        font-size: 14px;
        padding: 10px 16px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 60px 20px 40px;
    }

    header h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 60px 20px;
    }

    .options {
        grid-template-columns: 1fr;
    }

    .animals-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .animal-card img {
        height: 280px;
    }
}

/* Responsive для animals-grid на средних экранах */
@media (max-width: 960px) and (min-width: 641px) {
    .animals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .requisites-section {
        padding: 30px 20px;
        margin-top: 40px;
    }
    
    .requisites-section h3 {
        font-size: 1.5rem;
    }
    
    .requisites-content {
        padding: 20px 15px;
    }
    
    .requisites-content p {
        font-size: 0.95rem;
    }
    
    .requisites-content p strong {
        display: block;
        margin-bottom: 5px;
        min-width: auto;
    }
}
