/* Color Variables */
:root {
    --primary-green: #198754;
    --primary-blue: #0d6efd;
    --secondary-green: #20c997;
    --secondary-blue: #6610f2;
    --light-green: #d1e7dd;
    --light-blue: #cfe2ff;
    --dark-green: #146c43;
    --dark-blue: #0a58ca;
    --gradient-primary: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-green) 0%, var(--secondary-blue) 100%);
    --text-dark: #2d3748;
    --text-medium: #4a5568;
    --text-light: #718096;
    --warning-bg: rgba(255, 193, 7, 0.1);
    --warning-border: #ffc107;
    --warning-text: #856404;
}


html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    background-color: #f8f9fa;
}

.main, .content {
    margin: 0;
    padding: 0;
    width: 100%;
}

.container-fluid {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    width: 100%;
}

.header .container-fluid,
.py-4 .container-fluid,
.py-5 .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

.hero-section .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* Header Styles */
.header {
    border-bottom: 1px solid #dee2e6;
    background: white;
}

.nav-link.active {
    font-weight: 500;
    border-bottom: 2px solid var(--primary-green);
    color: var(--primary-green) !important;
}

.nav-link:hover {
    color: var(--primary-green) !important;
}

.btn-success {
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: var(--gradient-secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/Images/volontar hands hero.png') center 70%/cover rgba(154, 219, 147, 0.141);
    opacity: 1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 1.5rem 1rem;
}

.hero-text-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(3px);
    border-radius: 16px;
    padding: 1.25rem 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    color: var(--text-medium);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero-cta {
    background: var(--gradient-primary);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
    font-size: 0.9rem;
}

.hero-cta:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
    color: white;
}

.hero-cta-secondary {
    background: var(--gradient-secondary);
    box-shadow: 0 4px 12px rgba(102, 16, 242, 0.3);
}

.hero-cta-secondary:hover {
    background: var(--gradient-primary);
    box-shadow: 0 6px 20px rgba(102, 16, 242, 0.4);
}

.hero-note {
    background: var(--warning-bg);
    border-left: 4px solid var(--warning-border);
    padding: 0.75rem;
    border-radius: 6px;
    margin-top: 1.25rem;
    font-size: 0.8rem;
    color: var(--warning-text);
}

/* Jobs Section Combined */
.jobs-section-combined {
    background: #f8f9fa;
    padding: 2rem 0 3rem 0;
}

/* Sorting Controls */
.sorting-controls {
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

/* Toggle Buttons */
.sorting-controls .btn-group {
    background: white;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.sorting-controls .btn-group .btn {
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    color: var(--text-light);
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
    margin: 0;
}

.sorting-controls .btn-group .btn:hover {
    color: var(--primary-green);
    background: rgba(25, 135, 84, 0.1);
}

.sorting-controls .btn-group .btn.active,
.sorting-controls .btn-group .btn:active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.3);
    transform: translateY(-1px);
}

.sorting-controls .btn-group .btn:first-child {
    margin-right: 2px;
    position: relative;
}

.sorting-controls .btn-group .btn:first-child::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(0, 0, 0, 0.15);
}

.sorting-controls .btn-group .btn:last-child {
    margin-left: 2px;
}

.sorting-controls .form-select {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    font-size: 0.9rem;
    background: white url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") no-repeat right 0.75rem center/16px 16px;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-weight: 500;
}

.sorting-controls .form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.1), 0 2px 8px rgba(0, 0, 0, 0.08);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23198754' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

.sorting-controls .form-select:hover {
    border-color: var(--primary-green);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23198754' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Job Card */
.job-card-wrapper {
    height: 100%;
}

.job-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.08);
}


/* Job Card Header */
.job-card-header {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.job-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.job-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}


.job-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.1) 70%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

.favorite-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.favorite-btn:hover {
    background: white;
    color: var(--primary-green);
    transform: scale(1.1);
}

.favorite-btn.active {
    background: var(--primary-green);
    color: white;
}

.favorite-btn.active:hover {
    background: #dc3545;
}

/* Job Card Content */
.job-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.job-category {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.category-tag,
.type-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-tag {
    background: var(--light-green);
    color: var(--primary-green);
}

.type-tag {
    background: var(--light-blue);
    color: var(--primary-blue);
}

.job-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.job-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.job-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.job-detail-item i {
    color: var(--primary-green);
    font-size: 1rem;
    width: 16px;
    flex-shrink: 0;
}

/* Job Card Footer */
.job-card-footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(248, 249, 250, 0.5);
}

.job-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

.job-info-btn:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
    color: white;
}

