/* =========================================
   Body Sections
   ========================================= */

/* Shared Styles */
.section-title {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--pragma-dark-gray);
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--pragma-border);
    padding-bottom: 0.5rem;
}

.section-title span {
    color: var(--pragma-orange);
    font-size: 1.8rem;
}

/* Partners Section */
.partners-section {
    background-color: var(--white);
    padding: 3rem 0;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.partners-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px; /* Fixed height for uniformity */
}

.partner-logo img {
    max-height: 100%;
    max-width: 120px;
    object-fit: contain;
}

/* Features Section */
.features-section {
    background-color: #fdfdfd;
    padding: 3rem 0;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 2rem;
}

.features-left {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-card {
    background-color: #ebebeb;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    border: 1px solid var(--pragma-border);
}

.feature-icon {
    width: 30px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.feature-icon svg {
    stroke: var(--pragma-orange);
}

.feature-text h3 {
    color: var(--pragma-orange);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.feature-link {
    color: var(--pragma-orange);
}

.feature-link:hover {
    text-decoration: underline;
}

.features-right {
    flex: 1;
}

.blog-widget {
    background-color: #fff;
    border: 1px solid var(--pragma-orange);
    height: 100%;
}

.blog-header {
    background-color: var(--pragma-orange);
    color: #fff;
    text-align: center;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: 300;
}

.facebook-feed {
    border: 1px solid var(--pragma-border);
    margin: 1rem;
    background-color: #fff;
}

.fb-title {
    background-color: var(--pragma-orange);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: bold;
}

.fb-content {
    padding: 1rem;
}

.fb-page-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.fb-avatar {
    width: 40px;
    height: 40px;
    background-color: #ddd;
    border-radius: 4px;
}

.fb-name {
    color: #3b5998;
    font-weight: bold;
    font-size: 0.9rem;
}

.fb-followers {
    color: #888;
    font-size: 0.8rem;
}

.fb-post-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border: 1px solid #ddd;
}

/* Center Banner */
.center-banner {
    background-color: var(--pragma-light-gray);
    padding: 3rem 2rem;
    text-align: center;
}

.banner-container h2 {
    color: var(--pragma-orange);
    font-weight: 300;
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* News and Customers Section */
.news-customers-section {
    background-color: var(--white);
    padding: 4rem 0;
}

.nc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 3rem;
}

.news-col {
    flex: 1;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-item {
    border: 1px solid var(--pragma-orange);
    display: flex;
    flex-direction: column;
}

.news-date {
    background-color: var(--pragma-orange-dark);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: bold;
}

.news-title {
    padding: 1rem;
    font-size: 0.95rem;
    background-color: #fff;
}

.news-title a {
    color: var(--pragma-orange);
    text-decoration: none;
}

.news-title a:hover {
    text-decoration: underline;
}

.customers-col {
    flex: 2;
}

.customers-intro {
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.customers-split {
    display: flex;
    gap: 2rem;
}

.testimonial-side, .logos-side {
    flex: 1;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--pragma-orange);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.nav-arrows button {
    background-color: #888;
    color: #fff;
    border: none;
    width: 24px;
    height: 24px;
    cursor: pointer;
    margin-left: 0.2rem;
    transition: background-color 0.2s;
}

.nav-arrows button:hover {
    background-color: var(--pragma-orange);
}

.testimonial-slider-wrapper {
    position: relative;
    min-height: 180px; /* Prevent jumping height */
}

.test-slide {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.test-slide.active {
    display: block;
}



@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-box {
    border-left: 3px solid var(--pragma-orange);
    padding-left: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.testimonial-box .author {
    margin-top: 1rem;
    font-style: italic;
    color: #999;
}

.customer-logos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.logo-slide {
    display: none;
}

.logo-slide.active {
    display: grid;
}

.c-logo {
    background-color: #f9f9f9;
    padding: 1rem; /* Adjust padding for images */
    text-align: center;
    border: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px; /* Uniform height constraint */
}

.c-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .features-container, .nc-container {
        flex-direction: column;
    }
    .customers-split {
        flex-direction: column;
    }
}
