/* ============================================
   CUSTOM CSS FOR ALL BLADE PAGES
   All internal CSS from blade files consolidated here
   ============================================ */

/* ============================================
   HOME PAGE STYLES
   ============================================ */

/* Partner Cards */
.partner-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-card:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}

.partner-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(20, 76, 48, 0.95) 0%, rgba(26, 93, 63, 0.55) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0.75rem;
    z-index: 10;
    padding: 1.5rem;
}

.partner-card:hover .partner-card-overlay {
    opacity: 1;
}

.partner-card-name {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    padding: 0;
    margin: 0;
    line-height: 1.6;
    width: 100%;
    word-wrap: break-word;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.partner-card-content {
    transition: opacity 0.3s ease;
}

.partner-card:hover .partner-card-content {
    opacity: 0.3;
}

/* Marquee Scrolling Styles */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
}

.marquee-wrapper {
    display: inline-flex;
    gap: 1rem;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.marquee-left {
    animation: scroll-left 30s linear infinite;
}

.marquee-right {
    animation: scroll-right 30s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.marquee-item {
    flex-shrink: 0;
    width: 200px;
}

@media (max-width: 768px) {
    .marquee-item {
        width: 150px;
    }
}

/* ============================================
   PUBLICATIONS PAGE STYLES
   ============================================ */

.acts-header,
.publications-header {
    margin-bottom: 2rem;
}

.acts-header h1,
.publications-header h1 {
    color: #144c30;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.acts-header p,
.publications-header p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0;
}

.acts-filter-section,
.publications-filter-section {
    background-color: #F5F5F5;
    padding: 15px 0px;
    border-radius: 8px;
}

.filter-category-btn {
    background-color: #558B5E;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px 0 0 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-category-btn:hover {
    background-color: #4a7a52;
    color: #fff;
}

.acts-search-input,
.publications-search-input {
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    border-radius: 0;
    width: 100%;
    border-left: none;
    border-right: none;
}

.acts-search-input:focus,
.publications-search-input:focus {
    outline: none;
    border-color: #ddd;
    box-shadow: none;
}

.filter-btn {
    background-color: #558B5E;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #4a7a52;
    color: #fff;
}

.publications-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.publications-table thead {
    background-color: var(--primary);
    color: #fff;
}

.publications-table thead th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    border: none;
    color: #fff;
}

.publications-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.publications-table tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}

.publications-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.publications-table tbody tr:last-child {
    border-bottom: none;
}

.publications-table tbody td {
    padding: 1rem;
    color: #333;
    vertical-align: middle;
}

.publications-table tbody td:last-child {
    white-space: nowrap;
}

.document-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.view-pdf-btn {
    background-color: var(--primary);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    cursor: pointer;
}

.view-pdf-btn:hover {
    background-color: #0d3a24;
    color: #fff;
    text-decoration: none;
}

.download-btn {
    background-color: transparent;
    color: var(--primary);
    border: none;
    padding: 0.5rem;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-btn:hover {
    background-color: rgba(20, 76, 48, 0.1);
    color: var(--primary);
}

.document-info-box {
    background-color: #e8f5e9;
    border-left: 4px solid #144c30;
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 2rem;
}

.document-info-box h5 {
    color: #144c30;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.document-info-box p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .acts-header h1,
    .publications-header h1 {
        font-size: 2rem;
    }

    .publications-table {
        font-size: 0.9rem;
    }

    .publications-table thead th,
    .publications-table tbody td {
        padding: 0.75rem 0.5rem;
    }

    .view-pdf-btn,
    .download-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }

    .filter-category-btn,
    .filter-btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .publications-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .document-actions {
        flex-wrap: nowrap;
        gap: 0.25rem;
    }

    .view-pdf-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }

    .download-btn {
        padding: 0.4rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   FAQ PAGE STYLES
   ============================================ */

.faq-top-section-bg {
    background: #f5f5f5;
}

.faq-section-bg {
    background: #ffffff;
}

.faq-pattern-bg {
    opacity: 0.1;
    background-image: url('/assets/img/leaf.png');
    background-repeat: repeat;
    background-size: 300px 300px;
    background-position: center;
}

.faq-top-section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 245, 245, 0.7);
    z-index: 0;
}

.faq-section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 0;
}

