/********** Template CSS **********/
:root {
    --bs-tertiary: #797E88;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-normal {
    font-weight: 400 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Top Bar ***/
.top-bar {
    height: 90px;
    padding: 0 90px;
}

.top-bar h6 {
    letter-spacing: 1px;
}


/*** Nav Bar ***/
.nav-bar {
    padding: 0 90px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    color: var(--bs-dark);
    font-size: 18px;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-white);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        border-top: 1px solid var(--bs-white);
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header Carousel ***/
.header-carousel {
    position: relative;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.header-carousel .carousel-img {
    position: relative;
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: none;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bs-dark);
    background: #28a745;
}

/* Show carousel navigation only on md screens and above */
@media (min-width: 768px) {
    .header-carousel .owl-nav {
        display: block;
    }
}

.page-header {
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-tertiary);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: #ffc107;
}

.page-header .breadcrumb-item.active {
    color: var(--bs-dark);
}


/*** Video ***/
.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--bs-dark);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--bs-dark);
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--bs-dark);
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--bs-white);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: var(--bs-white);
    background: #000000;
    opacity: 1;
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 0px;
    top: 5px;
    left: -40px;
    border-top: 2px solid #ffc107;
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 0px;
    bottom: 6px;
    left: -60px;
    border-bottom: 2px solid #ffc107;
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** About ***/
.about-img {
    position: relative;
}

.about-img::before,
.about-img::after {
    position: absolute;
    content: "";
    width: 33%;
    height: 90px;
    background: var(--bs-white);
    display: none;
}

.about-img::before {
    top: 0px;
    left: 0px;
}

.about-img::after {
    right: 0px;
    bottom: 0px;
}

/* Show decorative elements on md and above */
@media (min-width: 768px) {
    .about-img::before,
    .about-img::after {
        display: block;
    }
}


/*** Service ***/
.service-title {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.service-item {
    overflow: hidden;
}

.service-item .btn-square {
    width: 65px;
    height: 65px;
}

.service-item a {
    position: relative;
    padding: 0;
    font-size: 14px;
    line-height: 14px;
    text-transform: uppercase;
    transition: .5s;
}

.service-item a::after {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    left: 100%;
    bottom: 3px;
    margin-left: 10px;
    border-bottom: 2px solid var(--bs-primary);
}


/*** Donation ***/
.donation-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.donation-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.donation-item .donation-progress {
    width: 80px;
}

.donation-item .progress .progress-bar {
    height: 20px;
    overflow: visible;
    transition: 3s;
}


/*** Banner ***/
.banner .banner-inner {
    position: relative;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.banner .banner-inner::before,
.banner .banner-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
}

.banner .banner-inner::before {
    top: 0;
    left: 0;
    border-top: 150px solid var(--bs-primary);
    border-right: 150px solid transparent;
}

.banner .banner-inner::after {
    right: 0;
    bottom: 0;
    border-bottom: 150px solid var(--bs-secondary);
    border-left: 150px solid transparent;
}


/*** Event ***/
.event-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.event-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}


/*** Donate ***/
.donate .donate-text {
    position: relative;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.donate .donate-text::before,
.donate .donate-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
}

.donate .donate-text::before {
    top: 0;
    left: 0;
    border-top: 150px solid var(--bs-primary);
    border-right: 150px solid transparent;
}

.donate .donate-text::after {
    right: 0;
    bottom: 0;
    border-bottom: 150px solid var(--bs-secondary);
    border-left: 150px solid transparent;
}

.donate .donate-form .form-control {
    border: none;
    background: rgba(255, 255, 255, .5);
}

.donate .donate-form .btn-group {
    display: flex;
}

.donate .donate-form .btn-group .btn {
    margin: 0;
    padding: 0;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--bs-tertiary);
    background: rgba(255, 255, 255, .5);
}

.donate .donate-form .btn-group .btn-check:checked+.btn {
    border: none;
    background: var(--bs-white);
}



