:root {
    --primary: #1da850;
    --primary-hover: #21c45d;
    --soft-green: #e8f5ed;
    --secondary: #ffd03b;
    --secondary-hover: #ffcc00;
    --text-muted-custom: #6b7280;
    --card-border: #e5e7eb;
    --bg-muted: #f9fafb;
}

/* common css */
* {
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    color: #1f2937;
    overflow-x: hidden;
}

.top-member-card {
    transition: 0.9s;
}

.top-member-card:hover .hover-item {
    color: var(--primary) !important;
    transition: 0.5s;
}

.top-member-card:hover .scal-item {
    transform: scale(1.05);
    transition: 0.5s;
}

.hover-item-2 {
    position: relative;
    text-decoration: none !important;
}

.hover-item-2::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.top-member-card:hover .hover-item-2::after {
    width: 100%;
}

.border-primary {
    border-color: var(--primary) !important;
}

/* Primary Button Style */
.btn-ask-main {
    background-color: var(--primary);
    color: white;
    border: none;
    transition: 0.3s;
}

.btn-ask-main:hover {
    background-color: var(--primary-hover);
    color: white;
}

/* Modal Input Focus Color */
.custom-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(29, 168, 80, 0.1) !important;
    outline: none;
}

.modal-content {
    background-color: #fff;
}

/* Active page color change */
.pagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Hover effect */
.pagination .page-link {
    color: #000;
}
.pagination .page-link:hover {
    background-color: #eee;
    color: var(--primary);
}

/* Pagination box shadow */
.pagination .page-link {
    border-radius: 5px;
    margin: 0 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


/* ===== NAVBAR ===== */
#mainNav {
    background: var(--primary);
    transition: background 0.35s, box-shadow 0.35s;
    padding: 10px 0 !important;
}

/* Scrolled: white bg, dark text */
/* #mainNav.scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.10);
} */

/* Logo icon: transparent → primary on scroll */
.navbar-brand .logo-icon {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 8px;
    padding: 6px 8px;
    display: inline-flex;
    align-items: center;
    transition: background 0.35s;
}

#mainNav .navbar-brand .logo-icon {
    color: var(--secondary);
}

#mainNav.scrolled .navbar-brand .logo-icon {
    color: var(--bg-muted);
}

#mainNav.scrolled .navbar-brand .logo-icon {
    background: var(--primary);
}

/* Brand text: white → primary on scroll */
.navbar-brand .brand-text {
    color: #fff;
    transition: color 0.35s;
}

#mainNav.scrolled .navbar-brand .brand-text {
    color: var(--primary) !important;
}

/* Nav links: white → dark on scroll */
.nav-link-custom {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px !important;
    border-radius: 8px;
    transition: all 0.25s;
    text-decoration: none;
}

.nav-link-custom:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.15);
}

.nav-link-custom.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.20);
}

#mainNav.scrolled .nav-link-custom {
    color: #374151 !important;
}

#mainNav.scrolled .nav-link-custom:hover {
    color: var(--primary) !important;
    background: #f3f4f6;
}

#mainNav.scrolled .nav-link-custom.active {
    color: #fff !important;
    background: var(--primary);
}

.nav-icon-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: color 0.35s;
}

.nav-icon-link:hover {
    width: 40px;
    height: 40px;
    background-color: #c9c9c99c;
}

.btn-consultation {
    background: var(--secondary-hover);
    color: var(--primary);
    font-weight: 600;
    border: none;
    border-radius: 10px;
    padding: 8px 15px;
    font-size: 0.875rem;
    /* margin-left: 10px; */
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn-consultation:hover {
    background: var(--secondary);
    transform: scale(1.05);
}

.btn-consultation:active {
    transform: scale(0.95);
}

/* Toggler icon: white → dark on scroll */
.navbar-toggler {
    border: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 6px 10px;
    transition: background 0.35s;
}

#mainNav.scrolled .navbar-toggler {
    background: #f3f4f6;
}

#mainNav.scrolled .navbar-toggler .fa-bars {
    color: var(--primary) !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.custom-search {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 12px;
    /* padding-left: 45px; */
    transition: all 0.3s ease-in-out;
}

.custom-search::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.custom-search:hover,
.custom-search:focus {
    /* transform: scale(1.02); */
    border-color: #ffda6a;
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: none;
    outline: none;
    color: white;
}