.faq-icon {
    font-weight: bold;
    line-height: 1;
    user-select: none;
    color: #333;
    flex-shrink: 0;
}

.faq-expand-icon {
    font-weight: bold;
    line-height: 1;
    user-select: none;
    color: white;
}

.accordion-button {
    position: relative;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    background-color: white;
    color: #333;
}

.accordion-button::after {
    display: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary) !important;
    color: white !important;
    box-shadow: none;
}

.accordion-button:not(.collapsed) .faq-icon {
    color: white !important;
}

.accordion-button:not(.collapsed) .flex-grow-1,
.accordion-button:not(.collapsed) span {
    color: white !important;
}

.card-header {
    border-radius: 0 !important;
}

.card-header h5,
.card-header .faq-expand-icon,
.card-header span {
    color: inherit;
}

/* ============================================
   PROJECTS PAGE STYLES
   ============================================ */

.projects-section-bg {
    background: #f5f5f5;
}

.projects-pattern-bg {
    background-image: url('/assets/img/leaf.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.project-card {
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.project-card-content-bg {
    background: #f8f9fa;
}

.project-number {
    display: inline-block;
}

.project-number-text {
    font-size: 3rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
    line-height: 1;
}

.project-title {
    color: #144c30;
    font-size: 1.5rem;
}

.project-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-project-details {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-project-details:hover {
    background: #0d3a24;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 76, 48, 0.3);
}

.achievements-section,
.achievements-section-bg {
    background: #144c30;
    color: #fff;
    padding: 4rem 0;
}

.achievements-section h2,
.achievements-section-bg h2 {
    color: #fff;
    margin-bottom: 2rem;
}

.achievement-stat {
    text-align: center;
}

.achievement-stat h3 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #c8e6c9;
    margin-bottom: 0.5rem;
}

.achievement-stat p {
    font-size: 1.1rem;
    color: #a5d6a7;
    margin: 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #c8e6c9;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #a5d6a7;
}

.collaboration-section,
.collaboration-section-bg {
    background-image: url('/assets/img/project-bg-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
    min-height: 500px;
}

.collaboration-section::before,
.collaboration-section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(184, 230, 211, 0.6);
    z-index: 0;
}

.collaboration-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.collaboration-title {
    color: #1a5d3f;
    font-size: 2.5rem;
    font-weight: 700;
}

.collaboration-text {
    color: #1a5d3f;
    font-size: 1.25rem;
}

.collaboration-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.collaboration-btn:hover {
    background: var(--dark);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    text-decoration: none;
}

.collaboration-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ============================================
   PROJECT DETAILS PAGE STYLES
   ============================================ */

.best-service-section-bg {
    background: #ffffff;
}

.best-service-pattern-bg {
    background-image: url('/assets/img/leaf.png');
    background-repeat: no-repeat;
    opacity: 0.35;
}

.challenge-section-bg {
    background: #f5f5f5;
}

.challenge-pattern-bg {
    background-image: url('/assets/img/leaf.png');
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.1;
}

.project-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    font-size: 2rem;
    flex-shrink: 0;
}

.project-detail-item {
    min-height: 80px;
}

.project-bullet-list li {
    display: flex;
    align-items: center;
}

.project-blockquote {
    border-left: 4px solid var(--primary);
}

.project-banner-image img {
    transition: transform 0.3s ease;
}

.project-banner-image:hover img {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .project-icon-box {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .achievement-stat h3 {
        font-size: 2.5rem;
    }

    .collaboration-title {
        font-size: 1.75rem;
    }

    .collaboration-text {
        font-size: 1rem;
    }
}

/* ============================================
   GALLERY PAGE STYLES
   ============================================ */

.gallery-item {
    cursor: pointer;
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 2px solid #22c55e;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1 !important;
}

.bg-image {
    position: relative;
    overflow: hidden;
}

.bg-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/assets/img/gal-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.bg-image>* {
    position: relative;
    z-index: 1;
}

/* ============================================
   HERITAGE PAGE STYLES
   ============================================ */

.stats-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.stats-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #144c30;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stats-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-site-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.featured-icon-box {
    width: 60px;
    height: 60px;
    background: #e8f5e9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.featured-icon-box i {
    font-size: 1.8rem;
    color: #144c30;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e8f5e9;
    color: #144c30;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.featured-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #144c30;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.featured-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #999;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.featured-location i {
    color: #999;
}

.featured-description {
    color: #999;
    font-size: 1rem;
    line-height: 1.6;
}

.featured-image {
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bhs-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bhs-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.bhs-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.bhs-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bhs-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.bhs-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.bhs-number {
    font-size: 0.75rem;
    color: #144c30;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bhs-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #144c30;
    margin-bottom: 0.75rem;
}

.bhs-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.bhs-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
}

.info-card {
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-card.green {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.info-card.blue {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.info-card.green .info-card-icon {
    background: rgba(76, 175, 80, 0.2);
    color: #2e7d32;
}

.info-card.blue .info-card-icon {
    background: rgba(33, 150, 243, 0.2);
    color: #1976d2;
}

.info-card-content {
    flex: 1;
}

.info-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #144c30;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.info-card.blue .info-card-title {
    color: #0d47a1;
}

.info-card-text {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   STATE SYMBOLS PAGE STYLES
   ============================================ */

.state-symbol-card {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem;
    text-align: center;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.state-symbol-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 76, 48, 0.7);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.state-symbol-card:hover::before {
    opacity: 0;
}

.state-symbol-card>* {
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.state-symbol-card:hover>* {
    opacity: 0;
}

.state-symbol-card h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.state-symbol-card h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.state-symbol-card p {
    color: #fff;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ============================================
   GUIDELINES RESOURCES PAGE STYLES
   ============================================ */

/* Guidelines Cards Styles */
.guideline-cards-row {
    display: flex;
    flex-wrap: wrap;
}

.guideline-cards-row > [class*="col-"] {
    display: flex;
}

.guideline-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.guideline-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.guideline-card-header {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.guideline-header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Overlay that removes on hover */
.guideline-header-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease;
    z-index: 1;
}

.guideline-card:hover .guideline-header-overlay {
    opacity: 0;
}

.guideline-header-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
}

.guideline-icon {
    font-size: 2rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.guideline-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Color Themes - Overlay colors */
.guideline-header-green .guideline-header-overlay {
    background: rgba(76, 175, 80, 0.5);
}

.guideline-header-purple .guideline-header-overlay {
    background: rgba(156, 39, 176, 0.5);
}

.guideline-header-blue .guideline-header-overlay {
    background: rgba(33, 150, 243, 0.5);
}

.guideline-header-red .guideline-header-overlay {
    background: rgba(244, 67, 54, 0.5);
}

.guideline-card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 350px;
}

.guideline-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #144c30;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.guideline-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.guideline-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.guideline-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

.guideline-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #144c30;
    font-weight: 700;
}

.guideline-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.guideline-actions .btn {
    flex: 1;
    min-width: 140px;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

/* Green Buttons */
.btn-download-green {
    background: #4caf50;
    color: #fff;
}

.btn-download-green:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-view-green {
    background: transparent;
    color: #4caf50;
    border: 2px solid #4caf50 !important;
}

.btn-view-green:hover {
    background: #4caf50;
    color: #fff;
}

/* Purple Buttons */
.btn-download-purple {
    background: #9c27b0;
    color: #fff;
}

.btn-download-purple:hover {
    background: #7b1fa2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.3);
}

.btn-view-purple {
    background: transparent;
    color: #9c27b0;
    border: 2px solid #9c27b0 !important;
}

.btn-view-purple:hover {
    background: #9c27b0;
    color: #fff;
}

/* Blue Buttons */
.btn-download-blue {
    background: #2196F3;
    color: #fff;
}

.btn-download-blue:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.btn-view-blue {
    background: transparent;
    color: #2196F3;
    border: 2px solid #2196F3 !important;
}

.btn-view-blue:hover {
    background: #2196F3;
    color: #fff;
}

/* Red Buttons */
.btn-download-red {
    background: #f44336;
    color: #fff;
}

.btn-download-red:hover {
    background: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

.btn-view-red {
    background: transparent;
    color: #f44336;
    border: 2px solid #f44336 !important;
}

.btn-view-red:hover {
    background: #f44336;
    color: #fff;
}

/* Additional Resources Section */
.additional-resources-section {
    margin-top: 4rem;
    padding: 3rem 0;
}

.section-title {
    color: #144c30;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Resource Card Styles */
.resource-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.resource-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(34, 71, 36);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.resource-card:hover::before {
    opacity: 1;
}

.resource-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.resource-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.resource-card-green .resource-icon-wrapper {
    background: #e8f5e9;
}

.resource-card-blue .resource-icon-wrapper {
    background: #e3f2fd;
}

.resource-card-purple .resource-icon-wrapper {
    background: #f3e5f5;
}

.resource-icon {
    font-size: 2rem;
    transition: all 0.3s ease;
}

.resource-card-green .resource-icon {
    color: #4caf50;
}

.resource-card-blue .resource-icon {
    color: #2196f3;
}

.resource-card-purple .resource-icon {
    color: #9c27b0;
}

.resource-card:hover .resource-icon-wrapper {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.resource-card:hover .resource-icon {
    color: #144c30;
}

.resource-title {
    color: #144c30;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.resource-card:hover .resource-title {
    color: #fff;
}

.resource-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.resource-card:hover .resource-description {
    color: rgba(255, 255, 255, 0.95);
}

.resource-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.resource-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.resource-badge-green {
    background: #e8f5e9;
    color: #4caf50;
}

.resource-badge-blue {
    background: #e3f2fd;
    color: #2196f3;
}

.resource-badge-purple {
    background: #f3e5f5;
    color: #9c27b0;
}

.resource-card:hover .resource-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #144c30;
    transform: scale(1.05);
}

.resource-count {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.resource-label {
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resource-arrow {
    font-size: 1.5rem;
    color: #666;
    transition: all 0.3s ease;
}

.resource-card:hover .resource-arrow {
    color: #fff;
    transform: translateX(5px);
}

/* Responsive for Additional Resources */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }

    .resource-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .additional-resources-section {
        margin-top: 3rem;
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .resource-card {
        padding: 1.5rem;
    }
}

/* Need More Information Section */
.need-info-section,
.need-more-info-section {
    background: linear-gradient(135deg, #4caf50 0%, #26a69a 100%);
    border-radius: 20px;
    padding: 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.need-info-section::before,
.need-more-info-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.need-info-content,
.need-more-info-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.need-info-icon-wrapper {
    margin-bottom: 2rem;
}

.need-info-icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.need-info-icon,
.need-more-info-icon {
    font-size: 3rem;
    color: #fff;
}

.need-info-title,
.need-more-info-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.need-info-description,
.need-more-info-description {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.7;
    color: #fff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.need-info-actions,
.need-more-info-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-contact-us,
.btn-view-all-documents,
.btn-need-more-info {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-contact-us:hover,
.btn-view-all-documents:hover,
.btn-need-more-info:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.btn-need-more-info-primary {
    background: #fff;
    color: #4caf50;
    border: 2px solid #fff;
}

.btn-need-more-info-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ============================================
   CONTACT FORM STYLES
   ============================================ */

/* Contact Form Container */
.contact-form-container {
    position: relative;
}

/* Toast Notification Styles */
.custom-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    min-width: 300px;
    max-width: 400px;
    overflow: hidden;
    animation: slideIn 0.3s ease-out;
    border-left: 4px solid;
}

.custom-toast-success {
    border-left-color: #28a745;
}

.custom-toast-error {
    border-left-color: #dc3545;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.toast-icon {
    font-size: 20px;
}

.toast-success .toast-icon {
    color: #28a745;
}

.toast-error .toast-icon {
    color: #dc3545;
}

.toast-message {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    flex: 1;
}

.toast-close {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
    font-size: 16px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.toast-close:hover {
    background: #f0f0f0;
    color: #333;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: currentColor;
    opacity: 0.3;
    animation: progress 4s linear;
}

.custom-toast-success .toast-progress {
    background: #28a745;
}

.custom-toast-error .toast-progress {
    background: #dc3545;
}

/* Form Field Error Styling */
.is-invalid {
    border-color: #dc3545 !important;
    background-color: #fff5f5 !important;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.invalid-feedback.d-block {
    display: block;
}

/* Loading State */
button:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes progress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .custom-toast {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

/* Required field indicator */
.required::after {
    content: " *";
    color: red;
}

/* Message container spacing */
#message-container {
    min-height: 20px;
    margin-bottom: 1rem;
}

/* Alert animations */
.alert {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Success message styling */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

/* Loading spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
    .need-info-title,
    .need-more-info-title {
        font-size: 2rem;
    }

    .need-info-description,
    .need-more-info-description {
        font-size: 1rem;
    }

    .need-info-actions,
    .need-more-info-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-contact-us,
    .btn-view-all-documents,
    .btn-need-more-info {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   HERITAGE DETAILS PAGE STYLES
   ============================================ */

/* Species Count Boxes */
.species-count-box {
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.species-count-box:hover {
    transform: translateY(-5px);
}

.species-count-box.green {
    background: #d4edda;
}

.species-count-box.blue {
    background: #d1ecf1;
}

.species-count-box.purple {
    background: #e2d9f3;
}

.species-count-box.red {
    background: #f8d7da;
}

.species-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.species-count-box.green .species-number {
    color: #155724;
}

.species-count-box.blue .species-number {
    color: #0c5460;
}

.species-count-box.purple .species-number {
    color: #6f42c1;
}

.species-count-box.red .species-number {
    color: #721c24;
}

.species-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.species-count-box.green .species-label {
    color: #155724;
}

.species-count-box.blue .species-label {
    color: #0c5460;
}

.species-count-box.purple .species-label {
    color: #6f42c1;
}

.species-count-box.red .species-label {
    color: #721c24;
}

/* Section Headings */
.section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-heading i {
    font-size: 1.8rem;
}

/* Info Box */
.info-box-yellow {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

/* ============================================
   BMC FORMATION CARD STYLES (Guidelines Page)
   ============================================ */

.bmc-formation-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    min-height: 400px;
}

.bmc-formation-left {
    position: relative;
    width: 40%;
    min-width: 350px;
    background: #144c30;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bmc-formation-bg-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.3;
    z-index: 0;
}

.bmc-formation-overlay {
    position: absolute;
    inset: 0;
    background: rgba(76, 175, 80, 0.5);
    transition: opacity 0.3s ease;
    z-index: 1;
}

.bmc-formation-card:hover .bmc-formation-overlay {
    opacity: 0;
}

.bmc-formation-overlay-box {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.bmc-formation-card:hover .bmc-formation-overlay-box {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.bmc-formation-icon {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
}

.bmc-formation-overlay-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.bmc-formation-overlay-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

.bmc-formation-right {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.bmc-formation-badge {
    display: inline-flex;
    align-items: center;
    background: #e1bee7;
    color: #7b1fa2;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.bmc-formation-title {
    color: #144c30;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.bmc-formation-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.bmc-legal-provision-box {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.bmc-legal-provision-box i {
    color: #4caf50;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.bmc-legal-provision-box strong {
    color: #144c30;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.bmc-legal-provision-box p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.bmc-formation-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-download-resolution {
    background: #144c30;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
}

.btn-download-resolution:hover {
    background: #1a5d3f;
    box-shadow: 0 4px 12px rgba(20, 76, 48, 0.3);
}

.btn-view-document {
    background: #fff;
    color: #144c30;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid #144c30;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
}

.btn-view-document:hover {
    background: #144c30;
    color: #fff;
    box-shadow: 0 4px 12px rgba(20, 76, 48, 0.3);
}

/* Responsive for BMC Formation Card */
@media (max-width: 992px) {
    .bmc-formation-card {
        flex-direction: column;
    }

    .bmc-formation-left {
        width: 100%;
        min-width: auto;
        min-height: 300px;
    }

    .bmc-formation-right {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .bmc-formation-actions {
        flex-direction: column;
    }

    .btn-download-resolution,
    .btn-view-document {
        width: 100%;
    }
}

/* =====================================================
   RICH TEXT / PAGE MANAGER CONTENT
   (Vision, Mission, About, Guidelines, CMS Pages)
   ===================================================== */

.rich-text,
.page-content,
.vision-text-content,
.content-area {
    text-align: justify;
}

/* Headings inside editor content */
.rich-text h1,
.rich-text h2,
.rich-text h3,
.rich-text h4,
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.vision-text-content h1,
.vision-text-content h2,
.vision-text-content h3,
.vision-text-content h4 {
    text-align: left;
}

p {
    text-align: justify; 
}






/* =====================================================
   ALIGNMENT UTILITIES
   ===================================================== */

.text-justify {
    text-align: justify !important;
}

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}