/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
    transition: .5s;
}

.team-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.team-item .team-detail span {
    letter-spacing: 2px;
}



/*** Testimonial ***/
.testimonial-title {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.testimonial-carousel .owl-prev,
.testimonial-carousel .owl-next {
    width: 45px;
    height: 45px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--bs-white);
    background: var(--bs-secondary);
    transition: .5s;
}

.testimonial-carousel .owl-prev:hover,
.testimonial-carousel .owl-next:hover {
    color: var(--bs-secondary);
    background: var(--bs-white);
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-nav {
        top: 6.3rem;
    }
}



/*** Footer ***/
.footer {
    color: var(--bs-tertiary);
    background: linear-gradient(rgba(5, 19, 17, .95), rgba(5, 19, 17, .95)), url(../img/bg-footer.jpg) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-tertiary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* Nav polish moved from inline styles */
.navbar-brand img{height:56px;}
.nav-link{font-weight:600; color:#333 !important; position:relative}
.nav-link::after{content:"";position:absolute;left:50%;transform:translateX(-50%);bottom:-6px;width:0;height:2px;background:#ffc107;transition:width .25s ease}
.nav-link:hover::after{width:60%}
.navbar-nav .nav-item .nav-link.active::after{width:60%}
@media (max-width:991px){ .navbar-brand img{height:46px;} }

/* Enhanced Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
}

.footer .footer-about p {
    font-size: 14px;
    line-height: 1.8;
}

.footer .footer-social {
    gap: 8px;
}

.footer .footer-social .btn-square {
    transition: all 0.3s ease;
}

.footer .footer-social .btn-square:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer .footer-links .btn-link,
.footer .footer-links p {
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer .footer-links a:hover {
    color: #28a745;
    transform: translateX(5px);
}

.footer .footer-contact p {
    font-size: 14px;
    line-height: 1.6;
}

.footer .footer-contact a {
    transition: color 0.3s ease;
}

.footer .footer-contact a:hover {
    color: var(--bs-primary) !important;
}

.footer h4, 
.footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
}

.footer .footer-newsletter .input-group {
    border-radius: 0;
    overflow: hidden;
}

.footer .footer-newsletter .form-control {
    border: none;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
}

.footer .footer-newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer .footer-newsletter .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    color: white;
}

.footer .footer-newsletter .btn {
    background: var(--bs-primary);
    border: none;
    padding: 10px 20px;
}

.footer .footer-newsletter .btn:hover {
    background: var(--bs-secondary);
}

.footer .border-secondary {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.footer .text-secondary {
    color: rgba(255, 255, 255, 0.65) !important;
}

.footer .footer-bottom-links a {
    transition: color 0.3s ease;
    font-size: 13px;
}

.footer .footer-bottom-links a:hover {
    color: #28a745 !important;
}

@media (max-width: 768px) {
    .footer .col-md-6 {
        margin-bottom: 20px;
    }
    
    .footer h4, 
    .footer h5 {
        font-size: 18px;
    }
}

/* ===== Modern Toast Notifications ===== */
.toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 99999;
    max-width: 400px;
}

.modern-toast {
    display: none;
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-left: 5px solid;
    animation: slideInRight 0.4s ease-out;
    position: relative;
    overflow: hidden;
}

.modern-toast.show {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.modern-toast.success {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.modern-toast.error {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, #fdf0f0 0%, #ffffff 100%);
}

.modern-toast.info {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

.modern-toast.warning {
    border-left-color: #ffc107;
    background: linear-gradient(135deg, #fffbf0 0%, #ffffff 100%);
}

.toast-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.modern-toast.success .toast-icon {
    background-color: #28a745;
    color: white;
}

.modern-toast.error .toast-icon {
    background-color: #dc3545;
    color: white;
}

.modern-toast.info .toast-icon {
    background-color: #28a745;
    color: white;
}

.modern-toast.warning .toast-icon {
    background-color: #ffc107;
    color: white;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 5px 0;
    color: #333;
}

.modern-toast.success .toast-title {
    color: #28a745;
}

.modern-toast.error .toast-title {
    color: #dc3545;
}

.modern-toast.info .toast-title {
    color: #28a745;
}

.modern-toast.warning .toast-title {
    color: #ffc107;
}

.toast-message {
    font-size: 14px;
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #333;
}

/* Toast Progress Bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: currentColor;
    animation: slideOut 4s linear forwards;
}

.modern-toast.success .toast-progress {
    background-color: #28a745;
}

.modern-toast.error .toast-progress {
    background-color: #dc3545;
}

.modern-toast.info .toast-progress {
    background-color: #28a745;
}

.modern-toast.warning .toast-progress {
    background-color: #ffc107;
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        width: 100%;
    }
    to {
        width: 0;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Success Message Modal Overlay */
.success-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    align-items: center;
    justify-content: center;
}

.success-modal-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.success-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    animation: popIn 0.5s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: #28a745;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    color: white;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s backwards;
}

.success-modal-content h2 {
    color: #28a745;
    font-size: 28px;
    margin: 20px 0 10px;
    font-weight: 700;
}

.success-modal-content p {
    color: #666;
    font-size: 16px;
    margin: 10px 0 30px;
    line-height: 1.6;
}

.success-modal-content .btn {
    padding: 12px 30px;
    font-size: 15px;
}

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

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .toast-container {
        top: 20px;
        right: 15px;
        left: 15px;
        max-width: none;
    }
    
    .modern-toast {
        margin-bottom: 10px;
    }
    
    .success-modal-content {
        margin: 20px;
        max-width: 100%;
    }
}

/* ===== Full-Screen Package Detail Modal ===== */
.package-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    z-index: 99999;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 20px;
}

.package-detail-modal.show {
    opacity: 1;
    visibility: visible;
    animation: slideInUp 0.5s ease-out;
}

.package-detail-content {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.package-detail-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 32px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #333;
}

.package-detail-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    color: #28a745;
}

.package-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 50px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(40, 167, 69, 0.05) 100%);
    align-items: center;
}