/* Fixed Search Wrapper for Navbar */
.search-wrapper {
    position: relative;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    z-index: 5;
}

@media (min-width: 992px) {
    #mainNav .offcanvas-lg {
        position: static;
        z-index: auto;
        display: flex !important;
        flex-grow: 1;
        width: auto !important;
        height: auto !important;
        visibility: visible !important;
        background: transparent !important;
        border: 0 !important;
        transform: none !important;
    }

    #mainNav .offcanvas-lg .offcanvas-body {
        display: flex;
        flex-grow: 1;
        align-items: center;
        padding: 0;
        overflow-y: visible;
    }
}

@media (max-width: 991px) {
    #mainNav .offcanvas-lg {
        width: min(320px, 85vw);
        background: rgba(9, 40, 83, 0.98);
        backdrop-filter: blur(14px);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        height: 100vh;
    }

    #mainNav .offcanvas-header {
        padding: 1.25rem 1.25rem 0.75rem;
    }

    #mainNav .offcanvas-title .logo-icon {
        color: var(--secondary);
        width: 30px;
        height: 30px;
        background-color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 5px;
    }

    #mainNav .offcanvas-title .brand-text {
        color: #fff;
    }

    #mainNav .offcanvas-header .btn-close {
        filter: invert(1) grayscale(1) brightness(200%);
        opacity: 0.9;
    }

    #mainNav .offcanvas-body {
        padding: 0.25rem 1.25rem 1.5rem;
    }

    .navbar .navbar-nav {
        align-items: stretch;
    }

    .navbar .navbar-nav .nav-item {
        margin: 0;
    }

    .navbar .nav-link-custom,
    #mainNav.scrolled .offcanvas-lg .nav-link-custom {
        display: block;
        color: rgba(255, 255, 255, 0.88) !important;
    }

    .navbar .nav-link-custom:hover,
    .navbar .nav-link-custom.active,
    #mainNav.scrolled .offcanvas-lg .nav-link-custom:hover,
    #mainNav.scrolled .offcanvas-lg .nav-link-custom.active {
        color: #fff !important;
        background: rgba(255, 255, 255, 0.12);
    }

    .navbar .nav-end-btn {
        display: flex;
        width: 100%;
        margin-top: 14px;
        justify-content: flex-start;
        text-decoration: none !important;
    }

    .navbar .nav-end-btn .btn-consultation {
        width: 100%;
    }

    .nav-icon-link {
        display: none;
    }

    .search-wrapper {
        margin-bottom: 5px;
    }

    .custom-search,
    .btn-consultation {
        width: 100% !important;
        display: block;
    }

    .btn-consultation {
        margin-left: 0 !important;
        padding: 12px !important;
    }
}

/* ===== END HEADER ===== */

/* ===== sidebar styles start ===== */
.sidebar-nav .nav-link {
    color: #4b5563;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 10px;
    transition: 0.3s;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    background-color: var(--soft-green);
    color: var(--primary);
}

.sidebar-nav .nav-link i {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.sidebar-nav .nav-link:hover i {
    transform: scale(1.2);
    color: var(--primary);
}

@media (min-width: 992px) {
    .sticky-sidebar {
        position: -webkit-sticky;
        position: sticky;
        top: 80px;
        height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .sticky-sidebar::-webkit-scrollbar {
        display: none;
    }
}

/* Filter Tabs */
.filter-tabs .btn {
    border: none;
    font-weight: 500;
    color: #6b7280;
    padding: 8px 20px;
}

.filter-tabs .btn.active {
    background-color: #f3f4f6;
    color: #111827;
    border-radius: 8px !important;
}

/* Question Card Styling */
.question-card {
    transition: 0.3s;
    border: 1px solid transparent !important;
}

.question-card:hover {
    border-color: #14954d40 !important;
    transform: translateY(-3px);
}

.cursor-pointer {
    cursor: pointer;
}

/* Input focus */
.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-green);
}

/* ===== sidebar styles end ===== */

/* ===== HERO SECTION STYLES ===== */
.hero-section {
    position: relative;
    padding: 180px 0 110px 0;
    background: linear-gradient(rgba(16, 100, 71, 1.91), rgba(16, 138, 71, 0.753)),
        url('../assets/img/hero-img.jpg') no-repeat center center / cover;
    max-height: 95vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

/* --- Floating Icons - Layer 2 --- */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    pointer-events: none;
}

