.bg-effl{
  background-color: #8c040e !important;
}

#header .header-nav-main nav > ul > li > a.active {
    color: #e36159 !important;
}

#header .header-nav-main nav > ul > li > a.active:before {
    border-color: #e36159;
}

#header .header-nav-main nav > ul > li:hover > a.active,
#header .header-nav-main nav > ul > li.open > a.active {
    color: #e36159 !important;
}

#header .header-nav-main nav > ul > li:hover > a.active:before,
#header .header-nav-main nav > ul > li.open > a.active:before {
    border-color: #e36159;
}

#bagis-page .header-static {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

#bagis-page .header-static .header-body {
    background-color: #383f48 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Hide donation button on desktop, show only on mobile */
#bagis-button-mobil {
    display: none;
}

@media (max-width: 575px) {
    #bagis-button-mobil {
        display: inline-block;
    }
}

@media (max-width: 767px) {
    #footer .footer-copyright .row {
        flex-direction: column;
        text-align: center;
    }
    
    #footer .footer-copyright .row .col-auto {
        margin-bottom: 1rem;
    }
    
    #footer .footer-copyright .row .col-auto:last-child {
        margin-bottom: 0;
    }
}

#bagis-page .header-static {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

#bagis-page .header-static .header-body {
    background-color: #383f48 !important;
    opacity: 1 !important;
    visibility: visible !important;
    min-height: 78px !important; /* Add this */
    transition: none !important; /* Add this to prevent animation issues */
}

/* Add this new rule to ensure immediate rendering */
#bagis-page .header-container {
    min-height: 78px !important;
}

.bg-effl{
  background-color: #8c040e !important;
}

#header .header-nav-main nav > ul > li > a.active {
    color: #e36159 !important;
}

#header .header-nav-main nav > ul > li > a.active:before {
    border-color: #e36159;
}

#header .header-nav-main nav > ul > li:hover > a.active,
#header .header-nav-main nav > ul > li.open > a.active {
    color: #e36159 !important;
}

#header .header-nav-main nav > ul > li:hover > a.active:before,
#header .header-nav-main nav > ul > li.open > a.active:before {
    border-color: #e36159;
}

/* Bagis Page Header Fixes */
#bagis-page .header-static {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

#bagis-page .header-static .header-body {
    background-color: #383f48 !important;
    opacity: 1 !important;
    visibility: visible !important;
    min-height: 78px !important;
    transition: none !important;
}

#bagis-page .header-container {
    min-height: 78px !important;
}

/* Hide donation button on desktop, show only on mobile */
#bagis-button-mobil {
    display: none;
}

@media (max-width: 575px) {
    #bagis-button-mobil {
        display: inline-block;
    }
}

/* Fix 1: Center footer copyright on mobile */
@media (max-width: 767px) {
    #footer .footer-copyright .row {
        flex-direction: column;
        text-align: center;
    }
    
    #footer .footer-copyright .row .col-auto {
        margin-bottom: 1rem;
    }
    
    #footer .footer-copyright .row .col-auto:last-child {
        margin-bottom: 0;
    }
}

/* Fix 3: Mobile scrolling fixes for index.html */
@media (max-width: 991px) {
    /* Simplify header on mobile */
    #header {
        position: static !important;
        top: 0 !important;
        height: auto !important;
        margin-bottom: 0 !important;
    }
    
    /* Remove negative margin completely */
    .main {
        margin-top: 0 !important;
    }
    
    /* Fix hero section */
    #anasayfa {
        margin-top: 0 !important;
    }
    
    /* Ensure body can scroll */
    html, body {
        overflow-x: hidden;
        overflow-y: scroll !important;
        -webkit-overflow-scrolling: touch;
        height: auto !important;
        min-height: 100vh;
    }
    
    body {
        position: relative;
    }
    
    /* Force scrollable state on page load */
    .body {
        overflow: visible !important;
        height: auto !important;
    }
}

/* Fix white gap on bagis.html mobile */
@media (max-width: 991px) {
    #bagis-page .main {
        margin-top: 0 !important;
    }
    
    #bagis-page #bagis {
        margin-top: 0 !important;
        padding-top: 2rem !important;
    }
}

/* Fix card heights on bagis.html for all screen sizes */
#bagis .custom-card-style-1 {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#bagis .custom-card-style-1 .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#bagis .custom-card-style-1 .card-title {
    min-height: 3em; /* Ensures consistent title height */
}

/* Fix card heights on bagis.html for all screen sizes */
#bagis .custom-card-style-1 {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#bagis .custom-card-style-1 .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#bagis .custom-card-style-1 .card-title {
    min-height: 3em; /* Ensures consistent title height */
}

/* Ensure columns have equal height on tablets and up */
@media (min-width: 768px) {
    #bagis .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    #bagis .row > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }
}v