.package-detail-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: slideInLeft 0.6s ease-out 0.2s backwards;
}

.package-detail-info {
    animation: slideInRight 0.6s ease-out 0.2s backwards;
}

.package-detail-info h1 {
    font-size: 48px;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-detail-description {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.package-detail-body {
    padding: 50px;
}

.package-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 5px solid #28a745;
    animation: fadeIn 0.6s ease-out 0.3s backwards;
}

.package-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    padding: 12px 0;
    font-size: 16px;
    color: #555;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li:hover {
    padding-left: 10px;
    color: #28a745;
    font-weight: 600;
}

.package-benefits {
    background: linear-gradient(135deg, #f0f7ff 0%, #f0fff4 100%);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    border-top: 3px solid #28a745;
}

.package-benefits h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.benefit-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-top: 3px solid #28a745;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #28a745, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.benefit-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 14px;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

.package-pricing {
    background: linear-gradient(135deg, #fff5f0 0%, #fff9f0 100%);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    border-left: 5px solid #ffc107;
}

.package-pricing h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.pricing-content {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
}

.pricing-content p {
    margin-bottom: 10px;
}

.pricing-content strong {
    color: #28a745;
    font-size: 22px;
}

.package-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 40px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(40, 167, 69, 0.1) 100%);
    border-radius: 15px;
    text-align: center;
}