.floating-icons i {
    position: absolute;
    color: rgba(255, 255, 255, 0.61) !important;
    font-size: 25px;
}

/* --- White Fade - Layer 3 --- */
.hero-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, #ffffff);
    z-index: 3;
    pointer-events: none;
}

/* --- Main Content Container - Layer 4 --- */
.hero-section .container {
    position: relative;
    z-index: 10;
}

/* --- Animation Keyframes --- */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.15;
    }

    50% {
        transform: translateY(-25px) rotate(15deg);
        opacity: 0.35;
    }
}

/* Icon specific animations */
.icon-1 {
    top: 22%;
    left: 7%;
    animation: float 6s infinite ease-in-out;
}

.icon-2 {
    top: 65%;
    right: 22%;
    animation: float 8s infinite ease-in-out;
    font-size: 45px !important;
}


.icon-3 {
    top: 50%;
    right: 5%;
    animation: float 7s infinite ease-in-out;
}

.icon-4 {
    top: 20%;
    right: 12%;
    animation: float 9s infinite ease-in-out;
}

.icon-6 {
    top: 15%;
    right: 49%;
    animation: float 9s infinite ease-in-out;
}

.icon-5 {
    bottom: 15%;
    left: 13%;
    animation: float 10s infinite ease-in-out;
}


/* Typography & Buttons */
.hero-badge {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 72px;
    font-family: "space grotesk", serif;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.0;
    margin-bottom: 25px;
}

.hero-text-discover {
    /* gradian color */
    background: linear-gradient(90deg, #ffd03b 0%, #ffd03b 20%, #ffd03b 20%, #91e8bb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text-green {
    background: linear-gradient(90deg, #7aeeb2 0%, #7aeeb2 20%, #7aeeb2 20%, #67e8f8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .text-light-green {
    color: #91e8bb;
}

.hero-text {
    color: rgba(255, 255, 255, 0.678);
    font-size: 22px;
    max-width: 900px;
    margin-bottom: 40px;
}

.btn-ask-hero {
    background-color: var(--secondary);
    color: #212529;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 700;
}

.btn-ask-hero:hover {
    background-color: var(--secondary-hover);
    box-shadow: 0 5px 20px rgba(33, 196, 93, 0.3);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.btn-explore-hero {
    background-color: transparent;
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

.btn-explore-hero:hover {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 1px 5px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.stat-item h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}


/* Desktop */
@media screen and (min-width: 992px) {
    .floating-icons i {
        font-size: 50px;
    }
}

/* Tablet */
@media screen and (max-width: 992px) {
    .floating-icons i {
        font-size: 40px;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .floating-icons i {
        font-size: 30px;
    }

    .hero-title {
        font-size: 50px;
    }

    .hero-text {
        font-size: 18px;
    }

    .hero-section {
        min-height: 100vh;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-around;
    }

}

/* Small Mobile */
@media screen and (max-width: 576px) {
    .floating-icons i {
        font-size: 20px;
    }
}

/* ===== END HERO SECTION STYLES ===== */

/* ===== STATISTICS SECTION STYLES ===== */
.stats-section {
    background-color: #ffffff;
}

.stats-main-title {
    font-size: 2.2rem;
    font-family: "space grotesk", serif;
    font-weight: 700;
    color: #333;
}

.custom-primary-text {
    color: var(--primary);
}

.stats-sub-title {
    color: #777;
    font-size: 1rem;
    max-width: 500px;
    margin: 10px auto 0;
}

/* Card Styling */
.stat-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 30px 15px;
    text-align: center;
    transition: all 0.5s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.158);
}

/* Icon Box Backgrounds */
.stat-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 22px;
}

.bg-light-green {
    background-color: #e8f5e9;
    color: var(--primary);
}

.bg-light-blue {
    background-color: #e3f2fd;
    color: #1565c0;
}

.bg-light-yellow {
    background-color: #fff8e1;
    color: #f9a825;
}

.bg-light-purple {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

/* Number & Label Styling */
.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2d3436;
    margin-bottom: 5px;
}

.stat-label {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .stat-number {
        font-size: 1.6rem;
    }

    .stats-main-title {
        font-size: 1.8rem;
    }
}

/* ===== END OF STATISTICS SECTION STYLES ===== */

/* ===== RECENT QUESTIONS STYLES ===== */
.bg-light-gray {
    background-color: #fcfdfc;
}

.section-title {
    font-weight: 900;
    font-family: "space grotesk", serif;
    font-size: 1.9rem;
    color: #333;
}

.btn-view-all {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 6px 15px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    transition: all 0.3s;
}

.btn-view-all:hover {
    background-color: #f8f9fa;
    border-color: #bbb;
}

/* Question Card */
.question-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    border: 1px solid #f0f0f0;
    transition: all 0.5s ease;
}

.question-card:hover {
    transform: translateX(5px) !important;
    box-shadow: 0 0.5px 3px rgba(27, 138, 68, 0.575) !important;
}

.question-card:hover .question-heading a {
    color: #108a46;
}

/* Stats Styling */
.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 65px;
    padding: 5px;
    border-radius: 8px;
    font-size: 12px;
}

