/* ==========================================================================
   SCFA Visual Improvements - Enhanced UI/UX
   Keeping same structure, same colors, better visual appeal
   ========================================================================== */

/* Enhanced Hero Section */
.heroInformation {
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.heroInformation::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-10px, -10px) scale(1.1); }
}

.heroInformation h3 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

/* Enhanced About Section */
#about-section {
    position: relative;
}

#about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 178, 210, 0.95) 0%, rgba(45, 53, 143, 0.95) 100%);
    z-index: 0;
}

#about-section .container {
    position: relative;
    z-index: 1;
}

.titleAbout h5 {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.aboutPar {
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Enhanced Team Cards */
.teamCard {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background: white;
}

.teamCard:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(228, 35, 50, 0.2);
}

.teamCard img {
    transition: transform 0.4s ease;
    border-radius: 15px 15px 0 0;
}

.teamCard:hover img {
    transform: scale(1.05);
}

.teamCard h4 {
    color: #2D358F;
    font-weight: 700;
    margin: 15px 0 10px;
}

.teamCard p {
    color: #707070;
    font-size: 0.95rem;
    padding: 0 15px 20px;
}

/* Enhanced Banner Section */
.enhanced-banner {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.enhanced-banner .bannerInfos {
    padding: 40px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.enhanced-banner .bannerInfos h5 {
    color: #e42332;
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 2rem;
}

.enhanced-banner .bannerInfos p {
    color: #2D358F;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.enhanced-banner .banner-cta {
    display: inline-block;
    background: linear-gradient(135deg, #e42332 0%, #c41e2a 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(228, 35, 50, 0.3);
}

.enhanced-banner .banner-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(228, 35, 50, 0.4);
    color: white;
}

.enhanced-banner .bannerImages img {
    border-radius: 20px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

/* Enhanced Stray Work Section Cards */
.strayWorkCard {
    position: relative;
    overflow: hidden;
}

.strayWorkCard::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 178, 210, 0.1), transparent);
    transition: left 0.5s ease;
}

.strayWorkCard:hover::after {
    left: 100%;
}

/* Donation Section Enhancement */
.donationContainer {
    gap: 30px;
}

.donationBox {
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.donationBox:hover {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.paymentBox {
    transition: all 0.3s ease;
    border-radius: 15px;
    padding: 20px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.paymentBox:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(45, 53, 143, 0.2);
}

/* Enhanced Form Inputs */
input[type="text"],
input[type="email"],
textarea,
select {
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    border-color: #2DB2D2;
    box-shadow: 0 0 0 3px rgba(45, 178, 210, 0.1);
    outline: none;
}

/* Submit Button Enhancement */
.submit-form-btn {
    background: linear-gradient(135deg, #e42332 0%, #c41e2a 100%);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(228, 35, 50, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-form-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-form-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-form-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(228, 35, 50, 0.4);
}

/* Image Gallery Enhancement */
.image-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.image-link img {
    transition: transform 0.5s ease;
}

.image-link:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(228, 35, 50, 0.8) 0%, rgba(45, 53, 143, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-link:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 2rem;
}

/* Carousel Enhancement */
.carousel-item img {
    border-radius: 10px;
}

#home-shop-slider .product-image:hover img {
    transform: scale(1.05);
}

#home-shop-slider .product-image {
    position: relative;
    overflow: hidden;
}

#home-shop-slider .product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(228, 35, 50, 0.1) 0%, rgba(45, 53, 143, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 15px;
}

#home-shop-slider .product-image:hover::after {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(228, 35, 50, 0.8);
    padding: 20px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(228, 35, 50, 1);
    transform: scale(1.1);
}

/* Footer Enhancement */
.footerBox {
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 10px;
}

.footerBox:hover {
    background: rgba(45, 178, 210, 0.1);
    transform: translateX(5px);
}

/* Custom Hyperlinks */
.custom-hyperlink {
    color: #2D358F;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.custom-hyperlink::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e42332;
    transition: width 0.3s ease;
}

.custom-hyperlink:hover::after {
    width: 100%;
}