.package-cta .btn {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.package-cta .btn-primary {
    background: linear-gradient(135deg, #28a745, #0056b3);
    border: none;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.package-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

.package-cta .btn-outline-primary {
    border: 2px solid #28a745;
    color: #28a745;
    background: white;
}

.package-cta .btn-outline-primary:hover {
    background: #28a745;
    color: white;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .package-detail-modal {
        padding: 10px;
    }

    .package-detail-header {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px;
    }

    .package-detail-image {
        height: 250px;
    }

    .package-detail-info h1 {
        font-size: 32px;
    }

    .package-detail-body {
        padding: 25px;
    }

    .package-section {
        padding: 20px;
        margin-bottom: 20px;
    }

    .package-benefits {
        padding: 25px;
        margin-bottom: 25px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .package-pricing {
        padding: 25px;
        margin-bottom: 25px;
    }

    .package-cta {
        flex-direction: column;
        gap: 15px;
        padding: 25px;
    }

    .package-cta .btn {
        width: 100%;
    }

    .package-detail-close {
        width: 40px;
        height: 40px;
        font-size: 24px;
        top: 15px;
        right: 15px;
    }
}

/* ===== Product Detail Modal Styles ===== */
.product-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.4s ease-out;
    padding: 20px;
}

.product-detail-modal.show {
    opacity: 1;
    animation: slideInUp 0.5s ease-out;
}

.product-detail-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideInUp 0.5s ease-out;
}

.product-detail-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    font-size: 32px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.product-detail-close:hover {
    background: #28a745;
    color: white;
    transform: rotate(90deg);
}

.product-detail-hero {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.product-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 40px 30px 30px;
    color: white;
}

.product-hero-overlay h1 {
    margin: 0;
    font-size: 42px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.product-detail-body {
    padding: 40px;
}

.product-description-section {
    margin-bottom: 40px;
    animation: fadeIn 0.6s ease-out 0.2s both;
}

.product-description-section h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.product-description-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #28a745, #ffc107);
    border-radius: 2px;
}

.product-description-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

.product-features-section {
    margin-bottom: 40px;
    animation: fadeIn 0.6s ease-out 0.4s both;
}

.product-features-section h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.product-features-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #28a745, #ffc107);
    border-radius: 2px;
}

.features-showcase {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #28a745;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
}

.feature-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    font-size: 16px;
    margin-top: 2px;
}

.feature-text h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
}

.product-cta-section {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding-top: 30px;
    border-top: 2px solid #eee;
    animation: fadeIn 0.6s ease-out 0.6s both;
}

.product-cta-section .btn {
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    min-width: 180px;
}

.product-cta-section .btn-primary {
    background: linear-gradient(135deg, #28a745, #0a58ca);
    border: none;
}

.product-cta-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

.product-cta-section .btn-outline-primary {
    border: 2px solid #28a745;
    color: #28a745;
}

.product-cta-section .btn-outline-primary:hover {
    background: #28a745;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.2);
}

/* Product Detail Modal - Mobile Responsive */
@media (max-width: 768px) {
    .product-detail-modal {
        padding: 10px;
    }

    .product-detail-content {
        max-height: 95vh;
        border-radius: 10px;
    }

    .product-detail-hero {
        height: 250px;
    }

    .product-hero-overlay h1 {
        font-size: 28px;
        padding: 20px 20px 20px;
    }

    .product-detail-body {
        padding: 25px;
    }

    .product-description-section {
        margin-bottom: 25px;
    }

    .product-description-section h2 {
        font-size: 22px;
    }

    .product-features-section h2 {
        font-size: 22px;
    }

    .features-showcase {
        padding: 20px;
    }

    .feature-item {
        gap: 12px;
        padding: 10px 0;
    }

    .feature-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .feature-text h5 {
        font-size: 14px;
    }

    .product-cta-section {
        flex-direction: column;
        gap: 10px;
    }

    .product-cta-section .btn {
        width: 100%;
        min-width: unset;
    }

    .product-detail-close {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }
}

/* Service Detail Modal */
.service-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.service-detail-modal.show {
    opacity: 1;
    visibility: visible;
}

.service-detail-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideInUp 0.4s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-detail-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #333;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.service-detail-close:hover {
    color: #28a745;
    transform: rotate(90deg);
}

