/* Custom Frontend CSS for Parhit */

/* =========================================
   HEADER STYLING
   ========================================= */
#top-menu {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.main-header-area {
    padding: 10px 0;
    transition: padding 0.3s ease;
}

/* Logo Animation */
.logo-img img {
    height: 55px;
    /* Clean consistent height */
    width: auto;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* Navigation Menu */
.main-menu ul {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-menu ul li {
    display: inline-block;
    margin: 0 18px;
    /* Increased spacing */
    position: relative;
}

.main-menu ul li a {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    /* Darker grey for better readability */
    padding: 25px 0;
    display: block;
    position: relative;
    text-transform: capitalize;
    transition: color 0.3s ease;
}

/* Page Title Overlay */
.page-title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Hover & Active States */
.main-menu ul li a:hover,
.main-menu ul li a.active {
    color: #ee4036;
    /* Theme Red */
    text-decoration: none;
}

/* Underline Animation */
.main-menu ul li a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 20px;
    left: 50%;
    background-color: #ee4036;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform: translateX(-50%);
}

.main-menu ul li a:hover::before,
.main-menu ul li a.active::before {
    width: 100%;
}

/* Right Side Icons (Search, Cart, User) */
.nav-side-icon-list {
    display: flex;
    align-items: center;
    margin: 0;
}

.nav-side-icon-list li {
    margin-left: 20px;
}

.mini-cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-cart-icon i {
    font-size: 20px;
    color: #4a5568;
    transition: color 0.3s ease;
}

.mini-cart-icon:hover i {
    color: #ee4036;
}

/* Cart Count Badge */
.items-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #ee4036;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(238, 64, 54, 0.3);
}

/* User Profile Image */
.mini-cart-icon img {
    border-radius: 50%;
    border: 2px solid transparent;
    /* Prepare for hover */
    transition: all 0.3s ease;
}

.mini-cart-icon:hover img {
    border-color: #ee4036;
    transform: scale(1.1);
}

/* Login/Profile Buttons */
.quote-btn a.theme_btn2 {
    background-color: transparent;
    border: 2px solid #ee4036;
    color: #ee4036;
    border-radius: 50px;
    /* Pill shape */
    padding: 10px 28px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
}

.quote-btn a.theme_btn2:hover {
    background-color: #ee4036;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(238, 64, 54, 0.25);
    transform: translateY(-2px);
}

/* =========================================
   CAMPAIGN DETAILS PAGE
   ========================================= */

/* Top Section */
.campaign-details .cases-details-slider {
    padding: 60px 0 40px;
    background-color: #f8fafc;
}

.campaign-header-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.campaign-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 15px;
    line-height: 1.3;
}

.campaign-description {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Slider Controls */
.carousel-control-custom {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d3748;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 5;
    cursor: pointer;
    text-decoration: none;
}

.carousel-control-custom:hover {
    background: #ee4036;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-custom.prev {
    left: 20px;
}

.carousel-control-custom.next {
    right: 20px;
}

/* Ensure images are consistent */
.campaign-gallery img {
    height: 450px;
    /* Fixed height */
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);

}

/* Campaign Project Content */
.campaign-project-content {
    color: #2d3748;
    font-size: 16px;
    line-height: 1.8;
}

.campaign-project-content h1,
.campaign-project-content h2,
.campaign-project-content h3,
.campaign-project-content h4,
.campaign-project-content h5,
.campaign-project-content h6 {
    color: #1a202c;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.campaign-project-content p {
    margin-bottom: 20px;
}

.campaign-project-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.campaign-project-content ul,
.campaign-project-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.campaign-project-content li {
    margin-bottom: 10px;
}

.campaign-project-content blockquote {
    background: #f7fafc;
    border-left: 4px solid #ee4036;
    padding: 20px;
    font-style: italic;
    color: #4a5568;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}


/* Mobile responsive slider */
@media (max-width: 768px) {
    .campaign-gallery img {
        height: 250px;
    }

    .carousel-control-custom {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}



/* Feature Badges */
.badge-soft-primary {
    background-color: rgba(78, 115, 223, 0.1);
    color: #4e73df;
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
}

.badge-soft-success {
    background-color: rgba(28, 200, 138, 0.1);
    color: #1cc88a;
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
}

/* Product/Donation Cards */
.donation-products-grid {
    padding: 60px 0;
}

.donation-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.donation-card-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid #edf2f7;
}

.donation-card-body {
    padding: 25px;
}

.donation-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    line-height: 1.4;
}