/* Back to Top Button Enhancement */
#mkdf-back-to-top {
    background: linear-gradient(135deg, #e42332 0%, #c41e2a 100%);
    box-shadow: 0 5px 15px rgba(228, 35, 50, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

#mkdf-back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(228, 35, 50, 0.5);
}

/* Section Divider Enhancement */
.sectionDivider {
    height: 3px;
    background: linear-gradient(90deg, #e42332 0%, #2DB2D2 50%, #2D358F 100%);
    margin: 0;
}

/* Language Container Enhancement */
#language-container {
    transition: all 0.3s ease;
}

#language-container:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Modal Enhancement */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: 2px solid #e42332;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Table Enhancement (for donor categories) */
.table {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, #2D358F 0%, #2DB2D2 100%);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background-color: rgba(45, 178, 210, 0.05);
    transform: scale(1.01);
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* ========================================
   PAGE-SPECIFIC VISUAL ENHANCEMENTS
   ======================================== */

/* Donation Page Enhancements */
.donationTitle {
    color: #e42332;
    font-weight: 800;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.donationPar {
    color: #2D358F;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 30px;
}

/* Clinic Page Enhancements */
.clinicHeader {
    color: #e42332;
    font-weight: 800;
    margin-bottom: 25px;
}

.clinicPar {
    color: #2D358F;
    font-size: 1.1rem;
    line-height: 1.8;
}

.clinicDot {
    margin: 15px 0;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.clinicDot:hover {
    background: rgba(45, 178, 210, 0.05);
    transform: translateX(10px);
}

.clinicDot h4 {
    color: #2D358F;
    font-weight: 600;
    margin: 0;
}

/* Hotel/Restaurant Page */
.sectionTitle {
    color: #e42332;
    font-weight: 800;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
}

.sectionText {
    color: #2D358F;
    font-size: 1.1rem;
    line-height: 1.8;
}

.twoBoxesHotel .box1 {
    padding: 20px 25px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.twoBoxesHotel .box1 p {
    color: #2D358F !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.twoBoxesHotel .box1:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 178, 210, 0.15);
}

/* Adoption/Volunteer Forms */
.adoptionBox, .volunteerForm {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.adoptionBox h4, .volunteerForm h4 {
    color: #e42332;
    font-weight: 700;
    margin-bottom: 15px;
}

.adoptionBox p, .volunteerForm p {
    color: #2D358F;
    line-height: 1.6;
}

.volunteerForm input,
.adoptionForm input,
.adoptionForm select {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    margin: 10px 0;
    width: 100%;
    transition: all 0.3s ease;
}

.volunteerForm input:focus,
.adoptionForm input:focus,
.adoptionForm select:focus {
    border-color: #2DB2D2;
    box-shadow: 0 0 0 3px rgba(45, 178, 210, 0.1);
    outline: none;
}

.leftBox {
    border-left: 5px solid #e42332;
}

.rightBox {
    border-left: 5px solid #2DB2D2;
}

/* Gallery Page */
.galleryTitleSection {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #2D358F 0%, #2DB2D2 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: 30px;
}

.galleryTitleSection:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(45, 53, 143, 0.3);
}

.galleryTitleSection h3 {
    color: white;
    font-weight: 700;
    margin: 0;
}

.galleryTitleSection small {
    color: rgba(255, 255, 255, 0.9);
}

/* Actions Page Cards */
.actionCard {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
}

.actionCard:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(228, 35, 50, 0.15);
}

.actionTitle {
    color: #e42332;
    font-weight: 700;
    font-size: 1.2rem;
}

.actionIcon a {
    color: #2DB2D2;
    transition: all 0.3s ease;
}

.actionCard:hover .actionIcon a {
    color: #e42332;
    transform: translateY(5px);
}

/* Forum/Education Pages */
.educationContainer {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin: 15px 0;
}

.educationContainer i {
    color: #2DB2D2;
    font-size: 1.5rem;
}

.educationContainer h4 {
    color: #e42332;
    font-weight: 700;
    margin: 0;
}

.educationContainer .fa-chevron-down {
    color: #2D358F;
    font-size: 1.2rem;
}

.educationContainer:hover {
    box-shadow: 0 8px 25px rgba(45, 53, 143, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.educationContainer:hover h4 {
    color: #e42332;
}

.educationContainer:hover .fa-chevron-down {
    transform: translateY(3px);
}

/* Contact Page */
.contactTitle {
    color: #e42332;
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 30px;
}

.contactInfoBox {
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    margin: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.contactInfoBox:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(45, 178, 210, 0.15);
}

.contactValue {
    color: #2D358F;
    font-weight: 600;
}

/* Opening Hours */
.openHoursTitle {
    color: #e42332;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.openHours {
    color: #2D358F;
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(45, 178, 210, 0.2);
}

.openHours span {
    color: #707070;
    font-weight: 600;
}

/* Action Detail Sections */
.actionDetailContainer {
    padding: 60px 0;
}

.actionDetailTitle {
    color: #e42332;
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 25px;
}

.actionDetailPar {
    color: #2D358F;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.actionCta {
    display: inline-block;
    background: linear-gradient(135deg, #2D358F 0%, #2DB2D2 100%);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(45, 53, 143, 0.3);
}

.actionCta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 53, 143, 0.4);
    color: white;
}

/* General Link Enhancement */
a {
    transition: all 0.3s ease;
}

/* Page Headers Enhancement - REMOVED TO KEEP ORIGINAL IMAGES VISIBLE */

/* Support Section Enhancement */
#supportSection {
    position: relative;
}

#supportSection .col-md-6:nth-child(odd) div {
    border-left: 4px solid #e42332;
}

#supportSection .col-md-6:nth-child(even) div {
    border-left: 4px solid #2DB2D2;
}

#supportSection .btn {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#supportSection .btn:hover {
    transform: translateY(-3px) scale(1.05);
}

/* Disclaimer Text Enhancement */
.disclaimerText {
    color: #2D358F;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding: 20px;
    background: rgba(45, 178, 210, 0.1);
    border-radius: 15px;
    margin: 30px 0;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .strayWorkCard {
        min-width: 100% !important;
    }
    
    .teamCard {
        margin: 15px auto;
        max-width: 350px;
    }
    
    .donationContainer {
        flex-direction: column;
    }
    
    .sectionTitle {
        font-size: 2rem !important;
    }
    
    .supportTitle h2 {
        font-size: 2rem !important;
    }
    
    /* Hide top nav links on mobile, show only hamburger */
    .allMenu .newLayout:not(.hamburger) {
        display: none;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .newLayout a {
        font-size: 0.85rem;
        padding: 8px 15px;
    }
}


/* Add subtle animation on page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Spacing and Whitespace Improvements */
section {
    padding: 60px 0;
}

/* Better Typography */
h2, h3, h4, h5 {
    font-weight: 700;
    margin-bottom: 20px;
}

p {
    line-height: 1.8;
}

/* ========================================
   NAVIGATION BAR ENHANCEMENTS
   ======================================== */

/* Enhanced Header */
header.header-anim {
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

header.header-anim:hover {
    box-shadow: 0 4px 25px rgba(45, 53, 143, 0.15);
}

.navbar-brand img {
    transition: transform 0.3s ease;
    max-height: 70px;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Top Navigation Bar */
.allMenu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.newLayout {
    margin: 0 5px;
}

.newLayout a {
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
}

.newLayout:not(.hamburger) a:hover {
    background: rgba(228, 35, 50, 0.9) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(228, 35, 50, 0.3);
}

.newLayout.active a {
    background: rgba(228, 35, 50, 0.8) !important;
    box-shadow: 0 3px 10px rgba(228, 35, 50, 0.3);
}

.newLayout.hamburger {
    background: rgba(228, 35, 50, 0.8);
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.newLayout.hamburger:hover {
    background: rgba(228, 35, 50, 1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(228, 35, 50, 0.4);
}

.newLayout.hamburger a {
    display: inline-block !important;
    color: white !important;
}

.newLayout.hamburger i {
    color: white !important;
    font-size: 1.2rem !important;
    display: inline-block !important;
    margin-left: 8px;
}

/* Offcanvas Menu Enhancement */
.offcanvas-end {
    width: 320px !important;
}

/* Enhanced Shadow Utilities */
.shadow-soft {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
}

.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Improved Button Group */
.btn-group-custom {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-group-custom .btn {
    min-width: 150px;
}

/* Enhanced Loading State */
.spinner-border {
    width: 1.2rem;
    height: 1.2rem;
    border-width: 0.2em;
}

/* Cookie Consent Enhancement */
.cookie-consent-banner {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-consent-button {
    border-radius: 25px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.cookie-consent-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