.stat-box .count {
    font-weight: 800;
    font-size: 16px;
    line-height: 1;
}

.stat-box.success-box {
    background-color: #e8f5e9;
    color: var(--primary);
}

.stat-box.border-box {
    border: 1px solid #eee;
    color: #666;
}

/* Content Styling */
.question-heading a {
    color: #2d3436;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    transition: color 0.2s;
}

.question-heading a:hover {
    color: #108a46;
}

.badge-tag {
    background-color: #f0f9f4;
    color: #108a46;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 50px;
    margin-right: 5px;
}

.question-meta {
    font-size: 13px;
    color: #888;
}

.meta-item {
    margin-right: 15px;
}

/* Answer Button */
.btn-answer {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.5s ease;
}

.btn-answer:hover {
    background-color: var(--primary-hover);
    color: white;
    opacity: 0.9;
}

/* Mobile Responsive Adjustments */
@media screen and (max-width: 768px) {
    .recent-questions-header {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: space-between;
    }

    /* Main card structure fix */
    .question-card {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .question-content{
        flex-direction: column !important;
        align-items: flex-start !important
    }
    .question-heading-content{
        flex-direction: row !important;
    }

    .stat-box {
        min-width: 60px;
        padding: 8px;
        margin-bottom: 0 !important;
    }

    .question-heading a {
        font-size: 1rem;
        line-height: 1.4;
    }

    .question-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 10px;
    }

    .meta-item {
        margin-right: 0;
    }

    .ms-3 {
        margin-left: 0 !important;
        margin-top: 15px;
        width: 100%;
    }

    .btn-answer {
        width: 100%;
        text-align: center;
    }
}

/* ===== END OF RECENT QUESTIONS STYLES ===== */

/* ===== TOPICS SECTION STYLES ===== */
.topic-card {
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 16px;
    width: 100% !important;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    /* cursor: pointer; */
}

/* Background gradient shape inside card */
.topic-card::before {
    content: "";
    position: absolute;
    top: -20px;
    right: -25px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: #108a46;
}

.card-solar::before {
    background: #fff9f3;
}

.card-wind::before {
    background: #eaf6fe;
}

.card-electric::before {
    background: #e9f9f2;
}

.card-green::before {
    background: #e8f5e9;
}

.card-climate::before {
    background: #fdeef3;
}

.card-bioenergy::before {
    background: #f6fdf6;
}

.card-energy::before {
    background: #faf8ff;
}

.card-nuclear::before {
    background: #f7f8fe;
}

/* Icon Styles */
.topic-icon-bg {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
    color: #fff;
}

.orange-bg {
    background-color: #ff9f43;
}

.blue-bg {
    background-color: #48dbfb;
}

.green-bg {
    background-color: #1dd1a1;
}

.teal-bg {
    background-color: #00d2d3;
}

.climate-bg {
    background-color: #f0568c;
}

.bio-bg {
    background-color: #55d24d;
}

.energy-bg {
    background-color: #a36ef9;
}

.nuclear-bg {
    background-color: #6794f7;
}

.gray-bg {
    background-color: #888;
}

.topic-content h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: #333;
}