.service-detail-body {
    padding: 40px;
}

.service-detail-body h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    animation: slideInUp 0.4s ease-out 0.1s both;
}

.service-detail-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
    animation: slideInUp 0.4s ease-out 0.2s both;
}

.service-benefits-section {
    margin-bottom: 40px;
    animation: slideInUp 0.4s ease-out 0.3s both;
}

.service-benefits-section h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #28a745;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    font-size: 16px;
    color: #666;
    padding: 12px 0;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    color: #28a745;
    padding-left: 10px;
}

.benefits-list i {
    color: #28a745;
    font-weight: 600;
}

.service-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 2px solid #eee;
    animation: slideInUp 0.4s ease-out 0.4s both;
}

.service-cta .btn {
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    min-width: 180px;
}

.service-cta .btn-primary {
    background: linear-gradient(135deg, #28a745, #0a58ca);
    border: none;
}

.service-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

.service-cta .btn-outline-primary {
    border: 2px solid #28a745;
    color: #28a745;
}

.service-cta .btn-outline-primary:hover {
    background: #28a745;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.2);
}

/* Service Detail Modal - Mobile Responsive */
@media (max-width: 768px) {
    .service-detail-modal {
        padding: 10px;
    }

    .service-detail-content {
        max-height: 95vh;
        border-radius: 10px;
    }

    .service-detail-body {
        padding: 25px;
    }

    .service-detail-body h1 {
        font-size: 26px;
    }

    .service-detail-description {
        font-size: 15px;
    }

    .service-benefits-section h3 {
        font-size: 20px;
    }

    .benefits-list li {
        font-size: 14px;
    }

    .service-cta {
        flex-direction: column;
        gap: 10px;
    }

    .service-cta .btn {
        width: 100%;
        min-width: unset;
    }

    .service-detail-close {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }
}

/* ===== Alternative Contact Methods ===== */
.contact-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, rgba(255, 193, 7, 0.05) 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.contact-card:hover {
    border-color: #28a745;
    box-shadow: 0 12px 30px rgba(40, 167, 69, 0.15);
    transform: translateY(-8px);
}

.contact-card:hover::before {
    left: 0;
}

.contact-card i {
    transition: all 0.3s ease;
}

.contact-card:hover i {
    transform: scale(1.15) rotate(-5deg);
    color: #28a745;
}

.contact-card h6 {
    font-weight: 700;
    color: #333;
    font-size: 18px;
}

.contact-card p {
    color: #666;
    font-size: 13px;
    margin-bottom: 0;
}

.contact-card .btn {
    transition: all 0.3s ease;
    font-weight: 600;
}

.contact-card .btn-outline-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.2);
}

@media (max-width: 768px) {
    .contact-card {
        padding: 30px !important;
    }
    
    .contact-card i {
        font-size: 2rem !important;
    }
    
    .contact-card h6 {
        font-size: 16px;
    }
}

/* ===== Package Cards Optimization ===== */
.donation-item {
    transition: all 0.3s ease;
    padding: 20px !important;
}

.donation-item .donation-detail {
    width: 100%;
}

.donation-item .donation-detail h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.donation-item .donation-detail p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 18px;
    min-height: 70px;
    overflow: hidden;
}

.donation-item .donation-detail img {
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

.donation-item .btn {
    font-size: 15px;
    padding: 12px !important;
}

@media (max-width: 768px) {
    .donation-item {
        padding: 15px !important;
    }
    
    .donation-item .donation-detail img {
        height: 150px;
    }
    
    .donation-item .donation-detail h3 {
        font-size: 18px;
    }
    
    .donation-item .donation-detail p {
        font-size: 13px;
        min-height: 50px;
    }
}

/* Package Modal Benefit Icons */
.benefit-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #28a745;
    border-radius: 50%;
    margin-bottom: 15px;
}

.benefit-card {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.benefit-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}