.donation-card-price {
    font-size: 20px;
    font-weight: 800;
    color: #ee4036;
    margin-bottom: 5px;
}

.donation-card-unit {
    font-size: 14px;
    color: #718096;
    font-weight: 500;
}

.donation-card-desc {
    font-size: 14px;
    color: #718096;
    margin: 15px 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Quantity Controls */
.qty-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f7fafc;
    border-radius: 8px;
    padding: 10px;
    margin-top: 15px;
    min-height: 54px;
    /* Match button height to prevent jumping */
}

.qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #fff;
    color: #2d3748;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #ee4036;
    color: #fff;
}

.qty-input {
    width: 50px;
    text-align: center;
    background: transparent;
    border: none;
    font-weight: 700;
    color: #2d3748;
}

/* Transparency Section */
.transparency-area {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff9f5 0%, #fff 100%);
}

.transparency-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 20px;
}

.transparency-title span {
    color: #ee4036;
}

.proof-card {
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.proof-card img {
    height: 250px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 15px;
}

.proof-card p {
    font-weight: 600;
    color: #4a5568;
    margin: 0;
}

.quote-btn a.theme_btn2 i {
    margin-right: 8px;
}

/* Profile Dropdown */
.quote-btn .dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin-top: 15px;
    padding: 10px;
}

.quote-btn .dropdown-item {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    color: #4a5568;
    transition: all 0.2s;
}

.quote-btn .dropdown-item:hover {
    background-color: rgba(238, 64, 54, 0.05);
    color: #ee4036;
}

/* Mobile Responsive Tweaks */
@media (max-width: 991px) {
    .sticky-top {
        position: static !important;
        z-index: 1;
    }

    .main-header-area {
        padding: 15px 0;
    }

    .hamburger-menu a i {
        font-size: 24px;
        color: #2d3748;
    }
}

/* =========================================
   FOOTER STYLING
   ========================================= */
.footer-area.black-bg {
    background-color: #1a202c;
    /* Dark Slate */
    color: #e2e8f0;
}

.footer__widget .footer-logo {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.footer__widget p {
    color: #a0aec0;
    line-height: 1.8;
    font-size: 15px;
}

.semi-02-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.semi-02-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #ee4036;
    border-radius: 2px;
}

/* Footer Links */
.fot-list li {
    margin-bottom: 12px;
}

.fot-list li a {
    color: #cbd5e0;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.fot-list li a i {
    font-size: 12px;
    margin-right: 8px;
    color: #ee4036;
    transition: margin-right 0.3s ease;
}

.fot-list li a:hover {
    color: #ee4036;
    padding-left: 5px;
}

.fot-list li a:hover i {
    margin-right: 12px;
}

/* Address & Contact */
.widget_address__icon i {
    color: #ee4036;
    font-size: 20px;
}

