/*******************************/
/********* General CSS *********/
/*******************************/
body {
    color: #666666;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Fix horizontal stretching */
}

h1,
h2, 
h4,
h5, 
h6 {
    color: #005837;
}

a {
    color: #dee9dc;
    transition: .3s;
}

a:hover,
a:active,
a:focus {
    color: #5a9f86;
    outline: none;
    text-decoration: none;
}

.btn:focus {
    box-shadow: none;
}

.wrapper {
    position: relative;
    width: 100%;
    max-width: 1366px;
    margin: 0 auto;
    background: #ffffff;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Container fixes to prevent stretching */
.container,
.container-fluid {
    max-width: 100%;
    overflow-x: hidden;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.col,
[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

/* Fix for carousel and RFQ section stretching */
.rfq-hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    height: 600px; /* Fixed height instead of min-height */
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.rfq-hero-section .container-fluid {
    padding: 0;
    max-width: 100%;
    height: 100%;
}

.rfq-hero-section .row {
    height: 100%;
    margin: 0;
    max-width: 100%;
}

.rfq-hero-section .col-lg-8,
.rfq-hero-section .col-lg-4 {
    padding: 0;
    max-width: 100%;
    height: 100%;
}

/* Platform Overview Section (Left) */
.rfq-slide {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.rfq-slide-primary {
    background: linear-gradient(135deg, #005837 0%, #5a9f86 100%);
    color: white;
}

.slide-content {
    padding: 50px;
    width: 100%;
    z-index: 2;
    position: relative;
    box-sizing: border-box;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(222, 233, 220, 0.9);
    color: #005837;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.slide-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slide-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.slide-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(222, 233, 220, 0.15);
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex: 1;
    min-width: 120px;
}

.stat-item:hover {
    background: rgba(222, 233, 220, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 88, 55, 0.2);
}

.stat-item strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stat-item span {
    font-size: 0.875rem;
    opacity: 0.9;
}

.quick-actions {
    margin-top: 2rem;
}

.btn-opportunity {
    background: linear-gradient(135deg, #5a9f86 0%, #dee9dc 100%);
    color: #005837;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(90, 159, 134, 0.3);
}

.btn-opportunity:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(90, 159, 134, 0.4);
    color: #005837;
    background: linear-gradient(135deg, #dee9dc 0%, #5a9f86 100%);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* Opportunities Carousel Section (Right) */
.opportunities-carousel-container {
    background: #005837;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.carousel-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.carousel-title {
    color: #dee9dc;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.carousel-title i {
    color: #5a9f86;
    font-size: 1.5rem;
}

.carousel-indicators {
    display: flex;
    gap: 0.5rem;
    position: static;
    margin: 0;
}

.carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(222, 233, 220, 0.5);
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-indicators button.active {
    background: #dee9dc;
    border-color: #dee9dc;
    transform: scale(1.3);
}

.carousel-indicators button:hover {
    border-color: rgba(222, 233, 220, 0.8);
    transform: scale(1.1);
}

#rfqCarousel {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#rfqCarousel .carousel-inner {
    flex: 1;
    height: calc(100% - 120px);
}

.opportunity-slide {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
}

.opportunity-content {
    width: 100%;
}

.opportunity-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgba(167, 196, 167, 0.9);
    color: #015938;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.opportunity-title {
    color: #dee9dc;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.opportunity-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.opportunity-details {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: rgba(222, 233, 220, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.detail-row:hover {
    background: rgba(222, 233, 220, 0.15);
    transform: translateX(3px);
}

.detail-row i {
    color: #5a9f86;
    font-size: 1rem;
    flex-shrink: 0;
}

.detail-row span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

.opportunity-actions {
    text-align: center;
    margin-top: auto;
}

.btn-submit-quote {
    background: linear-gradient(135deg, #5a9f86 0%, #dee9dc 100%);
    color: #005837;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(90, 159, 134, 0.3);
}

.btn-submit-quote:hover {
    background: linear-gradient(135deg, #dee9dc 0%, #5a9f86 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(90, 159, 134, 0.4);
    color: #005837;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    display: none;
}

@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: flex;
        width: 35px;
        height: 35px;
        background: rgba(90, 159, 134, 0.8);
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0.8;
        transition: all 0.3s ease;
        border: 1px solid rgba(222, 233, 220, 0.3);
        align-items: center;
        justify-content: center;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        opacity: 1;
        background: rgba(90, 159, 134, 1);
        border-color: rgba(222, 233, 220, 0.8);
        transform: translateY(-50%) scale(1.1);
    }

    .carousel-control-prev i,
    .carousel-control-next i {
        color: white;
        font-size: 1rem;
    }
}

/* No Opportunities State */
.no-opportunities {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #005837;
    height: 100%;
}

.no-opportunities-content {
    text-align: center;
    padding: 3rem 2rem;
}

.no-opportunities-icon {
    font-size: 4rem;
    color: rgba(222, 233, 220, 0.5);
    margin-bottom: 1.5rem;
}

.no-opportunities h5 {
    color: #dee9dc;
    font-weight: 700;
    margin-bottom: 1rem;
}

.no-opportunities p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.btn-post-first {
    background: linear-gradient(135deg, #5a9f86 0%, #dee9dc 100%);
    color: #005837;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-post-first:hover {
    background: linear-gradient(135deg, #dee9dc 0%, #5a9f86 100%);
    transform: translateY(-2px);
    color: #005837;
}

/* Responsive Design for RFQ Section */
@media (max-width: 991px) {
    .rfq-hero-section {
        height: 500px;
    }
    
    .slide-content {
        padding: 40px 30px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .stat-item {
        max-width: 250px;
        width: 100%;
    }
    
    .opportunity-slide {
        padding: 1.5rem;
    }
    
    .carousel-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    #rfqCarousel .carousel-inner {
        height: calc(100% - 100px);
    }
}

@media (max-width: 768px) {
    .rfq-hero-section {
        height: 450px;
    }
    
    .slide-content {
        padding: 30px 20px;
    }
    
    .slide-title {
        font-size: 1.75rem;
    }
    
    .opportunity-title {
        font-size: 1.25rem;
    }
    
    .opportunity-slide {
        padding: 1rem;
    }
    
    .carousel-header {
        padding: 1rem 1rem 0.75rem;
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .carousel-title {
        font-size: 1.1rem;
    }
    
    #rfqCarousel .carousel-inner {
        height: calc(100% - 90px);
    }
}

@media (max-width: 576px) {
    .rfq-hero-section {
        height: 400px;
    }
    
    .rfq-hero-section .row {
        flex-direction: column;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .opportunity-title {
        font-size: 1.1rem;
    }
    
    .opportunity-description {
        font-size: 0.85rem;
    }
}

/* Remove any conflicting height constraints */
.about,
.service,
.feature {
    min-height: auto !important;
    height: auto !important;
}

.about .row,
.service .row,
.feature .row {
    min-height: auto !important;
    height: auto !important;
}

/* Ensure proper section spacing */
.rfq-hero-section + .about {
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .rfq-hero-section + .about {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .rfq-hero-section + .about {
        margin-top: 1.5rem;
    }
}

/**********************************/
/******** About & Services Section Fixes *********/
/**********************************/

/* Fix About section stretching and add proper spacing */
.about {
    padding: 4rem 0; /* Standard padding instead of stretched height */
    margin-top: 3rem; /* Add space between RFQ section and About */
    background: #ffffff;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e9ecef, transparent);
}

.about .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.about .row {
    margin: 0;
    align-items: center;
    min-height: auto; /* Remove any forced height */
}

.about-img {
    text-align: center;
    margin-bottom: 2rem;
}

.about-img img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 88, 55, 0.1);
    transition: transform 0.3s ease;
}

.about-img img:hover {
    transform: scale(1.02);
}

.about .section-header {
    margin-bottom: 2rem;
}

.about .section-header p {
    color: #5a9f86;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about .section-header h2 {
    color: #005837;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.about-text {
    color: #666666;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Fix Service section stretching */
.service {
    padding: 4rem 0; /* Standard padding */
    background: #f8f9fa;
    position: relative;
    margin-top: 0; /* Remove extra margin */
}

.service .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.service .section-header {
    margin-bottom: 3rem;
}

.service .section-header p {
    color: #5a9f86;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service .section-header h2 {
    color: #005837;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.service .section-header > p:last-child {
    color: #666666;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.service .row {
    margin: 0;
}

.service-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 88, 55, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    height: auto; /* Remove forced height */
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 88, 55, 0.15);
}

.service-img {
    position: relative;
    overflow: hidden;
    height: 250px; /* Fixed reasonable height */
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover .service-img img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 88, 55, 0.9);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    text-align: center;
}

.service-item:hover .service-overlay {
    opacity: 1;
}

.service-overlay p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.service-text {
    padding: 2rem;
    text-align: center;
    position: relative;
}

.service-text h3 {
    color: #005837;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-text .btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5a9f86 0%, #dee9dc 100%);
    color: #005837;
    border: none;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-text .btn:hover {
    background: linear-gradient(135deg, #005837 0%, #5a9f86 100%);
    color: white;
    transform: rotate(45deg) scale(1.1);
}

/* Fix Feature section */
.feature {
    padding: 4rem 0; /* Standard padding */
    background: white;
    margin-top: 0;
}

.feature .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.feature .row {
    margin: 0;
    align-items: center;
}

.feature-item {
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: auto; /* Remove forced height */
}

.feature-item:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 88, 55, 0.1);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 3rem;
    color: #5a9f86;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon i {
    color: #005837;
    transform: scale(1.1);
}

.feature-text h3 {
    color: #005837;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-text p {
    color: #666666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (min-width: 1200px) {
    .about .container,
    .service .container,
    .feature .container-fluid {
        padding: 0 60px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .about .container,
    .service .container,
    .feature .container-fluid {
        padding: 0 45px;
    }
    
    .about .section-header h2,
    .service .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .about .container,
    .service .container,
    .feature .container-fluid {
        padding: 0 30px;
    }
    
    .about .section-header h2,
    .service .section-header h2 {
        font-size: 2rem;
    }
    
    .about {
        margin-top: 2rem;
        padding: 3rem 0;
    }
    
    .service,
    .feature {
        padding: 3rem 0;
    }
}

@media (max-width: 767.98px) {
    .about .container,
    .service .container,
    .feature .container-fluid {
        padding: 0 15px;
    }
    
    .about {
        margin-top: 1.5rem;
        padding: 2.5rem 0;
    }
    
    .service,
    .feature {
        padding: 2.5rem 0;
    }
    
    .about .section-header h2,
    .service .section-header h2 {
        font-size: 1.8rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .service .section-header > p:last-child {
        font-size: 1rem;
    }
    
    .feature-item {
        padding: 1.5rem 1rem;
    }
    
    .service-img {
        height: 200px;
    }
    
    .service-overlay {
        padding: 1.5rem;
    }
    
    .service-overlay p {
        font-size: 0.9rem;
    }
    
    .service-text {
        padding: 1.5rem;
    }
    
    .service-text h3 {
        font-size: 1.2rem;
    }
}

/* Override any existing conflicting carousel control styles */
#rfqCarousel .carousel-control-prev-icon,
#rfqCarousel .carousel-control-next-icon {
    display: none;
}

/* Ensure no content overflow */
.opportunities-carousel-container * {
    box-sizing: border-box;
}

/* Make sure indicators are always visible and clickable */
.carousel-indicators {
    z-index: 15;
}

.carousel-indicators button {
    cursor: pointer;
}

/**********************************/
/******** CONSOLIDATED TWO-SECTION LAYOUT - NO STRETCHING *********/
/**********************************/

/* RFQ Hero Section - Fixed height, no stretching */
.rfq-hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    height: 600px;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.rfq-hero-section .container-fluid {
    padding: 0;
    max-width: 100%;
    height: 100%;
}

.rfq-hero-section .row {
    height: 100%;
    margin: 0;
    max-width: 100%;
}

.rfq-hero-section .col-lg-8,
.rfq-hero-section .col-lg-4 {
    padding: 0;
    max-width: 100%;
    height: 100%;
}

/* Platform Overview Section (Left) */
.rfq-slide {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.rfq-slide-primary {
    background: linear-gradient(135deg, #005837 0%, #5a9f86 100%);
    color: white;
}

.slide-content {
    padding: 50px;
    width: 100%;
    z-index: 2;
    position: relative;
    box-sizing: border-box;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(222, 233, 220, 0.9);
    color: #005837;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.slide-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slide-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.slide-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(222, 233, 220, 0.15);
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex: 1;
    min-width: 120px;
}

.stat-item:hover {
    background: rgba(222, 233, 220, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 88, 55, 0.2);
}

.stat-item strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stat-item span {
    font-size: 0.875rem;
    opacity: 0.9;
}

.quick-actions {
    margin-top: 2rem;
}

.btn-opportunity {
    background: linear-gradient(135deg, #5a9f86 0%, #dee9dc 100%);
    color: #005837;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(90, 159, 134, 0.3);
}

.btn-opportunity:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(90, 159, 134, 0.4);
    color: #005837;
    background: linear-gradient(135deg, #dee9dc 0%, #5a9f86 100%);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* Opportunities Carousel Section (Right) */
.opportunities-carousel-container {
    background: #005837;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.carousel-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.carousel-title {
    color: #dee9dc;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.carousel-title i {
    color: #5a9f86;
    font-size: 1.5rem;
}

.carousel-indicators {
    display: flex;
    gap: 0.5rem;
    position: static;
    margin: 0;
}

.carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(222, 233, 220, 0.5);
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-indicators button.active {
    background: #dee9dc;
    border-color: #dee9dc;
    transform: scale(1.3);
}

.carousel-indicators button:hover {
    border-color: rgba(222, 233, 220, 0.8);
    transform: scale(1.1);
}

#rfqCarousel {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#rfqCarousel .carousel-inner {
    flex: 1;
    height: calc(100% - 120px);
}

.opportunity-slide {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
}

.opportunity-content {
    width: 100%;
}

.opportunity-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgba(167, 196, 167, 0.9);
    color: #015938;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.opportunity-title {
    color: #dee9dc;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.opportunity-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.opportunity-details {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: rgba(222, 233, 220, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.detail-row:hover {
    background: rgba(222, 233, 220, 0.15);
    transform: translateX(3px);
}

.detail-row i {
    color: #5a9f86;
    font-size: 1rem;
    flex-shrink: 0;
}

.detail-row span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

.opportunity-actions {
    text-align: center;
    margin-top: auto;
}

.btn-submit-quote {
    background: linear-gradient(135deg, #5a9f86 0%, #dee9dc 100%);
    color: #005837;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(90, 159, 134, 0.3);
}

.btn-submit-quote:hover {
    background: linear-gradient(135deg, #dee9dc 0%, #5a9f86 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(90, 159, 134, 0.4);
    color: #005837;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    display: none;
}

@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: flex;
        width: 35px;
        height: 35px;
        background: rgba(90, 159, 134, 0.8);
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0.8;
        transition: all 0.3s ease;
        border: 1px solid rgba(222, 233, 220, 0.3);
        align-items: center;
        justify-content: center;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        opacity: 1;
        background: rgba(90, 159, 134, 1);
        border-color: rgba(222, 233, 220, 0.8);
        transform: translateY(-50%) scale(1.1);
    }

    .carousel-control-prev i,
    .carousel-control-next i {
        color: white;
        font-size: 1rem;
    }
}

/* No Opportunities State */
.no-opportunities {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #005837;
    height: 100%;
}

.no-opportunities-content {
    text-align: center;
    padding: 3rem 2rem;
}

.no-opportunities-icon {
    font-size: 4rem;
    color: rgba(222, 233, 220, 0.5);
    margin-bottom: 1.5rem;
}

.no-opportunities h5 {
    color: #dee9dc;
    font-weight: 700;
    margin-bottom: 1rem;
}

.no-opportunities p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.btn-post-first {
    background: linear-gradient(135deg, #5a9f86 0%, #dee9dc 100%);
    color: #005837;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-post-first:hover {
    background: linear-gradient(135deg, #dee9dc 0%, #5a9f86 100%);
    transform: translateY(-2px);
    color: #005837;
}

/* Responsive Design for RFQ Section */
@media (max-width: 991px) {
    .rfq-hero-section {
        height: 500px;
    }
    
    .slide-content {
        padding: 40px 30px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .stat-item {
        max-width: 250px;
        width: 100%;
    }
    
    .opportunity-slide {
        padding: 1.5rem;
    }
    
    .carousel-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    #rfqCarousel .carousel-inner {
        height: calc(100% - 100px);
    }
}

@media (max-width: 768px) {
    .rfq-hero-section {
        height: 450px;
    }
    
    .slide-content {
        padding: 30px 20px;
    }
    
    .slide-title {
        font-size: 1.75rem;
    }
    
    .opportunity-title {
        font-size: 1.25rem;
    }
    
    .opportunity-slide {
        padding: 1rem;
    }
    
    .carousel-header {
        padding: 1rem 1rem 0.75rem;
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .carousel-title {
        font-size: 1.1rem;
    }
    
    #rfqCarousel .carousel-inner {
        height: calc(100% - 90px);
    }
}

@media (max-width: 576px) {
    .rfq-hero-section {
        height: 400px;
    }
    
    .rfq-hero-section .row {
        flex-direction: column;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .opportunity-title {
        font-size: 1.1rem;
    }
    
    .opportunity-description {
        font-size: 0.85rem;
    }
}

/* Remove any conflicting height constraints */
.about,
.service,
.feature {
    min-height: auto !important;
    height: auto !important;
}

.about .row,
.service .row,
.feature .row {
    min-height: auto !important;
    height: auto !important;
}

/* Ensure proper section spacing */
.rfq-hero-section + .about {
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .rfq-hero-section + .about {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .rfq-hero-section + .about {
        margin-top: 1.5rem;
    }
}

/**********************************/
/******** TOP BAR HEADER FIX ONLY *********/
/**********************************/

/* Fix top bar header stretching - logo and text size issues */
.top-bar {
    position: relative;
    height: 90px !important; /* Force consistent height */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 0.75rem 0;
    border-bottom: 1px solid #dee2e6;
    width: 100%;
    max-width: 1366px; /* Match wrapper width */
    margin: 0 auto; /* Center align */
    overflow: hidden; /* Prevent overflow */
    box-sizing: border-box;
}

.top-bar .container-fluid {
    padding: 0 60px; /* Consistent padding */
    max-width: 100%;
    height: 100%;
    overflow: hidden; /* Prevent overflow */
    box-sizing: border-box;
}

/* Fix top bar row and columns */
.top-bar .row {
    margin: 0;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
    align-items: center; /* Center content vertically */
}

.top-bar .col-xl-2,
.top-bar .col-xl-8, 
.top-bar .col-lg-3,
.top-bar .col-lg-6,
.top-bar .col-md-4,
.top-bar .col-md-5,
.top-bar .col-md-3,
.top-bar .col-6 {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
    overflow: hidden;
    height: auto; /* Allow natural height */
}

/* Fix logo section - FORCE SMALLER SIZES */
.top-bar .logo {
    padding: 10px 0; /* Reduced padding */
    text-align: left;
    overflow: hidden;
    height: auto;
}

.top-bar .logo h1 {
    margin: 0;
    color: #005837;
    font-size: 40px !important; /* Much smaller than 60px */
    line-height: 40px !important; /* Match font size */
    font-weight: 700;
}

.top-bar .logo img {
    max-width: 100%;
    max-height: 50px !important; /* Reduced from 60px */
    width: auto;
    height: auto;
    object-fit: contain;
}

.top-bar .smlogo {
    padding: 10px 0; /* Reduced padding */
    text-align: left;
    overflow: hidden;
    height: auto;
}

.top-bar .smlogo h1 {
    margin: 0;
    color: #005837;
    font-size: 35px !important; /* Much smaller than 60px */
    line-height: 35px !important; /* Match font size */
    font-weight: 700;
}

.top-bar .smlogo img {
    max-width: 280px !important; /* Reduced from 312px */
    max-height: 35px !important; /* Reduced from 45px */
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Fix top bar items - REDUCE SIZES */
.top-bar .top-bar-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem; /* Reduced gap */
    padding: 0.5rem; /* Reduced padding */
    background: rgba(222, 233, 220, 0.15);
    border-radius: 6px; /* Smaller radius */
    transition: all 0.3s ease;
    margin: 0 0.125rem; /* Reduced margin */
    border: 1px solid rgba(0, 88, 55, 0.1);
    overflow: hidden;
    height: auto;
    min-height: 50px; /* Set reasonable min-height */
    max-height: 60px; /* Prevent excessive height */
}

.top-bar .top-bar-item:hover {
    background: rgba(222, 233, 220, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 88, 55, 0.15);
}

/* Fix top bar icons - SMALLER SIZES */
.top-bar .top-bar-icon {
    width: 35px !important; /* Reduced from 45px */
    height: 35px !important; /* Added height constraint */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #005837;
    font-size: 1.25rem !important; /* Reduced from 1.75rem */
    flex-shrink: 0;
    background: rgba(90, 159, 134, 0.1);
    border-radius: 6px; /* Smaller radius */
    padding: 6px; /* Reduced padding */
    transition: all 0.3s ease;
    overflow: hidden;
}

.top-bar .top-bar-icon:hover {
    background: rgba(90, 159, 134, 0.2);
    transform: scale(1.05); /* Reduced scale */
}

.top-bar .top-bar-icon [class^="flaticon-"]::before {
    margin: 0;
    color: #005837;
    font-size: 28px !important; /* Much smaller than 40px */
}

/* Fix top bar text - SMALLER SIZES */
.top-bar .top-bar-text {
    padding-left: 8px; /* Reduced padding */
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.top-bar .top-bar-text h3 {
    margin: 0 0 3px 0; /* Reduced margin */
    color: #005837 !important;
    font-size: 0.8rem !important; /* Reduced from 0.95rem */
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2; /* Add line height */
}

.top-bar .top-bar-text p {
    margin: 0;
    color: #005837 !important;
    font-size: 0.75rem !important; /* Reduced from 0.9rem */
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2; /* Add line height */
}

.top-bar .top-bar-text p a {
    color: #005837 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 700 !important;
    padding: 2px 4px;
    border-radius: 4px;
    font-size: inherit; /* Inherit parent font size */
}

.top-bar .top-bar-text p a:hover {
    color: #ffffff;
    background: #5a9f86;
    text-decoration: none;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(90, 159, 134, 0.3);
}

/* Fix contact highlight - SMALLER SIZE */
.contact-highlight {
    background: linear-gradient(135deg, #005837 0%, #5a9f86 100%) !important;
    color: white !important;
    padding: 0.4rem 0.8rem !important; /* Reduced padding */
    border-radius: 20px !important; /* Smaller radius */
    margin: 0.125rem 0 !important; /* Reduced margin */
    transition: all 0.3s ease !important;
    border: 2px solid rgba(222, 233, 220, 0.3) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-block !important;
    box-shadow: 0 2px 8px rgba(0, 88, 55, 0.2) !important;
    font-size: 0.7rem !important; /* Force smaller font */
}

.contact-highlight:hover {
    border-color: #dee9dc !important;
    transform: scale(1.03) !important; /* Reduced scale */
    box-shadow: 0 4px 15px rgba(0, 88, 55, 0.4) !important;
    background: linear-gradient(135deg, #5a9f86 0%, #dee9dc 100%) !important;
    color: #005837 !important;
}

/* Fix sign-in button area */
.top-bar .text-end {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-bar .btn-outline-success {
    padding: 0.5rem 1rem !important; /* Reduced padding */
    font-size: 0.8rem !important; /* Smaller font */
    line-height: 1.2;
    height: auto;
    min-height: 35px; /* Set reasonable min-height */
}

/* Responsive adjustments for top bar ONLY */
@media (min-width: 1200px) {
    .top-bar .container-fluid {
        padding: 0 60px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .top-bar .container-fluid {
        padding: 0 45px;
    }
    
    .top-bar .top-bar-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 1.1rem !important;
    }
    
    .top-bar .top-bar-text h3 {
        font-size: 0.75rem !important;
    }
    
    .top-bar .top-bar-text p {
        font-size: 0.7rem !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .top-bar .container-fluid {
        padding: 0 30px;
    }
    
    .top-bar {
        height: 80px !important;
    }
    
    .top-bar .logo img {
        max-height: 40px !important;
    }
    
    .top-bar .smlogo img {
        max-height: 30px !important;
        max-width: 250px !important;
    }
    
    .top-bar .top-bar-item {
        padding: 0.375rem;
        gap: 0.375rem;
        min-height: 45px;
        max-height: 50px;
    }
    
    .top-bar .top-bar-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 1rem !important;
        padding: 4px;
    }
    
    .top-bar .top-bar-text h3 {
        font-size: 0.7rem !important;
    }
    
    .top-bar .top-bar-text p {
        font-size: 0.65rem !important;
    }
    
    .contact-highlight {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.65rem !important;
    }
}

@media (max-width: 767.98px) {
    .top-bar .container-fluid {
        padding: 0 15px;
    }
    
    .top-bar {
        height: 70px !important;
        padding: 0.5rem 0;
    }
    
    .top-bar .logo img {
        max-height: 35px !important;
    }
    
    .top-bar .smlogo img {
        max-height: 25px !important;
        max-width: 200px !important;
    }
    
    .top-bar .top-bar-item {
        padding: 0.25rem;
        min-height: 40px;
        max-height: 45px;
    }
    
    .top-bar .btn-outline-success {
        padding: 0.375rem 0.75rem !important;
        font-size: 0.75rem !important;
        min-height: 30px;
    }
}

/* Force wrapper consistency for top bar only */
.wrapper .top-bar {
    width: 100%;
    max-width: 100%; /* Inherit from wrapper */
}

/* Ensure Bootstrap grid doesn't overflow in top bar only */
.top-bar .container-fluid,
.top-bar .row,
.top-bar [class*="col-"] {
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/**********************************/
/******** FAQs & FOOTER VISIBILITY FIXES *********/
/**********************************/

/* Fix FAQs Section - Make text visible */
.faqs {
    padding: 4rem 0;
    background: #ffffff;
    position: relative;
}

.faqs .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.faqs .section-header {
    margin-bottom: 3rem;
}

.faqs .section-header p {
    color: #5a9f86 !important;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faqs .section-header h2 {
    color: #005837 !important;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Fix FAQ Cards */
.faqs .card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 88, 55, 0.05);
    transition: all 0.3s ease;
}

.faqs .card:hover {
    box-shadow: 0 8px 25px rgba(0, 88, 55, 0.1);
    transform: translateY(-2px);
}

.faqs .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 0;
    border-radius: 12px 12px 0 0;
}

.faqs .card-link {
    display: block;
    width: 100%;
    padding: 1.25rem 1.5rem;
    color: #005837 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
    position: relative;
    transition: all 0.3s ease;
    border: none;
    background: none;
}

.faqs .card-link:hover {
    color: #5a9f86 !important;
    background: rgba(90, 159, 134, 0.05);
}

.faqs .card-link:not(.collapsed) {
    background: #005837;
    color: #ffffff !important;
}

.faqs .card-link:after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faqs .card-link:not(.collapsed):after {
    content: '?';
    color: #ffffff;
}

.faqs .card-link p {
    margin: 0;
    color: inherit !important;
    font-size: inherit;
    font-weight: inherit;
}

.faqs .card-body {
    padding: 1.5rem;
    background: #ffffff;
    color: #666666 !important;
    font-size: 1rem;
    line-height: 1.6;
    border-top: 1px solid #e9ecef;
}

.faqs .card-body a {
    color: #005837 !important;
    text-decoration: underline;
    font-weight: 600;
}

.faqs .card-body a:hover {
    color: #5a9f86 !important;
}

/* Fix Video Section Text */
.video {
    position: relative;
    background: linear-gradient(135deg, #005837 0%, #015938 100%);
    padding: 4rem 0;
    margin: 2rem 0;
    border-radius: 16px;
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    text-align: center;
    z-index: 2;
    position: relative;
}

.video-content h3 {
    color: #ffffff !important;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.video-content p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.video-content .btn-success {
    background: linear-gradient(135deg, #5a9f86 0%, #dee9dc 100%);
    border: none;
    color: #005837;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(90, 159, 134, 0.3);
}

.video-content .btn-success:hover {
    background: linear-gradient(135deg, #dee9dc 0%, #5a9f86 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(90, 159, 134, 0.4);
    color: #005837;
}

/* Fix Footer Section - Make all text visible */
.footer {
    background: #f8f9fa;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
    border-top: 1px solid #e9ecef;
    width: 100%;
    max-width: 1366px;
    margin-left: auto;
    margin-right: auto;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

/* Fix Footer Contact Section */
.footer-contact h3 {
    color: #005837 !important;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-contact address {
    color: #666666 !important;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-contact p {
    color: #666666 !important;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.footer-contact p a {
    color: #005837 !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-contact p a:hover {
    color: #5a9f86 !important;
    text-decoration: underline;
}

.footer-contact i {
    color: #5a9f86 !important;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* Fix Footer Social */
.footer-social a {
    color: #005837 !important;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: #5a9f86 !important;
    transform: translateY(-2px);
}

/* Fix Footer Links Section */
.footer-link h3 {
    color: #005837 !important;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-link ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link ul li {
    margin-bottom: 0.75rem;
}

.footer-link ul li a {
    color: #666666 !important;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link ul li a:hover {
    color: #005837 !important;
    transform: translateX(5px);
}

/* Fix Newsletter Section */
.newsletter h3 {
    color: #005837 !important;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter p {
    color: #666666 !important;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.newsletter .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter .form-control:focus {
    border-color: #5a9f86;
    box-shadow: 0 0 0 0.2rem rgba(90, 159, 134, 0.25);
}

.newsletter .btn-success {
    background: #005837;
    border: 2px solid #005837;
    border-radius: 0 8px 8px 0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.newsletter .btn-success:hover {
    background: #5a9f86;
    border-color: #5a9f86;
}

/* Fix Footer Bottom Section */
.footer hr {
    border-color: #e9ecef;
    margin: 2rem 0 1rem;
}

.footer-menu a {
    color: #666666 !important;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: #005837 !important;
}

.copyright p {
    color: #666666 !important;
    font-size: 1rem;
    margin: 0;
}

.copyright a {
    color: #005837 !important;
    text-decoration: none;
    font-weight: 600;
}

.copyright a:hover {
    color: #5a9f86 !important;
    text-decoration: underline;
}

/* Fix Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #005837;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 88, 55, 0.3);
    z-index: 999;
}

.back-to-top:hover {
    background: #5a9f86;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 88, 55, 0.4);
}

/* Responsive adjustments for FAQs and Footer */
@media (min-width: 1200px) {
    .faqs .container,
    .footer .container {
        padding: 0 60px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .faqs .container,
    .footer .container {
        padding: 0 45px;
    }
    
    .faqs .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .faqs .container,
    .footer .container {
        padding: 0 30px;
    }
    
    .faqs {
        padding: 3rem 0;
    }
    
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .faqs .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .faqs .container,
    .footer .container {
        padding: 0 15px;
    }
    
    .faqs {
        padding: 2.5rem 0;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .faqs .section-header h2 {
        font-size: 1.8rem;
    }
    
    .faqs .card-link {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .faqs .card-body {
        padding: 1.25rem;
        font-size: 0.95rem;
    }
    
    .footer-contact h3,
    .footer-link h3,
    .newsletter h3 {
        font-size: 1.1rem;
    }
    
    .video-content h3 {
        font-size: 1.75rem;
    }
    
    .video-content p {
        font-size: 1rem;
    }
}

/* Ensure all text is visible and properly styled */
.faqs * {
    color: inherit !important;
}

.footer * {
    color: inherit !important;
}

/* Force visibility for any hidden elements */
.faqs .card-header a,
.faqs .card-body,
.footer-contact p,
.footer-link a,
.newsletter p,
.copyright p {
    opacity: 1 !important;
    visibility: visible !important;
}