/* Fonts already loaded in HTML */

/* Body and section */
.sanstha-section {
    font-family: Arial, sans-serif;
}

/* Image animation */
.fade-in-zoom {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    animation: fadeInZoom 1s forwards;
}
@keyframes fadeInZoom {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
.img-hover-tilt:hover {
    transform: scale(1.05) rotate(-1deg);
    transition: transform 0.5s ease;
}

/* Image styling */
.sanstha-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 0.78rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.15);
}

/* Content animation */
.content-slide {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideFade 1s forwards;
}
@keyframes slideFade {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.content-slide:hover {
    transform: translateX(0) scale(1.02);
    transition: transform 0.3s ease;
}

/* Headings */
.custom-heading {
    font-family: 'Merienda', cursive;
    font-size: 2.5rem;
    color: #eb5f2d;
}

/* Subtitle */
.sanstha-subtitle {
    color: #6c757d;
    font-style: italic;
}

/* Description */
.sanstha-description {
    text-align: justify;
    line-height: 1.7;
    color: #5a4d3a;
}

/* Buttons */
.custom-btn-primary {
    background-color: #eb5f2d;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 0.6rem 1.8rem;
    font-weight: 700;
    font-family: 'Merienda', cursive;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: btnPulse 2s infinite alternate;
}
.custom-btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 1rem 2rem rgba(235,95,45,0.4);
}
@keyframes btnPulse {
    0% { box-shadow: 0 0.5rem 1rem rgba(235,95,45,0.2); }
    100% { box-shadow: 0 1rem 1.8rem rgba(235,95,45,0.4); }
}

/* Top link */
#top {
    text-decoration: none;
    color: white;
}
#top:hover {
    color: black;
}