.widget_address__content h4 a {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.widget_address__content span {
    color: #a0aec0;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

/* Social Icons */
.header-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-social a:hover {
    background-color: #ee4036;
    border-color: #ee4036;
    transform: translateY(-3px);
}

/* Copyright Area */
.footer-area+.d-flex {
    background-color: #12161f !important;
    /* Darker shade */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px !important;
}

.footer-area+.d-flex p {
    color: #718096;
    font-size: 14px;
    margin: 0;
}

/* =========================================
   HOME PAGE & GENERAL STYLING
   ========================================= */

/* Hero Slider */
.carousel-item img {
    height: 600px;
    object-fit: cover;
    filter: brightness(0.9);
}

/* Section Headings */
.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 15px;
}

.section-title .decor .inner {
    background-color: #ee4036;
    width: 60px;
    height: 4px;
    display: inline-block;
    border-radius: 2px;
}

/* About Section */
.events-area-02 {
    padding: 80px 0;
    background-color: #fff;
}

.helping-area h1 {
    font-size: 42px;
    font-weight: 800;
    color: #2d3748;
    line-height: 1.2;
    margin-bottom: 20px;
}

.helping-area p {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.8;
}

/* Diamond Icons List */
.diamond-icon,
.diamond-icon-2 {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-right: 15px;
    color: #ee4036;
    font-size: 20px;
    transition: all 0.3s ease;
}

.diamond-icon:hover,
.diamond-icon-2:hover {
    background: #ee4036;
    color: #fff;
    transform: rotate(360deg);
}

/* Statistics Counters */
.statics-area {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}

.counetrs {
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    height: 100%;
    transition: transform 0.3s ease;
}

.counetrs:hover {
    transform: translateY(-10px);
}

.bg-one {
    background: linear-gradient(135deg, #ee4036 0%, #ff6b6b 100%);
}

.bg-two {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
}

.bg-three {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
}

.statistics_icon i {
    font-size: 40px;
    margin-bottom: 20px;
    display: inline-block;
}

.stats-data h1 span {
    font-size: 38px;
    font-weight: 800;
}

.stats-data .title {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.9;
}

/* Life Service Cards */
.life-serivice-card {
    border-radius: 16px;
    border: none !important;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease;
}

.life-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.life-service-card img {
    height: 240px;
    width: 100%;
    object-fit: cover;
}

.oldeg-home-icon {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.life-service h6 {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.life-service p {
    color: #718096;
    padding: 0 15px 20px;
}

/* FAQ Section */
.faq-wrapper-area .card {
    border: none;
    margin-bottom: 15px;
    background: transparent;
}

.faq-wrapper-area .card-header {
    background-color: #fff;
    border: none;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.faq-wrapper-area .btn-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 20px;
    color: #2d3748;
    font-weight: 600;
    text-decoration: none !important;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
}

.faq-wrapper-area .btn-link:hover {
    color: #ee4036;
}

.faq-wrapper-area .btn-link::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Pro';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
}

.faq-wrapper-area .btn-link[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-wrapper-area .card-body {
    background: #fff;
    border-radius: 0 0 8px 8px;
    padding: 20px;
    color: #4a5568;
    border-top: 1px solid #edf2f7;
}

/* Buttons */
.theme_btn {
    background: #ee4036;
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(238, 64, 54, 0.4);
    border: none;
}

.theme_btn:hover {
    background: #c53030;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 64, 54, 0.5);
}

/* =========================================
   CAMPAIGN & FEATURES
   ========================================= */

/* Campaign Cards */
.cases {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.cases:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cases__box--img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.cases__box--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cases:hover .cases__box--img img {
    transform: scale(1.05);
}

.cases__content {
    padding: 25px;
}

.cases__content h3 a {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    line-height: 1.4;
    display: block;
    transition: color 0.3s;
}

.cases__content h3 a:hover {
    color: #ee4036;
}

.cases__content p a {
    color: #718096;
    font-size: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tax Benefit Badge */
.tax-benefit {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #2d3748;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.tax-benefit-tool-tip_icon {
    background: #ee4036;
    color: #fff;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    margin-left: 5px;
}

/* CTAs */
.theme_btn_bg_02 {
    background-color: transparent;
    border: 2px solid #ee4036;
    color: #ee4036;
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 15px;
    display: block;
}

.theme_btn_bg_02:hover {
    background-color: #ee4036;
    color: #fff !important;
}

/* Support Section */
.support-contribute {
    padding: 60px 0;
    background: #fff9f5;
    /* Light Orange Tint */
    position: relative;
    overflow: hidden;
    margin: 50px 0;
    border-radius: 20px;
}

.support-contribute h2 {
    font-size: 32px;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 20px;
}

.support-contribute-sub-title p {
    font-size: 18px;
    color: #4a5568;
    align-items: center;
    margin-bottom: 25px !important;
}

.support-contribute-sub-title img {
    margin-right: 15px;
    width: 40px;
}

.support-contribute .btn-warning {
    background-color: #f6ad55;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(246, 173, 85, 0.4);
    transition: all 0.3s;
}

.support-contribute .btn-warning:hover {
    background-color: #ed8936;
    transform: translateY(-2px);
}