.topic-content p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* Bump Banner Styling */
.bump-banner {
    background: linear-gradient(90deg, #f0f9f4 0%, #ffffff 100%);
    border: 1px solid #e1f2e8;
    border-radius: 15px;
}

.bump-icon-box {
    width: 50px;
    height: 50px;
    background-color: #e8f5e9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
}

/* Animation Definition */
@keyframes shadow-pulse {
    0% {
        box-shadow: 0 5px 10px 1.5px rgba(29, 168, 80, 0.438);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(13, 110, 253, 0);
    }

    100% {
        box-shadow: 0 0 0 0px rgba(13, 110, 253, 0);
    }
}

.btn-bump {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 10px;
    transition: all 0.3s;
    animation: shadow-pulse 2s infinite;

}

.btn-bump:hover {
    background-color: var(--primary);
    color: white;
    transform: scale(1.05);
}

@keyframes live-bounce {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.bi-megaphone {
    display: inline-block;
    animation: live-bounce 1.5s infinite ease-in-out;
    color: var(--primary);
}

@media (max-width: 768px) {
    .bump-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .bump-banner .d-flex {
        flex-direction: column;
    }

    .bump-icon-box {
        margin: 0 0 15px 0 !important;
    }
}

/* ===== END OF TOPICS SECTION STYLES ===== */

/* ===== MEMBERS SECTION STYLES ===== */
.member-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 25px 15px;
    position: relative;
    transition: all 0.3s;
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.crown-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2rem;
}

.avatar-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.badge-member {
    background-color: #fff9e6;
    color: #000;
    border: 1px solid #fde68a;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 50px;
}

.member-card small {
    font-size: 11px;
    color: #aaa;
}

.member-card h6 {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
}

/* ===== END OF MEMBERS SECTION STYLES ===== */

/* ===== BLOG SECTION STYLES ===== */
.text-success-green {
    color: #108a46;
}

.btn-all-articles {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-all-articles:hover {
    background-color: #f8f9fa;
    border-color: #bbb;
}

/* Blog Card Design */
.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f1f1f1;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.blog-card:hover .blog-title a {
    color: var(--primary);
}

.blog-img-wrapper {
    position: relative;
    max-height: 200px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.1);
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #108a46;
    color: white;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
}

.bg-green-alt {
    background-color: #2ecc71;
}

.bg-bright-green {
    background-color: #1dd1a1;
}

/* Blog Content Body */
.blog-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-title {
    margin-bottom: 12px;
}

.blog-title a {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s;
}

.blog-title a:hover {
    color: #108a46;
}

.blog-excerpt {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Footer Meta */
.blog-footer {
    border-top: 1px solid #f8f8f8;
    padding-top: 15px;
    margin-top: auto;
}

.author-name {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.read-time {
    font-size: 13px;
    color: #999;
}

/* ===== END OF BLOG SECTION STYLES ===== */

/* --- CTA Section Styling --- */
.cta-section {
    background: radial-gradient(circle at center, #17b461, #108344);
    padding: 80px 0;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Badge at the top */
.badge-top {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

/* Titles & Subtitles */
.cta-title {
    font-size: 50px;
    font-family: "space grotesk", serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.text-yellow {
    color: #ffcf3b !important;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto 35px;
}


/* Primary Yellow Button */
.btn-yellow-lg {
    background-color: #ffcf3b;
    color: #1a1a1a;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 10px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 207, 59, 0.25);
    text-decoration: none;
}

.btn-yellow-lg:hover {
    background-color: #f7c52d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 207, 59, 0.4);
    color: #000;
}

/* Secondary Outline Button */
.btn-outline-white {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
}

/* Subtle Floating Icons (Opacity low) */
.cta-section .floating-icons i {
    position: absolute;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    .cta-title {
        font-size: 40px;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .cta-btn {
        flex-direction: column;
    }

    .cta-btn .btn {
        width: 100%;
        text-align: center;
    }
}

/* ===== END OF CTA SECTION STYLES ===== */

/* ==== START OF Contact page STYLES ==== */
.contact-form-card {
    border-radius: 10px;
    padding: 10px 10px;
    border: 1px solid #f1f1f1;
}

.form-control-custom {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    width: 100%;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(33, 196, 93, 0.1);
}

.form-label-custom {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.info-card {
    border-radius: 10px;
    padding: 20px 20px;
    border: 1px solid #f1f1f1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .contact-info-row {
        margin-top: 2rem;
    }
}

/* ==== start OF questions page STYLES ==== */
.ans-btn {
    background-color: var(--primary);
    color: #ffffff;
    padding: 5px 20px;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

.ans-btn:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
}

.ask-btn {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #ffffff;
}

.ask-btn:hover {
    background: linear-gradient(90deg, var(--primary-hover) 0%, var(--primary) 100%);
    color: #ffffff;
}

/* Search Box Container */
.search-box-container {
    position: relative;
    width: 100%;
}

.search-icon-body {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    z-index: 5;
}

.body-search-input {
    border-radius: 12px;
    padding: 12px 15px 12px 14px;
    border: 1px solid var(--card-border);
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Focus state (Image 2 - Green border) */
.body-search-input:focus {
    border-color: var(--primary) !important;
    box-shadow: none;
    outline: none;
}

/* Filter Wrapper */
.bg-muted-custom {
    background-color: #f3f4f6;
    padding: 5px;
}

.btn-filter {
    border: none;
    background: transparent;
    color: var(--text-muted-custom);
    font-weight: 500;
    padding: 8px 20px;
    font-size: 14px;
    transition: 0.3s;
}

/* Active filter button style */
.btn-filter.active {
    background-color: #fff !important;
    color: #111827 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.btn-filter:hover:not(.active) {
    color: var(--primary);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 10px;
    transition: 0.5s;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
    transition: 0.5s;
}

@media (max-width: 576px) {
    .filter-container {
        align-items: center;
        justify-content: center ! important;
    }

    .btn-filter {
        padding: 10px 20px;
        font-size: 12px;
    }

}

/* ==== END OF questions page STYLES ==== */

/* ==== start of poll page STYLES ==== */
/* Poll Option Style */
.poll-option {
    position: relative;
    height: 55px;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    background: #fff;
}

.poll-option:hover {
    border: 1px solid var(--primary);
}

.poll-content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 5;
    color: #444;
}

.poll-progress {
    position: absolute;
    height: 100%;
    width: 0;
    background-color: #f1f1f1;
    transition: width 0.4s ease;
    z-index: 1;
}

.percentage-text {
    display: none;
    font-weight: bold;
}

.poll-option.voted .percentage-text {
    display: block;
}

.poll-option.voted .poll-progress {
    width: calc(var(--percent) * 1%);
}

.poll-option.active-choice {
    border: 2px solid var(--primary) !important;
    background-color: var(--soft-green) !important;
}

.poll-option.active-choice .poll-progress {
    background-color: rgba(29, 168, 80, 0.2) !important;
}

.poll-option.active-choice .option-text {
    color: var(--primary);
    font-weight: bold;
}

.poll-option.active-choice .percentage-text {
    color: var(--primary);
}

.selected-icon {
    color: var(--primary);
}

/* ==== END OF poll page STYLES ==== */

/* ==== start OF profile page STYLES ==== */
.profile-bottom-cover {
    height: 160px;
    background: linear-gradient(135deg, #1da850 0%, #17c9a3 100%);
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.dot-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 15px 15px;
}

.profile-img-wrapper {
    position: relative;
    margin-top: -55px;
    z-index: 10;
}

.profile-icon-box {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #1da850 0%, #17c9a3 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

@media (min-width: 576px) {
    .profile-img-wrapper {
        margin-top: -100px !important;
        z-index: 20;
    }

    .profile-info-text {
        margin-top: 10px;
    }
}

/* ==== END OF profile page STYLES ==== */


/* ===== FOOTER STYLES ===== */
.footer-section {
    background-color: #064420;
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
}


.text-yellow {
    color: #ffd03b !important;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer-contact-list li {
    font-size: 14px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.7);
}

/* Links & Headings */
.footer-heading {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #ffd03b;
}

/* Bottom Bar */
.footer-bottom {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.copyright-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.footer-bottom-links li a:hover {
    color: #ffffff;
}

/* Responsive Fix */
@media (max-width: 768px) {
    .footer-section {
        padding: 50px 0 30px;
        text-align: center;
    }

    .footer-brand,
    .footer-description {
        margin: 0 auto;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-bottom-links {
        margin-top: 15px;
    }
}

/* ===== END OF FOOTER STYLES ===== */