/* Responsive Design  */
@media (max-width: 768px) {
    .jobs-section-combined {
        padding: 1.5rem 0 2rem 0;
    }

    .sorting-controls {
        padding: 1rem 0;
        margin-bottom: 1.5rem;
    }

    .sorting-controls .d-flex {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch !important;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .job-card-header {
        height: 200px;
    }

    .job-card-content {
        padding: 1.25rem;
    }

    .job-card-footer {
        padding: 0.75rem 1.25rem 1.25rem;
    }
}

@media (max-width: 576px) {
    .jobs-section-combined {
        padding: 1rem 0;
    }

    .sorting-controls {
        padding: 0.75rem 0;
        margin-bottom: 1rem;
    }

    .jobs-grid {
        gap: 1rem;
        margin-top: 1rem;
    }

    .job-card-header {
        height: 180px;
    }

    .job-card-content {
        padding: 1rem;
    }

    .job-card-footer {
        padding: 0.5rem 1rem 1rem;
    }

    .job-title {
        font-size: 1.1rem;
    }
}

/* Button Styles */
.btn-outline-secondary {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.btn-outline-secondary:hover,
.btn-outline-secondary.active {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}


.modern-pagination {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border: 2px solid var(--light-green);
    border-radius: 12px;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pagination-btn:hover:not(.disabled) {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
    color: var(--text-light);
    border-color: #e9ecef;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-number {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--light-green);
    border-radius: 12px;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pagination-number:hover {
    background: var(--light-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.2);
}

.pagination-number.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-green);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

.pagination-number.active:hover {
    background: var(--gradient-secondary);
}

/* Responsive Pagination */
@media (max-width: 576px) {
    .pagination-container {
        gap: 0.5rem;
    }

    .pagination-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .pagination-btn span {
        display: none;
    }

    .pagination-number {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
}

.search-section {
    background: white;
    padding: 3rem 0;
    position: relative;
}

.search-section .form-control {
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid var(--light-green);
    border-radius: 25px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    outline: none;
}

.search-section .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.1);
    transform: translateY(-1px);
}

.search-section .form-select {
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 2px solid var(--light-green);
    border-radius: 15px;
    font-size: 0.9rem;
    background: white url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") no-repeat right 0.75rem center/16px 16px;
    transition: all 0.3s ease;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.search-section .form-select:focus,
.search-section .form-select:hover {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.1);
    transform: translateY(-1px);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23198754' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

.search-section .btn-success {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

.search-section .btn-success:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
}



.search-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    
    gap: 1rem;
}

.search-title {
    color: var(--text-dark);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.favorites-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--light-green);
    color: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.favorites-btn:hover,
.favorites-btn.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

.search-form {
    background: white;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.search-input-group {
    margin-bottom: 1.5rem;
}

.search-input-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.1rem;
    z-index: 2;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid var(--light-green);
    border-radius: 25px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    outline: none;
}

.search-input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.1);
    transform: translateY(-1px);
}

.search-filters .row {
    margin-bottom: 1.5rem;
    justify-content: center;
}

.search-button-col {
    margin-top: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--light-green);
    border-radius: 15px;
    font-size: 0.9rem;
    background: white;
    transition: all 0.3s ease;
    outline: none;
    cursor: pointer;
}

.filter-select:focus,
.filter-select:hover {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.1);
    transform: translateY(-1px);
}

.search-btn {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

.search-btn:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-header {
        flex-direction: column;
        text-align: center;
    }

    .search-title {
        font-size: 1.5rem;
    }

    .search-form {
        padding: 1.5rem;
    }

    .search-filters {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .search-section {
        padding: 2rem 0;
    }

    .search-container {
        padding: 0 0.5rem;
    }

    .search-form {
        padding: 1rem;
        border-radius: 15px;
    }
}

/* Job Cards */
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.text-success {
    color: var(--primary-green) !important;
}

/* Pagination */
.page-link {
    color: var(--primary-green);
    border-color: var(--light-green);
}

.page-link:hover {
    color: var(--dark-green);
    background-color: var(--light-green);
    border-color: var(--primary-green);
}

/* Footer */
.border-top {
    border-color: var(--light-green) !important;
}

/* Header */
.border-light-green {
    border-color: var(--light-green) !important;
}

/* Responsive Design */
@media (min-width: 576px) {
    .hero-text-box {
        max-width: 750px;
        padding: 1.5rem 2.5rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .hero-section {
        min-height: 55vh;
    }

    .hero-content {
        padding: 2rem;
    }

    .hero-text-box {
        max-width: 850px;
        padding: 1.75rem 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        min-height: 60vh;
    }

    .hero-text-box {
        max-width: 950px;
        padding: 2rem 4rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
}



/* Login Button */
.primary-login-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    border: 2px solid var(--primary-blue);
    border-radius: 12px;
    background: transparent;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.1);
}

.primary-login-btn:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.25);
}

.primary-login-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.2);
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.primary-login-btn i {
    font-size: 0.9rem;
    opacity: 0.9;
}

.primary-login-btn:hover i {
    opacity: 1;
}

/* Header Enhancements */
.header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23198754' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.faq-section .search-header {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.5rem;
}

.faq-subtitle-wrapper {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.faq-section .search-subtitle {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin: 0;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    padding: 1.25rem 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(25, 135, 84, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    justify-content: space-between;
}

.faq-question-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.faq-question-content i {
    font-size: 1.5rem;
    color: var(--primary-green);
    flex-shrink: 0;
    line-height: 1;
}

.faq-question h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.faq-answer {
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.faq-item.active .faq-answer {
    padding-top: 0.5rem;
    padding-bottom: 0;
}

.faq-answer p {
    color: var(--text-medium);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.faq-toggle {
    color: var(--primary-green);
    font-size: 1.25rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}


.faq-item:not(.active) .faq-answer {
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.faq-item.active .faq-answer {
    max-height: 300px !important;
    padding-top: 0.5rem !important;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 0;
    }

    .faq-grid {
        gap: 1rem;
        margin-top: 2rem;
        max-width: 100%;
    }

    .faq-item {
        padding: 1rem 1.5rem;
        border-radius: 12px;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-question-content i {
        font-size: 1.25rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }

    .faq-toggle {
        font-size: 1.1rem;
    }
}

/* Responsive Header */
@media (max-width: 768px) {
    .primary-login-btn {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }
}
